I’m attempting to create a BPM that removes the primary bin from a specific warehouse when duplicating a part, but it’s not actually wiping the field. Did a trace, saw that the Part.DuplicatePart BO is firing, so I created a Post BPM with two ‘set field’ widgets and a message box (for PrimBinNum and PrimBinNumDescription). Message box shows up.
We’ve got two warehouses (INSP and IOWA), and the trace shows both sequentially in the data set. The BO is only triggered once. RowMod is blank.
I tried changing the SetField from a “” expression to a different BinNum, but the original still appears.
To top it off, Field Help shows PartWhse.PrimBinNum, which is in the BPM Dataset. Yet that field doesn’t exist when you look in BAQ - The PrimBinNum field is actually in the PlantWhse table, which is not in the BPM’s dataset.
I did find @alintz thread where he filled a temp table with all part details, and then called Part.UpdateExt to set the fields. Is that really required to clear out two fields? Seems like a Post BPM should be all that’s needed.
Suggestions?