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

Announcements

No record found.

News and Announcements icon
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 (1)
  • Verified answer
    Valentin Castravet Profile Picture
    32,208 Super User 2026 Season 1 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
    99,086 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans