Salesman Field And Comm And Amount in single Line

Discussion in 'Free Source Codes' started by rony, Feb 29, 2016.

    
  1. rony

    rony Member


    I have created TDL for Salesman field in invoice but it comes in 2 lines. I want in single line like :
    Salesman Name : ------ Comm% : -------- Amount : ------
    and it has been credit in concern salesman account directly from invoice Please Help and guide. My code
    ;---------------add salesman details in invoice-------------;


    [#Part: EI BaseInfo]

    Option: EI Salesman1: $$IsSales:##SVVoucherType

    [!Part: EI Salesman1]

    Add: Line: EI lnSalesman1 , EI Comm1

    [Line: EI lnSalesman1]

    Fields: Short Prompt,fldSalesman1

    Local: Field: Short Prompt: Info: 'Salesman Name'
    Local : Field : fldSalesman1 : Preprinted: Yes

    [Line : EI Comm1]
    Add: Field: EI Comm1
    Add: Field: EI Comm2

    [Field : EI Comm1]

    Use : Short Prompt
    Info:"Comm %"
    Width :10
    Preprinted: Yes

    [Field: fldSalesman1]

    Use: Short Name Field
    Storage: EI SalesmanName
    Width: 20
    Table: MySalesmanCollection,endoflist
    ShowTable: Always


    [Field: EI Comm2]
    Use: Name Field
    Storage: EI commission1
    Width: 10
    Table: MycommCollection, endoflist
    ShowTable: Always


    [System: UDF]
    EI SalesmanName1: String: 1100

    [System: UDF]
    EI commission1 : string: 1200


    ;----------End salesman name-------
     


  2. rony

    rony Member


    i have solve the problem and in printing name also is printing but amount is not going to the concern ledger, means accounting allocation is not happen. any one suggest? please
     


  3. llwhiteflowerll

    llwhiteflowerll New Member


    Hi Rony,
    i also need such programme with same details, kindly let us know if you completed the programme

    Thanks
     


  4. rony

    rony Member


    Dear Accounting allocation is not happening and nor i m getting any help my TDL Expert, But trying for best.
    Thanks
     


  5. rony

    rony Member


    Dear Accounting allocation is not happening and nor i m getting any help my TDL Expert, But trying for best.
    Thanks
     


  6. llwhiteflowerll

    llwhiteflowerll New Member


    Any Expert ...please help

    Thanks
     


Share This Page