Report "Purchase Document - Test"

ID 402
Namespace: Microsoft.Purchases.Reports

Properties

Name Value
DefaultLayout RDLC
RDLCLayout ./Purchases/Reports/PurchaseDocumentTest.rdlc
Caption Purchase Document - Test
WordMergeDataItem Purchase Header

Methods

TestJobFields

procedure TestJobFields(var PurchLine: Record "Purchase Line")

Parameters

Name Type Description
PurchLine Table Microsoft.Purchases.Document."Purchase Line"

AddDimToTempLine

procedure AddDimToTempLine(PurchLine: Record "Purchase Line")

Parameters

Name Type Description
PurchLine Table Microsoft.Purchases.Document."Purchase Line"

InitializeRequest

procedure InitializeRequest(NewReceiveShipOnNextPostReq: Boolean, NewInvOnNextPostReq: Boolean, NewShowDim: Boolean, NewShowItemChargeAssgnt: Boolean)

Parameters

Name Type Description
NewReceiveShipOnNextPostReq Boolean
NewInvOnNextPostReq Boolean
NewShowDim Boolean
NewShowItemChargeAssgnt Boolean

Events

OnAfterAddDimToTempLine

[IntegrationEvent(False,False)]
local procedure OnAfterAddDimToTempLine(var PurchLine: Record "Purchase Line")

Parameters

Name Type Description
PurchLine Table Microsoft.Purchases.Document."Purchase Line"

OnAfterCheckPurchaseDoc

[IntegrationEvent(False,False)]
local procedure OnAfterCheckPurchaseDoc(PurchaseHeader: Record "Purchase Header", var ErrorText: array[99] of Text[250], var ErrorCounter: Integer)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
ErrorText array[99] of Text[250]
ErrorCounter Integer

OnBeforeCheckDimValuePostingHeader

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDimValuePostingHeader(var PurchaseHeader: Record "Purchase Header", var TableID: array[10] of Integer, var No: array[10] of Code[20])

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
TableID array[10] of Integer
No array[10] of Code[20]

OnBeforeCheckDimValuePostingLine

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDimValuePostingLine(var PurchaseLine: Record "Purchase Line", var TableID: array[10] of Integer, var No: array[10] of Code[20])

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
TableID array[10] of Integer
No array[10] of Code[20]

OnBeforeTestJobFields

[IntegrationEvent(False,False)]
local procedure OnBeforeTestJobFields(var PurchaseLine: Record "Purchase Line", var ErrorCounter: Integer, var ErrorText: array[50] of Text[250], var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ErrorCounter Integer
ErrorText array[50] of Text[250]
IsHandled Boolean

OnCheckPurchLineCaseTypeElse

[IntegrationEvent(False,False)]
local procedure OnCheckPurchLineCaseTypeElse(LineType: Option, "No.": Code[20], var ErrorText: Text[250])

Parameters

Name Type Description
LineType Option
No. Code[20]
ErrorText Text[250]

OnRoundLoopOnAfterGetRecord

[IntegrationEvent(False,False)]
local procedure OnRoundLoopOnAfterGetRecord(var PurchaseLine: Record "Purchase Line", var ErrorText: array[99] of Text[250], var ErrorCounter: Integer)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ErrorText array[99] of Text[250]
ErrorCounter Integer

OnRoundLoopOnBeforeAfterGetRecord

[IntegrationEvent(False,False)]
local procedure OnRoundLoopOnBeforeAfterGetRecord(var PurchaseLine: Record "Purchase Line", var ErrorCounter: Integer, var ErrorText: array[99] of Text[250])

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ErrorCounter Integer
ErrorText array[99] of Text[250]

OnAfterCheckPurchLine

[IntegrationEvent(False,False)]
local procedure OnAfterCheckPurchLine(PurchaseLine: Record "Purchase Line", var PurchaseHeader: Record "Purchase Header", var ErrorCounter: Integer, var ErrorText: Text[250])

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
ErrorCounter Integer
ErrorText Text[250]

See also