Codeunit "Purch.-Post Prepmt. (Yes/No)"

ID 445
Namespace: Microsoft.Purchases.Posting

Properties

Name Value
EventSubscriberInstance Manual

Methods

PostPrepmtInvoiceYN

procedure PostPrepmtInvoiceYN(var PurchHeader2: Record "Purchase Header", Print: Boolean)

Parameters

Name Type Description
PurchHeader2 Table Microsoft.Purchases.Document."Purchase Header"
Print Boolean

PostPrepmtCrMemoYN

procedure PostPrepmtCrMemoYN(var PurchHeader2: Record "Purchase Header", Print: Boolean)

Parameters

Name Type Description
PurchHeader2 Table Microsoft.Purchases.Document."Purchase Header"
Print Boolean

Preview

procedure Preview(var PurchHeader: Record "Purchase Header", DocumentType: Option)

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
DocumentType Option

GetReport

procedure GetReport(var PurchHeader: Record "Purchase Header", DocumentType: Option)

Parameters

Name Type Description
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
DocumentType Option

Events

OnAfterPostPrepmtInvoiceYN

[IntegrationEvent(False,False)]
local procedure OnAfterPostPrepmtInvoiceYN(var PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

OnAfterPostPrepmtCrMemoYN

[IntegrationEvent(False,False)]
local procedure OnAfterPostPrepmtCrMemoYN(var PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

OnBeforeGetReport

[IntegrationEvent(False,False)]
local procedure OnBeforeGetReport(var PurchaseHeader: Record "Purchase Header", DocumentType: Option, var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
DocumentType Option
IsHandled Boolean

OnBeforePostPrepmtDocument

[IntegrationEvent(False,False)]
local procedure OnBeforePostPrepmtDocument(var PurchaseHeader: Record "Purchase Header", PrepmtDocumentType: Option)

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
PrepmtDocumentType Option

OnPostPrepmtInvoiceYNOnBeforeConfirmPostInvoice

[IntegrationEvent(False,False)]
local procedure OnPostPrepmtInvoiceYNOnBeforeConfirmPostInvoice(var PurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

See also