Validates the data set in the product kit item's properties against cross-property business rules. If any errors are found this returns false and the Asi.iBO.Errors property should be checked for details. Validate can be called at any time to check for errors but it will automatically be called at save time.

Namespace: Asi.iBO.Financials
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public override bool Validate()
Visual Basic
Public Overrides Function Validate As Boolean
Visual C++
public:
virtual bool Validate() override

Return Value

True if the CInvoice passes all business rules or only warnings are found, false if any errors are found.

Remarks

Warnings are recorded in the Errors property but do not cause this method to return false.

See Also