I tried a BPM, first I set track lots, then I set field for Part.AttCureDt. Track Lots stays but the Patt.AttCureDt doesn’t stick and always reverts back to not tracked when the blank record is shown in the screen.
I’ve tried on the pre and post, and then on the pre + post together and it never sticks. I’ve tried these (which I’ve found to be mostly nonsensical and I usually revert to just doing “all rows”. Something a normal person would think is “added” is actually “updated”, etc. I digress…)
Any reason these lot tracking attributes can’t be set in BPM? Are they being set but then being overwritten by some default Epicor behavior elsewhere? Doesn’t even work in Base Part form.
Has anyone else had trouble setting default fields? How did you solve it?
@smason I do my Part Defaults in an in transaction data directive on Part with a condition there is one added row. Even before a part is lot tracked you can set the Cure date to Tracked or Mandatory
Not sure but sometimes this happens when the record you are trying to update doesn’t exist yet. In other words… you cannot set a default until after the record exists. OR it could be that the UI does some work “for you” after it adds the new value. Have you tried examining the trace logs to see if/when the values change?
Other options are to modify this so that it is a DATA directive that only runs when it is in ADD mode.