SettlementPreferenceRecId | RefRecId | No | |
ClaimId | MGCEarmarkClaimId | Yes | The claim's identifier, issued from the claim number sequence and quoted to the customer as the first half of the claim reference. It is frozen from insert and can never be edited, because it has been printed on a statement and used as journal text. |
LineNum | LineNum | Yes | The line's number within its claim, and the second half of the reference the customer quotes. IT IS IMMUTABLE ONCE THE LINE EXISTS. Renumbering would change a reference already printed on a statement and already used as journal text, so our copy and the customer's would disagree with nothing to say which is right. |
ClaimReference | MGCEarmarkClaimLineRef | No | The customer-facing reference for one claim line, composed as the claim ID, a hyphen and the line number. It is computed on read and never stored, because a stored copy would be a third place the string lives and the one that would eventually disagree with the two columns it was built from. Both halves are immutable, so the reference cannot change once it has been quoted. This is the string a counterparty reads back over the telephone and the string written as the text of the credit's journal line, so it is composed in exactly one place in the product and every surface that shows it shows the same characters. |
InvoiceAccount | MGCEarmarkAccountRelation | Yes | The account the credit posts to, and the key claims are grouped by - one claim per invoice account per deal currency. It is THE POSTING TARGET, and it is frozen from insert: moving it would re-aim a credit at a different customer without re-cutting the claim. |
Preference | MGCEarmarkSettlementPreference | No | What the customer asked for. None is a real answer meaning we asked and they had no preference, which is not the same as never having asked - a line with no preference row at all simply re-lists on the next statement. |
DateReceived | TransDate | No | When the customer told us. This is THEIR clock, not ours: it is the date of the call, the message or the remittance, and it is what a dispute is argued from. The recorded date and time beside it is when we typed it in. |
Source | MGCEarmarkPreferenceSource | No | How the election reached us - the call, the message, the remittance or the portal it came in on. It records the channel, never the validity. |
Note | MGCEarmarkPreferenceNote | No | What the customer actually said, in their words where possible. It is the difference between a checkbox and evidence. |
IsCurrent | NoYesId | No | Whether this is the election in force. Exactly one row per claim line carries it, and the value only ever moves from yes to no - a superseded election is never resurrected, because the history would then hold two rows each claiming to be the latest word. |
RecordedBy | UserId | No | Who wrote the election down. |
RecordedDateTime | TransDateTime | No | When we wrote the election down. Our clock, as opposed to the date received, which is the customer's. |