Skip to main content

MGCEarmarkClaimStatementReportTmp

The claim statement report's data set: the provider's statement lines, plus the header columns the printed document needs, one flat row per line.

Fields​

NameTypeMandatoryDescription
SectionIntegerNoWhich section of the statement this row belongs to - summary, available, settled this period, reversed and adjusted, the two internal-only sections, or the totals control. The renderer reads the table in section then sort order, which is the order the provider built it in.
SortOrderIntegerNoThe row's position within its section, as the provider produced it. The table carries no index precisely so that insertion order is preserved; an index would silently re-sort a document.
LineTypeIntegerNoWhat kind of row this is within its section: an opening balance, an exchange rate movement, a detail line, a deal subtotal, a control figure and so on. It is what lets one layout treat a subtotal differently from the lines above it.
CaptionLabelIdMGCEarmarkNaturalKeyNoThe label id behind the caption, stored beside the rendered text. The id survives translation and is what a saved view or a test assertion keys on; the text is what a person reads.
CaptionMGCEarmarkReasonNoteNoThe rendered caption for a summary, subtotal or control row.
InvoiceAccountMGCEarmarkAccountRelationNoThe paying entity the statement is addressed to.
OrderingAccountMGCEarmarkAccountRelationNoThe account that ordered the goods this line's deal money was earned on. In a chain it differs from the invoice account, and a statement that showed only the payer would leave the customer unable to reconcile it against their own stores.
ClaimIdMGCEarmarkClaimIdNoThe claim the line belongs to.
LineNumLineNumNoThe line's number within its claim. It never changes after the line is created, because the reference formed from it has already been printed and used as journal text.
ClaimReferenceMGCEarmarkClaimLineRefNoThe customer-facing reference, claim id then line number, produced by the one function that produces it everywhere.
ClaimLineRefRecIdNoThe claim line's internal record identifier, for a report that needs to drill back.
DealIdMGCEarmarkDealIdNoThe deal the money was earned under. The available section is grouped by deal with a subtotal for each.
DealGroupIdMGCEarmarkDealGroupIdNoThe deal group, when the deal belongs to one.
DealNameMGCEarmarkDealNameNoThe deal's name, for a customer who knows the program by name rather than by number.
ItemIdMGCEarmarkItemRelationNoThe item the deal money was earned on.
QtyMGCEarmarkDealQtyNoThe quantity the claim line covers, in the unit shown beside it.
QtyUnitUnitOfMeasureSymbolNoThe unit the quantity is expressed in. It is the deal's unit, which is not necessarily the sales unit.
RateMGCEarmarkAccrualAmountNoThe rate the deal money was calculated at, as it was frozen when the commitment was built.
RateUnitUnitOfMeasureSymbolNoThe unit the rate is per.
CustomerPOMGCEarmarkNaturalKeyNoThe customer's own purchase order number, copied onto the claim line when the claim was generated. It is copied rather than looked up, because the source document may have moved on since.
SalesIdMGCEarmarkNaturalKeyNoThe sales order the goods moved on, copied onto the claim line at generation.
InvoiceIdMGCEarmarkNaturalKeyNoThe invoice the goods were billed on, copied onto the claim line at generation.
InvoiceDateTransDateNoThe date of that invoice.
PackingSlipIdMGCEarmarkNaturalKeyNoThe packing slip the goods shipped on, copied onto the claim line at generation.
ShipDateTransDateNoThe date the goods shipped.
ApprovalVoucherVoucherNoThe ledger voucher the customer credit was posted on. One voucher per claim line, which is what lets a customer tie a credit to a line.
ApprovalDateTransDateNoThe date the claim was approved and the credit posted.
TransDateTransDateNoThe date this row is about, which differs by section: the invoice date on an available line, the settlement date on a settled line, the movement date on a reversal.
AmountCurMGCEarmarkClaimAmountNoThe row's amount in the deal's own currency, shown alongside the statement currency so the customer can see both.
DealCurrencyCodeCurrencyCodeNoThe currency the deal was denominated in.
AmountStatementMGCEarmarkClaimAmountNoThe row's amount converted into the statement currency at the as-of date's rate.
StatementCurrencyCodeCurrencyCodeNoThe currency the statement is presented in, which is the customer's currency unless the run overrode it.
ExchRateExchRateNoThe rate that produced the conversion, stored beside the amount it produced. On a statement this is not bookkeeping detail: it is the only way a customer can check our arithmetic against their own, and the only way a re-run can be shown to have used the same rate as the original, because there is no archived copy to compare against.
RemainingCurMGCEarmarkRemainingAmountNoHow much of the credit is still open, read live rather than stored. This product stores no settled figure anywhere; it is derived on read from the customer transaction and its settlements.
SettledCurMGCEarmarkClaimAmountNoHow much of the credit has been settled, derived the same way.
LastSettlementDateTransDateNoWhen the credit was last settled against.
IsSubtotalNoYesNoWhether this row is a subtotal or control figure rather than a detail line.
IsNegativeDealNoYesNoWhether this line came from a negative deal, which reduces rather than increases what the customer is owed. Negative deals are netted into the deal subtotal rather than excluded, so the customer can see what reduced their balance and why.
IsReListedNoYesNoWhether this line has appeared on an earlier statement. An unelected claim simply stays open and re-lists; nothing expires, nothing escalates, and there is no reply-by date.
PreferenceMGCEarmarkSettlementPreferenceNoWhat the customer has asked for on this line, if anything. None is a real state meaning nobody has said.
DaysSinceApprovalMGCEarmarkAgingBucketDaysNoHow long the credit has been open at the as-of date, which is what the aging buckets are cut from.
LedgerAccountMGCEarmarkNaturalKeyNoThe journal the credit was posted from. Internal copy only.
DetailMGCEarmarkReasonNoteNoFree text explaining the row - the movement id behind a reversal, or the movement type behind an adjustment.
SectionCaptionMGCEarmarkReasonNoteNoThe heading of the statement section this line belongs to, in the language the statement is printed in.
SectionOrderIntegerNoThe position of this line's section on the printed statement. Sections print in this order, and lines within a section in their sort order.
TotalRowIntegerNo1 when the line is a summary, subtotal or control figure that the layout prints in bold; 0 for a detail line.
DocumentTitleMGCEarmarkReasonNoteNoThe title printed at the top of the statement. The internal copy says so in its title, so it cannot be mistaken for the document the customer receives.
CustomerNameCustNameNoThe name of the invoice account the statement is addressed to.
CustomerAddressLogisticsAddressingNoThe postal address of the invoice account the statement is addressed to: its address of the Statement contact purpose set in Earmark parameters, else its primary postal address.
CompanyNameCompanyNameNoThe legal entity issuing the statement.
AsOfDateTransDateNoThe date the open balances on the statement are stated at.
PeriodFromTransDateNoThe first day of the period whose approvals, settlements and reversals the statement reports.
PeriodToTransDateNoThe last day of the period whose approvals, settlements and reversals the statement reports.
InternalCopyNoYesNoWhether this is the internal copy, which adds the accrued-not-yet-claimed and general ledger sections. The internal copy is printed only to a print management copy record, never to the customer's original destination.
WatermarkMGCEarmarkReasonNoteNoThe license watermark line printed on the internal copy when the Earmark license is in grace or has lapsed. Always blank on the customer copy. It refuses nothing.
AvailableBalanceMGCEarmarkAvailableBalanceNoThe statement's available balance: the open Earmark credits at the as-of date, in the statement currency. The same figure the run log records.
ControlDifferenceMGCEarmarkClaimAmountNoThe difference between the statement's available balance and the open Earmark credits in the ledger. The customer copy prints the control section only when this is not zero.
RateUnitCaptionMGCEarmarkStatementRateUnitLabelNoThe wording printed beside the deal rate on a statement line: the Rate unit caption from Earmark parameters, or the deal's own rate unit symbol when that is empty. Blank on a line that prints no rate.
LegalTextMGCEarmarkStatementLegalTextNoThe Statement legal text from Earmark parameters, printed verbatim at the foot of the statement. Blank when the parameter is empty.
CustomerContactLogisticsElectronicAddressLocatorNoThe e-mail address, or failing that the phone number, the statement is addressed to: the customer's contact of the Statement contact purpose set in Earmark parameters, else the customer's primary contact.