PurchPriceTolerance.validateWrite Method

Determines whether the current record is valid and ready to be written to the database.

Syntax

public boolean validateWrite()

Run On

Called

Return Value

Type: boolean
true if the record is valid; otherwise, false.

Remarks

This method makes sure the company tolerance record is not changed and that the ItemRelation and AccountRelation are specified if it is required.

It will also automatically apply default values to the ItemRelation and AccountRelation fields if either apply to 'All'.

See Also

Reference

PurchPriceTolerance Table