What is the use of Direct SQL Update agent action when DTA is used in an agent ? I have checked that using DTA does not change the $gid value. Is there some other agent variable which stores the value of the new object ?
For example, I need to update some value for a sell shipment against the buy shipment. I used 'Shipment to Sell shipment' DTA in a shipment type agent. Now, in the agent actions, we get an option of Direct SQL Update for the same. How can we use DSU here ? ( Raise Event/for each can be used but if we could use DSU here then it makes the work easier i guess.)
For example, I need to update some value for a sell shipment against the buy shipment. I used 'Shipment to Sell shipment' DTA in a shipment type agent. Now, in the agent actions, we get an option of Direct SQL Update for the same. How can we use DSU here ? ( Raise Event/for each can be used but if we could use DSU here then it makes the work easier i guess.)