Tuesday, February 5, 2019

Customer transaction automatic settlement for specific customer groups only

Hi Friends,
Recently I come to the requirement of my company
where I have to automatic settle the customer transaction for
the specific group of customer, So here is the customization details,
May be it help to some one to understand the logic behind it.

Here basically we have to update settleVoucher (For journal in LedgerJournalTrans table and For Sales order invoice SalesTable) field with OpenTrasact (For Auto settlement) or None based on customer user group, All other posting done based on this field, Here are the class and table method used
LedgerJournalEngine (Class) - InitFromCustTable
LedgerJournalEngine_CustPayment (Class) - InitFromCustTable
SalesTableType (Class) - InitValue
LedgerJournalTrans (Table) - InitFromCustTable
LedgerJournalTrans (Table) - setSettleVoucher

Best Regards
B K Sharma | Dynamics AX Technical Architect |  My blog  | LinkedIn
Phone : 9950068421
Udaipur, India

Customer transaction automatic settlement for specific customer groups only

Hi Friends, Recently I come to the requirement of my company where I have to automatic settle the customer transaction for the speci...