validation procedure
Description
Validation mask: logical field cannot be empty.
Parameters
ilTargetField | input | logical | Value of the business field to validate. |
icTargetFieldName | input | character | Name of the business field to validate. |
icRowid | input | character | Contents of field tc_Rowid, if the target field is a field of a class temp-table. |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program1/database.p)
if ilTargetField = ?
then do:
<M-1 run SetMessage
(input #T-2'You must enter this field.':255(72)T-2# (icMessage),
input '' (icArguments),
input icTargetFieldName (icFieldName),
input '' (icFieldValue),
input 'E':U (icType),
input 3 (iiSeverity),
input icRowid (icRowid),
input 'BLF-335':U (icFcMsgNumber),
input '' (icFcExplanation),
input '' (icFcIdentification),
input '' (icFcContext),
output oiReturnStatus (oiReturnStatus)) in database>
assign oiReturnStatus = -1.
end.