Hello,
The scenario is where after a transaction that we need to update a value in another table.
In the older version I would go to the Transaction Trigger class and go to the save transaction method and can get the transaction and its tender lines.
In today's world I'm trying to isolate where this code would be trapped.
So it'll be a request trigger. The problem that I'm facing is I don't see a trigger request type that would be able to do something similar.
My questions are:
- would my conceptual idea work? Trap a trigger (hopefully Transaction?) and then grab the transaction id and then update the other table.
- what is the best way to determine which trigger to use?
- is there more specific documentation that would give me this information and how I would be able to cast the trigger response to potentially a Transaction object?
thanks