| Description of Document
| DB
| CR
| Conditions
| Comments
|
| Bank Statement | | | | Based in C_BankStatement y C_BankStatementLine
|
| Bank Charges | C_BankAccount_Acct -> B_Asset_Acct | | | Bank (if debit or credit is determined according to the sign of value StmtAmt)
Adempiere won't post clearing if C_AcctSchema.isPostIfClearingEqual = N AND (clearing account C_BankAccount_Acct -> B_InTransit_Acct is equal to C_BankAccount_Acct -> B_Asset_Acct)
|
| | | C_BankAccount_Acct -> B_InTransit_Acct | | Payment (value TrxAmt, DB or CR depending on the sign)
|
| | | C_Charge_Acct -> CH_Expense_Acct | if C_Charge_ID <> 0 and amt > 0 | value ChargeAmt, DB or CR depending on the sign
|
| | | C_Charge_Acct -> CH_Revenue_Acct | if C_Charge_ID <> 0 and amt < 0 |
|
| | C_BankAccount_Acct -> B_InterestExp_Acct | C_BankAccount_Acct -> B_InterestExp_Acct | if C_BankStatementLine.InterestAmt < 0 | DB or CR depending on the sign of the quantity (value InterestAmt)
|
| | C_BankAccount_Acct -> B_InterestRev_Acct | C_BankAccount_Acct -> B_InterestRev_Acct | if C_BankStatementLine.InterestAmt > 0 | DB or CR depending on the sign of the quantity
|
| Description of Document
| DB
| CR
| Conditions
| Comments
|
| Cash | | | | Based in C_Cash y C_CashLine
|
| Expenses (CASH EXPENSE) | C_CashBook_Acct -> CB_Expense_Acct | | if C_CashLine.CashType = E |
|
| Receipts (CASH RECEIPT) | | C_CashBook_Acct -> CB_Receipt_Acct | if C_CashLine.CashType = R |
|
| Charges (CASH CHARGE) | | | if C_CashLine.CashType = C |
|
| | C_Charge_Acct -> CH_Expense_Acct | | if C_Charge_ID <> 0 and amt > 0 |
|
| | C_Charge_Acct -> CH_Revenue_Acct | | if C_Charge_ID <> 0 and amt < 0 |
|
| Difference in cash (CASH DIFFERENCE) | C_CashBook_Acct -> CB_Differences_Acct | | if C_CashLine.CashType = D |
|
| Invoice (CASH INVOICE) | C_CashBook_Acct -> CB_CashTransfer_Acct | | |
|
| | C_CashBook_Acct -> CB_Asset_Acct | | if currency is different than document currency |
|
| Bank Transfer (CASH TRANSFER) | C_BankAccount_Acct -> B_InTransit_Acct | | |
|
| | C_CashBook_Acct -> CB_Asset_Acct | | if currency is different than document currency |
|
| | | C_CashBook_Acct -> CB_Asset_Acct | | Finally it creates a record in DB or CR depending on the difference between the registered movements
|
| Description of Document
| DB
| CR
| Conditions
| Comments
|
| Invoice | | | there is no accounting for not accrual | Based in C_Invoice, C_InvoiceTax y C_InvoiceLine
|
| Sales Invoice (Customer) (DOC ARInvoice or ARProForma) | | | |
|
| | | | Header Charge |
|
| | | C_Charge_Acct -> CH_Expense_Acct | if C_Charge_ID <> 0 and amt < 0 |
|
| | | C_Charge_Acct -> CH_Revenue_Acct | if C_Charge_ID <> 0 and amt > 0 |
|
| | | C_Tax_Acct -> T_Due_Acct | for each tax |
|
| | | | Revenue |
|
| | | M_Product_Acct -> P_Revenue_Acct | if c_acctschema.isTradeDiscountPosted use the price list, otherwise use the price |
|
| | M_Product_Acct -> P_TradeDiscountGrant_Acct | | if c_acctschema.isTradeDiscountPosted post the discount here |
|
| | | C_BP_Group_Acct -> UnearnedRevenue_Acct | | if involved product in invoice has defined revenue recognition plan, it changes (in FactLine.beforesave) the account P_Revenue by the account defined in the product and creates a record in C_RevenueRecognition_Plan
|
| | | | Receivables |
|
| | C_BP_Customer_Acct -> C_Receivable_Acct | | | post the value of products
|
| | C_BP_Customer_Acct -> C_Receivable_Services_Acct | | only posted if C_AcctSchema.isPostServices and there are non-item products | post the value of services and charges
|
| Credit Note (Customer) (DOC ARCredit) | | | |
|
| | | | Header Charge |
|
| | C_Charge_Acct -> CH_Expense_Acct | | if C_Charge_ID <> 0 and amt > 0 |
|
| | C_Charge_Acct -> CH_Revenue_Acct | | if C_Charge_ID <> 0 and amt < 0 |
|
| | C_Tax_Acct -> T_Due_Acct | | for each tax |
|
| | | | Revenue |
|
| | M_Product_Acct -> P_Revenue_Acct | | if c_acctschema.isTradeDiscountPosted use the price list, otherwise use the price |
|
| | | M_Product_Acct -> P_TradeDiscountGrant_Acct | if c_acctschema.isTradeDiscountPosted post the discount here |
|
| | | | Receivables |
|
| | | C_BP_Customer_Acct -> C_Receivable_Acct | | post the value of products
|
| | | C_BP_Customer_Acct -> C_Receivable_Services_Acct | only posted if C_AcctSchema.isPostServices and there are non-item products | post the value of services and charges
|
| Purchase Invoice (Vendor) (DOC APInvoice) | | | |
|
| | C_Charge_Acct -> CH_Expense_Acct | | if C_Charge_ID <> 0 and amt > 0 |
|
| | C_Charge_Acct -> CH_Revenue_Acct | | if C_Charge_ID <> 0 and amt < 0 |
|
| | C_Tax_Acct -> T_Credit_Acct o T_Expense_Acct (if sales tax) | | for each tax |
|
| | M_Product_Acct -> P_Expense_Acct | M_Product_Acct -> P_Expense_Acct | Expense, if C_AcctSchema.isExplicitCostAdjustment | calculates the cost based in M_CostDetail
|
| | M_Product_Acct -> P_InventoryClearing_Acct | | if item |
|
| | M_Product_Acct -> P_Expense_Acct | | if non-item |
|
| | | M_Product_Acct -> P_TradeDiscountRec_Acct | if c_acctschema.isTradeDiscountPosted post the discount here and use the price list for the expense or clearing |
|
| | | | Liability |
|
| | | C_BP_Vendor_Acct -> V_Liability_Acct | |
|
| | | C_BP_Vendor_Acct -> V_Liability_Services_Acct | only posted if C_AcctSchema.isPostServices and there are non-item products |
|
| Credit Note (Vendor) (DOC APCredit) | | | |
|
| | | C_Charge_Acct -> CH_Expense_Acct | if C_Charge_ID <> 0 and amt > 0 |
|
| | | C_Charge_Acct -> CH_Revenue_Acct | if C_Charge_ID <> 0 and amt < 0 |
|
| | | C_Tax_Acct -> T_Credit_Acct o T_Expense_Acct (if sales tax) | TaxCredit |
|
| | M_Product_Acct -> P_Expense_Acct | M_Product_Acct -> P_Expense_Acct | Expense, if C_AcctSchema.isExplicitCostAdjustment | calculates the cost based in M_CostDetail
|
| | | M_Product_Acct -> P_InventoryClearing_Acct | if item |
|
| | | M_Product_Acct -> P_Expense_Acct | if non-item |
|
| | M_Product_Acct -> P_TradeDiscountRec_Acct | | if c_acctschema.isTradeDiscountPosted post the discount here and use the price list for the expense or clearing |
|
| | | | Liability |
|
| | | C_BP_Vendor_Acct -> V_Liability_Acct | |
|
| | | C_BP_Vendor_Acct -> V_Liability_Services_Acct | only posted if C_AcctSchema.isPostServices and there are non-item products |
|
| Landed Cost Posting | M_Product_Acct -> P_CostAdjustment_Acct | | |
|
| | | M_Product_Acct -> P_Expense_Acct | |
|
| | | M_Product_Acct -> P_InventoryClearing_Acct | |
|
| Description of Document
| DB
| CR
| Conditions
| Comments
|
| Payment | | | | Based in C_Payment
|
| Receipt (DOC ARR - ARReceipt) | C_BankAccount_Acct -> B_InTransit_Acct | | |
|
| | | C_Charge_Acct -> CH_Expense_Acct | if C_Charge_ID <> 0 and amt > 0 |
|
| | | C_Charge_Acct -> CH_Revenue_Acct | if C_Charge_ID <> 0 and amt < 0 |
|
| | | C_BP_Customer_Acct -> C_Prepayment_Acct | if C_Payment.isPrepayment |
|
| | | C_BankAccount_Acct -> B_UnallocatedCash_Acct | else |
|
| Payment (DOC APP - APPayment) | | | |
|
| | C_Charge_Acct -> CH_Expense_Acct | | if C_Charge_ID <> 0 and amt > 0 |
|
| | C_Charge_Acct -> CH_Revenue_Acct | | if C_Charge_ID <> 0 and amt < 0 |
|
| | C_BP_Vendor_Acct -> V_Prepayment_Acct | | if C_Payment.isPrepayment |
|
| | C_BankAccount_Acct -> B_PaymentSelect_Acct | | else |
|
| | | C_BankAccount_Acct -> B_InTransit_Acct | |
|