|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.acct.Doc
org.compiere.acct.Doc_Invoice
public class Doc_Invoice
Post Invoice Documents.
Table: C_Invoice (318) Document Types: ARI, ARC, ARF, API, APC
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
Doc_Invoice(MAcctSchema[] ass,
ResultSet rs,
String trxName)
Constructor |
| Method Summary | |
|---|---|
BigDecimal |
createFactCash(MAcctSchema as,
Fact fact,
BigDecimal multiplier)
Create Fact Cash Based (i.e. only revenue/expense) |
ArrayList<Fact> |
createFacts(MAcctSchema as)
Create Facts (the accounting logic) for ARI, ARC, ARF, API, APC. |
BigDecimal |
getBalance()
Get Source Currency Balance - subtracts line and tax amounts from total - no rounding |
protected String |
loadDocumentDetails()
Load Specific Document Details |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Doc_Invoice(MAcctSchema[] ass,
ResultSet rs,
String trxName)
ass - accounting schematars - recordtrxName - trx| Method Detail |
|---|
protected String loadDocumentDetails()
loadDocumentDetails in class Docpublic BigDecimal getBalance()
getBalance in class Docpublic ArrayList<Fact> createFacts(MAcctSchema as)
ARI, ARF
Receivables DR
Charge CR
TaxDue CR
Revenue CR
ARC
Receivables CR
Charge DR
TaxDue DR
Revenue RR
API
Payables CR
Charge DR
TaxCredit DR
Expense DR
APC
Payables DR
Charge CR
TaxCredit CR
Expense CR
createFacts in class Docas - accounting schema
public BigDecimal createFactCash(MAcctSchema as,
Fact fact,
BigDecimal multiplier)
as - accounting schemafact - fact to add lines tomultiplier - source amount multiplier
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||