Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Enter a valid tax registration number (ireland)

Posted on by 5,701

GP2010 SP3

A VAT number of 123456SH should be valid according to the www.hmrc.gov.uk/.../country-codes.htm

GP validation on the Debtor Intrastat Setup window is failing this and asking for a correct VAT number to be entered.

I'm guessing the regular expression used for the validation is compiled into the dex code and not held in SQL tables anywhere I can get at?

If not can I use GP visual studio add in to intercept the validation on save to override that error by using my own regular expression check on that field. How would I set about doing that do you think?

Could I look for that dialog message and force the value into the field underneath, but that doesn't get me into a saveable sate, is there a flag somewhere I can set to say the form validated or switch off validation for that field entirely, replacing it with my own?

I have a table of euro regular expressions for the format checking we use on our website already to hand!

Tim.

*This post is locked for comments

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans