Article Details
Id:11631
Product:finPOWER Connect
Type:NEW
Version:2.00.02
Opened:06/01/2014
Closed:07/01/2014
Released:05/02/2014
Job: J012703

Transaction Reversals; added new Script event to handle additional processing requirements

A new Script event has been added for Transaction Reversals to handle additional processing requirements.

A script of type "Object Events", object "AccountTransactionReverse" should be created to handle Transaction Reversal events. After a script has been created, it must be linked to the Global Settings, Accounts, Scripts page, "AccountTransactiontReverse" event script.

The script handles one event:

ReverseTransactionPostInTransaction
The event runs after work has been completed but before the Database Transaction is committed.

The following parameters are passed across.

Source; The Pk of the Account.
ContextData1; The Pk of the AccountTransaction reversing.
ContextData2; The Pk of the reversed AccountTransaction that has been created.