on 10-31-2004 9:13 PM
Hi all,
I am creating an invoice from a sales order and setting all the basedocnum etc.. so the invoice is linked back to the sales order. However what I also want to do is to mark the sales order as being invoiced. Is there any way to do this? I don't see anything in the UI help files which has this functionality.
Regards, Lita
Hi Lita,
You need to change value of the DocStatus in ORDR to 'C' (closed). If you've made invoice not from all lines of the order, work with LineStatus in RDR1. And if you've used only part of quantity in the lines, work with OpenQty and OpenSum in RDR1.
Best regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1. If you're looking for a UI option to close the order-
you can use the activateMenuItem and activate the "Close" option.
2. If you need to set a "Used" flag or "LinkedInvoice" for personal use -
you can add a UserField to hold that flag (and maybe use DI to save it to DB)
HTH
Yaniv G.
SDK Consultant,
SAP Manage Israel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
Thanks for your suggestions. Yaniv, is there a DI method to close the order? We are using a thread to check a user defined field in the sales orders table to determine whether the order requires invoicing, and if we use your UI suggestion the client will see the screen flicker whenever the thread fires.
Lita
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.