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.
Dear Admin, I have done this coding. Pls ckeck attached code. But Still i am not getting the Last Sales Order Number.
Dear Arun, Use attached code. It is done. try to write the function with hand the syntax and semantics of TDL.