Skip to main content

HOWTO Process Documents

ADempiere...About 2 minCommunityWikiFunctional HOWTOs

Processing Basics

In ADempiere there are several predefined types of documents, as can be seen in the picture below.

1

This window can be reached in the ADempiere Client App's menue (if you are logged in a role with access level 'Client+Organization') this way:

 Menu -> Performance Analysis -> Accounting Rules -> Document Type

The automated internal processing of those documents is a complex matter. What we start here is a simple FAQ-like explanation of those base documents. Where appropriate a further explanations are provided, redirecting to database entities, source code and articles by other ADempiereans.

List of described documents

Points for the advanced users

The questions touched in these documents' inspections just skim the deeper matters related to document processing. When looking at those explanations some prior knowledge might be useful:

About the usage of DEFAULT_ACCOUNTS - these are special accounts from the Chart Of Accounts, which are bound in the source code to standard processes. So the posting of mainstream activities is backed up and automated.

Note: that all the examples given include accounts from the American COA which comes along with the ADempiere installation.

  • In General there are two types of classes defining the behavior of the documents. These are:
  1. Common classes
  2. Specific classes
  • There are 16 model classes describing the behavior of the 34 active Document Types.
  • Concerning accounting there are 15 document classes which are responsible for posting the documents. The mapping between the classes and their corresponding document types are provided in the following table.
  • When we talk about automatic generation of documents the consequent "papers" in the corresponding workflow should be minded, and the automation is provided by the workflow itself. That means with the completion of a single document the set of connected ones is generated and posted in a sequence. The automatic generation is not about using certain form to choose from which document to produce other type (e.g. to produce Shipment from Sales Order through the Generate Shipment (manual) form).

ADempiere Document Types mapped to their Model and Posting classes

Model classDocument TypeDocument-Posting Class
MInvoiceAP CreditMemoDoc_Invoice
MInvoiceAP InvoiceDoc_Invoice
MPaymentAP PaymentDoc_Payment
MInvoiceAR Credit MemoDoc_Invoice
MInvoiceAR Pro Forma InvoiceDoc_Invoice
MInvoiceAR InvoiceDoc_Invoice
MInvoiceAR Invoice IndirectDoc_Invoice
MPaymentAR ReceiptDoc_Payment
MAllocationHdrPayment AllocationDoc_Allocation
MBankStatementBank StatementDoc_Bank
MCashCash JournalDoc_Cash
GL Document(??? Doc_ProjectIssue ???)
MJournalGL JournalDoc_GLJournal
MInventoryMaterial Physical InventoryDoc_Inventory
MMovementMaterial MovementDoc_Movement
Material ProductionDoc_Production
MInOutMM ReceiptDoc_InOut
MInOutConfirmMM Receipt with ConfirmationDoc_InOut
MInOutMM ShipmentDoc_InOut
MInOutMM Shipment IndirectDoc_InOut
MInOutMM Shipment with PickDoc_InOut
Match InvoiceDoc_MatchInv
Match PODoc_MatchPO
Project IssueDoc_ProjectIssue
MOrderPurchase OrderDoc_Order
Purchase RequisitionDoc_Requisition
MOrderOn Credit OrderDoc_Order
MOrderPOS OrderDoc_Order
MOrderPrepay OrderDoc_Order
MOrderProposalDoc_Order
MOrderQuotationDoc_Order
MRMAReturn MaterialDoc_Order
MOrderStandard OrderDoc_Order
MOrderWarehouse OrderDoc_Order

Specific automations common to the most types of documents

  • Payment Term specifics - for documents defining Payment Term other than Immediate the contents of the tab Payment Schedule are automatically populated with data, based on the chosen rule. If the Payment Term is changed after the document is Completed, the Payment Schedule is not affected and the necessary changes must be made manually.
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.8