function returns logical
Description
Function that is used to determine whether or not the current row from the financial table should be processed and assigned to MFG/PRO or not.
Parameters
ihFinancialDataBuffer | input | handle | |
Internal usage
unused
program code (program1/bmfgexchangerate.p)
define variable oiReturnStatus as integer no-undo.
assign vlProcessRow = false.
<Q-3 run ExchangeRateTypeById (all) (Read) (NoCache)
(input ihFinancialDataBuffer:buffer-field('ExchangeRateType_ID':U):buffer-value, (ExchangeRateTypeId)
output dataset tqExchangeRateTypeById) in BExchangeRateType >
find tqExchangeRateTypeById where
tqExchangeRateTypeById.tiExchangeRateType_ID = int(ihFinancialDataBuffer:buffer-field('ExchangeRateType_ID':U):buffer-value)
no-lock no-error.
if available tqExchangeRateTypeById
then assign vlProcessRow = tqExchangeRateTypeById.tlExchangeRateTypeIsExported.
return vlProcessRow.