Table 226 "VAT Reg. No. Srv. Template"
Base Application · Microsoft.Finance.VAT.Registration
Across versions
- BC23present
- BC241 events added, 1 events removed
- BC25unchanged
- BC269 fields changed
- BC27-30unchanged
Neighbourhood 4 connected objects and pages
Base Application · Microsoft.Finance.VAT.Registration · captioned “VAT Reg. No. Validation Template” · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | VAT Reg. No. Validation Template |
| DataClassification | CustomerContent |
| LookupPageId | VAT Reg. No. Srv. Templates |
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 | Code Δ BC26 | Code[20] | Specifies the template code. | |
| 10 | Country/Region Code Δ BC26 | Code[10] | Specifies the country/region code. | TableRelation Table 9 “Country/Region” (“Country/Region”.Code) |
| 11 | Account Type Δ BC26 | Enum “VAT Reg. No. Srv. Template Account Type” | Specifies the account type. | enum Enum 241 “VAT Reg. No. Srv. Template Account Type” |
| 12 | Account No. Δ BC26 | Code[20] | Specifies the account number. | |
| 20 | Validate Name Δ BC26 | Boolean | Specifies if the name value is validated. | |
| 21 | Validate Street Δ BC26 | Boolean | Specifies if the street value is validated. | |
| 22 | Validate City Δ BC26 | Boolean | Specifies if the city value is validated. | |
| 23 | Validate Post Code Δ BC26 | Boolean | Specifies if the post code value is validated. | |
| 24 | Ignore Details Δ BC26 | Boolean | Specifies if you want to exclude any detailed information that the validation service returns. Choose the field to view all validation details. |
Keys
- PK: Code (clustered)
Events published
OnBeforeFindTemplate(VATRegistrationLog: Record "VAT Registration Log"; var IsHandled: Boolean; var Result: Code[20]; var VATRegNoSrvTemplate: Record "VAT Reg. No. Srv. Template")+ BC24 − BC24 (integration): Integration event raised before finding validation template to allow custom template selection logic.
Procedures
FindTemplate(VATRegistrationLog: Record "VAT Registration Log"): Code[20]: Finds the most appropriate validation template for the given VAT registration log entry. Uses hierarchical matching based on country, account type, and account number.CheckInitDefaultTemplate(var VATRegNoSrvConfig: Record "VAT Reg. No. Srv Config"): Initializes default validation template if none exists and updates service configuration.
Plus 2 local procedures.
Relations
- lookup page Page 246 “VAT Reg. No. Srv. Templates”
- Country/Region Code: TableRelation Table 9 “Country/Region”
Referenced by
2 fields in 2 objects relate to this table (TableRelation or CalcFormula).
- Table 248 “VAT Reg. No. Srv Config”: Default Template Code
- Table 249 “VAT Registration Log”: Template
Pages and codeunits on this table
- Page 246 “VAT Reg. No. Srv. Templates” (source table)
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 Reg. No. Srv. Template"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.