Update Supplier Price List

I am try to write a post processing BPM on the update method of PO. I fallowed and example that I found and can’t get it to work. Can someone lend some help please. I have not dome many BPMs before.
Here is a screenshot of what my BPM look like:


The message show what I am expecting them to but updating vendPart is not working.

Are you setting the rowmod field to “U”?

I am not. should I?

I did this in the update table by query node but still not working

I take tat back, it looks like it did work but the supplier price list screan didn’t refresh right away.
Thank you for pointing that out.

How would I add a record? Set the row mod to “A”?

I tried that and it worked. I answered my own question.

I added a new record via my BPM. Now wen I go to update that record that I just added also via my BPM, I get this error
image. Am I missing something?

You might need to get a ‘fresh’ copy of the dataset after adding it, because each record gets a ‘SysRevID’ value set when a database transaction happens. If the SysRevID of the record you are updating does not match the SysRevID of the current record in the database, you get the ‘Row modified by another user’ error.

This is Epicor’s way of dealing with concurrent updates to records by different users.

I need some help. I cant figure out my update is not working. My add works ok. here is wat my bpm look like:

I goal is to do the update when the result of the condition is true. I am adding a record when it evaluates to false.

I got it to work. Thank you four your help.