Validation Component
The validation component, BFormatSet, holds logic for validating tax IDs and fiscal codes. The component is blank, except for the fiscal code validation child method, and exposes the ValidateFormatTaxID method, which you can adapt to implement custom tax validations.
Note: In later QAD releases, you will be able to customize BFormatSet to validate other numbers and IDs.
BFormatSet
BFormatSet includes the following methods:
• ValidateFormat
The parent method for the validations.
Future QAD releases will let you customize the ValidateFormat method to validate codes, numbers, or IDs.
• ValidateFormatFiscalCode
ValidateFormatFiscalCode is a child method that validates the fiscal code used in withholding tax. Withholding tax will be available in a forthcoming QAD release.
• ValidateFormatTaxID
ValidateFormatTaxID is a child method that validates tax IDs. The method is blank in order for you to customize it and add your own tax validation functionality.