Auto populate shipment from Release Sales Order Picking

When releasing sales lines for pick via the Release Sales Order Picking form in AX 2012, we have configured AX to automatically add lines to a shipment using shipping templates and customer specific criteria. This works perfectly, however we have a custom field on the SALESTABLE table which I’d like to use to separate a customer’s shipments.

I’ve looked in the WMSSHIPMENT method ‘canWMSOrderBeAdded’. This seems to be the perfect place for my code. I have debugged the SalesFormLetter & SalesFormLetter_PickingList classes, but they do not seem to call this method. Am I missing something?

How does the Release Sales Order Picking form create or populate the shipments from the picking list journal? Any direction would be greatly appreciated :slightly_smiling_face: