Client Script : what's the best approach for evaluating a new sales order line item before it gets committed to potentially makes some updates to the line and then add an additional line item if that item id = x?
b
battk
07/15/2022, 10:48 PM
use a validateLine to makes your updates
battk
07/15/2022, 10:49 PM
use a sublistChanged to add your new line
battk
07/15/2022, 10:50 PM
make sure that other client scripts work, adding a new line tends to confuse line numbers
a
alien4u
07/15/2022, 11:19 PM
The best approach would be to avoid Client Scripts all together, but if that is not an option then what @battk said...^^^