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.
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)
SAP Manage Israel.