Customization - Perform Actions after Cash Group Posting

Environment: 10.2.600

Problem: There is a business requirement that after posting Cash Receipt Group for Deposit Payments, the Deposit Invoices should be created and get posted.

Action: The Code to create and post deposit invoices are written and is working well.

Issue: The only issue is the timing or an event to call this function. From the Trace, I observed that Last method being called is :

Erp.Proxy.BO.CashGrpImpl
LeaveCashGrp

however, this method is either not available Or I am not reaching it to this under after adapter method.

The only method that I am using so far is ClearList, this is working fine until we don’t click the Toolbar Clear button since the same method is being triggered from there also. I tried adding the Flags but this is becoming more complex.

Please suggest a work around here and take my praises.

SYA

Method Directive