Howdy!
I've got an issue scripting the Inventory Detail on Item Fulfillment Lines.
When fulfilling from the Sales Order, the Inventory Detail is automatically filled out for lines where the SO line has a Work Order. The UI shows the green checkbox for those lines.
The problem I'm having is that, in the client script pageInit(), curRec.hasCurrentSublistSubrecord() is only returning true for lines whose item is lot numbered.
One of my test lines is not a lot numbered item, and although the inventory detail is a green check, hasCurrentSublistSubrecord() is false for that line, and I get errors with any function trying to go further into that data.
If I click to enter the Inventory Detail UI, then click OK to accept what it's already got there, then try to save, in the saveRecord() hook, hasCurrentSublistSubrecord() returns true for that line and I can access the data.
If I save the new Item Fulfillment without entering the Inventory Detail UI for that line, saveRecord() does not see the Inventory Detail data for that line, though it's there on the next screen after it's been saved...