web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Tax Area Code must have a value in Purchase Header

(1) ShareShare
ReportReport
Posted on by 3
Hey guys,
 
I am trying to add a tax area code for a finance employee on this purchase order line:
 
I am not sure how to get the area code to save, here are the error details:

"If requesting support, please provide the following details to help troubleshooting:

Error message:
Tax Area Code must have a value in Purchase Header: Document Type=Order, No.=PUR00000057. It cannot be zero or empty.

AL call stack:
"Purchase Line"(Table 39)."Tax Area Code - OnValidate"(Trigger) line 11 - Base Application by Microsoft"

I understand that there is a purchase header and purchase order table. To me this reads as; "the purchase header table has a field 'tax area code' and it is empty for the associated purchase order", aka the order table is depending on the header table to have the tax area code contain something?

When I query for the header table (ie: http://businesscentral/blahblah/production?table=38) I try to add the ability to make the table editable (mode-Edit) in the URL but unfortunately doesn't seem like the purchase header table is editable to I am wondering if anyone knows how I can get this fixed?

Would prefer not to have to update the AL codes but I can if that's the only way.

Thanks,

-Griffin

I have the same question (0)
  • Verified answer
    Valentin Castravet Profile Picture
    31,575 Super User 2025 Season 2 on at
    In the Purchase Order, under the Invoice Details FastTab, click on Show More. There, you'll find a Tax Area Code field. Populate the code there, not in the Lines FastTab for each line item.
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    95,763 Super User 2025 Season 2 on at
    Just to add one more thing, this value can be set as default on the Vendor Card, so there is no need to add it on the Purchase Order.
     
    Hope this helps as well.
    Thanks.
    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,116

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 764 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 635 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans