Magidoc

FinanceIntercompanyMapping
Object

The due-to/due-from accounts one GL company posts into another through. One row per ordered pair: a mapping from A to B does not let B post to A, and neither implies a route through a third company. Posting a journal across a pair with no mapping refuses — the accounts are configuration, never inferred.

The four labels are resolved when the row is read, so a renamed company or a renumbered account reads as its current self. A reference that no longer resolves labels as its id.

Fields

#

_id

ID !
Non-null

fromGlCompanyId

ID !
Non-null

The company a cross-company document is written from — its header company.

fromGlCompanyLabel

Non-null

toGlCompanyId

ID !
Non-null

The company a line of that document posts into.

toGlCompanyLabel

Non-null

dueFromAccountId

ID !
Non-null

Current asset, debited in the books that are owed. Never accounts receivable.

dueFromAccountLabel

Non-null

dueToAccountId

ID !
Non-null

Current liability, credited in the books that owe. Never accounts payable.

dueToAccountLabel

Non-null

active

Non-null

createdAt

Non-null

modifiedAt

Non-null

createdBy

ID !
Non-null

modifiedBy

ID !
Non-null

Usages

#

References

#

  • Field getFinanceIntercompanyMappings from Query
  • Field createFinanceIntercompanyMapping from Mutation
  • Field updateFinanceIntercompanyMapping from Mutation