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?
Thanks. I ended up going with subscribing to the OnBeforeVATRegistrationValidation event on the customer table and setting IsHandled to 'true'.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,232 Super User 2024 Season 2
Martin Dráb 230,064 Most Valuable Professional
nmaenpaa 101,156