Codeunit "Whse.-Output Prod. Release"

ID 7325
Namespace: Microsoft.Manufacturing.Document

Methods

Release

procedure Release(ProdHeader: Record "Production Order"): Boolean

Parameters

Name Type Description
ProdHeader Table Microsoft.Manufacturing.Document."Production Order"

Returns

Type Description
Boolean

DeleteLine

procedure DeleteLine(ProdOrderLine: Record "Prod. Order Line")

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"

FinishedDelete

procedure FinishedDelete(var ProdHeader: Record "Production Order")

Parameters

Name Type Description
ProdHeader Table Microsoft.Manufacturing.Document."Production Order"

CheckWhseRqst

procedure CheckWhseRqst(ProductionOrder: Record "Production Order"): Boolean

Parameters

Name Type Description
ProductionOrder Table Microsoft.Manufacturing.Document."Production Order"

Returns

Type Description
Boolean

Events

OnAfterCheckWhseRqstProdOrderLine

[IntegrationEvent(False,False)]
local procedure OnAfterCheckWhseRqstProdOrderLine(ProdOrderLine: Record "Prod. Order Line", WhseRequest: Record "Warehouse Request", var WhseRequestCreated: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
WhseRequest Table Microsoft.Warehouse.Request."Warehouse Request"
WhseRequestCreated Boolean

OnAfterCreateWhseRqst

[IntegrationEvent(False,False)]
local procedure OnAfterCreateWhseRqst(var ProductionOrder: Record "Production Order", var ProdOrderLine: Record "Prod. Order Line", var WarehouseRequest: Record "Warehouse Request")

Parameters

Name Type Description
ProductionOrder Table Microsoft.Manufacturing.Document."Production Order"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
WarehouseRequest Table Microsoft.Warehouse.Request."Warehouse Request"

OnAfterDeleteLine

[IntegrationEvent(False,False)]
local procedure OnAfterDeleteLine(ProdOrderLine: Record "Prod. Order Line", KeepWhseRqst: Boolean)

Parameters

Name Type Description
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
KeepWhseRqst Boolean

OnBeforeRelease

[IntegrationEvent(False,False)]
local procedure OnBeforeRelease(var ProductionOrder: Record "Production Order")

Parameters

Name Type Description
ProductionOrder Table Microsoft.Manufacturing.Document."Production Order"

OnBeforeWhseRequestInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeWhseRequestInsert(var WarehouseRequest: Record "Warehouse Request", ProdOrderLine: Record "Prod. Order Line", ProductionOrder: Record "Production Order")

Parameters

Name Type Description
WarehouseRequest Table Microsoft.Warehouse.Request."Warehouse Request"
ProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
ProductionOrder Table Microsoft.Manufacturing.Document."Production Order"

See also