Creation of Info Ledgers

Discussion in 'Free Source Codes' started by sdrcpr, Jul 30, 2017.

    
  1. sdrcpr

    sdrcpr New Member


    How can we create Info Masters in Tally, like Destinations, Ports, Cities, Countries etc, which don't have any monetary effects in vouchers, but are required repeatedly at time of voucher creation?
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    [#Form: VCH ReceiptDetails]
    Local : Part : VCH Narration : Add : Line : Before : VCH NarrPrompt : Destination
    Local : Part : VCH Narration : Add : Line : Before : Destination : Ports
    Local : Part : VCH Narration : Add : Line : Before : Ports: Cities
    Local : Part : VCH Narration : Add : Line : Before : Cities: Countries

    [Line: Destination]
    Fields : Short Prompt, Destination
    Local : Field : Short Prompt : Info : $$LocaleString:"Destination:"
    Local : Field : Short Prompt : Width : 15
    [Field: Destination]
    Type : String : Forced
    Fixed : Yes
    Width : 30
    Max : @@MaxNarrWidth
    Set Always : Yes
    Storage : Destination
    [Line: Ports]
    Fields : Short Prompt, Ports
    Local : Field : Short Prompt : Info : $$LocaleString:"Ports :"
    Local : Field : Short Prompt : Width : 15
    [Field: Ports]
    Use : Name field
    Set Always : Yes
    Width : 30
    Storage : Ports
    [Line: Cities]
    Fields : Short Prompt, Cities
    Local : Field : Short Prompt : Info:$$LocaleString:"Cities:"
    Local : Field : Short Prompt : Width : 15
    [Field: Cities]
    Use: Name field
    Set Always : Yes
    Width: 15
    Set Always: Yes
    Storage: Cities
    [Line: Countries]
    Fields : Short Prompt, Countries
    Local : Field : Short Prompt : Info:$$LocaleString:"Country:"
    Local : Field : Short Prompt : Width : 15
    [Field: Countries]
    Use: Name field
    Width: 30
    Set Always: Yes
    Storage: Countries

    [System: UDF]
    Destination : String: 6131
    Ports : String: 6132
    Cities : String: 6133
    Countries : String: 6134

    This is made for Receipt Voucher.... Whatever Voucher type you need...you can change accordingly.
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    to enable the above......
    Go to Accounts Info......Voucher Types.....Alter......select receipt......enable FORMAL receipt after saving.....
    then go to receipt voucher entry.... it will display the fields....
     
    psr likes this.


Share This Page