Codeunit 18090675 EOS041 Sales Events Handlers
Codeunit 18090675 EOS041 Sales Events Handlers
Events
OnBeforePostSalesDocumentLines
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforePostSalesDocumentLines(var SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"; var isHandled: Boolean)
Raised on Codeunit::“Sales.-Post” event ‘OnBeforePostLines’. Allows to avoid creation of Sales Document with posting policy “No Ledger Entries” or add Sales Lines.
Parameters / Return Value
SalesLine
Record "Sales Line"
The Sales Line.
SalesHeader
Record "Sales Header"
The Sales Header.
isHandled
Boolean
The Handled parameter.
OnBeforeProcessSalesInvoiceLines
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeProcessSalesInvoiceLines(SalesHeader: Record "Sales Header"; var SalesInvHeader: Record "Sales Invoice Header"; var SalesLine: Record "Sales Line"; var isHandled: Boolean)
Raised after the creation of the Sales Invoice Header from the SalesHeader, allows to create a custom Sales Line processor.
Parameters / Return Value
SalesHeader
Record "Sales Header"
The Sales Header.
SalesInvHeader
Record "Sales Invoice Header"
The Sales Invoice Header.
SalesLine
Record "Sales Line"
The Sales Line.
isHandled
Boolean
The Handled parameter.
OnBeforeProcessSalesLineAsSalesInvLine
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeProcessSalesLineAsSalesInvLine(var SalesLine: Record "Sales Line"; var isHandled: Boolean)
Raised before processing a single Sales Lines as a Sales Invoice Line.
Parameters / Return Value
SalesLine
Record "Sales Line"
The Sales Line.
isHandled
Boolean
The Handled parameter.
OnAfterInsertSalesInvLine
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterInsertSalesInvLine(SalesInvHeader: Record "Sales Invoice Header"; var SalesInvLine: Record "Sales Invoice Line"; SalesLine: Record "Sales Line")
Raised after the insert of a Sales Invoice Line based the Sales Line.
Parameters / Return Value
SalesInvHeader
Record "Sales Invoice Header"
The Sales Invoice Header.
SalesInvLine
Record "Sales Invoice Line"
The Sales Invoice Line.
SalesLine
Record "Sales Line"
The Sales Line.
OnAfterProcessSalesInvoiceLines
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterProcessSalesInvoiceLines(var SalesInvHeader: Record "Sales Invoice Header"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line")
Raised after the creation of all the Sales Invoice Lines. The Sales Invoice has been completely created.
Parameters / Return Value
SalesInvHeader
Record "Sales Invoice Header"
The Sales Invoice Header.
SalesHeader
Record "Sales Header"
The source Sales Header.
SalesLine
Record "Sales Line"
The source Sales Lines.
OnBeforeProcessSalesCrMemoLines
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeProcessSalesCrMemoLines(SalesHeader: Record "Sales Header"; var SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var SalesLine: Record "Sales Line"; var isHandled: Boolean)
Raised after the creation of the Sales Cr. Memo Header from the SalesHeader, allows to create a custom Sales Line processor.
Parameters / Return Value
SalesHeader
Record "Sales Header"
The Sales Header.
SalesCrMemoHeader
Record "Sales Cr.Memo Header"
The Sales Cr. Memo Header.
SalesLine
Record "Sales Line"
The Sales Line.
isHandled
Boolean
The Handled parameter.
OnBeforeProcessSalesLineAsSalesCrMemoLine
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeProcessSalesLineAsSalesCrMemoLine(var SalesLine: Record "Sales Line"; var isHandled: Boolean)
Raised before processing a single Sales Lines as a Sales Cr. Memo Line.
Parameters / Return Value
SalesLine
Record "Sales Line"
The Sales Line.
isHandled
Boolean
The Handled parameter.
OnAfterInsertSalesCrMemoLine
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterInsertSalesCrMemoLine(SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var SalesCrMemoLine: Record "Sales Cr.Memo Line"; SalesLine: Record "Sales Line")
Raised after the insert of a Sales Cr. Memo Line based the Sales Line.
Parameters / Return Value
SalesCrMemoHeader
Record "Sales Cr.Memo Header"
The Sales Invoice Header.
SalesCrMemoLine
Record "Sales Cr.Memo Line"
The Sales Invoice Line.
SalesLine
Record "Sales Line"
The Sales Line.
OnAfterProcessSalesCrMemoLines
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterProcessSalesCrMemoLines(var SalesCrMemoHeader: Record "Sales Cr.Memo Header"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line")
Raised after the creation of all the Sales Cr. Memo Lines. The Sales Cr. Memo has been completely created.
Parameters / Return Value
SalesCrMemoHeader
Record "Sales Cr.Memo Header"
The Sales Cr. Memo Header.
SalesHeader
Record "Sales Header"
The source Sales Header.
SalesLine
Record "Sales Line"
The source Sales Lines.
OnBeforeInsertSalesInvHeader
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeInsertSalesInvHeader(var SalesHeader: Record "Sales Header"; var isHandled: Boolean)
Raised before processing the Sales Header.
Parameters / Return Value
SalesHeader
Record "Sales Header"
The Sales Header.
isHandled
Boolean
The Handled parameter.
OnAfterInsertSalesInvHeader
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterInsertSalesInvHeader(SalesHeader: Record "Sales Header"; var SalesInvHeader: Record "Sales Invoice Header")
Raised after the creation of the Sales Invoice Header.
Parameters / Return Value
SalesHeader
Record "Sales Header"
The Sales Header.
SalesInvHeader
Record "Sales Invoice Header"
The Sales Invoice Header.
OnBeforeInsertSalesCrMemoHeader
Obsolete
Pending: No longer available. (22.0)local procedure OnBeforeInsertSalesCrMemoHeader(var SalesHeader: Record "Sales Header"; var isHandled: Boolean)
Raised before processing the Sales Header.
Parameters / Return Value
SalesHeader
Record "Sales Header"
The Sales Header.
isHandled
Boolean
The Handled parameter.
OnAfterInsertSalesCrMemoHeader
Obsolete
Pending: No longer available. (22.0)local procedure OnAfterInsertSalesCrMemoHeader(SalesHeader: Record "Sales Header"; var SalesCrMemoHdr: Record "Sales Cr.Memo Header")
Raised after the creation of the Sales. Cr. Memo.
Parameters / Return Value
SalesHeader
Record "Sales Header"
The Sales Header.
SalesCrMemoHdr
Record "Sales Cr.Memo Header"
The Sales 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.