{"title":"Design details: Known item application issue","url":"https://jonas-paprotka.de/docs/design-details-inventory-zero-level-open-item-ledger-entries/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/design-details-inventory-zero-level-open-item-ledger-entries, MicrosoftDocs/dynamics365smb-docs at 46907ac (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/design-details-inventory-zero-level-open-item-ledger-entries","source":{"name":"Business Central application docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-docs","commit":"46907ace177f8d31deba47a2fdb57c3336e66252","date":"2026-11-19"},"checked":"2026-11-19","description":"This article addresses an issue where the inventory level is zero although open item ledger entries exist.","date":"2026-03-17","meta":{"topic":"how-to"},"outline":[{"level":1,"title":"Design details: Known item application issue","slug":"design-details-known-item-application-issue","at":0,"chars":7919},{"level":2,"title":"Symptoms of the issue","slug":"symptoms-of-the-issue","at":411,"chars":776},{"level":2,"title":"Basics of item application","slug":"basics-of-item-application","at":1187,"chars":2399},{"level":3,"title":"Quantity application","slug":"quantity-application","at":2017,"chars":731},{"level":3,"title":"Cost application","slug":"cost-application","at":2748,"chars":838},{"level":2,"title":"Illustration of a basic cost flow","slug":"illustration-of-a-basic-cost-flow","at":3586,"chars":441},{"level":2,"title":"Reasons for the issue","slug":"reasons-for-the-issue","at":4027,"chars":1124},{"level":2,"title":"Identifying the issue","slug":"identifying-the-issue","at":5151,"chars":2130},{"level":2,"title":"Workaround for the issue","slug":"workaround-for-the-issue","at":7281,"chars":429},{"level":2,"title":"Related information","slug":"related-information","at":7710,"chars":209}],"text":"# Design details: Known item application issue\nThis article addresses an issue where the inventory level is zero although open item ledger entries exist in Business Central.\nThe article starts by listing typical symptoms of the issue, followed by the basics of item application to support the described reasons for this issue. At the end of the article is a workaround to address such open item ledger entries.\n## Symptoms of the issue\nTypical symptoms of the issue with zero inventory although open item ledger entries exist are the following:\n The following message when you try to close an inventory period: \"The inventory cannot be closed because there is negative inventory for one or more items.\"\n An item ledger entry situation where both an outbound item ledger entry and its related inbound item ledger entry are open.\n  See the following example of an item ledger entry situation.\n  Entry No.|Posting Date|Entry Type|Document Type|Document No.|Item No.|Location Code|Quantity|Cost Amount (Actual)|Invoiced Quantity|Remaining Quantity|Open\n  333|01/28/2018|Sale|Sales Shipment|102043|TEST|BLUE|-1|-10|-1|-1|Yes\n  334|01/28/2018|Sale|Sales Shipment|102043|TEST|BLUE|1|10|1|1|Yes\n## Basics of item application\nAn item application entry is created for every inventory transaction to link the cost recipient to its cost source so that the cost can be forwarded according to the costing method. See design-details-item-application.\n For an inbound item ledger entry, the item application entry is created when the item ledger entry is created.\n For an outbound item ledger entry, the item application entry is created when the item ledger entry is posted, IF there is an open inbound item ledger entry with available quantity that it can apply to. If there is no open inbound item ledger entry that it can apply to, then the outbound item ledger entry remains open until an inbound item ledger entry that it can apply to is posted.\nThere are two types of item application:\n Quantity Application\n Cost Application\n### Quantity application\nQuantity applications are made for all inventory transactions and are created automatically, or manually in special processes. When made manually, quantity applications are referred to as fixed application.\nThe following diagram shows how quantity applications are made.\n![Flow of cost adjustment from purchase to sale.]\nNotice above that item ledger entry 1 (Purchase) is both the supplier of the item and the cost source to the applied item ledger entry, item ledger entry 2 (Sale).\n> NOTE\n> If the outbound item ledger entry is valued by average cost, then the applied inbound item ledger entry is not the unique cost source. It merely plays a part in the calculation of the average cost of the period.\n### Cost application\nCost applications are only created for inbound transactions where the Appl.-from Item Entry field is filled to provide a fixed application. This typically happens in connection with a sales credit memo or an undo shipment scenario. The cost application ensures that the item re-enters inventory with the same cost as when it was shipped.\nThe following diagram shows how cost applications are made.\nEntry No.|Posting Date|Entry Type|Document Type|Document No.|Item No.|Location Code|Quantity|Cost Amount (Actual)|Invoiced Quantity|Remaining Quantity|Open\n333|01/28/2018|Sale|Sales Shipment|102043|TEST|BLUE|-1|-10|-1|-1|Yes\n334|01/28/2018|Sale|Sales Shipment|102043|TEST|BLUE|1|10|1|1|Yes\nNotice above that inbound item ledger 3 (Sales Return) is a cost recipient for the original outbound item ledger entry 2 (Sale).\n## Illustration of a basic cost flow\nAssume a complete cost flow where an item is received, is shipped and invoiced, is returned with exact\\-cost reversal, and is shipped again.\nThe following diagram illustrates the cost flow.\n![Flow of cost adjustment from sale to sales return.]\nNotice above that the cost is forwarded to item ledger entry 2 (Sale), then to item ledger entry 3 (Sales Return), and finally to item ledger entry 4 (Sale 2).\n## Reasons for the issue\nThe issue with zero inventory although open item ledger entries exist can be caused by the following scenarios:\n Scenario 1: A shipment and invoice is posted although the item is not available. The posting is then exact-cost reversed with a sales credit memo.\n Scenario 2: A shipment is posted although the item is not available. The posting is then undone with the Undo Shipment function.\nThe following diagram illustrates how item applications are made in both scenarios.\n![Flow of cost adjustment goes in both directions.]\nNotice above that a cost application is made (represented by the blue arrows) to ensure that item ledger entry 2 (Sales Return) is assigned the same costs as the item ledger entry that it reverses, item ledger entry 1 (Sale 1). However, a quantity application (represented by the red arrows) is not made.\nItem ledger entry 2 (Sales Return) cannot be both a cost recipient of the original item ledger entry and at the same time be a supplier of items and their source of costs. Therefore, the original item ledger entry 1 (Sale 1) remains open until a valid source appears.\n## Identifying the issue\nTo find out whether the open item ledger entries are created, do as follows for the respective scenario:\nFor scenario 1, identify the issue as follows:\n In the Posted Sales Credit Memo or Posted Return Receipt page, look up from the Appl.\\-from Item Entry field to see if the field is populated, and in that case to which item ledger entry the return receipt is cost applied.\nFor scenario 2, identify the issue in either of the following ways:\n Look for an open outbound item ledger entry and an inbound item ledger entry with same number in the Document No. field, and Yes in the Correction field. See the following example of such an item ledger entry situation.\nEntry No.|Posting Date|Entry Type|Document Type|Document No.|Item No.|Location Code|Quantity|Cost Amount (Actual)|Invoiced Quantity|Remaining Quantity|Open|Correction\n333|01/28/2018|Sale|Sales Shipment|102043|TEST|BLUE|-1|-10|-1|-1|Yes|No\n334|01/28/2018|Sale|Sales Shipment|102043|TEST|BLUE|1|10|1|1|Yes|Yes\n On the Posted Sales Shipment page, look up from the Appl.-from Item Entry field to see if the field is populated, and in that case to which item ledger entry the return receipt is cost applied.\n> NOTE\n> Cost applications can't be identified on the Applied Item Entries page because that page only shows quantity applications.\nFor both scenarios, identify the involved cost application as follows:\n1. Open the Item Application Entry table.\n2. Filter on the Item Ledger Entry No. field using the number of the Sales Return item ledger entry.\n3. Analyze the item application entry, taking note of the following:\n If the Outbound Item Entry No. field is populated for an inbound item ledger entry (positive quantity), then it means that the inbound item ledger entry is the cost recipient of the outbound item ledger entry.\n The following is an example of an item application entry.\n Entry No.|Item Ledger Entry No.|Inbound Item Entry No.|Outbound Item Entry No.|Quantity|Posting Date|Cost Application\n 299|334|334|333|1|01/28/2018|Yes\nNotice above that inbound item ledger entry 334 is cost applied to outbound item ledger entry 333.\n## Workaround for the issue\nOn the Item Journal page, post the following lines for the item in question:\n A positive adjustment to close the open outbound item ledger entry.\n A negative adjustment with the same quantity.\n  This adjustment balances the inventory increase caused by the positive adjustment and closes the open inbound item ledger entry.\nThe result is that inventory is zero and all item ledger entries are closed.\n## Related information\ndesign-details-item-application\ndesign-details-inventory-costing\nFind free e-learning modules for Business Central here<https://learn.microsoft.com/training/dynamics365/business-central>"}