Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 NameData TypeSample ValueComments
IDinteger123The transaction id of the receipt. This is the TrustJournalHeader.Id database field and TrustReceipt.TransactionId database field. 
IsOriginalbooleanfalseSet 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 NameData TypeSample ValueComments
TransIdinteger123The transaction id of the cheque or bank transfer. This is the TrustJournalHeader.Id database field and TrustCheque.TransactionId database field. 
ChqIdinteger76The cheque id of the written cheque. Note that this is not the cheque number itself but the TrustChequeWritten.Id field.   
TransTypestringCHQEither CHQ for trust cheque or BTR for bank transfer.
IsOriginalbooleanfalseSet 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 NameData TypeSample ValueComments
IDinteger123The transaction id of the deposit. This is the TrustJournalHeader.Id database field. 
IsOriginalbooleanfalseSet 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.