Table 381 "VAT Registration No. Format"
Base Application · Microsoft.Finance.VAT.Registration
Across versions
- BC23present
- BC241 events added
- BC25unchanged
- BC262 fields changed
- BC27unchanged
- BC281 events added
- BC29-30unchanged
Neighbourhood 4 connected objects and pages
Base Application · Microsoft.Finance.VAT.Registration · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 575 “VAT Registration No. Formats” (2 Learn pages).
Properties
| Property | Value |
|---|---|
| Caption | VAT Registration No. Format |
| DataClassification | CustomerContent |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Country/Region Code Δ BC26 | Code[10] | Specifies the country/region of the address. | TableRelation Table 9 “Country/Region” (Country/Region); not editable; NotBlank |
| 2 | Line No. | Integer | — | |
| 3 | Format Δ BC26 | Text[20] | Specifies a format for a country’s/region’s VAT registration number. |
Keys
- Key1: Country/Region Code, Line No. (clustered)
Events published
OnBeforeCheckCust(VATRegNo: Text[20]; Number: Code[20]; var IsHandled: Boolean)(integration): Integration event raised before validating customer VAT registration number for duplicates.OnBeforeShowCheckCustMessage(TextString: Text; var IsHandled: Boolean)(integration): Integration event raised before displaying customer VAT registration number duplicate warning message.OnBeforeShowCheckVendMessage(TextString: Text; var IsHandled: Boolean)(integration): Integration event raised before displaying vendor VAT registration number duplicate warning message.OnBeforeCheckVend(VATRegNo: Text[20]; Number: Code[20]; var IsHandled: Boolean)(integration): Integration event raised before validating vendor VAT registration number for duplicates.OnBeforeCheckContact(VATRegNo: Text[20]; Number: Code[20]; var IsHandled: Boolean)(integration): Integration event raised before validating contact VAT registration number for duplicates.OnBeforeTest(VATRegNo: Text[20]; CountryCode: Code[10]; Number: Code[20]; TableID: Option; Check: Boolean; var IsHandled: Boolean)(integration): Integration event raised before VAT registration number format validation begins.OnCheckContactOnBeforeCheck(VATRegNo: Text[20]; Number: Code[20]; TextString: Text; var Check: Boolean)(integration): Integration event raised before contact VAT registration number duplicate validation.OnCheckCustOnBeforeCustFindSet(var Customer: Record Customer)(integration): Integration event raised before customer record filtering for VAT registration number duplicate checking.OnCheckCustOnBeforeCheck(VATRegNo: Text[20]; Number: Code[20]; TextString: Text; var Check: Boolean)(integration): Integration event raised before customer VAT registration number duplicate validation.OnCheckVendOnBeforeVendFindSet(var Vendor: Record Vendor)(integration): Integration event raised before vendor record filtering for VAT registration number duplicate checking.OnCheckVendorOnBeforeCheck(VATRegNo: Text[20]; Number: Code[20]; TextString: Text; var Check: Boolean)(integration): Integration event raised before vendor VAT registration number duplicate validation.OnTestTable(VATRegNo: Text[20]; CountryCode: Code[10]; Number: Code[20]; TableID: Option)(integration): Integration event raised during VAT registration number validation for custom table types.OnConstructErrorMessageIfNotCheck(ErrorMessageLbl: Text; Number: Code[20]; TableID: Option; var ErrorMsg: Text; var IsHandled: Boolean)+ BC24 (integration): Integration event raised to construct custom error message for VAT registration number validation failures.OnCheckContactOnBeforeContactFindSet(var Contact: Record Contact)+ BC28 (integration): Integration event raised before contact record filtering for VAT registration number duplicate checking.
Procedures
Test(VATRegNo: Text[20]; CountryCode: Code[10]; Number: Code[20]; TableID: Option): Boolean: Validates VAT registration number format and checks for duplicates across customer, vendor, and contact records.Compare(VATRegNo: Text[20]; Format: Text[20]): Boolean: Compares VAT registration number against specified format pattern using wildcard matching.
Plus 6 local procedures.
Relations
- Country/Region Code: TableRelation Table 9 “Country/Region”
Pages and codeunits on this table
- Page 575 “VAT Registration No. Formats” (source table)
Countries that replace it
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "VAT Registration No. Format"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.