...
Reports in Named Slots will have specific parameters required. As these parameters are known beforehand, developers will assume the reports have them and set them via code.
Named Reports
Details of each named report are listed below. As these are specialised report, their parameters are tightly controlled and known in advance.
Trust Receipt
Shows the details of a trust receipt with all line items.
Crystal Name | Data Type | Sample Value | Comments |
---|---|---|---|
ID | integer | 123 | The transaction id of the receipt. This is the TrustJournalHeader.Id database field and TrustReceipt.TransactionId database field. |
IsOriginal | boolean | false | Set to true when the printed receipt is first printed. False when the receipt is re-printed from a transaction details page. Note that the database does not track when the report is actually printed to paper (as it can't reliably do that), so the value of this parameter is a best guess. |
Trust Cheque
A printed cheque. This can be printed from trust cheque and bank transfer transactions. It is recommended to just print the cheque portion of the transaction, no other details.
Crystal Name | Data Type | Sample Value | Comments |
---|---|---|---|
TransId | integer | 123 | The transaction id of the cheque or bank transfer. This is the TrustJournalHeader.Id database field and TrustCheque.TransactionId database field. |
ChqId | integer | 76 | The cheque id of the written cheque. Note that this is not the cheque number itself but the TrustChequeWritten.Id field. |
TransType | string | CHQ | Either CHQ for trust cheque or BTR for bank transfer. |
IsOriginal | boolean | false | Set to true when the printed cheque is first printed. False when the cheque is re-printed from a transaction details page. Note that the database does not track when the report is actually printed to paper (as it can't reliably do that), so the value of this parameter is a best guess. |
Deposit Slip
TODO
Crystal Name | Data Type | Sample Value | Comments |
---|---|---|---|
ID | integer | 123 | The transaction id of the deposit. This is the TrustJournalHeader.Id database field. |
IsOriginal | boolean | false | Set to true when the deposit slip is first printed. False when the deposit slip is re-printed from a transaction details page. Note that the database does not track when the report is actually printed to paper (as it can't reliably do that), so the value of this parameter is a best guess. |