Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates whether the ItemCode and ItemRelation field combination is allowed.
Syntax
public boolean checkItemCodeRelation([boolean _final])
Run On
Called
Parameters
- _final
Type: boolean
A Boolean value that indicates whether this is a final check before the record is to be written; optional.
Return Value
Type: boolean
true if the combination is allowed; otherwise, false.
Remarks
If the call is not the final check, the ItemRelation field can be blank even if the ItemCode field is set to either the TableGroupAll::Table or TableGroupAll::GroupId enumeration value. If the check is the final check this omission is not allowed.