Hello,
I have a code similar to this:
ON DELETE OF Orders
DO:
...
END.
CREATE Orders.
ASSIGN Orders.OrderID = "000000001"
ASSIGN Orders.Amount = 100.
...
RELEASE Orders.
FOR FIRST Orders WHERE
Orders.OrderID = "000000001"
EXCLUSIVE-LOCK:
...
ASSIGN Orders.Amount = 200.
...
DELETE Orders.
END.
Can I somehow access the original amount (which was 100) in the DELETE trigger (like it is possible for example with the WRITE trigger where we can access the old buffer)?
Thanks!
I have a code similar to this:
ON DELETE OF Orders
DO:
...
END.
CREATE Orders.
ASSIGN Orders.OrderID = "000000001"
ASSIGN Orders.Amount = 100.
...
RELEASE Orders.
FOR FIRST Orders WHERE
Orders.OrderID = "000000001"
EXCLUSIVE-LOCK:
...
ASSIGN Orders.Amount = 200.
...
DELETE Orders.
END.
Can I somehow access the original amount (which was 100) in the DELETE trigger (like it is possible for example with the WRITE trigger where we can access the old buffer)?
Thanks!