I have probably a very simple/stupid problem regarding changes to a BPM not saving.
I have a Data directive BPM on Kinetic 2025 (self hosted) which has a ‘execute custom code’ caller that will throw an error when a user tries to move Part A into Bin XYZ if that bin already contains Part B IF the attribute OPB (one part per bin) is set on that bin.
However during initial coding we had the attribute in the code set to LRG and I need to change the BPM to use OPB. I can make the change and test and it seems to work, but as soon as I exit the BPM designer and go back in, the code in the BPM has reverted to using LRG again instead of the change that I THOUGHT is saved of OPB
var attrBin = Db.whsebinattr.Where(x => x.Company == first.Company && x.BinNum == first.BinNum2 && x.AttrCode == “LRG”).FirstOrDefault();
Vs
var attrBin = Db.whsebinattr.Where(x => x.Company == first.Company && x.BinNum == first.BinNum2 && x.AttrCode == “OPB”).FirstOrDefault();
I’m sure I’m missing some seemingly arbitrary sequence of enable, save, and/or compile that is needed to make the change persistent. Heaven forbid simply hitting save would do just that…
appreciate any help!
