Uses of Class
org.compiere.acct.FactLine
Package
Description
Provide classes for posting of accounting document to the fact table (
MFactAcct
.-
Uses of FactLine in org.compiere.acct
Modifier and TypeMethodDescriptionCreate reverse accrual (flip CR/DR) of the lineFact.balanceAccounting()
Balance Accounting Currency.Fact.balanceSource()
Create Source Line for Suspense Balancing.
Only if Suspense Balancing is enabled and not a multi-currency document (double check as, otherwise the rule should not have fired).Fact.createLine
(DocLine docLine, MAccount account, int C_Currency_ID, BigDecimal Amt) Create and convert Fact Line.Fact.createLine
(DocLine docLine, MAccount account, int C_Currency_ID, BigDecimal debitAmt, BigDecimal creditAmt) Create and convert Fact Line.Fact.createLine
(DocLine docLine, MAccount accountDr, MAccount accountCr, int C_Currency_ID, BigDecimal Amt) Create and convert Fact Line.static FactLine[]
FactUtil.createSimpleOperation
(Fact fact, DocLine docLine, MAccount account_DR, MAccount account_CR, int C_Currency_ID, BigDecimal amt, boolean signSensitive) Create a simple acct transaction, as fellows:FactLine[]
Fact.getLines()
Get LinesCreate Reversal (negate DR/CR) of the lineModifier and TypeMethodDescriptionvoid
Add Fact Linevoid
Remove Fact Lineprotected void
Doc_MatchInv.updateFactLine
(FactLine factLine) Update fact line with invoice line details (qty and accounting dimension)protected void
Doc_MatchInv.updateFactLineAmtSource
(FactLine factLine, BigDecimal ipvSource) Invoice currency & acct schema currency are not same then update AmtSource value to avoid source not balanced error/ignore suspense balancing.boolean
FactLine.updateReverseLine
(int AD_Table_ID, int Record_ID, int Line_ID, BigDecimal multiplier, FactLine otherLine) Update Line with reversed Original Amount in Accounting Currency.