#11906 [Main]-Incident 51000001968459: Issue while creating any import purchase invoice
Fixed cost-loading logic for import purchase invoices with Nil-Rated GST and Non-Availment setting to properly include Custom Duty in inventory and direct cost entries.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-26 by v-ajaztabrez · 1 file (+6 -4), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Custom Duty is now included in inventory cost for import invoices with Nil-Rated GST and Non-Availment
- Logic no longer exits prematurely when GST amount is zero if Custom Duty is present
- Non-Availment cost-loading is restricted to prevent duplicate Custom Duty capitalization in Availment scenarios
- Resolves issue where Custom Duty was missing from Inventory and Direct Cost Applied entries
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 18251 “GST Purchase Non Availment”, INGST (IN layer): modified
Context
- Work items: AB#651528
- Labels: Team: SCM
- Systems: finance
- From the description: “Custom Duty was not included in Inventory and Direct Cost Applied entries.”
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).