MGCEarmarkClaimAgingStaging
The data-management staging table behind MGCEarmarkClaimAgingEntity.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
DefinitionGroup | DMFDefinitionGroupName | Yes | |
ExecutionId | DMFExecutionId | Yes | |
IsSelected | DMFIsSelected | No | |
TransferStatus | DMFTransferStatus | No | |
ClaimId | MGCEarmarkClaimId | No | The identifier of an Earmark claim document. It is allocated from the Claim ID number sequence held on the Earmark parameters record, with a generated fallback while sequences are unconfigured; a claim ID that reads as a generated value tells an accounts-receivable clerk at a glance that the number sequences have not been set up yet. Because the claim ID is quoted to the counterparty on the claim statement and printed on the credit, its number sequence may never be lowered. Implements requirement D1. |
LineNum | LineNum | No | |
ClaimReference | MGCEarmarkClaimLineRef | No | The reference a customer quotes back for one line of one claim, composed as the claim id, a hyphen and the line number. It is built in exactly one place - the claim reference function - because the journal text, the statement, the native customer transactions column, the accounts payable proposal text and the refund proposal line text all show it, and five surfaces spelling it differently is a support incident. The line number half is immutable once the line exists, because this string has already been printed. |
CounterpartyType | MGCEarmarkClaimCounterpartyType | No | |
CounterpartyAccount | MGCEarmarkAccountRelation | No | The customer, vendor, customer group or vendor group that a deal targeting row or a posting profile row selects, read according to that row's account code and the deal's module. It is sixty characters, matching the item relation type rather than the twenty-character standard relation type, so that the two halves of a selector pair behave identically and neither truncates a value the other would keep. It is mandatory for every account code except All, which must leave it blank. Implements requirements A5 and A10. |
InvoiceAccount | MGCEarmarkAccountRelation | No | The customer, vendor, customer group or vendor group that a deal targeting row or a posting profile row selects, read according to that row's account code and the deal's module. It is sixty characters, matching the item relation type rather than the twenty-character standard relation type, so that the two halves of a selector pair behave identically and neither truncates a value the other would keep. It is mandatory for every account code except All, which must leave it blank. Implements requirements A5 and A10. |
CurrencyCode | CurrencyCode | No | |
DealId | MGCEarmarkDealId | No | The identifier of the Earmark deal. It is allocated from the Deal ID number sequence registered on the Earmark parameters record, or typed by the deal author when no sequence is configured. The deal ID is the deal's natural key: it is quoted on claim statements, carried on every accrual instance frozen from the deal, and copied into migrated records, so it is stored on every dependent row alongside the record ID rather than being re-derived. Implements requirement A3. |
DealGroupId | MGCEarmarkDealGroupId | No | The code of the deal group a deal belongs to. It is a short code typed by the implementer rather than a value allocated from a number sequence, which is why it is twenty characters where every Earmark identifier is sixty: people read it, quote it and group reports by it. The group code is stored on the group row, on every deal that belongs to the group and on an amendment's proposed value, so a claim statement can print the group as the caption of a subtotal band without reading the group record itself. Implements requirement A3. |
ItemId | ItemId | No | |
ClaimAmountCur | MGCEarmarkClaimAmount | No | The credit a claim or claim line asks for, in the deal currency the money accrued in. It is fixed at generation and never recalculated: a reversal or a downstream movement takes its amount from the parent so that a chain nets to exactly zero rather than leaving a rounding residue. This is what was ASKED FOR, which is not the same question as what is still open on the credit - see the remaining amount. |
ClaimAmountMST | AmountMST | No | |
ApprovalVoucher | Voucher | No | |
PostingStatus | MGCEarmarkClaimPostingStatus | No | |
ApprovedDateTime | TransDateTime | No | |
DaysSinceApproval | int | No |