project BLF > class BDomain > method ValIsSystemLanguage

validation procedure


Parameters


icTargetFieldinputcharacterValue of the business field to validate.
icTargetFieldNameinputcharacterName of the business field to validate.
icRowidinputcharacterContents of field tc_Rowid, if the target field is a field of a component temp-table.
ilIsSystemLanguageinputlogical
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


BLF
validation on relation LngInDomain


program code (program1/bdomain.p)

if ilIsSystemLanguage <> true
then do:
    <M-1 run SetMessage
       (input  #T-1'This language ($1) is not a system language.':100(8205)T-1# (icMessage), 
        input  icTargetField (icArguments), 
        input  icTargetFieldName (icFieldName), 
        input  icTargetField (icFieldValue), 
        input  'E':U (icType), 
        input  3 (iiSeverity), 
        input  icRowid (icRowid), 
        input  'BLF-81':U (icFcMsgNumber), 
        input  '' (icFcExplanation), 
        input  '' (icFcIdentification), 
        input  '' (icFcContext), 
        output viFcReturnSuper (oiReturnStatus)) in BDomain>
    assign oiReturnStatus = -1.
end.