| icTargetField | input | character | Value of the field to validate. |
| icTargetFieldName | input | character | Name of the field to validate. Use the database field name or public data item name. Example : 'Order.Order-Num'. |
| icRowid | input | character | Contents of field tc_Rowid, if the target field is a field of a component temp-table. |
| ilActive | input | logical | Active flag |
| oiReturnStatus | output | integer | Return status of the method. |
QadFinancials
if not ilActive
then do:
assign vcMessage = #T-2'You can only use active currencies.':150(1868)t-2#
oiReturnStatus = -1.
<M-1 run SetMessage (input vcMessage (icMessage),
input '':U (icArguments),
input icTargetFieldName (icFieldName),
input icTargetField (icFieldValue),
input 'E':U (icType),
input 3 (iiSeverity),
input icRowid (icRowid),
input 'QADFIN-162':U (icFcMsgNumber),
input '' (icFcExplanation),
input '' (icFcIdentification),
input '' (icFcContext),
output viFcReturnSuper (oiReturnStatus)) in BExchangeRate>
end.