Discussions
Before submit script for PO does not fire if created for drop-ship
We have implemented a before submit script for POs. It executes fine when a PO is created in the UI. However, it does not execute when the PO is created as part of a drop-ship order.
- Status is set to released
- Execute as Admin is checked
If the same script (with minor modifications) were executed as an after submit, it works fine.
In order to troubleshoot, we simplified the script to print a single debug statement. Again this runs fine for after submit but not before submit for drop-ship POs.
function execute(type)
{
nlapiLogExecution('DEBUG', 'Test message');
}
Thanks
Jan