Hello,
I'm trying to use MV45AFZZ/SAVE_DOCUMENT_PREPARE to implement a logic based on the object custom status, (header and item level). For that, I need to know the custom status assigned to the header and every item, before saving the Sales Order.
After that, I will need to decide whether or not to Activate/Deactivate some of the status.
My question is:
Is this the best way to do this? If so, in which structure(s) or objects can I find this data, right before saving the document?
Regards,
João