BPM parse returnparameter on Erp.InventoryQtyAdj.SetInventoryQtyAdj

I am trying to create a BPM on QTY Adjustments. I want to update a custom field on the PartTrans table after the adjustment is done. The trace shows that the returnParameter PartTansPKs is coming back with the information I need. How do I parse the field?

If there is a better way of updating the field let me know as well. Right now I am thinking of a post process BPM on the Erp.InventoryQtyAdj.SetInventoryQtyAdj BO. Then update the PartTrans with the custom field.

Thanks,

Ken

1 Like

Here is what I ended up with, in case this helps someone else. Custom Code.

string [] PartKeys = partTranPKs.Split(’~’);

int intTran;
int intSysTime;

int.TryParse(PartKeys[2], out intTran);
int.TryParse(PartKeys[1], out intSysTime);

Thanks,

Ken