Report "Copy Production Order Document"

ID 99003802
Namespace: Microsoft.Manufacturing.Document

Properties

Name Value
Caption Copy Production Order Document
ProcessingOnly True

Methods

SetProdOrder

procedure SetProdOrder(var NewProdOrder: Record "Production Order")

Parameters

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

Events

OnAfterCopyProdLines

[IntegrationEvent(True,False)]
local procedure OnAfterCopyProdLines(var ToProdOrderLine: Record "Prod. Order Line", FromProdOrderLine: Record "Prod. Order Line", IncludeHeader: Boolean)

Parameters

Name Type Description
ToProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
FromProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
IncludeHeader Boolean

OnBeforeToProdOrderModify

[IntegrationEvent(True,False)]
local procedure OnBeforeToProdOrderModify(var ToProdOrder: Record "Production Order", FromProdOrder: Record "Production Order")

Parameters

Name Type Description
ToProdOrder Table Microsoft.Manufacturing.Document."Production Order"
FromProdOrder Table Microsoft.Manufacturing.Document."Production Order"

OnBeforeToProdOrderLineInsert

[IntegrationEvent(True,False)]
local procedure OnBeforeToProdOrderLineInsert(var ToProdOrderLine: Record "Prod. Order Line", FromProdOrderLine: Record "Prod. Order Line")

Parameters

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

OnCopyProdLinesOnAfterFilterFromProdOrderLine

[IntegrationEvent(True,False)]
local procedure OnCopyProdLinesOnAfterFilterFromProdOrderLine(var FromProdOrderLine: Record "Prod. Order Line", StatusType: Enum "Production Order Status", DocNo: Code[20])

Parameters

Name Type Description
FromProdOrderLine Table Microsoft.Manufacturing.Document."Prod. Order Line"
StatusType Enum Microsoft.Manufacturing.Document."Production Order Status"
DocNo Code[20]

OnOpenPageOnCaseElse

[IntegrationEvent(True,False)]
local procedure OnOpenPageOnCaseElse(StatusType: Enum "Production Order Status", DocNo: Code[20], var FromProductionOrder: Record "Production Order")

Parameters

Name Type Description
StatusType Enum Microsoft.Manufacturing.Document."Production Order Status"
DocNo Code[20]
FromProductionOrder Table Microsoft.Manufacturing.Document."Production Order"

See also