{"title":"Codeunit 99000856 Planning Transparency, procedures","url":"https://jonas-paprotka.de/ref/codeunit/99000856-planning-transparency/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":99000856,"name":"Planning Transparency","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/99000856-planning-transparency/","json":"https://jonas-paprotka.de/ref/codeunit/99000856-planning-transparency.json"},"aspect":"procedures","total":13,"rows":[{"name":"SetTemplAndWorksheet","sig":"(Code[10], Code[10])","named":"(TemplateName: Code[10]; WorksheetName: Code[10])","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(TemplateName: Code[10]; WorksheetName: Code[10])","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"FindReason","sig":"(var Record Inventory Profile)","named":"(var DemandInvProfile: Record \"Inventory Profile\")","returns":"Integer","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure GetSurplusType()","tag":"26.0"},"range":"17-27","first":17,"last":27,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(var DemandInvProfile: Record \"Inventory Profile\")","returns":"Integer","kind":"procedure","access":"public","obsolete":null},{"from":26,"to":27,"named":"(var DemandInvProfile: Record \"Inventory Profile\")","returns":"Integer","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure GetSurplusType()","tag":"26.0"}}]},{"name":"LogSurplus","sig":"(Integer, Integer, Integer, Code[20], Decimal, Option)","named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Option None,Forecast,BlanketOrder,SafetyStock,ReorderPoint,MaxInventory,FixedOrderQty,MaxOrder,MinOrder,OrderMultiple,DampenerQty,PlanningFlexibility,Undefined,EmergencyOrder)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure LogPlanningSurplus()","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Option None,Forecast,BlanketOrder,SafetyStock,ReorderPoint,MaxInventory,FixedOrderQty,MaxOrder,MinOrder,OrderMultiple,DampenerQty,PlanningFlexibility,Undefined,EmergencyOrder)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":26,"to":28,"named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Option None,Forecast,BlanketOrder,SafetyStock,ReorderPoint,MaxInventory,FixedOrderQty,MaxOrder,MinOrder,OrderMultiple,DampenerQty,PlanningFlexibility,Undefined,EmergencyOrder)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure LogPlanningSurplus()","tag":"26.0"}}]},{"name":"ModifyLogEntry","sig":"(Integer, Integer, Integer, Code[20], Decimal, Option)","named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Option)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure ModifyPlanningLog()","tag":"26.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":26,"spans":[{"from":17,"to":25,"named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Option)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":26,"to":28,"named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Option)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure ModifyPlanningLog()","tag":"26.0"}}]},{"name":"CleanLog","sig":"(Integer)","named":"(SupplyLineNo: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(SupplyLineNo: Integer)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"PublishSurplus","sig":"(var Record Inventory Profile, var Record Stockkeeping Unit, var Record Requisition Line, var Record Reservation Entry)","named":"(var SupplyInvProfile: Record \"Inventory Profile\"; var SKU: Record \"Stockkeeping Unit\"; var ReqLine: Record \"Requisition Line\"; var ReservEntry: Record \"Reservation Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var SupplyInvProfile: Record \"Inventory Profile\"; var SKU: Record \"Stockkeeping Unit\"; var ReqLine: Record \"Requisition Line\"; var ReservEntry: Record \"Reservation Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"SetCurrReqLine","sig":"(var Record Requisition Line)","named":"(var CurrentReqLine: Record \"Requisition Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var CurrentReqLine: Record \"Requisition Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"DrillDownUntrackedQty","sig":"(Text)","named":"(CaptionText: Text)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(CaptionText: Text)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"ReqLineWarningLevel","sig":"(Record Requisition Line)","named":"(ReqLine: Record \"Requisition Line\")","returns":"Integer","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ReqLine: Record \"Requisition Line\")","returns":"Integer","kind":"procedure","access":"public","obsolete":null}]},{"name":"LogWarning","sig":"(Integer, Record Requisition Line, Option, Text[200])","named":"(SupplyLineNo: Integer; ReqLine: Record \"Requisition Line\"; WarningLevel: Option; Source: Text[200])","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(SupplyLineNo: Integer; ReqLine: Record \"Requisition Line\"; WarningLevel: Option; Source: Text[200])","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetSurplusType","sig":"(var Record Inventory Profile)","named":"(var DemandInvProfile: Record \"Inventory Profile\")","returns":"Enum Planning Surplus Type","kind":"procedure","access":"public","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(var DemandInvProfile: Record \"Inventory Profile\")","returns":"Enum Planning Surplus Type","kind":"procedure","access":"public","obsolete":null}]},{"name":"LogPlanningSurplus","sig":"(Integer, Integer, Integer, Code[20], Decimal, Enum Planning Surplus Type)","named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Enum \"Planning Surplus Type\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Enum \"Planning Surplus Type\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"ModifyPlanningLog","sig":"(Integer, Integer, Integer, Code[20], Decimal, Enum Planning Surplus Type)","named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Enum \"Planning Surplus Type\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(SupplyLineNo: Integer; DemandLineNo: Integer; SourceType: Integer; SourceID: Code[20]; Qty: Decimal; SurplusType: Enum \"Planning Surplus Type\")","returns":"","kind":"procedure","access":"public","obsolete":null}]}]}