StatementRunId | MGCEarmarkStatementRunId | Yes | The run's identifier, issued from the statement run number sequence. IT IS NOT A STATEMENT NUMBER AND IS NEVER PRINTED ON THE CUSTOMER COPY. The statement is regenerated from data - there is no archive and no statement number - so this id identifies the run internally, for support and for re-runs, and nothing more. Putting it on the layout because it looks like a document number would quietly give the product an identifier it has promised not to have. |
InvoiceAccount | MGCEarmarkAccountRelation | Yes | The invoice account this statement was produced for. |
AsOfDate | TransDate | Yes | The date the balances were read as at. Because nothing is archived, reproducing an issued statement means re-running it as of this date, which is why it is a first-class column rather than a run parameter. |
PeriodFrom | TransDate | No | The start of the window whose activity the statement listed. |
PeriodTo | TransDate | No | The end of the window whose activity the statement listed. |
Mode | MGCEarmarkStatementMode | No | Whether this run came from the schedule or was asked for by a person. |
InternalCopy | NoYesId | No | Whether this was the internal copy rather than the customer's. The internal copy is the one that carries the license watermark when a license has lapsed; the customer's copy never does, because a lapse is a banner and a watermark, never a block. |
AvailableBalance | MGCEarmarkAvailableBalance | No | The available balance the statement actually printed, kept so a later conversation can start from the same figure. It is evidence of what was sent, and nothing that computes a live balance reads it. |
CurrencyCode | CurrencyCode | No | The currency the printed balance was expressed in. |
LineCount | Counter | No | How many claim lines the statement listed. Kept beside the printed balance for the same reason: it is what the customer is holding. |
IsReRun | NoYesId | No | Whether this run reproduced an earlier statement rather than producing a new one. A re-run is how an issued statement is recovered, because nothing is archived. |
ReRunOfStatementRunId | MGCEarmarkStatementRunId | Yes | The run's identifier, issued from the statement run number sequence. IT IS NOT A STATEMENT NUMBER AND IS NEVER PRINTED ON THE CUSTOMER COPY. The statement is regenerated from data - there is no archive and no statement number - so this id identifies the run internally, for support and for re-runs, and nothing more. Putting it on the layout because it looks like a document number would quietly give the product an identifier it has promised not to have. |
RunBy | UserId | No | Who produced the statement, or the batch account that did. |
RunDateTime | TransDateTime | No | When the statement was produced - our clock, as distinct from the as-of date the figures were read at. A re-run of an old statement has a recent run time and an old as-of date, and the pair is what tells them apart. |