1. Cement ERP
  2. Data model and import order
Reference

The tables behind Cement ERP

Cement ERP ships with 97 tables, grouped here by the feature that uses them. Every record your team works with lives in one of them, and you can add fields and tables in Proto.

Tables
97
Features
7, plus shared settings
Change it
Add fields and tables in Proto

How the model is organised

Dealer sales and credit (10 tables):

Dealers, dealer contacts, price lists, price list entries, Quotes, quote lines, sales orders, sales order lines, credit reviews, trade promotions. Quote dealers from active price lists, review credit exposure and accept orders.

Dispatch and delivery routes (7 tables):

Deliveries, delivery lines, pick tasks, delivery routes, route stops, delivery attempts, delivery results. Pick reserved stock, release routes and record what each stop received.

Returns and exchanges (3 tables):

Returns, return lines, return dispositions. Authorize returns in both directions and decide the goods.

Purchasing and receiving (12 tables):

Suppliers, supplier bank accounts, Requisitions, requisition lines, purchase orders, purchase order lines, goods receipts, goods receipt lines, receipt acceptances, supplier invoices, supplier invoice lines, match exceptions. Approve purchases, accept receipts and match bills.

Inventory and transfers (16 tables):

Warehouses, Locations, Products, product units, units of measure, inventory positions, stock layers, inventory reservations, stock events, stock movements, stock transfers, stock transfer lines, count plans, count locks, count lines, expiry allocations. Hold, move, reserve and count stock.

Production and packing (11 tables):

Bill of materials, BOM components, Routings, routing operations, work orders, work order components, work order operations, production log, production completions, work order cost entries, cost standards. Release, record and close work orders.

Finance and collections (20 tables):

Customer invoices, customer invoice lines, sales allocations, cash receipts, cash applications, credit applications, Refunds, payment runs, Payments, payment allocations, bank accounts, bank statement lines, journal entries, journal entry lines, chart of accounts, accounting periods, close tasks, revaluation runs, revaluation lines, finance corrections. Invoice, collect, pay and close.

Configuration and supporting records (18 tables):

Entities, Currencies, exchange rates, exchange rates2, payment terms, tax codes, posting profiles, distribution policies, Approvals, authority delegations, master changes, document revisions, integration events, integration deliveries, migration batches, migration items, Users, People. Entities, policy, decisions, revisions, interfaces and migration.

Every table, by feature

Dealer sales and credit

10 tablesAbout this feature
  • Dealers

    Entity-scoped trade customers, including dealer terms, holds and billing identity.

    Linked to Entities, Payment terms, Price lists, Currencies
  • Dealer contacts

    Contacts and delivery sites belong to the dealer and are separate from authentication.

    Linked to Dealers
  • Price lists

    Effective entity/currency dealer pricing; no accepted-price mutation.

    Linked to Entities, Currencies, Master changes
  • Price list entries

    Quantity-tier price basis in a named product unit.

    Linked to Price lists, Product units
  • Quotes

    Versioned dealer offers with known pricing basis and real acceptance lineage.

    Linked to Entities, Currencies, Exchange rates, Document revisions
  • Quote lines

    All line/header discounts allocated once into accepted net value.

    Linked to Quotes, Product units, Tax codes, Cost standards
  • Sales orders

    Dealer-accepted scope plus mandatory independent commercial approval.

    Linked to Exchange rates, Document revisions, Approvals, Dealers
  • Sales order lines

    Bounded accepted quantity/value and retained original promise.

    Linked to Sales orders, Quote lines, Product units, Warehouses
  • Credit reviews

    Atomic dealer exposure review and separately bounded exception.

    Linked to Entities, Dealers, Sales orders, Currencies
  • Trade promotions

    Trade Promotions for ERP for FMCG.

    Linked to Suppliers, Products, People

Dispatch and delivery routes

7 tablesAbout this feature
  • Deliveries

    Actual dispatch and title/delivery state separated for partial deliveries.

    Linked to Entities, Document revisions, Integration events, Sales orders
  • Delivery lines

    Actual dispatch quantities and current title-transferred/delivered portions.

    Linked to Deliveries, Sales order lines, Inventory reservations, Stock events
  • Pick tasks

    Actual picked quantities remain exclusively tied to the order and do not post COGS.

    Linked to Entities, Integration events, Sales order lines, Inventory reservations
  • Delivery routes

    Manual route/stop sequence and assigned execution; no optimization or live tracking.

    Linked to Users, Entities, Document revisions, Approvals
  • Route stops

    Explicit stable sequence and exact order/shipment ownership.

    Linked to Delivery routes, Deliveries, Route stops
  • Delivery attempts

    Actual visit/handoff facts, separate from line outcomes and legal title.

    Linked to Entities, Integration events, Route stops, Users
  • Delivery results

    Each attempt allocates line outcomes once; one visit may partially deliver many lines.

    Linked to Delivery attempts, Delivery lines, Stock events, Return lines

Returns and exchanges

3 tablesAbout this feature
  • Returns

    Bounded customer/supplier physical return authorization, separate from commercial credits.

    Linked to Entities, Document revisions, Approvals, Dealers
  • Return lines

    Exact original commercial/stock scope and actual returned quantities.

    Linked to Returns, Delivery lines, Goods receipt lines, Customer invoice lines
  • Return dispositions

    Independent actual goods disposition without automatic credit or refund.

    Linked to Return lines, Locations, Users, Stock events

Purchasing and receiving

12 tablesAbout this feature
  • Suppliers

    Entity purchasing counterparties with separately controlled beneficiary data.

    Linked to Payment terms, Master changes, Entities
  • Supplier bank accounts

    Restricted supplier payment destinations with independent finance confirmation.

    Linked to Suppliers, Currencies, Master changes
  • Requisitions

    Operational purchasing demand without automatic spend approval.

    Linked to Entities, Document revisions, Users, Approvals
  • Requisition lines

    Requested product quantities and source demand identity.

    Linked to Sales order lines, Requisitions, Product units, Warehouses
  • Purchase orders

    Immutable approved supplier commitments; cumulative amendments cannot bypass authority.

    Linked to Entities, Currencies, Exchange rates, Document revisions
  • Purchase order lines

    Buy-unit quantities, frozen commercial costs and current accepted scope.

    Linked to Purchase orders, Requisition lines, Product units, Tax codes
  • Goods receipts

    Immutable actual arrivals and separately accepted quantities.

    Linked to Entities, Document revisions, Integration events, Purchase orders
  • Goods receipt lines

    Receipt history does not change as accepted inventory moves or is consumed.

    Linked to Goods receipts, Purchase order lines, Locations, Cost standards
  • Receipt acceptances

    Independent bounded disposition tranches against one immutable actual arrival.

    Linked to Entities, Integration events, Goods receipt lines, Cost standards
  • Supplier invoices

    Local supplier debit/credit documents with matching, carrying and separate settlement.

    Linked to Entities, Currencies, Exchange rates, Document revisions
  • Supplier invoice lines

    Supplier charges matched to accepted receipts, with explicit nonstock exceptions.

    Linked to Supplier invoice lines, Supplier invoices, Purchase order lines, Return lines
  • Match exceptions

    Reserve and consume accepted receipt versus bill quantities/value once.

    Linked to Match exceptions, Receipt acceptances, Entities, Integration events

Inventory and transfers

16 tablesAbout this feature
  • Warehouses

    Physical sites may host segregated entity-owned positions; legal owner stays on each position.

    Linked to Users
  • Locations

    Shallow warehouse bins, staging and transit custody locations.

    Linked to Warehouses
  • Products

    Trade goods and assembly outputs; master values do not rewrite transactions.

    Linked to Units of measure, Master changes
  • Product units

    Versioned product-specific buy/sell packs and base conversions.

    Linked to Products, Units of measure, Master changes
  • Units of measure

    Dimension and precision for stock, purchase, sale and production quantities.

  • Inventory positions

    Current owned stock by complete identity and custody state; provenance is not a second balance.

    Linked to Entities, Products, Warehouses, Locations
  • Stock layers

    Remaining quantity/carrying value with receipt/output/return lineage.

    Linked to Entities, Inventory positions, Products, Stock events
  • Inventory reservations

    Exclusive bounded demand claims through picking and owned transit.

    Linked to Entities, Integration events, Inventory positions, Stock layers
  • Stock events

    One immutable group of stock movements and the associated journal effect.

    Linked to Journal entries, Stock events, Entities, Integration events
  • Stock movements

    Signed position/layer legs; transfers balance quantity and value by SKU.

    Linked to Stock events, Inventory positions, Stock layers, Inventory reservations
  • Stock transfers

    Same-entity transfer with actual dispatch/partial receipt and retained owned transit.

    Linked to Entities, Document revisions, Approvals, Warehouses
  • Stock transfer lines

    Partial transfer quantities retain equal in-transit ownership and cost.

    Linked to Stock transfers, Products, Locations
  • Count plans

    Blind scoped counts with explicit review and cost before adjustment.

    Linked to Entities, Approvals, Warehouses, Document revisions
  • Count locks

    Time-bounded counted scope protecting all identities, including newly appearing positions.

    Linked to Entities, Count plans, Warehouses
  • Count lines

    Observed base quantity and signed variance against an unchanged locked population.

    Linked to Count plans, Inventory positions, Users, Stock events
  • Expiry allocations

    Expiry Allocations for ERP for FMCG.

    Linked to Sales order lines

Production and packing

11 tablesAbout this feature
  • Bill of materials

    Effective distribution assembly/repacking recipes with explicit output basis.

    Linked to Master changes, Entities, Products
  • BOM components

    Component quantities per explicit output basis, preserving dimensions and allowed loss.

    Linked to Bill of materials, Products
  • Routings

    Versioned assembly/repacking instructions, distinct from delivery routes.

    Linked to Entities, Bill of materials, Master changes
  • Routing operations

    Ordered work instructions and declared labour/overhead bases.

    Linked to Routings
  • Work orders

    Released bounded assembly/kitting/repacking, without plant APS or payroll scope.

    Linked to Sales order lines, Users, Entities, Document revisions
  • Work order components

    Frozen required input and actual traced issue/return scope.

    Linked to Work orders, BOM components, Products, Inventory reservations
  • Work order operations

    Frozen instructions and assigned actual work.

    Linked to Work orders, Routing operations, Users
  • Production log

    Actual operation throughput, scrap and labour evidence; intermediate counts do not sum to output.

    Linked to Entities, Integration events, Work order operations, Users
  • Production completions

    Accepted terminal output and WIP cost allocation, once per actual completed scope.

    Linked to Entities, Integration events, Approvals, Work orders
  • Work order cost entries

    Immutable WIP debit/credit sources and bounded actual-cost allocation.

    Linked to Entities, Integration events, Work orders, Work order components
  • Cost standards

    Entity/product standard per base unit with immutable effective versions.

    Linked to Entities, Products, Master changes

Finance and collections

20 tablesAbout this feature
  • Customer invoices

    Local customer debit/credit documents with mandatory independent Finance Manager approval.

    Linked to Entities, Currencies, Exchange rates, Document revisions
  • Customer invoice lines

    Exact unbilled title-transferred accepted price allocation or original credit scope.

    Linked to Delivery lines, Customer invoice lines, Return lines, Sales allocations
  • Sales allocations

    Atomic claim of accepted line quantity and net/tax value across staged fulfillment/billing.

    Linked to Delivery lines, Entities, Customer invoice lines, Integration events
  • Cash receipts

    Actual customer cash recognized once to unapplied liability before invoice allocation.

    Linked to Entities, Currencies, Exchange rates, Integration events
  • Cash applications

    Cross-currency cash allocation consumes both receipt and invoice scope atomically.

    Linked to Entities, Integration events, Approvals, Cash receipts
  • Credit applications

    Bounded customer/supplier credit allocation with retained surplus and reservations.

    Linked to Entities, Integration events, Approvals, Customer invoices
  • Refunds

    Independent finance-authorized cash movement from exactly one available credit/unapplied source.

    Linked to Document revisions, Integration events, Approvals, Customer invoices
  • Payment runs

    Frozen payable settlement proposals and protected beneficiary snapshots.

    Linked to Document revisions, Approvals, Users, Entities
  • Payments

    One economic supplier disbursement with authoritative settlement/rejection/return evidence.

    Linked to Entities, Integration events, Payment runs, Suppliers
  • Payment allocations

    Reserved bill and payment currency quantities with current-carrying settlement.

    Linked to Payments, Supplier invoices, Exchange rates, Payment allocations
  • Bank accounts

    Entity-owned bank currency balances and restricted destination data.

    Linked to Entities, Currencies, Chart of accounts, Master changes
  • Bank statement lines

    Actual external bank evidence, not inferred payment success.

    Linked to Entities, Integration events, Bank accounts, Users
  • Journal entries

    Balanced entity-functional journals with source identity and immutable postings.

    Linked to Integration events, Approvals, Accounting periods, Journal entries
  • Journal entry lines

    Nonnegative debit/credit magnitudes, one side per line, balanced in functional precision.

    Linked to Journal entries, Chart of accounts, Currencies
  • Chart of accounts

    Entity ledger accounts, including controlled subledger accounts.

    Linked to Entities, Master changes
  • Accounting periods

    Entity-specific fiscal periods and guarded close.

    Linked to Entities, Approvals
  • Close tasks

    Current source reconciliation evidence for an entity cutoff.

    Linked to Entities, Accounting periods, Users
  • Revaluation runs

    Delta remeasurement of entity monetary balances after reconciliation, not presentation consolidation.

    Linked to Entities, Document revisions, Approvals, Accounting periods
  • Revaluation lines

    One remaining monetary source, not both detail and its control total.

    Linked to Revaluation runs, Currencies, Exchange rates
  • Finance corrections

    Independent reviewed reversals, bank returns, write-offs and charges without editing posted history.

    Linked to Entities, Document revisions, Integration events, Approvals

Shared and settings

18 tables
  • Approvals

    Authoritative human decisions independent of document lifecycle.

    Linked to Users, Authority delegations, Exchange rates, Entities
  • Authority delegations

    Time- and scope-bounded coverage, never a new role.

    Linked to Entities, Users, Currencies
  • Currencies

    Currency precision and display rules.

  • Distribution policies

    Versioned operational and financial rules with explicit finite limits.

    Linked to Entities, Currencies, Users, Approvals
  • Document revisions

    Immutable typed document snapshots and source basis.

    Linked to Entities, Users
  • Entities

    Separate legal books and stock ownership; shared masters do not consolidate balances.

    Linked to Currencies, Distribution policies
  • Exchange rates

    Immutable dated conversion evidence; no hidden fallback.

    Linked to Entities, Currencies, Users
  • Exchange rates 2

    Read-only effective exchange rates for this app.

  • Integration deliveries

    Outbound intent, attempt and reconciliation; a timeout is not nonexecution.

    Linked to Entities, Document revisions, Integration events, Integration deliveries
  • Integration events

    Authenticated inbound/manual evidence with idempotent economic effects.

    Linked to Entities, Users
  • Master changes

    Protected master activation without direct Manage permission bypass.

    Linked to Entities, Users, Approvals
  • Migration batches

    Reviewed cutover: one full opening GL plus nonposting detailed balances.

    Linked to Journal entries, Users, Approvals, Entities
  • Migration items

    Replay-safe original identities, detailed remaining balances and prior effects.

    Linked to Migration batches
  • Payment terms

    Due-date terms, independent of actual cash settlement.

    Linked to Entities, Master changes
  • People

    People for ERP for FMCG.

    Linked to Users
  • Posting profiles

    Approved source-specific stock, production and trade posting mappings.

    Linked to Entities, Products, Chart of accounts, Master changes
  • Tax codes

    Configured additive tax treatment and evidence; no universal tax engine or filing claim.

    Linked to Entities, Chart of accounts, Master changes
  • Users

    Users

    Linked to Users, Master changes

Keys and references

Every transaction carries its entity and a human number such as order number, shipment number or invoice number. Records created from events, such as Deliveries, delivery attempts, cash receipts and stock events, also carry an operation key so a repeated submission resolves to the same record. Documents that are approved keep a frozen snapshot in document revisions, and the decision itself lives in Approvals. Stock is identified by entity, product, warehouse, location, lot number and custody state on inventory positions, and every movement belongs to one stock events record with its journal.

Quantities are held in a product unit and converted once to the base unit through product units. Money is held with its currency and the exchange rate used, and posted documents are corrected through reversals or finance corrections rather than edits. Import references by stable codes such as dealer code, product code and supplier code, never by display names.

Migration order

  1. Load Entities, Currencies, exchange rates, Users, chart of accounts, payment terms, tax codes and the active distribution policies, with approvers and any authority delegations.
  2. Load units of measure, Products, product units, cost standards, posting profiles, Warehouses and Locations, then bill of materials, BOM components, Routings and routing operations, activating each through master changes.
  3. Load Dealers, dealer contacts, price lists, price list entries, Suppliers, supplier bank accounts and bank accounts.
  4. Prepare a migration batches record with one opening journal and migration items for open dealer invoices, supplier bills, unapplied cash and stock positions and layers, then approve and apply it.
  5. Load open sales orders, purchase orders, stock transfers and work orders with their remaining quantities.
  6. Reconcile opening balances to the source ledger and stock count, test permissions and replay the exception cases before opening the first period.

Set up Cement ERP your way.

Start free, then use Proto to change fields, steps and approvals before your team goes live.

How to get started