Hi
this SP only runs when you open the batch master data form, but it does not run when you select batch in a document and select the batch for saving the data.
You have two options:
- create an alarm to show all batch with this field is null and update.
- create an addon when you select the batches in a document (marketing or production) checks that field has value.
Kind regards
Agustín Marcos Cividanes