TRANXACT.AI Help

Documents, headers and line items

How a transactional document is put together, why its totals always agree with its lines, and when the lines stop changing.

Every transactional document opens onto a detail page: a header summary above, line-item grids below, reached from the Detail action on its list. The header can be edited in place from that page — which is where you are standing when you have just read the document and seen what is wrong with it.

Lines are a grid, not a blob

Lines are entered in a grid: pick the item or the GL account from a dropdown, type the quantity, watch the running total. Documents whose header and lines are written together — journals, requisitions, purchase orders, supplier invoices, opportunities — carry that same grid inside the creation form, so the document is made in one act rather than created empty and filled afterwards.

ModuleDocumentWhat the lines are
AccountingJournalsPosted lines: account, debit, credit. Immutable.
AccountingAP and AR invoicesCosted lines with item, GL account and tax.
CRMOpportunitiesProduct lines, which become the AR invoice on Closed Won.
CRMField work ordersTasks with labour and technician, plus parts drawn from inventory.
Supply ChainRequisitions and purchase ordersItem lines showing received and outstanding quantities.
Supply ChainReceiptsReceived quantities by bin and lot. Immutable.
HRMSPayroll runsA payslip per employee: gross, tax, deductions, net.
ManufacturingProduction ordersBOM-exploded components and routing operations.
ManufacturingQuality inspectionsMeasured characteristics against their spec limits.
EHREncountersBillable charge lines.
Student LifecycleTerm billingCharges from registration, netted against accepted aid.

Every line in a grid has a 360° button that opens that line in a panel beside the grid: its configuration, bill of material, process, cost, stock and the other documents that carry its item. See The 360° view → 360° on a line.

Two rules enforced in the API, not merely in the screen

  • Header totals are derived. Adding, changing or deleting a line recalculates the header subtotal, tax and total in the same database transaction. The header can never disagree with its lines, whatever route the change arrived by.
  • Lines freeze with the document. Once an invoice is posted, a purchase order received, a work order completed or an encounter billed, its lines are read-only — those states have already produced journal entries and stock movements. They freeze with a closed fiscal period too, for the same reason. A partly delivered sales order is the exception: it still takes new lines, and only the lines delivered, invoiced, on a delivery or on a drop-ship purchase order are Frozen — Copy beside one starts a new line from it.

The grid tells you which of the two it is rather than letting you type and then failing on save. "Posted" and "the period is closed" are different problems with different answers, and being told the wrong one costs an afternoon.

Edit on the header

Once a document like a sales order exists, most of it has been set by the process that created it. Edit at the top of the record offers only the few details that can still change — on a sales order, the requested date, the customer’s PO, ship-to, location, warehouse and notes.

  • Above those fields, the Edit form shows the record’s own details — its number, the customer, the items, the date, the currency — as text, so you can see which document you are changing even when every field that can change is still empty.
  • Those details are there to read. Nothing in them can be changed or sent back with the save.
  • The form says that its lines are changed in the lines below the header. To change a quantity or add an item, close Edit and use the line grid.