Shift
Class Description
Generally referring to a period of operation or work performed. Whether the shift is open/closed can be derived from attributes 'activityInterval.start' and 'activityInterval.end'. The grand total for receipts (i.e., cumulative total of all actual receipted amounts during this shift; bankable + non-bankable; excludes rounding error totals) can be derived from receipt: =sum('Receipt.receiptAmount'); includes bankable and non-bankable receipts. It also has to be reconciled against: =sum('receiptsGrandTotalBankable' + 'receiptsGrandTotalNonBankable') and against receipt summary: =sum('ReceiptSummary.receiptsTotal'). The attributes with "GrandTotal" defined in this class may need to be used when the source data is periodically flushed from the system and then these cannot be derived.
Attributes
| Name | Type | Description |
|---|---|---|
| activityInterval | DateTimeInterval | Interval for activity of this shift. |
| receiptsGrandTotalBankable | Money | Total of amounts receipted during this shift that can be manually banked (cash and cheques for example). Values are obtained from Receipt attributes: =sum(Receipt.receiptAmount) for all Receipt.bankable = true. |
| receiptsGrandTotalNonBankable | Money | Total of amounts receipted during this shift that cannot be manually banked (card payments for example). Values are obtained from Receipt attributes: =sum(Receipt.receiptAmount) for all Receipt.bankable = false. |
| receiptsGrandTotalRounding | Money | Cumulative amount in error due to process rounding not reflected in receiptsGrandTotal. Values are obtained from Receipt attributes: =sum(Receipt.receiptRounding). |
| transactionsGrandTotal | Money | Cumulative total of transacted amounts during this shift. Values are obtained from transaction: =sum('Transaction.transactionAmount'). It also has to be reconciled against transaction summary: =sum('TransactionSummary.transactionsTotal'). |
| transactionsGrandTotalRounding | Money | Cumulative amount in error due to process rounding not reflected in transactionsGandTotal. Values are obtained from Transaction attributes: =sum(Transaction.transactionRounding). |
Relationships
Ancestors
Descendents
Associations
None