---
title: "Codeunit 132202 Library - Manufacturing, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/points/
object: https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/
app: "Application Test Library"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Codeunit 132202 Library - Manufacturing, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/points/

105 procedures and triggers with a step in src/Layers/W1/Tests/ApplicationTestLibrary/LibraryManufacturing.Codeunit.al, in source order, read from the text, not from a run.

## AddProdBOMItem

[Line 30](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L30).

- [36](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L36) calls [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `IsMfgItem`
- [41](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L41) writes [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) Insert
- [44](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L44) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify
- [54](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L54) writes [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) Insert

## CalculateConsumption

[Line 57](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L57).

- [63](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L63) calls [Report 5405 Calc. Consumption](https://jonas-paprotka.de/ref/report/5405-calc-consumption/) `InitializeRequest`
- [64](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L64) calls [Report 5405 Calc. Consumption](https://jonas-paprotka.de/ref/report/5405-calc-consumption/) `SetTemplateAndBatchName`
- [68](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L68) calls [Report 5405 Calc. Consumption](https://jonas-paprotka.de/ref/report/5405-calc-consumption/) `UseRequestPage`

## CalculateConsumptionForJournal

[Line 72](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L72).

- [86](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L86) calls [Report 5405 Calc. Consumption](https://jonas-paprotka.de/ref/report/5405-calc-consumption/) `InitializeRequest`
- [91](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L91) calls [Report 5405 Calc. Consumption](https://jonas-paprotka.de/ref/report/5405-calc-consumption/) `SetTemplateAndBatchName`
- [111](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L111) calls [Report 5405 Calc. Consumption](https://jonas-paprotka.de/ref/report/5405-calc-consumption/) `UseRequestPage`

## CalculateMachCenterCalendar

[Line 115](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L115).

- [121](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L121) calls [Report 99001045 Calc. Machine Center Calendar](https://jonas-paprotka.de/ref/report/99001045-calc-machine-center-calendar/) `InitializeRequest`
- [129](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L129) calls [Report 99001045 Calc. Machine Center Calendar](https://jonas-paprotka.de/ref/report/99001045-calc-machine-center-calendar/) `UseRequestPage`

## CalculateWorksheetPlan

[Line 133](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L133).

- [141](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L141) calls [Report 99001017 Calculate Plan - Plan. Wksh.](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/) `InitializeRequest`
- [146](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L146) calls [Report 99001017 Calculate Plan - Plan. Wksh.](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/) `SetTemplAndWorksheet`
- [154](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L154) calls [Report 99001017 Calculate Plan - Plan. Wksh.](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/) `UseRequestPage`

## CalculateSubcontractOrder

[Line 159](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L159).

- [164](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L164) calls `RequisitionLineForSubcontractOrder`
- [165](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L165) calls [Report 99001015 Calculate Subcontracts](https://jonas-paprotka.de/ref/report/99001015-calculate-subcontracts/) `SetWkShLine`
- [167](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L167) calls [Report 99001015 Calculate Subcontracts](https://jonas-paprotka.de/ref/report/99001015-calculate-subcontracts/) `UseRequestPage`

## CalculateWorkCenterCalendar

[Line 171](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L171).

- [177](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L177) calls [Report 99001046 Calculate Work Center Calendar](https://jonas-paprotka.de/ref/report/99001046-calculate-work-center-calendar/) `InitializeRequest`
- [185](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L185) calls [Report 99001046 Calculate Work Center Calendar](https://jonas-paprotka.de/ref/report/99001046-calculate-work-center-calendar/) `UseRequestPage`

## CalculateSubcontractOrderWithProdOrderRoutingLine

[Line 190](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L190).

- [203](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L203) calls `RequisitionLineForSubcontractOrder`
- [204](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L204) calls [Report 99001015 Calculate Subcontracts](https://jonas-paprotka.de/ref/report/99001015-calculate-subcontracts/) `SetWkShLine`
- [206](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L206) calls [Report 99001015 Calculate Subcontracts](https://jonas-paprotka.de/ref/report/99001015-calculate-subcontracts/) `UseRequestPage`

## ChangeProdOrderStatus

[Line 210](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L210).

- [214](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L214) calls [Codeunit 5407 Prod. Order Status Management](https://jonas-paprotka.de/ref/codeunit/5407-prod-order-status-management/) `ChangeProdOrderStatus`

## ChangeStatusPlannedToFinished

[Line 217](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L217).

- [222](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L222) calls `ChangeProdOrderStatus`
- [226](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L226) calls `ChangeProdOrderStatus`

## ChangeStatusReleasedToFinished

[Line 230](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L230).

- [235](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L235) calls `ChangeProdOrderStatus`

## ChangeProuctionOrderStatus

[Line 238](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L238).

- [243](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L243) calls `ChangeProdOrderStatus`

## ChangeStatusFirmPlanToReleased

[Line 250](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L250).

- [254](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L254) calls `ChangeProuctionOrderStatus`

## ChangeStatusSimulatedToReleased

[Line 257](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L257).

- [261](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L261) calls `ChangeProuctionOrderStatus`

## CheckProductionOrderCost

[Line 264](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L264).

- [294](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L294) calls [Codeunit 131300 Library - ERM](https://jonas-paprotka.de/ref/codeunit/131300-library-erm/) `GetAmountRoundingPrecision`
- [301](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L301) calls [Codeunit 130000 Assert](https://jonas-paprotka.de/ref/codeunit/130000-assert/) `AreEqual`
- [306](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L306) calls [Codeunit 131300 Library - ERM](https://jonas-paprotka.de/ref/codeunit/131300-library-erm/) `GetAmountRoundingPrecision`
- [307](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L307) calls [Codeunit 130000 Assert](https://jonas-paprotka.de/ref/codeunit/130000-assert/) `AreEqual`

## CreateAndRefreshProductionOrder

[Line 315](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L315).

- [317](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L317) calls `CreateProductionOrder`
- [318](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L318) calls `RefreshProdOrder`

## CreateCalendarAbsenceEntry

[Line 321](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L321).

- [324](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L324) validates [Table 99000760 Calendar Absence Entry](https://jonas-paprotka.de/ref/table/99000760-calendar-absence-entry/) `Capacity Type`
- [325](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L325) validates [Table 99000760 Calendar Absence Entry](https://jonas-paprotka.de/ref/table/99000760-calendar-absence-entry/) `No.`
- [326](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L326) validates [Table 99000760 Calendar Absence Entry](https://jonas-paprotka.de/ref/table/99000760-calendar-absence-entry/) `Date`
- [327](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L327) validates [Table 99000760 Calendar Absence Entry](https://jonas-paprotka.de/ref/table/99000760-calendar-absence-entry/) `Starting Time`
- [328](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L328) validates [Table 99000760 Calendar Absence Entry](https://jonas-paprotka.de/ref/table/99000760-calendar-absence-entry/) `Ending Time`
- [329](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L329) writes [Table 99000760 Calendar Absence Entry](https://jonas-paprotka.de/ref/table/99000760-calendar-absence-entry/) Insert(true)
- [330](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L330) validates [Table 99000760 Calendar Absence Entry](https://jonas-paprotka.de/ref/table/99000760-calendar-absence-entry/) `Capacity`
- [331](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L331) writes [Table 99000760 Calendar Absence Entry](https://jonas-paprotka.de/ref/table/99000760-calendar-absence-entry/) Modify(true)

## CreateCapacityConstrainedResource

[Line 334](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L334).

- [338](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L338) validates [Table 99000866 Capacity Constrained Resource](https://jonas-paprotka.de/ref/table/99000866-capacity-constrained-resource/) `Capacity Type`
- [339](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L339) validates [Table 99000866 Capacity Constrained Resource](https://jonas-paprotka.de/ref/table/99000866-capacity-constrained-resource/) `Capacity No.`
- [340](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L340) writes [Table 99000866 Capacity Constrained Resource](https://jonas-paprotka.de/ref/table/99000866-capacity-constrained-resource/) Insert(true)

## CreateCapacityUnitOfMeasure

[Line 343](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L343).

- [346](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L346) validates [Table 99000780 Capacity Unit of Measure](https://jonas-paprotka.de/ref/table/99000780-capacity-unit-of-measure/) `Code`
- [347](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L347) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [348](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L348) writes [Table 99000780 Capacity Unit of Measure](https://jonas-paprotka.de/ref/table/99000780-capacity-unit-of-measure/) Insert(true)
- [349](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L349) validates [Table 99000780 Capacity Unit of Measure](https://jonas-paprotka.de/ref/table/99000780-capacity-unit-of-measure/) `Type`
- [350](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L350) writes [Table 99000780 Capacity Unit of Measure](https://jonas-paprotka.de/ref/table/99000780-capacity-unit-of-measure/) Modify(true)

## CreateFamily

[Line 353](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L353).

- [356](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L356) validates [Table 99000773 Family](https://jonas-paprotka.de/ref/table/99000773-family/) `No.`
- [356](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L356) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [357](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L357) writes [Table 99000773 Family](https://jonas-paprotka.de/ref/table/99000773-family/) Insert(true)
- [358](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L358) validates [Table 99000773 Family](https://jonas-paprotka.de/ref/table/99000773-family/) `Description`
- [359](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L359) writes [Table 99000773 Family](https://jonas-paprotka.de/ref/table/99000773-family/) Modify(true)

## CreateFamilyLine

[Line 362](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L362).

- [367](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L367) validates [Table 99000774 Family Line](https://jonas-paprotka.de/ref/table/99000774-family-line/) `Family No.`
- [369](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L369) validates [Table 99000774 Family Line](https://jonas-paprotka.de/ref/table/99000774-family-line/) `Line No.`
- [369](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L369) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GetNewLineNo`
- [370](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L370) writes [Table 99000774 Family Line](https://jonas-paprotka.de/ref/table/99000774-family-line/) Insert(true)
- [371](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L371) validates [Table 99000774 Family Line](https://jonas-paprotka.de/ref/table/99000774-family-line/) `Item No.`
- [372](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L372) validates [Table 99000774 Family Line](https://jonas-paprotka.de/ref/table/99000774-family-line/) `Quantity`
- [373](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L373) writes [Table 99000774 Family Line](https://jonas-paprotka.de/ref/table/99000774-family-line/) Modify(true)

## CreateProdItemJournal

[Line 376](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L376).

- [382](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L382) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `SelectItemJournalTemplateName`
- [383](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L383) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `SelectItemJournalBatchName`
- [385](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L385) calls `CalculateConsumption`
- [387](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L387) calls `CreateOutputJournal`
- [388](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L388) calls `OutputJnlExplodeRoute`
- [389](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L389) calls `UpdateOutputJournal`

## CreateItemManufacturing

[Line 393](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L393).

- [398](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L398) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `CreateItemManufacturing`
- [399](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L399) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Costing Method`
- [401](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L401) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Standard Cost`
- [403](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L403) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Unit Cost`
- [404](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L404) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Last Direct Cost`
- [407](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L407) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Reordering Policy`
- [408](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L408) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Flushing Method`
- [412](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L412) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Replenishment System`
- [413](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L413) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Routing No.`
- [414](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L414) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Production BOM No.`
- [415](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L415) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Inventory Posting Group`
- [417](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L417) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify(true)

## CreateMachineCenter

[Line 420](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L420).

- [424](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L424) calls [Codeunit 131300 Library - ERM](https://jonas-paprotka.de/ref/codeunit/131300-library-erm/) `FindGeneralPostingSetupInvtToGL`
- [425](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L425) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `UpdateSetupNoSeriesCode`
- [429](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L429) writes [Table 99000758 Machine Center](https://jonas-paprotka.de/ref/table/99000758-machine-center/) Insert(true)
- [430](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L430) validates [Table 99000758 Machine Center](https://jonas-paprotka.de/ref/table/99000758-machine-center/) `Work Center No.`
- [431](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L431) validates [Table 99000758 Machine Center](https://jonas-paprotka.de/ref/table/99000758-machine-center/) `Capacity`
- [432](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L432) validates [Table 99000758 Machine Center](https://jonas-paprotka.de/ref/table/99000758-machine-center/) `Gen. Prod. Posting Group`
- [433](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L433) writes [Table 99000758 Machine Center](https://jonas-paprotka.de/ref/table/99000758-machine-center/) Modify(true)

## CreateMachineCenterWithCalendar

[Line 436](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L436).

- [438](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L438) calls `CreateMachineCenter`
- [439](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L439) calls `CalculateMachCenterCalendar`

## CreateOutputJournal

[Line 442](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L442).

- [449](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L449) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `CreateItemJnlLineWithNoItem`
- [451](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L451) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order Type`
- [452](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L452) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order No.`
- [453](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L453) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Item No.`
- [454](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L454) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Modify(true)

## CreateProdOrderLine

[Line 458](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L458).

- [461](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L461) validates [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) `Status`
- [462](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L462) validates [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) `Prod. Order No.`
- [463](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L463) validates [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) `Line No.`
- [463](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L463) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GetNewRecNo`
- [464](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L464) validates [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) `Item No.`
- [465](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L465) validates [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) `Variant Code`
- [466](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L466) validates [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) `Location Code`
- [467](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L467) validates [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) `Quantity`
- [469](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L469) writes [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) Insert(true)

## CreateProductionBOMCommentLine

[Line 472](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L472).

- [484](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L484) validates [Table 99000776 Production BOM Comment Line](https://jonas-paprotka.de/ref/table/99000776-production-bom-comment-line/) `Production BOM No.`
- [485](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L485) validates [Table 99000776 Production BOM Comment Line](https://jonas-paprotka.de/ref/table/99000776-production-bom-comment-line/) `BOM Line No.`
- [486](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L486) validates [Table 99000776 Production BOM Comment Line](https://jonas-paprotka.de/ref/table/99000776-production-bom-comment-line/) `Version Code`
- [487](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L487) validates [Table 99000776 Production BOM Comment Line](https://jonas-paprotka.de/ref/table/99000776-production-bom-comment-line/) `Line No.`
- [488](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L488) validates [Table 99000776 Production BOM Comment Line](https://jonas-paprotka.de/ref/table/99000776-production-bom-comment-line/) `Comment`
- [488](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L488) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateGUID`
- [489](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L489) writes [Table 99000776 Production BOM Comment Line](https://jonas-paprotka.de/ref/table/99000776-production-bom-comment-line/) Insert(true)

## CreateProductionBOM

[Line 492](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L492).

- [500](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L500) calls `CreateProductionBOMHeader`
- [503](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L503) calls [Codeunit 132207 Library - Assembly](https://jonas-paprotka.de/ref/codeunit/132207-library-assembly/) `CreateItem`
- [504](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L504) calls `CreateProductionBOMLine`
- [508](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L508) validates [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) `Status`
- [509](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L509) writes [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) Modify(true)
- [510](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L510) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Production BOM No.`
- [511](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L511) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify(true)

## CreateProductionBOMHeader

[Line 514](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L514).

- [516](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L516) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `UpdateSetupNoSeriesCode`
- [520](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L520) writes [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) Insert(true)
- [521](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L521) validates [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) `Unit of Measure Code`
- [522](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L522) validates [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) `Status`
- [523](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L523) writes [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) Modify(true)

## CreateProductionBOMLine

[Line 527](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L527).

- [532](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L532) validates [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) `Production BOM No.`
- [533](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L533) validates [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) `Version Code`
- [535](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L535) validates [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) `Line No.`
- [535](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L535) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GetNewLineNo`
- [536](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L536) writes [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) Insert(true)
- [537](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L537) validates [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) `Type`
- [538](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L538) validates [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) `No.`
- [539](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L539) validates [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) `Quantity per`
- [540](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L540) writes [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) Modify(true)

## CreateCertifiedProductionBOM

[Line 543](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L543).

- [549](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L549) calls `CreateProductionBOMHeader`
- [550](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L550) calls `CreateProductionBOMLine`
- [551](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L551) calls `UpdateProductionBOMStatus`

## CreateCertifProdBOMWithTwoComp

[Line 555](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L555).

- [562](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L562) calls `CreateProductionBOMHeader`
- [563](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L563) calls `CreateProductionBOMLine`
- [564](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L564) calls `CreateProductionBOMLine`
- [565](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L565) calls `UpdateProductionBOMStatus`

## CreateProductionBOMVersion

[Line 569](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L569).

- [572](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L572) validates [Table 99000779 Production BOM Version](https://jonas-paprotka.de/ref/table/99000779-production-bom-version/) `Production BOM No.`
- [573](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L573) validates [Table 99000779 Production BOM Version](https://jonas-paprotka.de/ref/table/99000779-production-bom-version/) `Version Code`
- [574](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L574) writes [Table 99000779 Production BOM Version](https://jonas-paprotka.de/ref/table/99000779-production-bom-version/) Insert(true)
- [575](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L575) validates [Table 99000779 Production BOM Version](https://jonas-paprotka.de/ref/table/99000779-production-bom-version/) `Unit of Measure Code`
- [576](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L576) writes [Table 99000779 Production BOM Version](https://jonas-paprotka.de/ref/table/99000779-production-bom-version/) Modify(true)

## CreateProductionBOMVersion

[Line 579](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L579).

- [582](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L582) validates [Table 99000779 Production BOM Version](https://jonas-paprotka.de/ref/table/99000779-production-bom-version/) `Starting Date`
- [583](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L583) writes [Table 99000779 Production BOM Version](https://jonas-paprotka.de/ref/table/99000779-production-bom-version/) Modify(true)

## CreateProductionForecastEntry

[Line 586](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L586).

- [590](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L590) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Production Forecast Name`
- [591](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L591) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Item No.`
- [592](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L592) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Location Code`
- [593](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L593) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Forecast Date`
- [594](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L594) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Component Forecast`
- [595](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L595) writes [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) Insert(true)

## CreateProductionForecastEntry

[Line 598](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L598).

- [601](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L601) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Production Forecast Name`
- [602](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L602) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Item No.`
- [603](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L603) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Variant Code`
- [604](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L604) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Location Code`
- [605](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L605) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Forecast Date`
- [606](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L606) validates [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) `Component Forecast`
- [607](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L607) writes [Table 99000852 Production Forecast Entry](https://jonas-paprotka.de/ref/table/99000852-production-forecast-entry/) Insert(true)

## CreateProductionForecastName

[Line 610](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L610).

- [614](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L614) validates [Table 99000851 Production Forecast Name](https://jonas-paprotka.de/ref/table/99000851-production-forecast-name/) `Name`
- [615](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L615) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [616](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L616) validates [Table 99000851 Production Forecast Name](https://jonas-paprotka.de/ref/table/99000851-production-forecast-name/) `Description`
- [617](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L617) writes [Table 99000851 Production Forecast Name](https://jonas-paprotka.de/ref/table/99000851-production-forecast-name/) Insert(true)

## CreateProductionOrder

[Line 620](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L620).

- [624](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L624) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `UpdateSetupNoSeriesCode`
- [627](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L627) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `UpdateSetupNoSeriesCode`
- [630](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L630) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `UpdateSetupNoSeriesCode`
- [633](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L633) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `UpdateSetupNoSeriesCode`
- [639](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L639) validates [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `Status`
- [640](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L640) writes [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) Insert(true)
- [641](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L641) validates [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `Source Type`
- [642](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L642) validates [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `Source No.`
- [643](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L643) validates [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `Quantity`
- [644](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L644) writes [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) Modify(true)

## CreateProductionOrderComponent

[Line 647](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L647).

- [652](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L652) validates [Table 5407 Prod. Order Component](https://jonas-paprotka.de/ref/table/5407-prod-order-component/) `Status`
- [653](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L653) validates [Table 5407 Prod. Order Component](https://jonas-paprotka.de/ref/table/5407-prod-order-component/) `Prod. Order No.`
- [654](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L654) validates [Table 5407 Prod. Order Component](https://jonas-paprotka.de/ref/table/5407-prod-order-component/) `Prod. Order Line No.`
- [656](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L656) validates [Table 5407 Prod. Order Component](https://jonas-paprotka.de/ref/table/5407-prod-order-component/) `Line No.`
- [656](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L656) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GetNewLineNo`
- [657](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L657) writes [Table 5407 Prod. Order Component](https://jonas-paprotka.de/ref/table/5407-prod-order-component/) Insert(true)

## CreateProductionOrderFromSalesOrder

[Line 660](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L660).

- [670](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L670) calls [Codeunit 99000792 Create Prod. Order from Sale](https://jonas-paprotka.de/ref/codeunit/99000792-create-prod-order-from-sale/) `CreateProductionOrder`

## CreateProductionRouting

[Line 676](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L676).

- [684](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L684) calls `CreateRoutingHeader`
- [685](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L685) calls `CreateWorkCenter`
- [689](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L689) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Type`
- [690](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L690) calls `CreateRoutingLineSetup`
- [692](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L692) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [693](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L693) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GetFieldLength`
- [694](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L694) calls [Codeunit 130440 Library - Random](https://jonas-paprotka.de/ref/codeunit/130440-library-random/) `RandDec`
- [694](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L694) calls [Codeunit 130440 Library - Random](https://jonas-paprotka.de/ref/codeunit/130440-library-random/) `RandDec`
- [696](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L696) calls `CreateMachineCenter`
- [696](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L696) calls [Codeunit 130440 Library - Random](https://jonas-paprotka.de/ref/codeunit/130440-library-random/) `RandInt`
- [697](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L697) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Type`
- [698](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L698) calls `CreateRoutingLineSetup`
- [700](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L700) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [701](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L701) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GetFieldLength`
- [702](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L702) calls [Codeunit 130440 Library - Random](https://jonas-paprotka.de/ref/codeunit/130440-library-random/) `RandDec`
- [702](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L702) calls [Codeunit 130440 Library - Random](https://jonas-paprotka.de/ref/codeunit/130440-library-random/) `RandDec`
- [705](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L705) validates [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) `Status`
- [706](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L706) writes [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) Modify(true)
- [707](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L707) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Routing No.`
- [708](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L708) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify(true)

## CreateRegisteredAbsence

[Line 711](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L711).

- [714](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L714) validates [Table 99000848 Registered Absence](https://jonas-paprotka.de/ref/table/99000848-registered-absence/) `Capacity Type`
- [715](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L715) validates [Table 99000848 Registered Absence](https://jonas-paprotka.de/ref/table/99000848-registered-absence/) `No.`
- [716](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L716) validates [Table 99000848 Registered Absence](https://jonas-paprotka.de/ref/table/99000848-registered-absence/) `Date`
- [717](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L717) validates [Table 99000848 Registered Absence](https://jonas-paprotka.de/ref/table/99000848-registered-absence/) `Starting Time`
- [718](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L718) validates [Table 99000848 Registered Absence](https://jonas-paprotka.de/ref/table/99000848-registered-absence/) `Ending Time`
- [719](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L719) writes [Table 99000848 Registered Absence](https://jonas-paprotka.de/ref/table/99000848-registered-absence/) Insert(true)

## CreateRoutingHeader

[Line 722](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L722).

- [724](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L724) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `UpdateSetupNoSeriesCode`
- [728](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L728) writes [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) Insert(true)
- [729](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L729) validates [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) `Type`
- [730](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L730) validates [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) `Status`
- [731](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L731) writes [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) Modify(true)

## CreateRoutingLine

[Line 734](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L734).

- [737](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L737) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Routing No.`
- [738](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L738) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Version Code`
- [740](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L740) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [741](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L741) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Operation No.`
- [742](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L742) writes [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) Insert(true)
- [743](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L743) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Type`
- [744](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L744) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `No.`
- [745](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L745) writes [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) Modify(true)

## CreateRoutingLineSetup

[Line 748](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L748).

- [751](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L751) calls `CreateRoutingLine`
- [753](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L753) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Setup Time`
- [754](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L754) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Run Time`
- [755](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L755) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Concurrent Capacities`
- [756](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L756) writes [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) Modify(true)

## CreateRoutingLink

[Line 759](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L759).

- [762](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L762) validates [Table 99000777 Routing Link](https://jonas-paprotka.de/ref/table/99000777-routing-link/) `Code`
- [762](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L762) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [763](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L763) writes [Table 99000777 Routing Link](https://jonas-paprotka.de/ref/table/99000777-routing-link/) Insert(true)

## CreateQualityMeasure

[Line 766](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L766).

- [769](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L769) validates [Table 99000785 Quality Measure](https://jonas-paprotka.de/ref/table/99000785-quality-measure/) `Code`
- [769](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L769) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [770](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L770) writes [Table 99000785 Quality Measure](https://jonas-paprotka.de/ref/table/99000785-quality-measure/) Insert(true)

## CreateRoutingQualityMeasureLine

[Line 773](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L773).

- [776](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L776) validates [Table 99000805 Routing Quality Measure](https://jonas-paprotka.de/ref/table/99000805-routing-quality-measure/) `Routing No.`
- [777](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L777) validates [Table 99000805 Routing Quality Measure](https://jonas-paprotka.de/ref/table/99000805-routing-quality-measure/) `Operation No.`
- [778](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L778) validates [Table 99000805 Routing Quality Measure](https://jonas-paprotka.de/ref/table/99000805-routing-quality-measure/) `Qlty Measure Code`
- [779](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L779) writes [Table 99000805 Routing Quality Measure](https://jonas-paprotka.de/ref/table/99000805-routing-quality-measure/) Insert(true)

## CreateRoutingVersion

[Line 782](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L782).

- [785](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L785) validates [Table 99000786 Routing Version](https://jonas-paprotka.de/ref/table/99000786-routing-version/) `Routing No.`
- [786](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L786) validates [Table 99000786 Routing Version](https://jonas-paprotka.de/ref/table/99000786-routing-version/) `Version Code`
- [787](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L787) writes [Table 99000786 Routing Version](https://jonas-paprotka.de/ref/table/99000786-routing-version/) Insert(true)

## CreateShopCalendarCode

[Line 790](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L790).

- [793](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L793) validates [Table 99000751 Shop Calendar](https://jonas-paprotka.de/ref/table/99000751-shop-calendar/) `Code`
- [793](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L793) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [794](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L794) writes [Table 99000751 Shop Calendar](https://jonas-paprotka.de/ref/table/99000751-shop-calendar/) Insert(true)

## CreateShopCalendarCustomTime

[Line 798](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L798), local.

- [808](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L808) calls `CreateShopCalendarCode`
- [809](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L809) calls `CreateWorkShiftCode`
- [813](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L813) calls `CreateShopCalendarWorkingDays`

## CreateShopCalendarWorkingDays

[Line 819](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L819).

- [822](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L822) validates [Table 99000752 Shop Calendar Working Days](https://jonas-paprotka.de/ref/table/99000752-shop-calendar-working-days/) `Shop Calendar Code`
- [823](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L823) validates [Table 99000752 Shop Calendar Working Days](https://jonas-paprotka.de/ref/table/99000752-shop-calendar-working-days/) `Day`
- [824](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L824) validates [Table 99000752 Shop Calendar Working Days](https://jonas-paprotka.de/ref/table/99000752-shop-calendar-working-days/) `Starting Time`
- [825](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L825) validates [Table 99000752 Shop Calendar Working Days](https://jonas-paprotka.de/ref/table/99000752-shop-calendar-working-days/) `Ending Time`
- [826](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L826) validates [Table 99000752 Shop Calendar Working Days](https://jonas-paprotka.de/ref/table/99000752-shop-calendar-working-days/) `Work Shift Code`
- [827](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L827) writes [Table 99000752 Shop Calendar Working Days](https://jonas-paprotka.de/ref/table/99000752-shop-calendar-working-days/) Insert(true)

## CreateStandardTask

[Line 830](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L830).

- [833](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L833) validates [Table 99000778 Standard Task](https://jonas-paprotka.de/ref/table/99000778-standard-task/) `Code`
- [833](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L833) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [834](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L834) writes [Table 99000778 Standard Task](https://jonas-paprotka.de/ref/table/99000778-standard-task/) Insert(true)

## CreateWorkCenter

[Line 837](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L837).

- [839](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L839) calls `CreateWorkCenterCustomTime`

## CreateWorkCenterCustomTime

[Line 842](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L842).

- [844](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L844) calls `CreateWorkCenterWithoutShopCalendar`
- [845](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L845) validates [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) `Shop Calendar Code`
- [846](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L846) calls `UpdateShopCalendarWorkingDaysCustomTime`
- [847](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L847) writes [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) Modify(true)

## CreateWorkCenterFullWorkingWeek

[Line 850](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L850).

- [852](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L852) calls `CreateWorkCenterWithoutShopCalendar`
- [853](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L853) validates [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) `Shop Calendar Code`
- [854](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L854) calls `UpdateShopCalendarFullWorkingWeekCustomTime`
- [855](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L855) writes [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) Modify(true)

## CreateWorkCenterGroup

[Line 858](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L858).

- [861](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L861) validates [Table 99000756 Work Center Group](https://jonas-paprotka.de/ref/table/99000756-work-center-group/) `Code`
- [861](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L861) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [862](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L862) writes [Table 99000756 Work Center Group](https://jonas-paprotka.de/ref/table/99000756-work-center-group/) Insert(true)

## CreateWorkCenterWithCalendar

[Line 865](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L865).

- [867](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L867) calls `CreateWorkCenter`
- [868](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L868) calls `CalculateWorkCenterCalendar`

## CreateWorkCenterWithoutShopCalendar

[Line 871](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L871), local.

- [877](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L877) calls `CreateWorkCenterGroup`
- [878](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L878) calls `CreateCapacityUnitOfMeasure`
- [879](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L879) calls [Codeunit 131300 Library - ERM](https://jonas-paprotka.de/ref/codeunit/131300-library-erm/) `FindGeneralPostingSetupInvtToGL`
- [880](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L880) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `UpdateSetupNoSeriesCode`
- [884](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L884) writes [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) Insert(true)
- [885](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L885) validates [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) `Work Center Group Code`
- [886](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L886) validates [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) `Unit of Measure Code`
- [887](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L887) validates [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) `Gen. Prod. Posting Group`
- [888](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L888) writes [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) Modify(true)

## CreateWorkShiftCode

[Line 891](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L891).

- [894](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L894) validates [Table 99000750 Work Shift](https://jonas-paprotka.de/ref/table/99000750-work-shift/) `Code`
- [894](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L894) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GenerateRandomCode`
- [895](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L895) writes [Table 99000750 Work Shift](https://jonas-paprotka.de/ref/table/99000750-work-shift/) Insert(true)

## CreateInboundWhseReqFromProdOrder

[Line 899](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L899).

- [903](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L903) calls [Codeunit 7325 Whse.-Output Prod. Release](https://jonas-paprotka.de/ref/codeunit/7325-whse-output-prod-release/) `CheckWhseRqst`
- [907](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L907) calls [Codeunit 7325 Whse.-Output Prod. Release](https://jonas-paprotka.de/ref/codeunit/7325-whse-output-prod-release/) `Release`

## CreateWhsePickFromProduction

[Line 914](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L914).

- [916](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L916) calls [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `SetHideValidationDialog`
- [917](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L917) calls [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `CreatePick`

## OpenProductionJournal

[Line 920](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L920).

- [924](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L924) calls [Codeunit 5510 Production Journal Mgt](https://jonas-paprotka.de/ref/codeunit/5510-production-journal-mgt/) `Handling`

## OutputJournalExplodeRouting

[Line 927](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L927).

- [937](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L937) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `CreateItemJournalLine`
- [940](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L940) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order Type`
- [941](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L941) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order No.`
- [942](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L942) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Modify(true)
- [943](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L943) runs [Codeunit 5406 Output Jnl.-Expl. Route](https://jonas-paprotka.de/ref/codeunit/5406-output-jnl-expl-route/)

## OutputJnlExplodeRoute

[Line 946](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L946).

- [951](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L951) runs [Codeunit 5406 Output Jnl.-Expl. Route](https://jonas-paprotka.de/ref/codeunit/5406-output-jnl-expl-route/)

## OutputJournalExplodeOrderLineRouting

[Line 954](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L954).

- [963](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L963) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `CreateItemJournalLine`
- [966](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L966) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Posting Date`
- [967](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L967) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order Type`
- [968](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L968) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order No.`
- [969](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L969) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order Line No.`
- [970](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L970) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Modify(true)
- [971](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L971) runs [Codeunit 5406 Output Jnl.-Expl. Route](https://jonas-paprotka.de/ref/codeunit/5406-output-jnl-expl-route/)

## PostConsumptionJournal

[Line 974](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L974).

- [983](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L983) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `PostItemJournalLine`

## PostOutputJournal

[Line 986](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L986).

- [995](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L995) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `PostItemJournalLine`

## RefreshProdOrder

[Line 998](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L998).

- [1020](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1020) calls [Report 99001025 Refresh Production Order](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/) `InitializeRequest`

## RunReplanProductionOrder

[Line 1029](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1029).

- [1035](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1035) calls [Report 99001026 Replan Production Order](https://jonas-paprotka.de/ref/report/99001026-replan-production-order/) `InitializeRequest`
- [1044](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1044) calls [Report 99001026 Replan Production Order](https://jonas-paprotka.de/ref/report/99001026-replan-production-order/) `UseRequestPage`

## RunRollUpStandardCost

[Line 1048](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1048).

- [1061](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1061) calls [Report 5854 Roll Up Standard Cost](https://jonas-paprotka.de/ref/report/5854-roll-up-standard-cost/) `SetStdCostWksh`
- [1062](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1062) calls [Report 5854 Roll Up Standard Cost](https://jonas-paprotka.de/ref/report/5854-roll-up-standard-cost/) `UseRequestPage`

## RequisitionLineForSubcontractOrder

[Line 1066](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1066), local.

- [1072](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1072) calls [Codeunit 330 ReqJnlManagement](https://jonas-paprotka.de/ref/codeunit/330-reqjnlmanagement/) `WkshTemplateSelection`
- [1077](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1077) raises `OnBeforeOpenJournal`
- [1080](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1080) calls [Codeunit 330 ReqJnlManagement](https://jonas-paprotka.de/ref/codeunit/330-reqjnlmanagement/) `OpenJnl`

## SuggestCapacityStandardCost

[Line 1083](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1083).

- [1090](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1090) calls [Report 5852 Suggest Capacity Standard Cost](https://jonas-paprotka.de/ref/report/5852-suggest-capacity-standard-cost/) `Initialize`
- [1107](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1107) calls [Report 5852 Suggest Capacity Standard Cost](https://jonas-paprotka.de/ref/report/5852-suggest-capacity-standard-cost/) `UseRequestPage`

## UpdateManufacturingSetup

[Line 1111](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1111).

- [1115](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1115) validates [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) `Doc. No. Is Prod. Order No.`
- [1116](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1116) validates [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) `Cost Incl. Setup`
- [1117](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1117) validates [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) `Show Capacity In`
- [1118](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1118) validates [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) `Components at Location`
- [1119](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1119) validates [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) `Dynamic Low-Level Code`
- [1120](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1120) writes [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) Modify(true)

## UpdateOutputJournal

[Line 1123](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1123).

- [1141](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1141) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Setup Time`
- [1142](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1142) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Run Time`
- [1143](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1143) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Modify(true)

## UpdateProductionBOMStatus

[Line 1147](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1147).

- [1149](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1149) validates [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) `Status`
- [1150](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1150) writes [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) Modify(true)

## UpdateProductionBOMVersionStatus

[Line 1153](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1153).

- [1155](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1155) validates [Table 99000779 Production BOM Version](https://jonas-paprotka.de/ref/table/99000779-production-bom-version/) `Status`
- [1156](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1156) writes [Table 99000779 Production BOM Version](https://jonas-paprotka.de/ref/table/99000779-production-bom-version/) Modify(true)

## UpdateRoutingStatus

[Line 1159](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1159).

- [1161](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1161) validates [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) `Status`
- [1162](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1162) writes [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) Modify(true)

## UpdateShopCalendarFullWorkingWeekCustomTime

[Line 1165](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1165).

- [1169](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1169) calls `CreateShopCalendarCustomTime`

## UpdateShopCalendarWorkingDays

[Line 1172](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1172).

- [1175](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1175) calls `UpdateShopCalendarWorkingDaysCustomTime`

## UpdateShopCalendarWorkingDaysCustomTime

[Line 1178](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1178).

- [1182](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1182) calls `CreateShopCalendarCustomTime`

## UpdateFinishOrderWithoutOutputInManufacturingSetup

[Line 1185](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1185).

- [1188](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1188) validates [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) `Finish Order without Output`
- [1189](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1189) writes [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) Modify(true)

## UpdateUnitCost

[Line 1192](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1192).

- [1198](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1198) calls [Report 99001014 Update Unit Cost](https://jonas-paprotka.de/ref/report/99001014-update-unit-cost/) `InitializeRequest`
- [1207](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1207) calls [Report 99001014 Update Unit Cost](https://jonas-paprotka.de/ref/report/99001014-update-unit-cost/) `UseRequestPage`

## UpdateNonInventoryCostToProductionInManufacturingSetup

[Line 1221](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1221).

- [1224](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1224) validates [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) `Inc. Non. Inv. Cost To Prod`
- [1225](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1225) writes [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) Modify(true)

## UpdateLoadSKUCostOnManufacturingInManufacturingSetup

[Line 1228](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1228).

- [1231](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1231) validates [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) `Load SKU Cost on Manufacturing`
- [1232](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1232) writes [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) Modify(true)

## UpdateProdOrderLine

[Line 1236](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1236).

- [1245](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1245) writes [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) Modify(true)

## UpdateProdOrderComp

[Line 1249](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1249).

- [1258](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1258) writes [Table 5407 Prod. Order Component](https://jonas-paprotka.de/ref/table/5407-prod-order-component/) Modify(true)

## CreateConsumptionJournalLine

[Line 1270](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1270).

- [1275](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1275) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `CreateItemJournalBatchByType`
- [1277](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1277) calls [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `IsNonInventoriableType`
- [1279](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1279) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `CreateItemJournalLine`
- [1282](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1282) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Entry Type`
- [1283](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1283) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order Type`
- [1284](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1284) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order No.`
- [1285](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1285) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order Line No.`
- [1287](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1287) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Location Code`
- [1288](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1288) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Unit Cost`
- [1289](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1289) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Modify(true)

## CreateOutputJournalLine

[Line 1292](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1292).

- [1298](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1298) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `CreateItemJournalBatchByType`
- [1300](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1300) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `CreateItemJournalLine`
- [1303](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1303) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Entry Type`
- [1304](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1304) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order Type`
- [1305](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1305) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order No.`
- [1306](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1306) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Order Line No.`
- [1307](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1307) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Item No.`
- [1310](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1310) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Operation No.`
- [1311](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1311) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Output Quantity`
- [1312](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1312) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Unit Cost`
- [1313](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1313) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Modify

## CreateProductionBOM

[Line 1316](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1316).

- [1320](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1320) calls `CreateProductionBOMHeader`
- [1321](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1321) calls `CreateProductionBOMLine`
- [1323](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1323) validates [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) `Routing Link Code`
- [1324](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1324) writes [Table 99000772 Production BOM Line](https://jonas-paprotka.de/ref/table/99000772-production-bom-line/) Modify
- [1326](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1326) validates [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) `Status`
- [1327](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1327) writes [Table 99000771 Production BOM Header](https://jonas-paprotka.de/ref/table/99000771-production-bom-header/) Modify
- [1329](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1329) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Production BOM No.`
- [1330](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1330) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify

## CreateProductionOrder

[Line 1333](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1333).

- [1339](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1339) calls [Codeunit 131000 Library - Utility](https://jonas-paprotka.de/ref/codeunit/131000-library-utility/) `GetGlobalNoSeriesCode`
- [1345](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1345) writes [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) Modify
- [1350](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1350) writes [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) Modify
- [1355](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1355) writes [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) Modify
- [1360](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1360) writes [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) Modify
- [1365](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1365) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `GetNextNo`
- [1367](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1367) validates [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `Source Type`
- [1368](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1368) validates [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `Source No.`
- [1369](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1369) validates [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `Quantity`
- [1370](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1370) validates [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `Location Code`
- [1371](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1371) validates [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) `Due Date`
- [1372](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1372) writes [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) Insert(true)
- [1373](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1373) calls `RefreshProdOrder`
- [1376](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1376) writes [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) ModifyAll

## CreateRouting

[Line 1379](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1379).

- [1384](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1384) calls `CreateRoutingHeader`
- [1387](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1387) validates [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) `Direct Unit Cost`
- [1388](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1388) writes [Table 99000754 Work Center](https://jonas-paprotka.de/ref/table/99000754-work-center/) Modify
- [1390](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1390) calls `CreateRoutingLine`
- [1391](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1391) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Routing Link Code`
- [1392](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1392) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Run Time`
- [1393](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1393) writes [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) Modify
- [1395](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1395) validates [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) `Status`
- [1396](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1396) writes [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) Modify
- [1398](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1398) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Routing No.`
- [1399](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1399) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify

## CreateRoutingforWorkCenter

[Line 1402](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1402).

- [1406](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1406) calls `CreateRoutingHeader`
- [1408](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1408) calls `CreateRoutingLine`
- [1409](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1409) validates [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) `Run Time`
- [1410](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1410) writes [Table 99000764 Routing Line](https://jonas-paprotka.de/ref/table/99000764-routing-line/) Modify
- [1412](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1412) validates [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) `Status`
- [1413](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1413) writes [Table 99000763 Routing Header](https://jonas-paprotka.de/ref/table/99000763-routing-header/) Modify
- [1415](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1415) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Routing No.`
- [1416](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1416) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify

## CreateProdOrderUsingPlanning

[Line 1419](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1419).

- [1423](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1423) calls [Page 99000883 Sales Order Planning](https://jonas-paprotka.de/ref/page/99000883-sales-order-planning/) `SetSalesOrder`
- [1424](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1424) calls [Page 99000883 Sales Order Planning](https://jonas-paprotka.de/ref/page/99000883-sales-order-planning/) `BuildForm`
- [1425](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1425) calls [Page 99000883 Sales Order Planning](https://jonas-paprotka.de/ref/page/99000883-sales-order-planning/) `CreateProdOrder`

## CreatePlanningRoutingLine

[Line 1432](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1432).

- [1435](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1435) validates [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) `Worksheet Template Name`
- [1436](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1436) validates [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) `Worksheet Batch Name`
- [1437](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1437) validates [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) `Worksheet Line No.`
- [1438](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1438) validates [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) `Operation No.`
- [1439](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1439) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) Insert(true)

## PostConsumption

[Line 1442](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1442).

- [1446](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1446) calls `CreateConsumptionJournalLine`
- [1447](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1447) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `PostItemJournalBatch`

## PostOutput

[Line 1450](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1450).

- [1456](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1456) calls `CreateOutputJournalLine`
- [1457](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1457) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `PostItemJournalBatch`

## CreateProdOrderItemTracking

[Line 1469](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1469).

- [1474](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1474) calls [Codeunit 130502 Library - Item Tracking](https://jonas-paprotka.de/ref/codeunit/130502-library-item-tracking/) `ItemTracking`

## CreateProdOrderCompItemTracking

[Line 1486](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1486).

- [1491](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1491) calls [Codeunit 130502 Library - Item Tracking](https://jonas-paprotka.de/ref/codeunit/130502-library-item-tracking/) `ItemTracking`

## PostOutputWithItemTracking

[Line 1494](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1494).

- [1502](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1502) calls `CreateOutputJournalLine`
- [1506](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1506) validates [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) `Run Time`
- [1507](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1507) writes [Table 83 Item Journal Line](https://jonas-paprotka.de/ref/table/83-item-journal-line/) Modify
- [1508](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1508) calls [Codeunit 130502 Library - Item Tracking](https://jonas-paprotka.de/ref/codeunit/130502-library-item-tracking/) `CreateItemJournalLineItemTracking`
- [1509](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1509) calls [Codeunit 132201 Library - Inventory](https://jonas-paprotka.de/ref/codeunit/132201-library-inventory/) `PostItemJournalBatch`

## SetComponentsAtLocation

[Line 1512](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1512).

- [1515](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1515) validates [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) `Components at Location`
- [1516](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1516) writes [Table 99000765 Manufacturing Setup](https://jonas-paprotka.de/ref/table/99000765-manufacturing-setup/) Modify

## OnItemTracking

[Line 1520](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1520), local.

- [1534](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1534) calls [Codeunit 130502 Library - Item Tracking](https://jonas-paprotka.de/ref/codeunit/130502-library-item-tracking/) `InsertItemTracking`
- [1549](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1549) calls [Codeunit 130502 Library - Item Tracking](https://jonas-paprotka.de/ref/codeunit/130502-library-item-tracking/) `InsertItemTracking`

## OnCreateMultipleLvlTreeOnCreateBOM

[Line 1560](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1560), local.

- [1563](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1563) calls `CreateProductionBOM`

## OnGetTableNosWithGlobalDimensionCode

[Line 1569](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1569), local.

- [1571](https://jonas-paprotka.de/ref/codeunit/132202-library-manufacturing/source/#L1571) calls [Codeunit 131001 Library - Dimension](https://jonas-paprotka.de/ref/codeunit/131001-library-dimension/) `AddTable`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
