Codeunit 132203 Library - Planning
src/Layers/W1/Tests/ApplicationTestLibrary/LibraryPlanning.Codeunit.al41 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
CreateProdOrderUsingPlanning line 18
- 22callsCodeunit 132202 Library - Manufacturing CreateProdOrderUsingPlanning
CreateRequisitionWkshName line 28
- 32validatesTable 245 Requisition Wksh. Name Worksheet Template Name
- 33validatesTable 245 Requisition Wksh. Name Name
- 36callsCodeunit 131000 Library - Utility GenerateRandomCode
- 37callsCodeunit 131000 Library - Utility GetFieldLength
- 38writesTable 245 Requisition Wksh. Name Insert(true)
CreatePlanningWkshName line 42
- 45validatesTable 245 Requisition Wksh. Name Worksheet Template Name
- 46validatesTable 245 Requisition Wksh. Name Name
- 49callsCodeunit 131000 Library - Utility GenerateRandomCode
- 50callsCodeunit 131000 Library - Utility GetFieldLength
- 51writesTable 245 Requisition Wksh. Name Insert(true)
CalculateLowLevelCode line 54
CalculateOrderPlanProduction line 62
- 66callsCodeunit 5522 Order Planning Mgt. SetDemandType
- 67callsCodeunit 5522 Order Planning Mgt. GetOrdersToPlan
CalculateOrderPlanAssembly line 70
- 74callsCodeunit 5522 Order Planning Mgt. SetDemandType
- 75callsCodeunit 5522 Order Planning Mgt. GetOrdersToPlan
CalculateOrderPlanSales line 78
- 82callsCodeunit 5522 Order Planning Mgt. SetDemandType
- 83callsCodeunit 5522 Order Planning Mgt. GetOrdersToPlan
CalculateOrderPlanService line 86
- 90callsCodeunit 5522 Order Planning Mgt. SetDemandType
- 91callsCodeunit 5522 Order Planning Mgt. GetOrdersToPlan
CalculateOrderPlanJob line 94
- 98callsCodeunit 5522 Order Planning Mgt. SetDemandType
- 99callsCodeunit 5522 Order Planning Mgt. GetOrdersToPlan
CalculatePlanForReqWksh line 102
- 107callsReport 699 Calculate Plan - Req. Wksh. SetTemplAndWorksheet
- 108callsReport 699 Calculate Plan - Req. Wksh. InitializeRequest
- 116callsReport 699 Calculate Plan - Req. Wksh. UseRequestPage
CalcRequisitionPlanForReqWksh line 120
CalcRequisitionPlanForReqWkshAndGetLines line 128
- 132callsSelectRequisitionWkshName
- 133callsCalculatePlanForReqWksh
- 135callsFindRequisitionLine
CalculatePlanOnPlanningWorksheet line 138, local
- 144callsSelectRequisitionWkshName
- 146callsReport 99001017 Calculate Plan - Plan. Wksh. InitializeRequest
- 147callsReport 99001017 Calculate Plan - Plan. Wksh. SetTemplAndWorksheet
- 155callsReport 99001017 Calculate Plan - Plan. Wksh. UseRequestPage
CalcRegenPlanForPlanWksh line 159
CalcRegenPlanForPlanWkshPlanningParams line 164
CalcNetChangePlanForPlanWksh line 169
CarryOutActionMsgPlanWksh line 174
- 180callsReport 99001020 Carry Out Action Msg. - Plan. InitializeRequest
- 190callsReport 99001020 Carry Out Action Msg. - Plan. SetReqWkshLine
- 192callsReport 99001020 Carry Out Action Msg. - Plan. UseRequestPage
CarryOutPlanWksh line 196
- 200callsReport 99001020 Carry Out Action Msg. - Plan. SetReqWkshLine
- 201callsReport 99001020 Carry Out Action Msg. - Plan. InitializeRequest2
- 205callsReport 99001020 Carry Out Action Msg. - Plan. UseRequestPage
CarryOutReqWksh line 209
- 213callsReport 493 Carry Out Action Msg. - Req. SetReqWkshLine
- 214callsReport 493 Carry Out Action Msg. - Req. InitializeRequest
- 215callsReport 493 Carry Out Action Msg. - Req. UseRequestPage
- 217callsReport 493 Carry Out Action Msg. - Req. GetReqWkshLine
CarryOutAMSubcontractWksh line 220
- 224callsReport 493 Carry Out Action Msg. - Req. SetReqWkshLine
- 225callsReport 493 Carry Out Action Msg. - Req. UseRequestPage
CreateManufUserTemplate line 229
- 233writesTable 5525 Manufacturing User Template Insert(true)
- 234validatesTable 5525 Manufacturing User Template Make Orders
- 235validatesTable 5525 Manufacturing User Template Create Purchase Order
- 236validatesTable 5525 Manufacturing User Template Create Production Order
- 237validatesTable 5525 Manufacturing User Template Create Transfer Order
- 238writesTable 5525 Manufacturing User Template Modify(true)
CreateRequisitionLine line 241
- 246validatesTable 246 Requisition Line Worksheet Template Name
- 247validatesTable 246 Requisition Line Journal Batch Name
- 249validatesTable 246 Requisition Line Line No.
- 249callsCodeunit 131000 Library - Utility GetNewLineNo
- 250writesTable 246 Requisition Line Insert(true)
CreatePlanningComponent line 253
- 258validatesTable 99000829 Planning Component Worksheet Template Name
- 259validatesTable 99000829 Planning Component Worksheet Batch Name
- 260validatesTable 99000829 Planning Component Worksheet Line No.
- 262validatesTable 99000829 Planning Component Line No.
- 262callsCodeunit 131000 Library - Utility GetNewLineNo
- 263writesTable 99000829 Planning Component Insert(true)
CreatePlanningRoutingLine line 269
- 273callsCodeunit 132202 Library - Manufacturing CreatePlanningRoutingLine
GetActionMessages line 286
- 292callsSelectRequisitionWkshName
- 293callsReport 99001023 Get Action Messages SetTemplAndWorksheet
- 294callsReport 99001023 Get Action Messages UseRequestPage
GetSalesOrders line 305
- 313callsReport 698 Get Sales Orders InitializeRequest
- 314callsReport 698 Get Sales Orders SetReqWkshLine
- 315callsReport 698 Get Sales Orders UseRequestPage
GetSpecialOrder line 319
- 326callsReport 698 Get Sales Orders SetReqWkshLine
- 328callsReport 698 Get Sales Orders InitializeRequest
- 329callsReport 698 Get Sales Orders UseRequestPage
MakeSupplyOrders line 333
- 337callsCodeunit 5521 Make Supply Orders (Yes/No) SetManufUserTemplate
- 338runsCodeunit 5521 Make Supply Orders (Yes/No)
RefreshPlanningLine line 341
- 346callsReport 99001021 Refresh Planning Demand InitializeRequest
- 357callsReport 99001021 Refresh Planning Demand UseRequestPage
SelectRequisitionTemplateName line 361
- 369validatesTable 244 Req. Wksh. Template Name
- 370callsCodeunit 131000 Library - Utility GenerateRandomCode
- 371writesTable 244 Req. Wksh. Template Insert(true)
- 372validatesTable 244 Req. Wksh. Template Type
- 373writesTable 244 Req. Wksh. Template Modify(true)
SelectRequisitionWkshName line 378
SetDemandForecast line 386
- 389validatesTable 313 Inventory Setup Current Demand Forecast
- 390writesTable 313 Inventory Setup Modify
SetUseForecastOnVariants line 393
- 396validatesTable 313 Inventory Setup Use Forecast on Variants
- 397writesTable 313 Inventory Setup Modify
SetUseForecastOnLocations line 400
- 403validatesTable 313 Inventory Setup Use Forecast on Locations
- 404writesTable 313 Inventory Setup Modify
SetDefaultDampenerPercent line 407
- 410validatesTable 313 Inventory Setup Default Dampener %
- 411writesTable 313 Inventory Setup Modify
SetDefaultDampenerPeriod line 414
- 418writesTable 313 Inventory Setup Modify
SetDefaultSafetyLeadTime line 421
- 424validatesTable 313 Inventory Setup Default Safety Lead Time
- 425writesTable 313 Inventory Setup Modify
SetDefaultSafetyLeadTime line 428
- 432writesTable 313 Inventory Setup Modify
SetBlankOverflowLevel line 441
- 444validatesTable 313 Inventory Setup Blank Overflow Level
- 445writesTable 313 Inventory Setup Modify
SetCombinedMPSMRPCalculation line 448
- 451validatesTable 313 Inventory Setup Combined MPS/MRP Calculation
- 452writesTable 313 Inventory Setup Modify
SetComponentsAtLocation line 458
- 462callsCodeunit 132202 Library - Manufacturing SetComponentsAtLocation