Default Warehouse/Bin for Issue Material

We’re looking to make a default for ToWarehouseCode and ToBinNum on the Issue Material menu.

I made a Post Processing BPM on Erp.IssueReturn.OnChangeToJobSeq. If both ToWarehouseCode and ToBinNum are both blank, it sets both to the default. This actually does seem to work when you hit save and perform the transaction, but the Issue Material GUI doesn’t reflect the change, instead saying “None Selected”. Usually I’d use oTrans.Refresh() to get the fields to populate, but it’s not enabled on IssueMaterial. Is there another way to force the 2 fields to get their descriptions on the Issue Materials menu?

image

Aren’t the Warehouse and Bin automatically pulled from the Part (or PartPlant) ?

There is likely a WarehouseDescription and BinDescription field that needs to be set also.

It seems to matter that the part is consumed by an operation to get its warehouse/bin, which seems to pull the warehouse/bin from the resource group attached to the operation. Not all of our parts are consumed by an operation (BOM without BOO).

1 Like

Incredible! Thank you!