Difference between revisions of "Document Engine"
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
Line 5: | Line 5: | ||
: Define the list of accounting document table and base document type as static variables. | : Define the list of accounting document table and base document type as static variables. | ||
: Base class for accounting document class to implement posting rule. | : 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). | ||
+ | |||
+ | {| border="1" | ||
+ | |- | ||
+ | !width="100pt"|Table | ||
+ | !width="150pt"|Document Class | ||
+ | |- | ||
+ | |C_Invoice||org.compiere.acct.Doc_Invoice | ||
+ | |- | ||
+ | |C_Allocation||org.compiere.acct.Doc_Allocation | ||
+ | |} | ||
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. |
Revision as of 17:18, 9 September 2007
org.compiere.process.DocumentEngine
- 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).
Table | Document Class |
---|---|
C_Invoice | org.compiere.acct.Doc_Invoice |
C_Allocation | org.compiere.acct.Doc_Allocation |
org.compiere.model.MSetup
- Create the list of document type for new Client.