#11907 [29.x]-Incident 51000001968459: Issue while creating any import purchase invoice
Fixed inventory cost-loading for import purchase invoices with Nil-Rated GST and Non-Availment by ensuring Custom Duty is included in calculations even when GST amounts are zero.
- 1files
- 1AL files
- 1objects
Pull request · merged into releases/29.x (BC29) on 2026-09-28 by v-ajaztabrez · 1 file (+6 -4), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Custom Duty now correctly included in Inventory and Direct Cost Applied entries for Nil-Rated GST imports
- Cost-loading logic continues when Custom Duty exists instead of exiting prematurely
- Logic restricted to Non-Availment lines only to prevent duplicate capitalization
- Resolves issue where Custom Duty was previously omitted from cost calculations
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 18251 “GST Purchase Non Availment”, INGST (IN layer): modified
Context
- Work items: AB#651538
- Labels: Team: SCM
- Systems: finance
- From the description: “Updated the Non-Availment cost-loading logic to continue when Custom Duty exists and restricted it to Non-Availment lines”
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).