Announcements
Hallo Community,
I have an task to do in Business Central for one of our customers and i don't really know why my code is not working.
Every time when creating a new Sales Order and choosing a Customer, my code should check the Customer table and verify if the fields "VAT Registration No" <> ' ' and "Country/Regeion Code" <> 'DE'.
If the conditions are true, then a text should be printed on the Sales Invoice Report after being posted
This is what i have:
Did you check on the table is there any data on field custVATText or not?
André Arnaud de Cal...
294,217
Super User 2025 Season 1
Martin Dráb
232,978
Most Valuable Professional
nmaenpaa
101,158
Moderator