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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Dynamics Business Central GST Use case setup

(0) ShareShare
ReportReport
Posted on by 84

Hello Experts,

I have extended the Sales Document Type enum by adding a new value, Proforma Document (Value: 50XXX).

I now want the Tax Engine to calculate tax for this new document type as well.

What I have tried

1. Adding the new document type as a constant in the Use Case Condition

I added the new document type as a constant in the Use Case Condition, but the use case is not executed.

 
 

2. Using a Tax Attribute

I then created a new Tax Attribute based on the Sales Document Type, mapped it to the Sales Line, and used that attribute in the Use Case Condition.



However, this results in the error shown below.

Investigation

From the code, I found that Codeunit 20293 "Use Case Execution" acts as the gatekeeper for use case execution.

  • Extension: Microsoft_Tax Engine_27.8.50894.0.app
  • Codeunit: 20293 "Use Case Execution"
  • Procedure: ExecuteUseCase()

The CanExecuteUseCase procedure evaluates all use case conditions before executing the use case. Therefore, the condition for Sales Document Type must evaluate to true for my new enum value.


Has anyone implemented a similar scenario or knows the correct approach to support an extended Sales Document Type in Tax Engine use case conditions?

Any guidance or recommended setup would be appreciated.

I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 673 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 409 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 375 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans