Magidoc

AccountingAllocationRun
Object

Fields

#

_id

ID !
Non-null

workspaceId

ID !
Non-null

glCompanyId

The GL company whose books this run posts into. Null until company provisioning lands; never the counterparty, which is what a line's entityId holds.

accountingAllocationRuleId

ID !
Non-null

ruleModifiedAt

The rule's modifiedAt as it stood when the run was built — the version the split was computed from. A create that names a different one is refused, so a run can never persist a split its reviewer did not see.

sourceAccountId

The pool account frozen when the run was built. A draft is a receipt of what was reviewed, so posting uses this rather than re-reading the rule, which may have been edited since. Null only on runs created before runs carried the snapshot; those cannot post.

targetAccountId

The receiving account frozen when the run was built, for the same reason as sourceAccountId.

periodId

status

Non-null

totalAmount

Non-null

lines

Non-null

journalId

postingBatchId

postedAt

postedBy

reversedAt

When the run's posting was reversed. A reversed run is terminal: its journal is closed by a reversing entry and it cannot be posted again.

reversedBy

createdAt

Non-null

modifiedAt

Non-null

createdBy

ID !
Non-null

modifiedBy

ID !
Non-null

Usages

#

References

#

  • Field previewAccountingAllocationRun from Query
  • Field getAccountingAllocationRuns from Query
  • Field createAccountingAllocationRun from Mutation