Use the Code in Order Voucher

Discussion in 'Tally Developer' started by Bikash Shaw, Feb 13, 2013.

    
Thread Status:
Not open for further replies.
  1. Bikash Shaw

    Bikash Shaw Member


    I have a code for getting Consignee Name & Address in Display - Acoounts Books - Ledger.

    I need to use the same code for Sales Order Book. Kindly help me with the modifications required.

    Thank You

    Code:
     
    [System    : Formula]
        IsDebtorLedger        : ($$IsLedofGrp:$LedgerName:$$GroupSales  Or $$IsLedofGrp:$LedgerName:$$GroupSundryDebtors)
     
    [System : Formula]
        AbcFilter    : $$IsBelongsTo:$$GroupSales OR $$IsBelongsTo:$$GroupSundryDebtors
     
    [#Line: DSP VchAccTitles]
        Add : Fields : AFter : DSP VchAcctTitle : JLBankTitle
     
        [Field : JLBankTitle]
            Set as        : "Address "
            Skip        : Yes
            Invisible    : Not ##Address
            Inactive    : Not ##Address
     
    [#Line: DSP VchDetail]
        Add :  Right Fields : Before : DSP VchType : JLBank
     
        [Field : JLBank]
            Use            : Short Name Field
            Set as      : $BasicBuyerName
            Skip        : Yes
            Invisible    : Not ##Name1con
            Inactive    : Not ##Name1con
            Style        : Normal Italic
            Align        : Center
           
     
     
    [#Line: DSP VchAccTitles]
        Add : Fields : AFter : DSP VchAcctTitle : JLBankTitle1
     
        [Field : JLBankTitle1]
            Set as        : "Consignee"
            Skip        : Yes
            Invisible    : Not ##Name1con
            Inactive    : Not ##Name1con
     
    [#Line: DSP VchDetail]
        Add :  Right Fields : Before : DSP VchType : JLBank1
     
        [Field : JLBank1]
            Use            : Short Name Field
              Set as        : $$FullList:BasicBuyerAddress:$BasicBuyerAddress
            Skip        : Yes
            Invisible    : Not ##Address
            Inactive    : Not ##Address
            Style        : Normal Italic
            Align        : Centre
           
     
    [#Part: LEDVCHCFG Common]
            Add : Lines : AT End :  Name1con, Address
     
     
     
        [Line : Name1con]
                Fields  : Medium prompt, Name1con
                Local  : Field : Medium Prompt : Info : "Show Consignee Name"
       
                [Field: Name1con]
                    Use        : Logical Field
                    Modifies    : Name1con
     
        [Line : Address]
                Fields  : Medium prompt, Address
                Local  : Field : Medium Prompt : Info : "Show Consignee Address"
       
                [Field: Address]
                    Use        : Logical Field
                    Modifies    : Address
     
     
    [System: Variables]
        Name1con        : No
        Address        : No
     
    [Variable: Name1con]
        Type            : Logical
        Persistent      : Yes
     
    [Variable : Address]
        Type    : Logical
        Persistent    : Yes
     
    [#Report : Ledger Vouchers]
            Variable        :Name1con , Address
            Set        : Name1con    : No
            Set        : Address    : No
     
     
    [#Report : Day Book]
            Variable        :Name1con , Address
            Set        :Name1con    : No
            Set        : Address    : No
     
     
     
    [#Report: Bank Recon]
            Variable        :Name1con , Address
            Set        :Name1con    : No
            Set        : Address    : No
           
     
    [#Collection: Vouchers of Ledger]   
     
        Fetch        :  BasicBuyerAddress,BasicBuyerName
           
     
     
     
    
     


  2. Basha

    Basha Member


    hi bikash i need ref no. on daybook and all ledgers advance thx
     


  3. admin

    admin Administrator Staff Member


    :)
     

    Attached Files:



Thread Status:
Not open for further replies.

Share This Page