Skip to main content

MGCEarmarkDealPostingEntity

The deal-nominated posting set, keyed on the deal ID and the movement type. Rows exist only for a deal whose account source is deal-nominated, and only for the five account-bearing movement types; the two parent-derived types must never acquire a row, because the submit-time completeness guard counts rows. Accounts are carried as main account numbers rather than as ledger dimension record IDs, so a posting set exports readably and reloads into an environment whose dimension combinations were built independently. Implements requirements A9 and A21.

  • Public collection name: MGCEarmarkDealPostings
  • Primary key: DealId, MovementType

Fields​

NameTypeMandatoryDescription
DealIdMGCEarmarkDealIdYesThe identifier of the deal this posting row belongs to, stored beside the record reference so that the row stays readable in an export, usable in a data management load and meaningful after a migration.
MovementTypeMGCEarmarkMovementTypeNoThe Earmark movement this row supplies accounts for. Only the five account-bearing movement types have rows - accrual, accrual reversal, claim, claim reversal and claim approval. The other three are refused: adjustment and return reversal resolve through the accounts of the movement they compose or reverse, and claim approval reversal posts through the claim approval row with its sign inverted, so none of them has a posting key of its own.
AccountTypeLedgerJournalACTypeNoWhether the account side of this movement posts to a ledger account, a customer account or a vendor account. Claim approval is always the counterparty - Cust on a customer deal, Vend on a vendor deal - and never a ledger account. Earmark posts to those three types and no others; the platform's account type enum carries further values, such as project and bank, that Earmark has no posting path for and refuses at write.
PostingTypeMGCEarmarkPostingTypeNoThe Earmark posting type the account side of this movement represents - accrual, accrual offset, claim or claim offset, plus the vendor-side types the vendor-shapes package registers. It uses the same vocabulary as the company Earmark posting profile, so a nominated account and a profile-resolved account can be read against each other.
OffsetAccountTypeLedgerJournalACTypeNoWhether the offset side of this movement posts to a ledger account, a customer account or a vendor account. Earmark posts to those three and no others; the platform's account type enum carries further values - project, bank, fixed assets - that Earmark has no posting path for and refuses at write rather than discovering inside a posting transaction.
OffsetPostingTypeMGCEarmarkPostingTypeNoThe Earmark posting type the offset side of this movement represents, using the same vocabulary as the company Earmark posting profile.
MainAccountDimensionDisplayValueNo
OffsetMainAccountDimensionDisplayValueNo

Mappings​

Entity fieldData sourceField
DealIdMGCEarmarkDealPostingDealId
MovementTypeMGCEarmarkDealPostingMovementType
AccountTypeMGCEarmarkDealPostingAccountType
PostingTypeMGCEarmarkDealPostingPostingType
OffsetAccountTypeMGCEarmarkDealPostingOffsetAccountType
OffsetPostingTypeMGCEarmarkDealPostingOffsetPostingType
MainAccountLedgerDimensionDAVCDisplayValue
OffsetMainAccountOffsetLedgerDimensionDAVCDisplayValue