Skip to Content
Dec 13, 2006 at 06:19 PM

How to get sales order# from a draft



I don't see any field on the ODRF or DRF1 table that would tell me the sales order# that it ends up turning into. My scenario is: User enters an order, but it needs approval. Document is saved as a draft. When the document gets approved, user opens the draft, and click "add". Then it turns it into a real sales order, which could have a different number than the doc# on the draft. The only thing containing the new order# I can find on the screen is the message "The actual posted document number is #####". I need to use the sales order# for my addon. How can I get it from a draft? Help!