Table "VAT Registration Log"

ID 249
Namespace: Microsoft.Finance.VAT.Registration

Properties

Name Value
Caption VAT Registration Log
ReplicateData True
DataClassification CustomerContent

Fields

Name Type Description
"Entry No." Integer

Specifies the number of the entry, as assigned from the specified number series when the entry was created.

"VAT Registration No." Text[20]

Specifies the VAT registration number that you entered in the VAT Registration No. field on a customer, vendor, or contact card.

"Account Type" Enum Microsoft.Finance.VAT.Registration."VAT Registration Log Account Type"

Specifies the account type of the customer or vendor whose VAT registration number is verified.

"Account No." Code[20]

Specifies the account number of the customer or vendor whose VAT registration number is verified.

"Country/Region Code" Code[10]

Specifies the country/region of the address.

"User ID" Code[50]

Specifies the ID of the user who posted the entry, to be used, for example, in the change log.

Status Option

Specifies the status of the verification action.

"Verified Name" Text[150]

Specifies the name of the customer, vendor, or contact whose VAT registration number was verified.

"Verified Address" Text[150]

Specifies the address of the customer, vendor, or contact whose VAT registration number was verified.

"Verified Date" DateTime

Specifies when the VAT registration number was verified.

"Request Identifier" Text[200]

Specifies the request identifier of the VAT registration number validation service.

"Verified Street" Text[50]

Specifies the street of the customer, vendor, or contact whose VAT registration number was verified.

"Verified Postcode" Text[20]

Specifies the postcode of the customer, vendor, or contact whose VAT registration number was verified.

"Verified City" Text[30]

Specifies the city of the customer, vendor, or contact whose VAT registration number was verified.

"Details Status" Enum Microsoft.Finance.VAT.Registration."VAT Reg. Log Details Status"

Specifies the status of the details validation.

Template Code[20]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

GetCountryCode

procedure GetCountryCode(): Code[10]

Returns

Type Description
Code[10]

GetVATRegNo

procedure GetVATRegNo(): Code[20]

Returns

Type Description
Code[20]

InitVATRegLog

procedure InitVATRegLog(var VATRegistrationLog: Record "VAT Registration Log", CountryCode: Code[10], AcountType: Option, AccountNo: Code[20], VATRegNo: Text[20])

Parameters

Name Type Description
VATRegistrationLog Table Microsoft.Finance.VAT.Registration."VAT Registration Log"
CountryCode Code[10]
AcountType Option
AccountNo Code[20]
VATRegNo Text[20]

OpenModifyDetails

procedure OpenModifyDetails()

OpenDetailsForRecRef

procedure OpenDetailsForRecRef(var RecordRef: RecordRef): Boolean

Parameters

Name Type Description
RecordRef RecordRef

Returns

Type Description
Boolean

GetAccountRecordRef

procedure GetAccountRecordRef(var RecordRef: RecordRef): Boolean

Parameters

Name Type Description
RecordRef RecordRef

Returns

Type Description
Boolean

SetAccountDetails

procedure SetAccountDetails(Name: Text, Street: Text, City: Text, PostCode: Text)

Parameters

Name Type Description
Name Text
Street Text
City Text
PostCode Text

SetResponseDetails

procedure SetResponseDetails(Name: Text, Address: Text, Street: Text, City: Text, PostCode: Text)

Parameters

Name Type Description
Name Text
Address Text
Street Text
City Text
PostCode Text

SetResponseMatchDetails

procedure SetResponseMatchDetails(Name: Boolean, Street: Boolean, City: Boolean, PostCode: Boolean)

Parameters

Name Type Description
Name Boolean
Street Boolean
City Boolean
PostCode Boolean

LogDetails

procedure LogDetails(): Boolean

Returns

Type Description
Boolean

CheckGetTemplate

procedure CheckGetTemplate(var VATRegNoSrvTemplateLcl: Record "VAT Reg. No. Srv. Template")

Parameters

Name Type Description
VATRegNoSrvTemplateLcl Table Microsoft.Finance.VAT.Registration."VAT Reg. No. Srv. Template"

Events

OnBeforeValidateField

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateField(var RecordRef: RecordRef, FieldName: Text, var Value: Text, var IsHandled: Boolean)

Parameters

Name Type Description
RecordRef RecordRef
FieldName Text
Value Text
IsHandled Boolean

OnBeforeShowDetailsUpdatedMessage

[IntegrationEvent(False,False)]
local procedure OnBeforeShowDetailsUpdatedMessage(TableId: Integer, var IsHandled: Boolean)

Parameters

Name Type Description
TableId Integer
IsHandled Boolean

OnBeforeOpenModifyDetails

[IntegrationEvent(False,False)]
local procedure OnBeforeOpenModifyDetails(var VATRegistrationLog: Record "VAT Registration Log", var IsHandled: Boolean)

Parameters

Name Type Description
VATRegistrationLog Table Microsoft.Finance.VAT.Registration."VAT Registration Log"
IsHandled Boolean

OnAfterInitVATRegLog

[IntegrationEvent(False,False)]
local procedure OnAfterInitVATRegLog(var VATRegistrationLog: Record "VAT Registration Log", CountryCode: Code[10], AcountType: Option, AccountNo: Code[20], VATRegNo: Text[20])

Parameters

Name Type Description
VATRegistrationLog Table Microsoft.Finance.VAT.Registration."VAT Registration Log"
CountryCode Code[10]
AcountType Option
AccountNo Code[20]
VATRegNo Text[20]

OnBeforeGetAccountRecordRef

[IntegrationEvent(False,False)]
local procedure OnBeforeGetAccountRecordRef(var VATRegistrationLog: Record "VAT Registration Log", var RecordRef: RecordRef, var IsHandled: Boolean, var Result: Boolean)

Parameters

Name Type Description
VATRegistrationLog Table Microsoft.Finance.VAT.Registration."VAT Registration Log"
RecordRef RecordRef
IsHandled Boolean
Result Boolean

See also