KVSKBABaseDateTranslateLib#
Events#
OnBeforeOnSalesPostPrepaymentsOnBeforeSalesInvLineInsert(Record Sales Invoice Line, Record Sales Invoice Header, Record Prepayment Inv. Line Buffer, Boolean, Boolean) :#
Summary: Integration Event that is raised before translating base data in sales invoice lines during prepayment posting. Use this event to customize or skip the base data translation logic for sales invoice lines.
[IntegrationEvent(false, false)]
local procedure OnBeforeOnSalesPostPrepaymentsOnBeforeSalesInvLineInsert(var SalesInvLine: Record "Sales Invoice Line"; SalesInvHeader: Record "Sales Invoice Header"; PrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; CommitIsSuppressed: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBABaseDateTranslateLib", 'OnBeforeOnSalesPostPrepaymentsOnBeforeSalesInvLineInsert', '', false, false)]
local procedure DoSomethingOnBeforeOnSalesPostPrepaymentsOnBeforeSalesInvLineInsert(var SalesInvLine: Record "Sales Invoice Line"; SalesInvHeader: Record "Sales Invoice Header"; PrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; CommitIsSuppressed: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
SalesInvLine
: The Sales Invoice Line record being processed.SalesInvHeader
: The Sales Invoice Header record containing language information.PrepmtInvLineBuffer
: The Prepayment Invoice Line Buffer record with source data.CommitIsSuppressed
: Indicates whether database commits are suppressed during the operation.IsHandled
: Set to true to skip the default base data translation logic.
Remarks: This event is called before applying base data translations (description, description 2) for G/L Account and Resource types during sales prepayment posting. It allows external extensions to implement custom translation logic or completely bypass the default behavior.
OnBeforeOnSalesPostPrepaymentsOnBeforeSalesCrMemoLineInsert(Record Sales Cr.Memo Line, Record Sales Cr.Memo Header, Record Prepayment Inv. Line Buffer, Boolean, Boolean) :#
Summary: Integration Event that is raised before translating base data in sales credit memo lines during prepayment posting. Use this event to customize or skip the base data translation logic for sales credit memo lines.
[IntegrationEvent(false, false)]
local procedure OnBeforeOnSalesPostPrepaymentsOnBeforeSalesCrMemoLineInsert(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; PrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; CommitIsSuppressed: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBABaseDateTranslateLib", 'OnBeforeOnSalesPostPrepaymentsOnBeforeSalesCrMemoLineInsert', '', false, false)]
local procedure DoSomethingOnBeforeOnSalesPostPrepaymentsOnBeforeSalesCrMemoLineInsert(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"; PrepmtInvLineBuffer: Record "Prepayment Inv. Line Buffer"; CommitIsSuppressed: Boolean; var IsHandled: Boolean)
begin
end;
Parameters:
SalesCrMemoLine
: The Sales Credit Memo Line record being processed.SalesCrMemoHeader
: The Sales Credit Memo Header record containing language information.PrepmtInvLineBuffer
: The Prepayment Invoice Line Buffer record with source data.CommitIsSuppressed
: Indicates whether database commits are suppressed during the operation.IsHandled
: Set to true to skip the default base data translation logic.
Remarks: This event is called before applying base data translations (description, description 2) for G/L Account and Resource types during sales prepayment credit memo posting. It allows external extensions to implement custom translation logic or completely bypass the default behavior.