Has anyone successfully added a lot search to the Move Inventory Request Screen?
I need to basically create a lot search that will filter to the lots on hand for the part selected and then essentially pre populate the Warehouse and Bin location based on the lot selected.
This lot would then populate onto the move request so it pre populates with the required lot when the pick is released to the EMW app.
We did a somewhat similar customization, less the auto-selection of warehouse and bin – these values default to the parts primary warehouse and bin values
At a high level, on Move Inventory Request, we:
Added a LotNum field to the TransView data view
Linked a search enabled text box to TransView.LotNum
Created a function that is called after the part number is entered to see if the part is lot tracked. If true, enable the field, otherwise disable it with a row rule – this may be unnecessary given the Part data view is populated after a part number is entered, which has a TrackLots field already
When the request is made upon save, we update CallContextBpm fields ShortChar01 = “FromRequest” and ShortChar02 = TransView.LotNum
We then developed a data directive on MtlQueue with a condition that triggers if ShortChar01 = FromRequest to set MtlQueue.LotNum to the value set in ShortChar02