Codeunit 5130113 M365 Prod. BOM-Explode BOM

Codeunit 5130113 M365 Prod. BOM-Explode BOM

Methods

ProdExplodeBom

procedure ProdExplodeBom(var itemProdBOMLine: Record "Production BOM Line"; maxLevel: Integer; explodingDate: Date)

Parameters / Return Value

  • itemProdBOMLine Record "Production BOM Line"

  • maxLevel Integer

  • explodingDate Date


CalcStartingDate

procedure CalcStartingDate(var prodBOMLine: Record "Production BOM Line")

Parameters / Return Value

  • prodBOMLine Record "Production BOM Line"

GetProdBom

procedure GetProdBom(var prodBOMLine: Record "Production BOM Line")

Parameters / Return Value

  • prodBOMLine Record "Production BOM Line"

IsShopHoliday

procedure IsShopHoliday(shopCalendarCode: Code[10]; forDate: Date): Boolean

Parameters / Return Value

  • shopCalendarCode Code[10]

  • forDate Date

  • Returns Boolean


Events

OnBeforeInsertProdBOMLine

local procedure OnBeforeInsertProdBOMLine(var TempProdBOMLine: Record "Production BOM Line" temporary; ProductionBOMLine: Record "Production BOM Line")

Integration event triggered before inserting temporary Production BOM Line on production BOM explosion.

Parameters / Return Value

  • TempProdBOMLine Record "Production BOM Line"

    Temporary record of the Production BOM Line to be inserted.

  • ProductionBOMLine Record "Production BOM Line"

    Record of the Production BOM Line that is exploded



EOS Labs -