DEL_RetailMixAndMatchLine.validateField Method
Validates the fields numberOfItemsNeeded, type and number of RetailMixAndMatchLine table.
Syntax
public boolean validateField(FieldId _fieldIdToCheck)
Run On
Called
Parameters
- _fieldIdToCheck
Type: FieldId Extended Data Type
The field ID of the field to validate.
Return Value
Type: boolean
true if the field is valid; else false.
Remarks
RetailMixAndMatchLine.validateNumberOfItemsNeeded method initializes the field DiscountType and DiscountValue of RetailMixAndMatchLine table if the record exists in RetailMixAndMatchTable.
RetailMixAndMatchLine.validateType method initializes the field Name with the value as 'All items', if the type is 'All'.
RetailMixAndMatchLine.validateNumber method validates the field Number of RetailMixAndMatchLine table. Method inistializes the fields Name and Unit of del_RetailMixAndMatchLine table based on the value in the Type field.