Detect an order will become a draft before SAP B1 application does
I need to know that a sales order document will become an order draft before it is created. Is there a way to detect that before SAP shows the draft remarks window (Form=50106).
This window pops up after FORM_DATA_ADD event for the sales order is sent (BeforeAction property equals True), but before the FORM_DATA_ADD event for the draft itself (BeforeAction property again equals True) is sent at which point it would be too late for me.
I'm working on SAP B1 2005 PL45.