Difference between revisions of "Document Engine"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
Line 1: Line 1:
org.compiere.process.DocumentEngine
+
*org.compiere.process.DocumentEngine
: Implement logic for action that can be performed on a document.
+
**Implement logic for action that can be performed on a document.
 
+
org.compiere.acct.Doc
+
: Define the list of accounting document table and base document type as static variables.
+
: Base class for accounting document class to implement posting rule.
+
: The mapping of accounting document table to accounting document class is coded in the method get (MAcctSchema[] ass, int AD_Table_ID, ResultSet rs, String trxName).
+
  
 +
*org.compiere.acct.Doc
 +
**Base class for all accounting document class that need posting.
 +
**Define the list of accounting document table and base document type as static variables.
 +
**The mapping of accounting document table to accounting document class is coded in the method get (MAcctSchema[] ass, int AD_Table_ID, ResultSet rs, String trxName). The mapping is shown in the table below.
 +
<br>
 
{| border="1"  
 
{| border="1"  
 
|-
 
|-
Line 15: Line 15:
 
|-
 
|-
 
|C_Allocation||org.compiere.acct.Doc_Allocation
 
|C_Allocation||org.compiere.acct.Doc_Allocation
 +
|-
 +
|C_Cash||org.compiere.acct.Doc_Cash
 +
|-
 +
|C_BankStatement||org.compiere.acct.Doc_Bank
 +
|-
 +
|C_Order||org.compiere.acct.Doc_Order
 +
|-
 +
|C_Payment||org.compiere.acct.Doc_Payment
 +
|-
 +
|M_InOut||org.compiere.acct.Doc_InOut
 +
|-
 +
|M_Inventory||org.compiere.acct.Doc_Inventory
 +
|-
 +
|M_Movement||org.compiere.acct.Doc_Movement
 +
|-
 +
|M_Production||org.compiere.acct.Doc_Production
 +
|-
 +
|GL_Journal||org.compiere.acct.Doc_GLJournal
 +
|-
 +
|M_MatchInv||org.compiere.acct.Doc_MatchInv
 +
|-
 +
|M_MatchPO||org.compiere.acct.Doc_MatchPO
 +
|-
 +
|C_ProjectIssue||org.compiere.acct.Doc_ProjectIssue
 +
|-
 +
|M_Requisition||org.compiere.acct.Doc_Requisition
 
|}
 
|}
 
+
<br>
org.compiere.model.MSetup
+
*org.compiere.model.MSetup
: Create the list of document type for new Client.
+
**Create the list of document type for new Client ( Method createAccounting ).
 +
*org.compiere.server.AcctProcessor
 +
**Background process running on the JBoss server that perform the accounting document posting process.

Revision as of 19:13, 9 September 2007

  • org.compiere.process.DocumentEngine
    • Implement logic for action that can be performed on a document.
  • org.compiere.acct.Doc
    • Base class for all accounting document class that need posting.
    • Define the list of accounting document table and base document type as static variables.
    • The mapping of accounting document table to accounting document class is coded in the method get (MAcctSchema[] ass, int AD_Table_ID, ResultSet rs, String trxName). The mapping is shown in the table below.


Table Document Class
C_Invoice org.compiere.acct.Doc_Invoice
C_Allocation org.compiere.acct.Doc_Allocation
C_Cash org.compiere.acct.Doc_Cash
C_BankStatement org.compiere.acct.Doc_Bank
C_Order org.compiere.acct.Doc_Order
C_Payment org.compiere.acct.Doc_Payment
M_InOut org.compiere.acct.Doc_InOut
M_Inventory org.compiere.acct.Doc_Inventory
M_Movement org.compiere.acct.Doc_Movement
M_Production org.compiere.acct.Doc_Production
GL_Journal org.compiere.acct.Doc_GLJournal
M_MatchInv org.compiere.acct.Doc_MatchInv
M_MatchPO org.compiere.acct.Doc_MatchPO
C_ProjectIssue org.compiere.acct.Doc_ProjectIssue
M_Requisition org.compiere.acct.Doc_Requisition


  • org.compiere.model.MSetup
    • Create the list of document type for new Client ( Method createAccounting ).
  • org.compiere.server.AcctProcessor
    • Background process running on the JBoss server that perform the accounting document posting process.