RetailDiscountValidationPeriod.validateField Method [AX 2012]

Indicates whether the start time and end time of the discount for each day are valid.

public boolean validateField(FieldId _fieldIdToCheck)

Run On



Type: FieldId Extended Data Type
The field ID value of the field to be validated.

Return Value

Type: boolean
true if the start and end date of discounts are valid for all the discount periods; otherwise, false.