Report "Batch Post Service Orders"

ID 6001
Namespace: Microsoft.Service.Document

Properties

Name Value
Caption Batch Post Service Orders
ProcessingOnly True

Methods

InitializeRequest

procedure InitializeRequest(ShipReqFrom: Boolean, InvReqFrom: Boolean, PostingDateReqFrom: Date, ReplacePostingDateFrom: Boolean, ReplaceDocumentDateFrom: Boolean, CalcInvDiscFrom: Boolean)

Parameters

Name Type Description
ShipReqFrom Boolean
InvReqFrom Boolean
PostingDateReqFrom Date
ReplacePostingDateFrom Boolean
ReplaceDocumentDateFrom Boolean
CalcInvDiscFrom Boolean

InitValues

procedure InitValues()

Events

OnAfterPostReport

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

Parameters

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

OnBeforePostServiceHeader

[IntegrationEvent(False,False)]
local procedure OnBeforePostServiceHeader(var ServiceHeader: Record "Service Header", var IsHandled: Boolean, var ReturnValue: Boolean, ReplacePostingDate: Boolean, ReplaceDocumentDate: Boolean, PostingDateReq: Date, ShipReq: Boolean, InvReq: Boolean)

Parameters

Name Type Description
ServiceHeader Table Microsoft.Service.Document."Service Header"
IsHandled Boolean
ReturnValue Boolean
ReplacePostingDate Boolean
ReplaceDocumentDate Boolean
PostingDateReq Date
ShipReq Boolean
InvReq Boolean

OnBeforePreReport

[IntegrationEvent(True,False)]
local procedure OnBeforePreReport()

OnAfterValidateReplacePostingDate

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

Parameters

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

See also