Hello Community, Please, I need your help on this matter. According to the following documentation, "The DR (or Debit) entry for the transaction is created by a different GL Account default, the Payment Method Id / GL Account Id mapping (eg Cash is setup as 112000 Undeposited Receipts)"
The below mentioned service - createAcctgTransAndEntriesForIncomingPayment- is the one used to create the transaction for the payment but it's not clear how the GL Account Id is derived from the default - demo data - configuration. Please anyone - kindly - to shed some light. Regards, Emad On Fri, Sep 2, 2022 at 4:59 PM Emad Radwan <[email protected]> wrote: > Hello Community, > > While trying to trace the logic to determine the subject issue I came thru > the following service, the CR part of the transaction is more clearer as > glAccountId is derived from PaymentGlAccountTypeMap the depit part of > the transaction is marked by a TODO as in the following! > > The payment was of 'Cash' type and is getting GL Account 112000 that I > don't know how its derived. > > createAcctgTransAndEntriesForIncomingPayment > > in line 1741 > > <!-- TODO --> > <!--set field="debitEntry.glAccountTypeId" value=""/--> > > > Regards, > > Emad > > >
