How to get Last Purchase Order No. in present PO print format

Discussion in 'Tally Developer' started by Arun Prasath, Sep 4, 2012.

    
  1. Arun Prasath

    Arun Prasath Member


    Hi,

    I want to print Last PO Number(of same party's) in Current PO. Is there any formula available?
     


  2. admin

    admin Administrator Staff Member


    We do not have any direct Functions. You can write a collection to get all Purchase Orders for a particular Party and display the last one.
     


  3. Arun Prasath

    Arun Prasath Member


    Dear Admin,

    I have done this coding.

    Pls ckeck attached code. But Still i am not getting the Last Sales Order Number.
     

    Attached Files:



  4. Girdhar

    Girdhar Member


    Dear Arun,

    Use attached code.

    It is done.

    try to write the function with hand the syntax and semantics of TDL.
     

    Attached Files:



  5. Arun Prasath

    Arun Prasath Member


    Dear Girdhar,

    Thank you very Much.
     


Share This Page