Codeunit 99000810 Calculate Planning Route Line

Base Application, Microsoft.Manufacturing.Planning

src/Layers/W1/BaseApp/Manufacturing/Planning/CalculatePlanningRouteLine.Codeunit.al29 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

TestForError line 77, local

  1. 88callsTable 5430 Planning Error Log SetError
  2. 101callsTable 5430 Planning Error Log SetError

CreatePlanningCapNeed line 122, local

  1. 124raisesOnBeforeCreatePlanningCapNeed
  2. 149callsCodeunit 99000755 Shop Calendar Management TimeFactor
  3. 175raisesOnCreatePlanningCapNeedOnAfterCalulateExpectedUnitCost
  4. 201callsTable 5410 Prod. Order Capacity Need UpdateDatetime
  5. 203raisesOnCreatePlanningCapNeedOnBeforeInsertProdOrderCapNeed
  6. 204writesTable 5410 Prod. Order Capacity Need Insert
  7. 208raisesOnAfterCreatePlanningCapNeed

CreateLoadBack line 213, local

  1. 230raisesOnCreateLoadBackOnBeforeFirstCalculateIsHandled
  2. 234callsCreateCalendarEntry
  3. 237callsGetCurrentWorkCenterTimeFactorAndRounding
  4. 248callsCodeunit 99000774 Calculate Routing Line CalcAvailQtyBase
  5. 259callsCodeunit 99000755 Shop Calendar Management CalcTimeSubtract
  6. 263raisesOnCreatingLoadBackOnAfterUpdateRemainNeedQtyBase
  7. 267callsCreatePlanningCapNeed
  8. 274callsUpdateEndingDateAndTime
  9. 285callsCodeunit 99000774 Calculate Routing Line ReturnNextCalendarEntry
  10. 292callsUpdateEndingDateAndTime

CreateLoadForward line 296, local

  1. 312callsCreateCalendarEntry
  2. 318callsGetCurrentWorkCenterTimeFactorAndRounding
  3. 329callsCodeunit 99000774 Calculate Routing Line CalcAvailQtyBase
  4. 344raisesOnCreatingLoadForwardOnAfterUpdateRemainNeedQtyBase
  5. 347callsCreatePlanningCapNeed
  6. 354callsUpdateStartingDateAndTime
  7. 368callsCodeunit 99000774 Calculate Routing Line ReturnNextCalendarEntry

LoadCapBack line 378, local

  1. 383raisesOnBeforeLoadCapBackIsHandled
  2. 390callsTable 99000757 Calendar Entry SetCapacityFilters
  3. 394callsCreateLoadBack
  4. 399callsTestForError

LoadCapForward line 402

  1. 407raisesOnBeforeLoadCapForwardIsHandled
  2. 414callsTable 99000757 Calendar Entry SetCapacityFilters
  3. 418callsCreateLoadForward
  4. 423callsTestForError

CalcMoveTimeBack line 426, local

  1. 432raisesOnBeforeCalcMoveTimeBackIsHandled
  2. 440callsCodeunit 99000755 Shop Calendar Management TimeFactor
  3. 441callsCodeunit 99000755 Shop Calendar Management TimeFactor
  4. 444callsLoadCapBack

CalcWaitTimeBack line 447, local

  1. 452raisesOnBeforeCalcWaitTimeBackIsHandled
  2. 460callsCodeunit 99000755 Shop Calendar Management TimeFactor
  3. 461callsCodeunit 99000755 Shop Calendar Management TimeFactor
  4. 464callsLoadCapBack

GetSendAheadStartingTime line 467, local

  1. 520callsTable 99000830 Planning Routing Line RunTimePer
  2. 521callsCodeunit 99000755 Shop Calendar Management TimeFactor
  3. 522callsCodeunit 99000755 Shop Calendar Management TimeFactor
  4. 527callsCodeunit 99000755 Shop Calendar Management TimeFactor
  5. 528callsCodeunit 99000755 Shop Calendar Management TimeFactor
  6. 533callsCodeunit 99000755 Shop Calendar Management TimeFactor
  7. 534callsCodeunit 99000755 Shop Calendar Management TimeFactor
  8. 542callsLoadCapBack
  9. 544callsLoadCapBack
  10. 546callsLoadCapBack
  11. 556callsTable 99000830 Planning Routing Line RunTimePer
  12. 557callsCodeunit 99000755 Shop Calendar Management TimeFactor
  13. 558callsCodeunit 99000755 Shop Calendar Management TimeFactor
  14. 563callsCodeunit 99000755 Shop Calendar Management TimeFactor
  15. 564callsCodeunit 99000755 Shop Calendar Management TimeFactor
  16. 569callsCodeunit 99000755 Shop Calendar Management TimeFactor
  17. 570callsCodeunit 99000755 Shop Calendar Management TimeFactor
  18. 574callsLoadCapForward
  19. 576callsLoadCapForward
  20. 578callsLoadCapForward
  21. 580callsTable 99000830 Planning Routing Line UpdateDatetime
  22. 584callsFilterCalendarEntryBeforeOrOnDateTime

CalcRoutingLineBack line 596

  1. 610raisesOnBeforeCalcRoutingLineBack
  2. 622raisesOnCalcRoutingLineBackOnAfterCalcShouldCalcNextOperation
  3. 628writesTable 99000830 Planning Routing Line DeleteAll
  4. 637callsGetSendAheadStartingTime
  5. 640writesTable 99000830 Planning Routing Line Insert
  6. 657callsTable 99000830 Planning Routing Line UpdateDatetime
  7. 658writesTable 99000830 Planning Routing Line Modify
  8. 669callsCodeunit 99000755 Shop Calendar Management TimeFactor
  9. 670callsCodeunit 99000755 Shop Calendar Management TimeFactor
  10. 676callsLoadCapBack
  11. 681callsSetLotSizesToMax
  12. 685callsCalcMoveTimeBack
  13. 686callsCalcWaitTimeBack
  14. 690callsTable 99000830 Planning Routing Line RunTimePer
  15. 691raisesOnCalculateRoutingLineBackOnAfterCalcRemainNeedQtyForLotSize
  16. 695callsCodeunit 99000755 Shop Calendar Management TimeFactor
  17. 696callsCodeunit 99000755 Shop Calendar Management TimeFactor
  18. 699callsGetConstrainedCapacity
  19. 700callsGetConstrainedCapacity
  20. 702callsFinitelyLoadCapBack
  21. 704callsLoadCapBack
  22. 708callsFindSendAheadStartingTime
  23. 712callsGetSetupTimeBaseUOM
  24. 714callsGetConstrainedCapacity
  25. 715callsGetConstrainedCapacity
  26. 717callsFinitelyLoadCapBack
  27. 719callsLoadCapBack
  28. 724callsCodeunit 99000755 Shop Calendar Management GetMaxDate
  29. 729callsTable 99000830 Planning Routing Line UpdateDatetime
  30. 730writesTable 99000830 Planning Routing Line Modify
  31. 732raisesOnAfterCalcRoutingLineBack

SetLotSizesToMax line 735, local

  1. 740raisesOnBeforeSetLotSizesToMaxIsHandled

GetConstrainedCapacity line 748, local

  1. 753raisesOnBeforeGetConstrainedCapacityIsHandled
  2. 766writesTable 99000866 Capacity Constrained Resource Insert
  3. 773writesTable 99000866 Capacity Constrained Resource Insert

GetSendAheadEndingTime line 777, local

  1. 831callsCodeunit 99000755 Shop Calendar Management TimeFactor
  2. 832callsCodeunit 99000755 Shop Calendar Management TimeFactor
  3. 836callsTable 99000830 Planning Routing Line RunTimePer
  4. 837callsCodeunit 99000755 Shop Calendar Management TimeFactor
  5. 838callsCodeunit 99000755 Shop Calendar Management TimeFactor
  6. 843callsCodeunit 99000755 Shop Calendar Management TimeFactor
  7. 844callsCodeunit 99000755 Shop Calendar Management TimeFactor
  8. 849callsCodeunit 99000755 Shop Calendar Management TimeFactor
  9. 850callsCodeunit 99000755 Shop Calendar Management TimeFactor
  10. 858callsLoadCapForward
  11. 860callsLoadCapForward
  12. 862callsLoadCapForward
  13. 864callsLoadCapForward
  14. 874callsCodeunit 99000755 Shop Calendar Management TimeFactor
  15. 875callsCodeunit 99000755 Shop Calendar Management TimeFactor
  16. 879callsTable 99000830 Planning Routing Line RunTimePer
  17. 880callsCodeunit 99000755 Shop Calendar Management TimeFactor
  18. 881callsCodeunit 99000755 Shop Calendar Management TimeFactor
  19. 885callsLoadCapForward
  20. 887callsLoadCapForward
  21. 890callsTable 99000830 Planning Routing Line UpdateDatetime
  22. 895callsLoadCapBack
  23. 897callsLoadCapBack

CalcRoutingLineForward line 907

  1. 919raisesOnBeforeCalcRoutingLineForward
  2. 936writesTable 99000830 Planning Routing Line DeleteAll
  3. 945callsGetSendAheadEndingTime
  4. 948writesTable 99000830 Planning Routing Line Insert
  5. 968callsTable 99000830 Planning Routing Line RunTimePer
  6. 972callsCodeunit 99000755 Shop Calendar Management TimeFactor
  7. 973callsCodeunit 99000755 Shop Calendar Management TimeFactor
  8. 979callsTable 99000830 Planning Routing Line UpdateDatetime
  9. 980writesTable 99000830 Planning Routing Line Modify
  10. 983callsSetLotSizesToMax
  11. 988callsCodeunit 99000755 Shop Calendar Management TimeFactor
  12. 989callsCodeunit 99000755 Shop Calendar Management TimeFactor
  13. 992callsLoadCapForward
  14. 993callsGetSetupTimeBaseUOM
  15. 996callsGetConstrainedCapacity
  16. 999callsFinitelyLoadCapForward
  17. 1001callsLoadCapForward
  18. 1015callsTable 99000830 Planning Routing Line RunTimePer
  19. 1016raisesOnCalculateRoutingLineForwardOnAfterCalcRemainNeedQtyForLotSize
  20. 1020callsCodeunit 99000755 Shop Calendar Management TimeFactor
  21. 1021callsCodeunit 99000755 Shop Calendar Management TimeFactor
  22. 1024callsGetConstrainedCapacity
  23. 1027callsFinitelyLoadCapForward
  24. 1029callsLoadCapForward
  25. 1033callsFindSendAheadEndingTime
  26. 1038callsCodeunit 99000755 Shop Calendar Management TimeFactor
  27. 1039callsCodeunit 99000755 Shop Calendar Management TimeFactor
  28. 1041callsLoadCapForward
  29. 1045callsCodeunit 99000755 Shop Calendar Management TimeFactor
  30. 1046callsCodeunit 99000755 Shop Calendar Management TimeFactor
  31. 1048callsLoadCapForward
  32. 1055callsTable 99000830 Planning Routing Line UpdateDatetime
  33. 1056writesTable 99000830 Planning Routing Line Modify
  34. 1058raisesOnAfterCalcRoutingLineForward

CalculateRouteLine line 1062

  1. 1103writesTable 5410 Prod. Order Capacity Need ModifyAll
  2. 1113writesTable 5410 Prod. Order Capacity Need DeleteAll
  3. 1128raisesOnBeforeCalculateRouteLine
  4. 1130callsCalcRoutingLineBack
  5. 1132callsCalcRoutingLineForward

FinitelyLoadCapBack line 1137, local

  1. 1151raisesOnBeforeFinitelyLoadCapBackIsHandled
  2. 1168callsTable 5410 Prod. Order Capacity Need SetCapacityFilters
  3. 1170callsTable 99000757 Calendar Entry SetCapacityFilters
  4. 1187callsGetConstrainedAvailCapBaseUOM
  5. 1200callsMin
  6. 1200callsCodeunit 99000755 Shop Calendar Management CalcTimeDelta
  7. 1202callsUpdateTimesBack
  8. 1203callsCreatePlanningCapNeed
  9. 1208callsUpdateEndingDateAndTime
  10. 1217callsMin
  11. 1217callsCodeunit 99000755 Shop Calendar Management CalcTimeDelta
  12. 1219callsUpdateTimesBack
  13. 1223callsCreatePlanningCapNeed
  14. 1228callsUpdateEndingDateAndTime
  15. 1235callsTestForError
  16. 1240callsUpdateEndingDateAndTime

GetSetupTimeBaseUOM line 1259, local

  1. 1262callsCodeunit 99000755 Shop Calendar Management TimeFactor
  2. 1263callsCodeunit 99000755 Shop Calendar Management TimeFactor

GetConstrainedAvailCapBaseUOM line 1267, local

  1. 1273callsCalculateDailyLoad
  2. 1277callsGetSetupTimeBaseUOM
  3. 1282callsCodeunit 99000755 Shop Calendar Management TimeFactor
  4. 1285callsCodeunit 99000774 Calculate Routing Line CalcAvailQtyBase
  5. 1288callsMin

FinitelyLoadCapForward line 1291, local

  1. 1305raisesOnBeforeFinitelyLoadCapForwardIsHandled
  2. 1320callsTable 5410 Prod. Order Capacity Need SetCapacityFilters
  3. 1322callsTable 99000757 Calendar Entry SetCapacityFilters
  4. 1339callsGetConstrainedAvailCapBaseUOM
  5. 1351callsMin
  6. 1351callsCodeunit 99000755 Shop Calendar Management CalcTimeDelta
  7. 1353callsUpdateTimesForward
  8. 1354callsCreatePlanningCapNeed
  9. 1359callsUpdateStartingDateAndTime
  10. 1368callsMin
  11. 1368callsCodeunit 99000755 Shop Calendar Management CalcTimeDelta
  12. 1370callsUpdateTimesForward
  13. 1374callsCreatePlanningCapNeed
  14. 1379callsUpdateStartingDateAndTime
  15. 1386callsTestForError

CalculateDailyLoad line 1409, local

  1. 1416callsGetCurrentWorkCenterTimeFactorAndRounding
  2. 1423callsCalcCapConResWorkCenterLoadBase
  3. 1425callsCalcCapConResProdOrderNeedBase
  4. 1426callsCodeunit 99000774 Calculate Routing Line CalcAvailCapBaseAndDampTime
  5. 1430callsCalcCapConResProdOrderNeedBase
  6. 1431callsCodeunit 99000774 Calculate Routing Line CalcAvailCapBaseAndDampTime
  7. 1434callsCalcCapConResWorkCenterLoadBase
  8. 1435callsCodeunit 99000774 Calculate Routing Line CalcAvailCapBaseAndDampTime
  9. 1442callsMax
  10. 1443callsMin

UpdateTimesBack line 1447, local

  1. 1452callsCodeunit 99000755 Shop Calendar Management TimeFactor
  2. 1454callsMin
  3. 1457callsCodeunit 99000755 Shop Calendar Management TimeFactor
  4. 1459callsCodeunit 99000755 Shop Calendar Management CalcTimeSubtract

UpdateTimesForward line 1464, local

  1. 1469callsCodeunit 99000755 Shop Calendar Management TimeFactor
  2. 1471callsMin
  3. 1474callsCodeunit 99000755 Shop Calendar Management TimeFactor

SetResiliencyOn line 1497

  1. 1500callsTable 5430 Planning Error Log SetJnlBatch

GetResiliencyError line 1503

  1. 1505callsTable 5430 Planning Error Log GetError

FindSendAheadEndingTime line 1508, local

  1. 1521callsGetSendAheadEndingTime
  2. 1524callsGetSendAheadEndingTime

FindSendAheadStartingTime line 1529, local

  1. 1542callsGetSendAheadStartingTime
  2. 1545callsGetSendAheadStartingTime

CreateCalendarEntry line 1550, local

  1. 1564writesTable 99000757 Calendar Entry Insert

GetCurrentWorkCenterTimeFactorAndRounding line 1567, local

  1. 1569callsCodeunit 99000755 Shop Calendar Management TimeFactor

FilterCalendarEntryBeforeOrOnDateTime line 1599, local

  1. 1601callsTable 99000757 Calendar Entry SetCapacityFilters