Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Is there a way to make Tax/VAT Registration No. and Country validation less strict?

Posted on by 20

The Customer card has fields for Country and Tax/VAT Registration No.  We're writing an integration between Dynamics GP and Business Central and want to push these fields from GP to BC, with the Country field coming from the GP customer's primary address.  In GP, you can have a Country and Tax/VAT Registration No. which don't match, but in Business Central the Tax/VAT Registration No. must match one of the Tax/VAT Registration No. Formats for the customer's country.  Is there anyway to make this check less strict?

  • Jonathon Minard Profile Picture
    Jonathon Minard 20 on at
    RE: Is there a way to make Tax/VAT Registration No. and Country validation less strict?

    Thanks.  I ended up going with subscribing to the OnBeforeVATRegistrationValidation event on the customer table and setting IsHandled to 'true'.

  • Verified answer
    Tech-Lucky Profile Picture
    Tech-Lucky 796 on at
    RE: Is there a way to make Tax/VAT Registration No. and Country validation less strict?

    No there is no way to less strict the validations but yes you can bypass the validations during the Data Transmission from GP to BC through the API Level by not validating the Customer Master Fields but this will impact in future when the data would be used in the transaction level the same errors would be occur.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,232 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,064 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans