{"title":"Codeunit 99000774 Calculate Routing Line, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/99000774-calculate-routing-line/points/","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":99000774,"name":"Calculate Routing Line","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/99000774-calculate-routing-line/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/99000774-calculate-routing-line/source/","path":"src/Layers/W1/BaseApp/Manufacturing/Routing/CalculateRoutingLine.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:5410":{"name":"Prod. Order Capacity Need","url":"https://jonas-paprotka.de/ref/table/5410-prod-order-capacity-need/"},"codeunit:99000755":{"name":"Shop Calendar Management","url":"https://jonas-paprotka.de/ref/codeunit/99000755-shop-calendar-management/"},"table:99000757":{"name":"Calendar Entry","url":"https://jonas-paprotka.de/ref/table/99000757-calendar-entry/"},"table:5409":{"name":"Prod. Order Routing Line","url":"https://jonas-paprotka.de/ref/table/5409-prod-order-routing-line/"},"codeunit:99000758":{"name":"Mfg. Cost Calculation Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/99000758-mfg-cost-calculation-mgt/"},"codeunit:5402":{"name":"Unit of Measure Management","url":"https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/"}},"procs":[{"name":"CreateCapNeed","line":93,"kind":"procedure","access":"local","params":6,"steps":[[95,"call","InitProdOrderCapNeed",8],[121,"ext","table",5410,"UpdateDatetime",0],[123,"event","OnBeforeProdOrderCapNeedInsert",0],[124,"write",5410,"Insert"],[128,"event","OnAfterCreateCapNeeded",0]]},{"name":"InitProdOrderCapNeed","line":133,"kind":"procedure","access":"local","params":8,"steps":[[139,"event","OnBeforeInitProdOrderCapNeed",0],[156,"ext","codeunit",99000755,"TimeFactor",1],[162,"event","OnInitProdOrderCapNeedOnBeforeUpdateAllocatedTimeAndExpectedCapacityNeed",0],[164,"call","CalcActuallyPostedCapacityTime",2],[165,"call","CalcDistributedCapacityNeedForOperation",2],[173,"event","OnAfterInitProdOrderCapNeed",0]]},{"name":"CreateLoadBack","line":176,"kind":"procedure","access":"local","params":2,"steps":[[188,"event","OnBeforeCreateLoadBack",1],[198,"call","CreateCalendarEntry",1],[200,"call","GetCurrentWorkCenterTimeFactorAndRounding",1],[210,"call","CalcLoadBackAvailQtyBase",1],[219,"event","OnCreateLoadBackOnAfterCalcRelevantEfficiency",0],[222,"ext","codeunit",99000755,"CalcTimeSubtract",2],[226,"event","OnCreateLoadBackOnBeforeCheckWrite",0],[229,"call","CreateCapNeed",6],[252,"call","ReturnNextCalendarEntry",3],[257,"event","OnCreateLoadBackOnBeforeEndStopLoop",0]]},{"name":"CalcLoadBackAvailQtyBase","line":263,"kind":"procedure","access":"local","params":1,"steps":[[268,"event","OnBeforeCalcLoadBackAvailQtyBase",1],[273,"call","CalcAvailQtyBase",8]]},{"name":"CreateLoadForward","line":277,"kind":"procedure","access":"local","params":3,"steps":[[289,"event","OnBeforeCreateLoadForward",1],[299,"call","CreateCalendarEntry",1],[306,"call","GetCurrentWorkCenterTimeFactorAndRounding",1],[308,"call","GetCurrentWorkCenterTimeFactorAndRounding",1],[318,"call","CalcLoadForwardAvailQtyBase",1],[329,"event","OnCreateLoadForwardOnBeforeCalcEndingTime",1],[335,"event","OnCreateLoadForwardOnBeforeCheckWrite",0],[338,"call","CreateCapNeed",6],[365,"event","OnCreateLoadForwardOnAfterScheduleProdOrderRoutingLineManually",0],[372,"call","ReturnNextCalendarEntry",3],[377,"event","OnCreateLoadForwardOnBeforeEndStopLoop",0]]},{"name":"CalcLoadForwardAvailQtyBase","line":383,"kind":"procedure","access":"local","params":1,"steps":[[388,"event","OnBeforeCalcLoadForwardAvailQtyBase",1],[393,"call","CalcAvailQtyBase",8]]},{"name":"AvailableCapacity","line":397,"kind":"procedure","access":"local","params":4,"steps":[[404,"ext","table",99000757,"SetCapacityFilters",2],[416,"call","CalcDuration",2],[418,"call","CalcDuration",2],[420,"call","CalcDuration",2]]},{"name":"LoadCapBack","line":431,"kind":"procedure","access":"local","params":4,"steps":[[433,"event","OnBeforeLoadCapBack",0],[438,"ext","table",99000757,"SetCapacityFilters",2],[441,"event","OnLoadCapBackOnAfterSetCalendarEntryFilters",0],[443,"call","CreateLoadBack",2],[445,"event","OnLoadCapBackOnAfterCreateLoadBack",0],[450,"call","TestForError",3]]},{"name":"LoadCapForward","line":453,"kind":"procedure","params":4,"steps":[[460,"event","OnBeforeLoadCapForward",1],[467,"ext","table",99000757,"SetCapacityFilters",2],[475,"event","OnLoadCapForwardOnScheduleManuallyOnBeforeCheckDateTimes",0],[482,"call","AvailableCapacity",4],[484,"call","TestForError",3],[491,"event","OnLoadCapForwardOnBeforeCreateLoadForward",0],[492,"call","CreateLoadForward",3],[493,"event","OnLoadCapForwardOnAfterCreateLoadForward",0],[498,"call","TestForError",3]]},{"name":"CalcMove","line":501,"kind":"procedure","access":"local","params":0,"steps":[[506,"event","OnBeforeCalcMove",1],[513,"ext","codeunit",99000755,"TimeFactor",1],[514,"ext","codeunit",99000755,"TimeFactor",1],[517,"call","LoadCapBack",4]]},{"name":"CalcWaitBack","line":520,"kind":"procedure","access":"local","params":0,"steps":[[525,"event","OnBeforeCalcWaitBack",1],[532,"ext","codeunit",99000755,"TimeFactor",1],[533,"ext","codeunit",99000755,"TimeFactor",1],[536,"call","LoadCapBack",4]]},{"name":"GetSendAheadStartingTime","line":539,"kind":"procedure","access":"local","params":2,"steps":[[595,"ext","codeunit",99000755,"TimeFactor",1],[596,"ext","codeunit",99000755,"TimeFactor",1],[600,"ext","table",5409,"RunTimePer",0],[601,"ext","codeunit",99000755,"TimeFactor",1],[602,"ext","codeunit",99000755,"TimeFactor",1],[607,"ext","codeunit",99000755,"TimeFactor",1],[608,"ext","codeunit",99000755,"TimeFactor",1],[613,"ext","codeunit",99000755,"TimeFactor",1],[614,"ext","codeunit",99000755,"TimeFactor",1],[622,"call","LoadCapBack",4],[624,"call","LoadCapBack",4],[626,"call","LoadCapBack",4],[628,"call","LoadCapBack",4],[638,"ext","table",5409,"RunTimePer",0],[639,"ext","codeunit",99000755,"TimeFactor",1],[640,"ext","codeunit",99000755,"TimeFactor",1],[645,"ext","codeunit",99000755,"TimeFactor",1],[646,"ext","codeunit",99000755,"TimeFactor",1],[651,"ext","codeunit",99000755,"TimeFactor",1],[652,"ext","codeunit",99000755,"TimeFactor",1],[656,"call","LoadCapForward",4],[658,"call","LoadCapForward",4],[660,"call","LoadCapForward",4],[662,"ext","table",5409,"UpdateDatetime",0],[666,"call","FilterCalendarEntryBeforeOrOnDateTime",4]]},{"name":"CalcRoutingLineBack","line":678,"kind":"procedure","params":1,"steps":[[695,"event","OnBeforeCalcRoutingLineBack",1],[719,"event","OnCalcRoutingLineBackOnAfterCalcShouldCalcNextOperation",0],[726,"call","SetRoutingLineFilters",2],[731,"call","GetSendAheadStartingTime",2],[734,"call","SetMinDateTime",4],[741,"ext","codeunit",99000755,"TimeFactor",1],[742,"ext","codeunit",99000755,"TimeFactor",1],[747,"write",5409,"Insert"],[752,"ext","codeunit",99000755,"TimeFactor",1],[753,"ext","codeunit",99000755,"TimeFactor",1],[757,"write",5409,"DeleteAll"],[760,"write",5409,"Insert"],[764,"write",5409,"DeleteAll"],[767,"write",5409,"Insert"],[781,"call","GetSendAheadStartingTime",2],[793,"event","OnCalcRoutingLineBackOnBeforeGetQueueTime",0],[798,"ext","table",5409,"UpdateDatetime",0],[799,"write",5409,"Modify"],[810,"ext","codeunit",99000755,"TimeFactor",1],[811,"ext","codeunit",99000755,"TimeFactor",1],[814,"call","LoadCapBack",4],[818,"call","SetLotSizesToMax",2],[821,"ext","codeunit",99000755,"GetMaxDate",0],[836,"call","CalcMove",0],[838,"call","CalcWaitBack",0],[845,"ext","table",5409,"RunTimePer",0],[846,"event","OnCalculateRoutingLineBackOnAfterCalcRemainNeedQtyForLotSize",0],[850,"ext","codeunit",99000755,"TimeFactor",1],[851,"ext","codeunit",99000755,"TimeFactor",1],[854,"call","GetConstrainedSetup",4],[858,"call","FinitelyLoadCapBack",5],[860,"call","LoadCapBack",4],[864,"call","FindSendAheadStartingTime",2],[871,"ext","codeunit",99000755,"TimeFactor",1],[872,"ext","codeunit",99000755,"TimeFactor",1],[874,"event","OnCalcRoutingLineBackOnAfterCalcRemainNeedQty",0],[876,"call","GetConstrainedSetup",4],[880,"call","FinitelyLoadCapBack",5],[882,"call","LoadCapBack",4],[887,"ext","codeunit",99000755,"GetMaxDate",0],[892,"ext","table",5409,"UpdateDatetime",0],[893,"write",5409,"Modify"],[895,"event","OnAfterCalcRoutingLineBack",0]]},{"name":"GetConstrainedSetup","line":898,"kind":"procedure","access":"local","params":4,"steps":[[903,"event","OnBeforeGetConstrainedSetup",1]]},{"name":"GetSendAheadEndingTime","line":911,"kind":"procedure","access":"local","params":2,"steps":[[966,"ext","codeunit",99000755,"TimeFactor",1],[967,"ext","codeunit",99000755,"TimeFactor",1],[971,"ext","table",5409,"RunTimePer",0],[972,"ext","codeunit",99000755,"TimeFactor",1],[973,"ext","codeunit",99000755,"TimeFactor",1],[978,"ext","codeunit",99000755,"TimeFactor",1],[979,"ext","codeunit",99000755,"TimeFactor",1],[984,"ext","codeunit",99000755,"TimeFactor",1],[985,"ext","codeunit",99000755,"TimeFactor",1],[987,"event","OnGetSendAheadEndingTimeOnAfterCalcTimes",0],[994,"call","LoadCapForward",4],[996,"call","LoadCapForward",4],[998,"call","LoadCapForward",4],[1000,"call","LoadCapForward",4],[1010,"ext","codeunit",99000755,"TimeFactor",1],[1011,"ext","codeunit",99000755,"TimeFactor",1],[1015,"ext","table",5409,"RunTimePer",0],[1016,"ext","codeunit",99000755,"TimeFactor",1],[1017,"ext","codeunit",99000755,"TimeFactor",1],[1019,"event","OnGetSendAheadEndingTimeOnAfterCalcSetupAndRunTime",0],[1022,"call","LoadCapForward",4],[1024,"call","LoadCapForward",4],[1027,"ext","table",5409,"UpdateDatetime",0],[1032,"call","LoadCapBack",4],[1034,"call","LoadCapBack",4]]},{"name":"CalcRoutingLineForward","line":1044,"kind":"procedure","params":1,"steps":[[1058,"event","OnBeforeCalcRoutingLineForward",1],[1079,"write",5409,"DeleteAll"],[1081,"call","SetRoutingLineFilters",2],[1086,"call","GetSendAheadEndingTime",2],[1089,"write",5409,"Insert"],[1091,"call","SetMaxDateTime",4],[1100,"ext","table",5409,"RunTimePer",0],[1104,"ext","codeunit",99000755,"TimeFactor",1],[1105,"ext","codeunit",99000755,"TimeFactor",1],[1124,"ext","table",5409,"UpdateDatetime",0],[1125,"write",5409,"Modify"],[1128,"call","SetLotSizesToMax",2],[1133,"ext","codeunit",99000755,"TimeFactor",1],[1134,"ext","codeunit",99000755,"TimeFactor",1],[1137,"event","OnCalcRoutingLineForwardOnBeforeLoadCapForward",0],[1138,"call","LoadCapForward",4],[1142,"ext","codeunit",99000755,"TimeFactor",1],[1143,"ext","codeunit",99000755,"TimeFactor",1],[1145,"event","OnCalcRoutingLineForwardOnAfterCalcRemainNeedQty",0],[1148,"call","GetConstrainedSetup",4],[1152,"call","FinitelyLoadCapForward",5],[1154,"call","LoadCapForward",4],[1159,"call","SetMaxDateTime",4],[1166,"ext","table",5409,"RunTimePer",0],[1167,"event","OnCalculateRoutingLineForwardOnAfterCalcRemainNeedQtyForLotSize",0],[1171,"ext","codeunit",99000755,"TimeFactor",1],[1172,"ext","codeunit",99000755,"TimeFactor",1],[1175,"call","GetConstrainedSetup",4],[1179,"call","FinitelyLoadCapForward",5],[1181,"call","LoadCapForward",4],[1185,"call","FindSendAheadEndingTime",2],[1190,"ext","codeunit",99000755,"TimeFactor",1],[1191,"ext","codeunit",99000755,"TimeFactor",1],[1194,"event","OnCalcRoutingLineForwardOnBeforeLoadCapForward2",0],[1195,"call","LoadCapForward",4],[1199,"ext","codeunit",99000755,"TimeFactor",1],[1200,"ext","codeunit",99000755,"TimeFactor",1],[1202,"call","LoadCapForward",4],[1209,"ext","table",5409,"UpdateDatetime",0],[1210,"write",5409,"Modify"],[1212,"event","OnAfterCalcRoutingLineForward",0]]},{"name":"CalculateRoutingLineFixed","line":1215,"kind":"procedure","access":"local","params":0,"steps":[[1227,"event","OnCalculateRoutingLineFixedOnBeforeCalcRoutingLineBack",0],[1228,"call","CalcRoutingLineBack",1],[1235,"event","OnCalculateRoutingLineFixedOnBeforeCalcRoutingLineForward",0],[1236,"call","CalcRoutingLineForward",1],[1242,"ext","table",5409,"UpdateDatetime",0],[1243,"write",5409,"Modify"]]},{"name":"CalculateRoutingLine","line":1246,"kind":"procedure","params":3,"steps":[[1257,"event","OnBeforeCalculateRoutingLine",1],[1279,"event","OnCalculateRoutingLineOnBeforeProdOrderCapNeedReset",0],[1289,"write",5410,"DeleteAll"],[1314,"event","OnCalculateRoutingLineOnAfterProdOrderLineSetFilters",0],[1319,"event","OnCalculateRoutingLineOnBeforeCalcExpectedOperOutput",1],[1324,"ext","codeunit",99000758,"CalcActOutputQtyBase",2],[1336,"event","OnCalculateRoutingLineOnAfterCalcMaxLotSize",0],[1349,"event","OnBeforeCalcExpectedCost",0],[1354,"ext","table",5409,"RunTimePer",0],[1355,"ext","codeunit",99000755,"QtyperTimeUnitofMeasure",2],[1357,"ext","codeunit",5402,"QtyRndPrecision",0],[1359,"event","OnCalculateRoutingLineOnBeforeCalcCostInclSetup",0],[1361,"call","CalcCostInclSetup",2],[1362,"event","OnCalculateRoutingLineOnAfterCalcCostInclSetup",0],[1364,"call","CalcExpectedCost",3],[1367,"event","OnBeforeScheduleRoutingLine",1],[1370,"call","CalculateRoutingLineFixed",0],[1373,"call","CalcRoutingLineBack",1],[1375,"call","CalcRoutingLineForward",1],[1377,"event","OnAfterCalculateRoutingLine",0]]},{"name":"SetLotSizesToMax","line":1382,"kind":"procedure","access":"local","params":2,"steps":[[1387,"event","OnBeforeSetLotSizesToMax",1]]},{"name":"FinitelyLoadCapBack","line":1395,"kind":"procedure","access":"local","params":5,"steps":[[1418,"ext","table",5410,"SetCapacityFilters",2],[1420,"ext","table",99000757,"SetCapacityFilters",2],[1423,"event","OnFinitelyLoadCapBackOnAfterSetCalendarEntryFilters",0],[1438,"call","CalculateDailyLoad",6],[1444,"ext","codeunit",99000755,"TimeFactor",1],[1445,"ext","codeunit",99000755,"TimeFactor",1],[1448,"event","OnFinitelyLoadCapBackOnAfterCalcSetupTime",0],[1454,"ext","codeunit",99000755,"TimeFactor",1],[1460,"event","OnFinitelyLoadCapBackOnAfterCalcShouldProcessLastProdOrderCapNeed",0],[1472,"call","Min",2],[1472,"ext","codeunit",99000755,"CalcTimeDelta",2],[1473,"event","OnFinitelyLoadCapBackOnAfterCalcAvailTimeFromLastProdOrderCapNeed",0],[1475,"call","UpdateTimesBack",5],[1476,"call","CreateCapNeed",6],[1494,"call","Min",2],[1494,"ext","codeunit",99000755,"CalcTimeDelta",2],[1495,"event","OnFinitelyLoadCapBackOnAfterCalcAvailTimeFromCalendarEntry",0],[1497,"call","UpdateTimesBack",5],[1498,"call","AdjustStartingTime",2],[1501,"call","CreateCapNeed",6],[1517,"call","TestForError",3]]},{"name":"FinitelyLoadCapForward","line":1531,"kind":"procedure","access":"local","params":5,"steps":[[1553,"ext","table",5410,"SetCapacityFilters",2],[1555,"ext","table",99000757,"SetCapacityFilters",2],[1572,"call","CalculateDailyLoad",6],[1575,"ext","table",5409,"RunTimePer",0],[1578,"ext","codeunit",99000755,"TimeFactor",1],[1579,"ext","codeunit",99000755,"TimeFactor",1],[1586,"ext","codeunit",99000755,"TimeFactor",1],[1600,"call","Min",2],[1600,"ext","codeunit",99000755,"CalcTimeDelta",2],[1602,"call","UpdateTimesForward",5],[1603,"call","CreateCapNeed",6],[1621,"call","Min",2],[1621,"ext","codeunit",99000755,"CalcTimeDelta",2],[1623,"call","UpdateTimesForward",5],[1624,"call","AdjustEndingTime",2],[1626,"call","CreateCapNeed",6],[1642,"call","TestForError",3]]},{"name":"AdjustEndingTime","line":1656,"kind":"procedure","access":"local","params":2,"steps":[[1661,"event","OnBeforeAdjustEndingTime",1]]},{"name":"AdjustStartingTime","line":1669,"kind":"procedure","access":"local","params":2,"steps":[[1674,"event","OnBeforeAdjustStartingTime",1]]},{"name":"CalculateDailyLoad","line":1682,"kind":"procedure","access":"local","params":6,"steps":[[1689,"call","GetCurrentWorkCenterTimeFactorAndRounding",1],[1696,"call","CalcCapConResWorkCenterLoadBase",4],[1698,"call","CalcCapConResProdOrderNeedBase",4],[1699,"call","CalcAvailCapBaseAndDampTime",7],[1703,"call","CalcCapConResProdOrderNeedBase",4],[1704,"call","CalcAvailCapBaseAndDampTime",7],[1707,"call","CalcCapConResWorkCenterLoadBase",4],[1708,"call","CalcAvailCapBaseAndDampTime",7],[1715,"call","Max",2],[1716,"call","Min",2]]},{"name":"UpdateTimesBack","line":1720,"kind":"procedure","access":"local","params":5,"steps":[[1727,"event","OnBeforeUpdateTimesBack",1],[1732,"ext","codeunit",99000755,"TimeFactor",1],[1734,"call","Min",2],[1737,"ext","codeunit",99000755,"TimeFactor",1],[1739,"ext","codeunit",99000755,"CalcTimeSubtract",2],[1742,"event","OnUpdateTimesBackOnBeforeUpdateAvailCap",0]]},{"name":"UpdateTimesForward","line":1747,"kind":"procedure","access":"local","params":5,"steps":[[1754,"event","OnBeforeUpdateTimesForward",1],[1759,"ext","codeunit",99000755,"TimeFactor",1],[1761,"call","Min",2],[1764,"ext","codeunit",99000755,"TimeFactor",1],[1769,"event","OnUpdateTimesForwardOnBeforeUpdateAvailCap",0]]},{"name":"CalcCostInclSetup","line":1809,"kind":"procedure","access":"local","params":2,"steps":[[1813,"event","OnBeforeCalcCostInclSetup",0],[1822,"ext","codeunit",99000755,"QtyperTimeUnitofMeasure",2],[1824,"ext","codeunit",5402,"QtyRndPrecision",0],[1826,"event","OnAfterCalcCostInclSetup",0]]},{"name":"CalcDuration","line":1829,"kind":"procedure","access":"local","params":2,"steps":[[1833,"ext","codeunit",99000755,"TimeFactor",1],[1834,"ext","codeunit",99000755,"TimeFactor",1]]},{"name":"FindSendAheadEndingTime","line":1839,"kind":"procedure","access":"local","params":2,"steps":[[1852,"call","GetSendAheadEndingTime",2],[1855,"call","GetSendAheadEndingTime",2]]},{"name":"FindSendAheadStartingTime","line":1860,"kind":"procedure","access":"local","params":2,"steps":[[1872,"call","GetSendAheadStartingTime",2],[1875,"call","GetSendAheadStartingTime",2]]},{"name":"ReturnNextCalendarEntry","line":1880,"kind":"procedure","params":3,"steps":[[1884,"event","OnReturnNextCalendarEntryOnAfterSetCalendarEntryDateFilter",0],[1890,"call","TestForError",3],[1894,"call","CreateCalendarEntry",1],[1900,"call","TestForError",3],[1904,"call","CreateCalendarEntry",1]]},{"name":"CreateCalendarEntry","line":1909,"kind":"procedure","access":"local","params":1,"steps":[[1920,"write",99000757,"Insert"]]},{"name":"GetCurrentWorkCenterTimeFactorAndRounding","line":1923,"kind":"procedure","access":"local","params":1,"steps":[[1931,"ext","codeunit",99000755,"TimeFactor",1]]},{"name":"CalcAvailCapBaseAndDampTime","line":1961,"kind":"procedure","params":7,"steps":[[1977,"call","Max",2],[1983,"call","Min",2],[1984,"call","Max",2]]},{"name":"CalcAvailQtyBase","line":1987,"kind":"procedure","params":8,"steps":[[1996,"event","OnBeforeCalcAvailQtyBase",1],[2030,"call","CalcAvailQtyBaseForWaitTime",5],[2058,"call","CalcAvailQtyBaseForWaitTime",5]]},{"name":"FilterCalendarEntryBeforeOrOnDateTime","line":2149,"kind":"procedure","access":"local","params":4,"steps":[[2151,"ext","table",99000757,"SetCapacityFilters",2]]},{"name":"ReplanRoutingLine","line":2156,"kind":"procedure","params":3,"steps":[[2190,"write",5410,"DeleteAll"],[2216,"ext","codeunit",99000758,"CalcActOutputQtyBase",2],[2241,"ext","table",5409,"RunTimePer",0],[2242,"ext","codeunit",99000755,"QtyperTimeUnitofMeasure",2],[2244,"ext","codeunit",5402,"QtyRndPrecision",0],[2247,"call","CalcCostInclSetup",2],[2249,"call","CalcExpectedCost",3],[2252,"call","CalculateRoutingLineFixed",0],[2255,"call","CalcRoutingLineBack",1],[2257,"call","CalcRoutingLineForward",1]]}]}