Share via


DEL_RetailMixAndMatchLine.validateField Method

Validates the fields numberOfItemsNeeded, type and number of RetailMixAndMatchLine table.

Syntax

public boolean validateField(FieldId _fieldIdToCheck)

Run On

Called

Parameters

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.

See Also

Reference

DEL_RetailMixAndMatchLine Table