tableFinanceofficial - Microsoftderived - from the source, no model text

Table 249 "VAT Registration Log"

Base Application · Microsoft.Finance.VAT.Registration

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC25unchanged
  4. BC2615 fields changed
  5. BC27-30unchanged

Neighbourhood 14 connected objects and pages

Table 18 "Customer" (relates to)CustomerTable 226 "VAT Reg. No. Srv. Template" (relates to)VAT Reg. No. Srv. TemplateTable 23 "Vendor" (relates to)VendorTable 9 "Country/Region" (relates to)Country/RegionCodeunit 248 "VAT Lookup Ext. Data Hndl" (pages and codeunits on it)VAT Lookup Ext. Data HndlPage 249 "VAT Registration Log" (pages and codeunits on it)VAT Registration LogCodeunit 5055 "CustVendBank-Update" (calls)CustVendBank-UpdateCodeunit 5056 "CustCont-Update" (calls)CustCont-UpdateCodeunit 5057 "VendCont-Update" (calls)VendCont-UpdateCodeunit 701 "Data Type Management" (calls)Data Type ManagementCodeunit 8617 "Config. Validate Management" (calls)Config. Validate ManagementPage 247 "VAT Registration Log Details" (calls)VAT Registration Log DetailsTable 227 "VAT Registration Log Details" (referenced by)VAT Registration Log DetailsValidate VAT Registration Numbers (Learn pages)Validate VAT Registration Nu…

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Finance.VAT.Registration · BC23-30 · source at ea08af5e · facts from BC29

Learn documents this table through its pages: Page 249 “VAT Registration Log” (1 Learn page).

Properties

Property Value
Caption VAT Registration Log
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 Entry No. Δ BC26 Integer Specifies the number of the entry, as assigned from the specified number series when the entry was created. AutoIncrement
2 VAT Registration No. Δ BC26 Text[20] Specifies the VAT registration number that you entered in the VAT Registration No. field on a customer, vendor, or contact card. NotBlank
3 Account Type Δ BC26 Enum “VAT Registration Log Account Type” Specifies the account type of the customer or vendor whose VAT registration number is verified. enum Enum 240 “VAT Registration Log Account Type”
4 Account No. Δ BC26 Code[20] Specifies the account number of the customer or vendor whose VAT registration number is verified. TableRelation Table 18 “Customer”, Table 23 “Vendor” (if (“Account Type” = const(Customer)) Customer else if (“Account Type” = const(Vendor)) Vendor)
5 Country/Region Code Δ BC26 Code[10] Specifies the country/region of the address. TableRelation Table 9 “Country/Region” (“Country/Region”.Code); NotBlank
6 User ID Δ BC26 Code[50] Specifies the ID of the user who posted the entry, to be used, for example, in the change log. TableRelation User.“User Name”; DataClassification EndUserIdentifiableInformation
10 Status Δ BC26 Option Specifies the status of the verification action. OptionCaption: Not Verified,Valid,Invalid
11 Verified Name Δ BC26 Text[150] Specifies the name of the customer, vendor, or contact whose VAT registration number was verified.
12 Verified Address Δ BC26 Text[150] Specifies the address of the customer, vendor, or contact whose VAT registration number was verified.
13 Verified Date Δ BC26 DateTime Specifies when the VAT registration number was verified.
14 Request Identifier Δ BC26 Text[200] Specifies the request identifier of the VAT registration number validation service.
15 Verified Street Δ BC26 Text[50] Specifies the street of the customer, vendor, or contact whose VAT registration number was verified.
16 Verified Postcode Δ BC26 Text[20] Specifies the postcode of the customer, vendor, or contact whose VAT registration number was verified.
17 Verified City Δ BC26 Text[30] Specifies the city of the customer, vendor, or contact whose VAT registration number was verified.
18 Details Status Δ BC26 Enum “VAT Reg. Log Details Status” Specifies the status of the details validation. enum Enum 242 “VAT Reg. Log Details Status”
19 Template Code[20] — TableRelation Table 226 “VAT Reg. No. Srv. Template” (VAT Reg. No. Srv. Template)

Keys

  • Key1: Entry No. (clustered)

Events published

  • OnBeforeValidateField(var RecordRef: RecordRef; FieldName: Text; var Value: Text; var IsHandled: Boolean) (integration): Integration event raised before validating a field value during detail updates.
  • OnBeforeShowDetailsUpdatedMessage(TableId: Integer; var IsHandled: Boolean) (integration): Integration event raised before showing the details updated message to allow custom messaging.
  • OnBeforeOpenModifyDetails(var VATRegistrationLog: Record "VAT Registration Log"; var IsHandled: Boolean) (integration): Integration event raised before opening the modify details interface to allow custom handling.
  • OnAfterInitVATRegLog(var VATRegistrationLog: Record "VAT Registration Log"; CountryCode: Code[10]; AcountType: Option; AccountNo: Code[20]; VATRegNo: Text[20]) (integration): Integration event raised after initializing a VAT registration log entry to allow custom field population.
  • OnBeforeGetAccountRecordRef(var VATRegistrationLog: Record "VAT Registration Log"; var RecordRef: RecordRef; var IsHandled: Boolean; var Result: Boolean) (integration): Integration event raised before retrieving the account record reference to allow custom record retrieval logic.

Procedures

  • GetCountryCode(): Code[10]: Retrieves the country/region code for VAT validation, using EU country code when available.
  • GetVATRegNo(): Code[20]: Normalizes and retrieves the VAT registration number by removing country prefix and non-alphanumeric characters.
  • InitVATRegLog(var VATRegistrationLog: Record "VAT Registration Log"; CountryCode: Code[10]; AcountType: Option; AccountNo: Code[20]; VATRegNo: Text[20]): Initializes a new VAT registration log entry with specified account details and validation parameters.
  • OpenModifyDetails(): Opens the VAT registration details modification interface and applies accepted changes to the source record. Handles updates for Customer, Vendor, and Contact records with appropriate integration updates.
  • OpenDetailsForRecRef(var RecordRef: RecordRef): Boolean: Opens VAT registration log details page for the specified record and applies accepted validation changes.
  • GetAccountRecordRef(var RecordRef: RecordRef): Boolean: Retrieves the record reference for the account associated with this VAT registration log entry.
  • SetAccountDetails(Name: Text; Street: Text; City: Text; PostCode: Text): Sets account details from the current system record for comparison during validation.
  • SetResponseDetails(Name: Text; Address: Text; Street: Text; City: Text; PostCode: Text): Sets response details received from the VAT registration validation service for comparison and storage.
  • SetResponseMatchDetails(Name: Boolean; Street: Boolean; City: Boolean; PostCode: Boolean): Sets the match results for individual field comparisons between system values and validation service responses.
  • LogDetails(): Boolean: Creates detailed log entries for field-by-field validation results and calculates overall validation status.
  • CheckGetTemplate(var VATRegNoSrvTemplateLcl: Record "VAT Reg. No. Srv. Template"): Retrieves the appropriate VAT registration service template for validation operations.

Plus 5 local procedures.

Relations

Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. 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 Log"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources