MGCEarmarkClaimJournalRef
The link between a claim line and every journal, voucher and customer or vendor transaction it produced. This is the claim side's journal register, and it is the reverse lookup that puts a claim reference on the native customer transactions inquiry: a clerk looking at a credit asks what is this, and this row answers with the claim line. It is also the join that makes the claim line open view possible, and that view is the only source of the settled figure - nothing stores it.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
ClaimLine | RefRecId | Yes | The claim line this posting belongs to. One row per line per posting kind, because one approval journal carries as many vouchers as it has lines. |
Kind | MGCEarmarkClaimJournalKind | No | Which posting this row records - the claim journal, the approval, a reversal, or a proposal handed to accounts payable. |
JournalNum | LedgerJournalId | Yes | The journal that carried this posting. |
JournalLineRecId | RefRecId | No | The specific journal line, so a claim line can be traced to its own line rather than to the journal as a whole. |
Voucher | Voucher | No | The voucher this posting wrote. It is not final until the native post commits, so it is filled in once afterwards and never changed. This is the column the reverse lookup from the customer transactions inquiry uses. |
CustVendTransRecId | RefRecId | No | The customer or vendor transaction this posting created. The claim line open view follows it to the settlements, which is how the remaining amount is derived live rather than stored. |
CounterpartyType | MGCEarmarkClaimCounterpartyType | No | Whether the customer or vendor transaction reference beside this row is a CustTrans or a VendTrans. Stamped once, alongside the transaction reference itself, when the native post commits; never changed or cleared afterwards. It is what makes the transaction reference safely joinable - on its own, the same record id could mean either table. |
PostingState | MGCEarmarkClaimPostingStatus | No | Whether this posting is still pending, has posted, or - on the vendor side - is a proposal waiting for accounts payable to complete or one they deleted. |