Description
Check if PaySelLine belongs to current batch group.
Parameters
iiCurrentPaySelLineID | input | integer | |
olIsValidPaySelLine | output | logical | |
ilChangeStatus | input | logical | |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program1/bpaymentselection.p)
olIsValidPaySelLine = false.
for first tSupplierInvoiceGroups where tSupplierInvoiceGroups.tiGroupNumber = viLastInvGroupNbr
and tSupplierInvoiceGroups.tiPaymentSelectionLineID = iiCurrentPaySelLineID
and tSupplierInvoiceGroups.tcPaySelLIneStatus = '':U :
olIsValidPaySelLine = true.
if ilChangeStatus then
do:
tcPaySelLineStatus = 'C':U.
end.
end.