Codeunit 18004176 EOS076 MBT Status Mgt.

Codeunit 18004176 EOS076 MBT Status Mgt.

Methods

ChangeStatusOnProdOrder

procedure ChangeStatusOnProdOrder(ProdOrder: Record "Production Order"; NewStatus: Option Quote,Planned,"Firm Planned",Released,Finished; NewPostingDate: Date; NewUpdateUnitCost: Boolean)

Parameters / Return Value

  • ProdOrder Record "Production Order"

  • NewStatus Option

    Quote (0) , Planned (1) , "Firm Planned" (2) , Released (3) , Finished (4)

  • NewPostingDate Date

  • NewUpdateUnitCost Boolean


SetPostingInfo

procedure SetPostingInfo(Status: Option Quote,Planned,"Firm Planned",Released,Finished; PostingDate: Date; UpdateUnitCost: Boolean)

Parameters / Return Value

  • Status Option

    Quote (0) , Planned (1) , "Firm Planned" (2) , Released (3) , Finished (4)

  • PostingDate Date

  • UpdateUnitCost Boolean


Events

OnAfterTransProdOrder

local procedure OnAfterTransProdOrder(var FromProdOrder: Record "Production Order"; var ToProdOrder: Record "Production Order")

Parameters / Return Value

  • FromProdOrder Record "Production Order"

  • ToProdOrder Record "Production Order"


OnAfterTransProdOrderLines

local procedure OnAfterTransProdOrderLines(var FromProdOrder: Record "Production Order"; var ToProdOrder: Record "Production Order")

Parameters / Return Value

  • FromProdOrder Record "Production Order"

  • ToProdOrder Record "Production Order"


OnAfterTransProdOrderComp

local procedure OnAfterTransProdOrderComp(var FromProdOrder: Record "Production Order"; var ToProdOrder: Record "Production Order")

Parameters / Return Value

  • FromProdOrder Record "Production Order"

  • ToProdOrder Record "Production Order"


OnAfterToProdOrderLineModify

local procedure OnAfterToProdOrderLineModify(var ToProdOrderLine: Record "Prod. Order Line"; var FromProdOrderLine: Record "Prod. Order Line"; var NewStatus: Option Quote,Planned,"Firm Planned",Released,Finished)

Parameters / Return Value

  • ToProdOrderLine Record "Prod. Order Line"

  • FromProdOrderLine Record "Prod. Order Line"

  • NewStatus Option

    Quote (0) , Planned (1) , "Firm Planned" (2) , Released (3) , Finished (4)


OnAfterToProdOrderRtngLineInsert

local procedure OnAfterToProdOrderRtngLineInsert(var ToProdOrderRoutingLine: Record "Prod. Order Routing Line"; var FromProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters / Return Value

  • ToProdOrderRoutingLine Record "Prod. Order Routing Line"

  • FromProdOrderRoutingLine Record "Prod. Order Routing Line"


OnAfterChangeStatusOnProdOrder

local procedure OnAfterChangeStatusOnProdOrder(var ProdOrder: Record "Production Order"; var ToProdOrder: Record "Production Order")

Parameters / Return Value

  • ProdOrder Record "Production Order"

  • ToProdOrder Record "Production Order"


OnBeforeChangeStatusOnProdOrder

local procedure OnBeforeChangeStatusOnProdOrder(var ProductionOrder: Record "Production Order"; NewStatus: Option Quote,Planned,"Firm Planned",Released,Finished)

Parameters / Return Value

  • ProductionOrder Record "Production Order"

  • NewStatus Option

    Quote (0) , Planned (1) , "Firm Planned" (2) , Released (3) , Finished (4)


OnCopyFromProdOrder

local procedure OnCopyFromProdOrder(var ToProdOrder: Record "Production Order"; FromProdOrder: Record "Production Order")

Parameters / Return Value

  • ToProdOrder Record "Production Order"

  • FromProdOrder Record "Production Order"


OnCopyFromProdOrderLine

local procedure OnCopyFromProdOrderLine(var ToProdOrderLine: Record "Prod. Order Line"; FromProdOrderLine: Record "Prod. Order Line")

Parameters / Return Value

  • ToProdOrderLine Record "Prod. Order Line"

  • FromProdOrderLine Record "Prod. Order Line"


OnCopyFromProdOrderRoutingLine

local procedure OnCopyFromProdOrderRoutingLine(var ToProdOrderRoutingLine: Record "Prod. Order Routing Line"; FromProdOrderRoutingLine: Record "Prod. Order Routing Line")

Parameters / Return Value

  • ToProdOrderRoutingLine Record "Prod. Order Routing Line"

  • FromProdOrderRoutingLine Record "Prod. Order Routing Line"


OnCopyFromProdOrderComp

local procedure OnCopyFromProdOrderComp(var ToProdOrderComp: Record "Prod. Order Component"; FromProdOrderComp: Record "Prod. Order Component")

Parameters / Return Value

  • ToProdOrderComp Record "Prod. Order Component"

  • FromProdOrderComp Record "Prod. Order Component"


OnCopyFromProdOrderCapacityNeed

local procedure OnCopyFromProdOrderCapacityNeed(var ToProdOrderCapacityNeed: Record "Prod. Order Capacity Need"; FromProdOrderCapacityNeed: Record "Prod. Order Capacity Need")

Parameters / Return Value

  • ToProdOrderCapacityNeed Record "Prod. Order Capacity Need"

  • FromProdOrderCapacityNeed Record "Prod. Order Capacity Need"



EOS Labs -