Codeunit 18090676 EOS041 Purch. Event Handlers
Codeunit 18090676 EOS041 Purch. Event Handlers
Events
OnBeforePostPurchaseDocumentLines
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforePostPurchaseDocumentLines(var PurchLine: Record "Purchase Line"; PurchHeader: Record "Purchase Header"; var isHandled: Boolean)
Raised on Codeunit::“Purch.-Post” event ‘OnBeforePostLines’. Allows to avoid creation of Purchase Document with posting policy “No Ledger Entries” or add Purchase Lines.
Parameters / Return Value
PurchLine
Record "Purchase Line"
The Purchase Line.
PurchHeader
Record "Purchase Header"
The Purchase Header.
isHandled
Boolean
The Handled parameter.
OnBeforeProcessPurchInvoiceLines
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeProcessPurchInvoiceLines(PurchHeader: Record "Purchase Header"; var PurchInvHeader: Record "Purch. Inv. Header"; var PurchLine: Record "Purchase Line"; var isHandled: Boolean)
Raised after the creation of the Purchase Invoice Header from the PurchHeader, allows to create a custom Purchase Line processor.
Parameters / Return Value
PurchHeader
Record "Purchase Header"
The Purchase Header.
PurchInvHeader
Record "Purch. Inv. Header"
The Purchase Invoice Header.
PurchLine
Record "Purchase Line"
The Purchase Line.
isHandled
Boolean
The Handled parameter.
OnBeforeProcessPurchLineAsPurchInvLine
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeProcessPurchLineAsPurchInvLine(var PurchLine: Record "Purchase Line"; var isHandled: Boolean)
Raised before processing a single Purchase Lines as a Purchase Invoice Line.
Parameters / Return Value
PurchLine
Record "Purchase Line"
The Purchase Line.
isHandled
Boolean
The Handled parameter.
OnAfterInsertPurchInvLine
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterInsertPurchInvLine(PurchInvHeader: Record "Purch. Inv. Header"; var PurchInvLine: Record "Purch. Inv. Line"; PurchLine: Record "Purchase Line")
Raised after the insert of a Purchase Invoice Line based the Purchase Line.
Parameters / Return Value
PurchInvHeader
Record "Purch. Inv. Header"
The Purchase Invoice Header.
PurchInvLine
Record "Purch. Inv. Line"
The Purchase Invoice Line.
PurchLine
Record "Purchase Line"
The Purchase Line.
OnAfterProcessPurchInvoiceLines
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterProcessPurchInvoiceLines(var PurchInvHeader: Record "Purch. Inv. Header"; PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line")
Raised after the creation of all the Purchase Invoice Lines. The Purchase Invoice has been completely created.
Parameters / Return Value
PurchInvHeader
Record "Purch. Inv. Header"
The Purchase Invoice Header.
PurchHeader
Record "Purchase Header"
The source Purchase Header.
PurchLine
Record "Purchase Line"
The source Purchase Lines.
OnBeforeProcessPurchCrMemoLines
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeProcessPurchCrMemoLines(PurchHeader: Record "Purchase Header"; var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr."; var PurchLine: Record "Purchase Line"; var isHandled: Boolean)
Raised after the creation of the Purchase Cr. Memo Header from the PurchHeader, allows to create a custom Purchase Line processor.
Parameters / Return Value
PurchHeader
Record "Purchase Header"
The Purchase Header.
PurchCrMemoHeader
Record "Purch. Cr. Memo Hdr."
The Purchase Cr. Memo Header.
PurchLine
Record "Purchase Line"
The Purchase Line.
isHandled
Boolean
The Handled parameter.
OnBeforeProcessPurchLineAsPurchCrMemoLine
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeProcessPurchLineAsPurchCrMemoLine(var PurchLine: Record "Purchase Line"; var isHandled: Boolean)
Raised before processing a single Purchase Lines as a Purchase Cr. Memo Line.
Parameters / Return Value
PurchLine
Record "Purchase Line"
The Purchase Line.
isHandled
Boolean
The Handled parameter.
OnAfterInsertPurchCrMemoLine
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterInsertPurchCrMemoLine(PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr."; var PurchCrMemoLine: Record "Purch. Cr. Memo Line"; PurchLine: Record "Purchase Line")
Raised after the insert of a Purchase Cr. Memo Line based the Purchase Line.
Parameters / Return Value
PurchCrMemoHeader
Record "Purch. Cr. Memo Hdr."
The Purchase Invoice Header.
PurchCrMemoLine
Record "Purch. Cr. Memo Line"
The Purchase Invoice Line.
PurchLine
Record "Purchase Line"
The Purchase Line.
OnAfterProcessPurchCrMemoLines
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterProcessPurchCrMemoLines(var PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr."; PurchHeader: Record "Purchase Header"; PurchLine: Record "Purchase Line")
Raised after the creation of all the Purchase Cr. Memo Lines. The Purchase Cr. Memo has been completely created.
Parameters / Return Value
PurchCrMemoHeader
Record "Purch. Cr. Memo Hdr."
The Purchase Cr. Memo Header.
PurchHeader
Record "Purchase Header"
The source Purchase Header.
PurchLine
Record "Purchase Line"
The source Purchase Lines.
OnBeforeInsertPurchInvHeader
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeInsertPurchInvHeader(var PurchHeader: Record "Purchase Header"; var isHandled: Boolean)
Raised before processing the Purchase Header.
Parameters / Return Value
PurchHeader
Record "Purchase Header"
The Purchase Header.
isHandled
Boolean
The Handled parameter.
OnAfterInsertPurchInvHeader
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterInsertPurchInvHeader(PurchHeader: Record "Purchase Header"; var PurchInvHeader: Record "Purch. Inv. Header")
Raised after the creation of the Purchase Invoice Header.
Parameters / Return Value
PurchHeader
Record "Purchase Header"
The Purchase Header.
PurchInvHeader
Record "Purch. Inv. Header"
The Purchase Invoice Header.
OnBeforeInsertPurchCrMemoHeader
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeInsertPurchCrMemoHeader(var PurchHeader: Record "Purchase Header"; var isHandled: Boolean)
Raised before processing the Purchase Header.
Parameters / Return Value
PurchHeader
Record "Purchase Header"
The Purchase Header.
isHandled
Boolean
The Handled parameter.
OnAfterInsertPurchCrMemoHeader
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterInsertPurchCrMemoHeader(PurchHeader: Record "Purchase Header"; var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.")
Raised after the creation of the Purch. Cr. Memo.
Parameters / Return Value
PurchHeader
Record "Purchase Header"
The Purchase Header.
PurchCrMemoHdr
Record "Purch. Cr. Memo Hdr."
The Purchase Cr. Header.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.