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...
Suggested Answer

GST Group code field is not working as expected during import

(1) ShareShare
ReportReport
Posted on by 112

Sales Lines are being imported through a Configuration Package where fields like Item No., HSN/SAC Code, Quantity, MRP, and GST Group Code are uploaded. When the Item No. is imported, the system automatically loads the default GST Group Code (for example 18%) and HSN from the Item Card. After that, when the MRP is imported, the system calculates MRP Excl. GST based on the item’s GST rate. The requirement is that if the GST Group Code is set to GST-0 through the Configuration Package, then the GST amount on that Sales Line should become 0, the same way it works during manual entry. However, in the current behavior, even after the GST Group Code is updated to GST-0, the system still calculates GST on the line because the GST recalculation trigger does not run during the Configuration Package import. Due to this, the previously calculated GST is not cleared and the Sales Line shows an incorrect tax amount. The expected behavior is that when the GST Group Code is updated through the Configuration Package, the system should automatically recalculate GST and update the GST amount accordingly, which should be 0 in the case of GST-0.

 
 
HOW CAN I SOLVE THIS?
I have the same question (0)
  • Suggested answer
    Yi Yong Profile Picture
    2,614 Super User 2026 Season 1 on at
    Hello,
     
    When you import SalesLine VAT Prod. Posting Group through configuration package, the system will validate the field thus triggering the recalculation of the VAT amount.
     
    Can you check if you have turned off the validation of the field in configuration package?
     
  • Suggested answer
    OussamaSabbouh Profile Picture
    11,500 Super User 2026 Season 1 on at
    Hello,
    This happens because Configuration Package imports don’t always trigger the same field validation logic as manual entry. When the Item No. is imported, BC loads the default GST Group Code (e.g., 18%) and MRP calculations run based on that rate. Later, when the package updates GST Group Code to GST-0, the previous GST calculation isn’t cleared because the tax recalculation logic tied to the field’s OnValidate trigger doesn’t execute during the import. As a result, GST remains calculated incorrectly. In practice, Configuration Packages are not reliable for scenarios that depend on validation logic, so the typical solution is to import through custom code/API/XMLPort using Validate() or run a post-import process that revalidates the GST field on the Sales Line to force the tax engine to recalculate and set GST to 0.
    Regards,
    Oussama Sabbouh

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,965 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,125 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 961 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans