query calculated fields procedure
Description
Assign a value to query calculated field tqGetWHTWithPayments.tcPaymentStatusCalc (available in preprocessor {&tcPaymentStatusCalc})
Parameters
| iiCompanyId | input | integer | Company id |
| icCertFormatCode | input | character | |
| icFromCreditorCode | input | character | |
| iiMonth | input | integer | |
| iiPaymentNumberFrom | input | integer | |
| iiPaymentNumberTo | input | integer | |
| icPaymentSelCode | input | character | |
| icToCreditorCode | input | character | |
| iiWHTNumberFrom | input | integer | |
| iiWHTNumberTo | input | integer | |
| iiYear | input | integer | |
| oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program1/bcreditorreport.p)
assign {&tcPaymentStatusCalc} = <M-2 GetCDocumentStatusTranslation (input {&tcCDocumentStatus} (icStatus)) in BCreditorReport>.