we are trying to store the standard cost of a part on the PO Dtl record.
We created a UD field on PODtl to store the standard cost on the PODtl for that part at the time the PO is created. we can update this field no problem when the po is created manually.
We dont know how to update the value when the po is generated via Po suggestions Buy Action.
Ran a trace log and dont see what method is creating PO.
Yes. You might need to use a Exceute Custom code to combine the various components that make up a Part’s cost (Material, Burden, Labor etc…) and assing to a variable. Then use a Set Field to assing your field that variable.
BIG NOTE:… This DD only fires when the line is saved. So if you want the value to show in the UI, after the partnum is changed, and before a Save, then you have to use a Method Directive BPM.