Hello
I want to override Subaccount field of GLTran when it is generated by Release an payment (APPayment) by the rule: take first 2 parts of existing SubCD then concat with a “ABCD”.
For example: if the Subaccount is 000-00000-0000, it should be replace by Subaccount 000-00000-ABCD.
And I found that there is a case that I can’t find by calculated SubCD, so I need to create new Sub by calculated SubCD (000-00000-ABCD) then set GLTran.SubID to the created one.
How to create new Sub in event RowInserting of GLTran? Is it possible?
p/s: I don’t want to use RowPersisting event because I wonder they could impact the performance when generating a bulk of GLTran but I’m not sure.
Thanks
Best answer by davidnavasardyan09
View original