image.png

In ComposeEntity, documents function are tightly integrated with accumulation registers, and the system smartly automates most of the underlying data flow. This article walks through how documents operate in ComposeEntity using utility expense and payment examples.

Core Objects Involved

We will use the following four entities to illustrate document behavior:

  1. UtilityCharge — a document representing a utility expense.
  2. UtilityPayment — a document representing a payment made for utilities.
  3. MyPayments (Balance) — an Accumulation Register that logs financial activity related to utilities.
  4. UtilityReport — a CursorReport that displays analytical data such as address, utility provider, and financial movements within a period.

Automatic Register Posting

ComposeEntity automatically posts data to accumulation registers when documents are processed. For example:

This dual usage of a single register by different documents helps consolidate reporting and ensures data integrity.

Handling Detail Tables

Documents in ComposeEntity may include detail tables (child records), such as line items or service breakdowns. The system intelligently processes these detail records during register posting:

This automatic mapping saves time, reduces the chance of error, and ensures consistency across documents and registers.

Example: Monthly Utility Report