{"title":"Codeunit 5896 Calc. Inventory Adjmt. - Order, procedures","url":"https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/procedures/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":5896,"name":"Calc. Inventory Adjmt. - Order","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order/","json":"https://jonas-paprotka.de/ref/codeunit/5896-calc-inventory-adjmt-order.json"},"aspect":"procedures","total":6,"rows":[{"name":"Calculate","sig":"(Record Inventory Adjmt. Entry (Order), var Record Inventory Adjustment Buffer)","named":"(SourceInvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; var InvtAdjmtBuf: Record \"Inventory Adjustment Buffer\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(SourceInvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; var InvtAdjmtBuf: Record \"Inventory Adjustment Buffer\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CalcActualUsageCosts","sig":"(Record Inventory Adjmt. Entry (Order), Decimal, var Record Inventory Adjmt. Entry (Order))","named":"(SourceInvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; OutputQty: Decimal; var InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(SourceInvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; OutputQty: Decimal; var InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CalcOutputQty","sig":"(Record Inventory Adjmt. Entry (Order), Boolean)","named":"(InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; OnlyInbounds: Boolean)","returns":"Decimal","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; OnlyInbounds: Boolean)","returns":"Decimal","kind":"procedure","access":"public","obsolete":null}]},{"name":"AdjustForRevNegCon","sig":"(var Record Inventory Adjmt. Entry (Order), Integer)","named":"(var InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; ItemLedgEntryNo: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(var InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; ItemLedgEntryNo: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"RunOnCalcActualCapacityCostsOnAfterSetFilters","sig":"(var Record Capacity Ledger Entry, var Record Inventory Adjmt. Entry (Order), var Boolean, Decimal)","named":"(var CapLedgEntry: Record \"Capacity Ledger Entry\"; var InventoryAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; var IsHandled: Boolean; ShareOfTotalCapCost: Decimal)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var CapLedgEntry: Record \"Capacity Ledger Entry\"; var InventoryAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; var IsHandled: Boolean; ShareOfTotalCapCost: Decimal)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"RunOnBeforeCalcShareOfCapCost","sig":"(var Record Inventory Adjmt. Entry (Order), var Decimal, var Boolean)","named":"(var InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; var ShareOfCapCost: Decimal; var IsHandled: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var InvtAdjmtEntryOrder: Record \"Inventory Adjmt. Entry (Order)\"; var ShareOfCapCost: Decimal; var IsHandled: Boolean)","returns":"","kind":"procedure","access":"internal","obsolete":null}]}]}