Codeunit "Serv. Whse Post-Shipment"

ID 5749
Namespace: Microsoft.Warehouse.Posting

Events

OnPostSourceDocumentBeforeRunServicePost

[IntegrationEvent(False,False)]
local procedure OnPostSourceDocumentBeforeRunServicePost(var ServiceHeader: Record "Service Header")

Parameters

Name Type Description
ServiceHeader Table Microsoft.Service.Document."Service Header"

OnPostSourceDocumentAfterRunServicePost

[IntegrationEvent(False,False)]
local procedure OnPostSourceDocumentAfterRunServicePost(var ServiceHeader: Record "Service Header")

Parameters

Name Type Description
ServiceHeader Table Microsoft.Service.Document."Service Header"

OnPostSourceDocumentOnBeforePrintServiceShipment

[IntegrationEvent(False,False)]
local procedure OnPostSourceDocumentOnBeforePrintServiceShipment(var ServiceHeader: Record "Service Header", var IsHandled: Boolean)

Parameters

Name Type Description
ServiceHeader Table Microsoft.Service.Document."Service Header"
IsHandled Boolean

OnPostSourceDocumentOnBeforePrintServiceInvoice

[IntegrationEvent(False,False)]
local procedure OnPostSourceDocumentOnBeforePrintServiceInvoice(var ServiceHeader: Record "Service Header", var IsHandled: Boolean)

Parameters

Name Type Description
ServiceHeader Table Microsoft.Service.Document."Service Header"
IsHandled Boolean

OnAfterServicePost

[IntegrationEvent(False,False)]
local procedure OnAfterServicePost(var WarehouseShipmentLine: Record "Warehouse Shipment Line", ServiceHeader: Record "Service Header", WhsePostParameters: Record "Whse. Post Parameters" temporary)

Parameters

Name Type Description
WarehouseShipmentLine Table Microsoft.Warehouse.Document."Warehouse Shipment Line"
ServiceHeader Table Microsoft.Service.Document."Service Header"
WhsePostParameters Table Microsoft.Warehouse.Document."Whse. Post Parameters"

OnInitSourceDocumentHeaderOnBeforeServiceHeaderUpdatePostingDate

[IntegrationEvent(False,False)]
local procedure OnInitSourceDocumentHeaderOnBeforeServiceHeaderUpdatePostingDate(var ServiceHeader: Record "Service Header", var WarehouseShipmentHeader: Record "Warehouse Shipment Header", var WarehouseShipmentLine: Record "Warehouse Shipment Line", var ModifyHeader: Boolean, var ValidatePostingDate: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ServiceHeader Table Microsoft.Service.Document."Service Header"
WarehouseShipmentHeader Table Microsoft.Warehouse.Document."Warehouse Shipment Header"
WarehouseShipmentLine Table Microsoft.Warehouse.Document."Warehouse Shipment Line"
ModifyHeader Boolean
ValidatePostingDate Boolean
IsHandled Boolean

OnInitSourceDocumentHeaderOnBeforeServiceHeaderModify

[IntegrationEvent(False,False)]
local procedure OnInitSourceDocumentHeaderOnBeforeServiceHeaderModify(var ServiceHeader: Record "Service Header", var WarehouseShipmentHeader: Record "Warehouse Shipment Header", var ModifyHeader: Boolean)

Parameters

Name Type Description
ServiceHeader Table Microsoft.Service.Document."Service Header"
WarehouseShipmentHeader Table Microsoft.Warehouse.Document."Warehouse Shipment Header"
ModifyHeader Boolean

OnBeforeServiceLineModify

[IntegrationEvent(False,False)]
local procedure OnBeforeServiceLineModify(var ServiceLine: Record "Service Line", var WarehouseShipmentLine: Record "Warehouse Shipment Line", var ModifyLine: Boolean, WhsePostParameters: Record "Whse. Post Parameters" temporary)

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
WarehouseShipmentLine Table Microsoft.Warehouse.Document."Warehouse Shipment Line"
ModifyLine Boolean
WhsePostParameters Table Microsoft.Warehouse.Document."Whse. Post Parameters"

OnHandleServiceLineOnNonWhseLineOnAfterCalcModifyLine

[IntegrationEvent(False,False)]
local procedure OnHandleServiceLineOnNonWhseLineOnAfterCalcModifyLine(var ServiceLine: Record "Service Line", var ModifyLine: Boolean, WarehouseShipmentLine: Record "Warehouse Shipment Line")

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
ModifyLine Boolean
WarehouseShipmentLine Table Microsoft.Warehouse.Document."Warehouse Shipment Line"

OnHandleServiceLineOnSourceDocumentServiceOrderOnBeforeModifyLine

[IntegrationEvent(False,False)]
local procedure OnHandleServiceLineOnSourceDocumentServiceOrderOnBeforeModifyLine(var ServiceLine: Record "Service Line", WarehouseShipmentLine: Record "Warehouse Shipment Line", WhsePosrParameters: Record "Whse. Post Parameters" temporary)

Parameters

Name Type Description
ServiceLine Table Microsoft.Service.Document."Service Line"
WarehouseShipmentLine Table Microsoft.Warehouse.Document."Warehouse Shipment Line"
WhsePosrParameters Table Microsoft.Warehouse.Document."Whse. Post Parameters"

OnBeforeHandleServiceLine

[IntegrationEvent(False,False)]
local procedure OnBeforeHandleServiceLine(var WarehouseShipmentLine: Record "Warehouse Shipment Line", var ServiceLine: Record "Service Line", var ModifyLine: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
WarehouseShipmentLine Table Microsoft.Warehouse.Document."Warehouse Shipment Line"
ServiceLine Table Microsoft.Service.Document."Service Line"
ModifyLine Boolean
IsHandled Boolean

See also