Auto Fetch Transport detail

Discussion in 'Tally Developer' started by amitsafax, Jan 7, 2014.

    
Thread Status:
Not open for further replies.
  1. amitsafax

    amitsafax New Member


    sir i want to make tdl which can save transport detail and destination details in party ledger
    so that while creating voucher it can auto fetch details.

    please help on this issue
    thanks in advance
     


  2. nsrao-Vijayawada

    nsrao-Vijayawada New Member


    Kindly check it code:

    [#Form: Ledger]

    FullHeight: Yes
    FullWidth: Yes

    [#Part: LED Contact]
    Delete: Line: LED Contact

    [#Part: LED Mailing Details]
    Add: Part: After: LED Mailing Parts: RepTransDetails

    [Part: RepTransDetails]
    Line: RepDetails, TransDetails

    [Line: RepDetails]
    Field: RepNamePrmt, RepName

    [Field: RepNamePrmt]
    Use: Medium Prompt
    Set as: "Destination detail "
    Invisible : Not $$IsBelongsTo:$$GroupSundryDebtors

    [Field: RepName]
    ;Table: Group
    ;Show Table : Always
    Storage: LedgerContact
    Width: 30
    Max: 30
    Invisible : Not $$IsBelongsTo:$$GroupSundryDebtors

    ; Accept Transporter Name same way like Represantative Name

    [Line: TransDetails]
    Field: TransNamePrmt, TransName

    [Field: TransNamePrmt]
    Use: Medium Prompt
    Set as: "Transporters Name"
    Invisible : Not $$IsBelongsTo:$$GroupSundryDebtors

    [Field: TransName]
    ;;Table: Group
    ;;Show Table : Always

    Storage: BasePartyName
    Width: 30
    Max: 30
    Invisible : Not $$IsBelongsTo:$$GroupSundryDebtors



    [#Line: EI PreCarriage]
    Local : Field : Medium Prompt : Set as : if @@IsOrderVch then "Despatch thru :" else "Transporter :"
    Local : Field : EI PreCarriage : Set as : if NOT $$IsEmpty:$$AltTable:EIChallanNo:EIOrder:$ShippedBy and $$InCreateMode then $$AltTable:EIChallanNo:EIOrder:$ShippedBy else if ( (@@IsSalesOrder OR @@IsSales OR @@IsDelNote) AND $$InCreateMode) then $BasePartyName:Ledger:$PartyLedgerName else $$Value


    [#Line: EI PortDestination]

    Fields : Medium Prompt, EI PortDestination
    Local : Field : Medium Prompt : Info : $$LocaleString:"Destination"
    Local : Field : EI PortDestination : Set as : if NOT $$IsEmpty:$$AltTable:EIChallanNo:EIOrder:$ShippedBy and $$InCreateMode then $$AltTable:EIChallanNo:EIOrder:$ShippedBy else if ( (@@IsSalesOrder OR @@IsSales OR @@IsDelNote) AND $$InCreateMode) then $LedgerContact:Ledger:$PartyLedgerName else $$Value
     


  3. Taufeeq Shaikh

    Taufeeq Shaikh Active Member


    Good Work Mr. N.S. Rao
     


  4. amitsafax

    amitsafax New Member


    Thanks a lot...
    good job done.
     


  5. manish sabharwal

    manish sabharwal New Member


    Res sir
    Good evening
    as per discussion to you sir if next time party use another transporter and destination that time how to update data without alter ledger:)
    Regards
    manish
     


  6. Deepak83

    Deepak83 New Member


    Please provide same for Purchase transaction with GR number, Vehicle Number etc
     


  7. nagaraju

    nagaraju New Member


    ok sir if transporter changes how to modify
     



  8. I HAVE CREATED UDF field in sundry creditor but when and create ei field in voucher entry but i could not pull data from udf field while enter data
    led contact
    supplier code (udf)

    pls guid me
     


  9. nsrao-Vijayawada

    nsrao-Vijayawada New Member


    i need the code to help. How did u create the udf & how do u pull data form udf.
    or u can mail me also.
     



  10. Thanks for response but i have find code and it is working.
    Pls help
    I need to know show table always give end list but in my udf data show table could not display end list.

    also, i have taken code from this site for autovendor code it is giving red bar in ledger alias but auto code is not generating.

    if possible pls help.
     


  11. D Lokesh

    D Lokesh Member



    Hi Rajan,

    you write UDF Collection.

    In Field Level

    Table : UDF Tabel, End of List
    Show Table : Always

    Try this...
     


  12. Manoj Garg

    Manoj Garg Member


    Then what are you doing here ?
     
    Ras Raj and Maulik Patel like this.


  13. mpal2311

    mpal2311 Active Member


    What are you looking here ?
     


Thread Status:
Not open for further replies.

Share This Page