Skip to content

KVSKBASalesLib#

Procedures#

CreatePurchOrderBySalesOrder(Record Sales Header, Option, Code[20], Code[20]) :#

procedure CreatePurchOrderBySalesOrder(SalesHeader: Record "Sales Header"; OrderType: Option; OrderNo: Code[20]; VendorNo: Code[20]): 

CreatePurchOrderBySalesOrder(Record Sales Header, Option, Code[20], Code[20], Boolean) :#

procedure CreatePurchOrderBySalesOrder(SalesHeader: Record "Sales Header"; OrderType: Option; OrderNo: Code[20]; VendorNo: Code[20]; ShowDocument: Boolean): 

CreatePurchOrderBySalesOrder(Record Sales Header, Option, Code[20], Code[20], Boolean, Boolean) :#

procedure CreatePurchOrderBySalesOrder(SalesHeader: Record "Sales Header"; OrderType: Option; OrderNo: Code[20]; VendorNo: Code[20]; ShowDocument: Boolean; MultipleVendors: Boolean): 

CalcNoOfDocuments(Record Customer, Boolean, Integer) :#

procedure CalcNoOfDocuments(var Customer: Record "Customer"; BillTo: Boolean; var NoOfDocs: Integer): 

CalcSalesHistoryDateFilter(Text) :#

procedure CalcSalesHistoryDateFilter(var DateFilterText: Text): 

CalcUnitPriceInSalesLine(Record Sales Line) :#

procedure CalcUnitPriceInSalesLine(var SalesLine: Record "Sales Line"): 

SetSkipErroratNumbering(Boolean) :#

procedure SetSkipErroratNumbering(NewSkipErroratNumbering: Boolean): 

SetSkipShowNumberingPage(Boolean) :#

procedure SetSkipShowNumberingPage(NewSkipShowNumberingPage: Boolean): 

ShowOrderFlowEntryInLines(Record Sales Line) :#

procedure ShowOrderFlowEntryInLines(SalesLine: Record "Sales Line"): 

UpdateOrderFlowEntryByRelease(Record Sales Header, Enum Sales Document Status) :#

procedure UpdateOrderFlowEntryByRelease(SalesHeader: Record "Sales Header"; OldStatus: Enum "Sales Document Status"): 

UpdateOrderFlowEntryByReopen(Record Sales Header) :#

procedure UpdateOrderFlowEntryByReopen(SalesHeader: Record "Sales Header"): 

UpdateOrderFlowEntryByDelete(Record Sales Header) :#

procedure UpdateOrderFlowEntryByDelete(SalesHeader: Record "Sales Header"): 

EvaluateSalesLine(Record Sales Header, Boolean) :#

procedure EvaluateSalesLine(SalesHeader: Record "Sales Header"; PosNumbering: Boolean): 

CalcSubTotals(Record Sales Line) :#

Summary: This function will calculate the subtotals in the sales line.

procedure CalcSubTotals(var SalesLine: Record "Sales Line"): 

Parameters:

  • SalesLine:

ResetSubTotalsTab37(Record Sales Line) :#

procedure ResetSubTotalsTab37(var SalesLine: Record "Sales Line"): 

AddBundleLinesForSalesInv(Record Sales Header, Integer, Integer) :#

procedure AddBundleLinesForSalesInv(SalesHeader: Record "Sales Header"; FromLineNo: Integer; ToLineNo: Integer): 

FindBundleReturnRcptLine(Record Return Receipt Line, Record Return Receipt Line) : Boolean#

procedure FindBundleReturnRcptLine(ReturnReceiptLine: Record "Return Receipt Line"; var BundleStartReturnReceiptLine: Record "Return Receipt Line"): Boolean

InsertBundleLines(Record Sales Line, Boolean, Boolean, Boolean, Text[100], Code[20]) :#

procedure InsertBundleLines(SalesLine: Record "Sales Line"; BeforeCurrLine: Boolean; CloseOldBundle: Boolean; OpenNewBundle: Boolean; DescriptionText: Text[100]; PosNo: Code[20]): 

DeleteAddedTablesTab36(Record Sales Header) :#

procedure DeleteAddedTablesTab36(SalesHeader: Record "Sales Header"): 

DeleteAddedTablesTab37(Record Sales Line) :#

procedure DeleteAddedTablesTab37(SalesLine: Record "Sales Line"): 

CopyAddedTablesCustToTab36(Record Sales Header) :#

procedure CopyAddedTablesCustToTab36(SalesHeader: Record "Sales Header"): 

CopyAddedTablesLineNoToTab37(Record Sales Line) :#

procedure CopyAddedTablesLineNoToTab37(SalesLine: Record "Sales Line"): 

CopyAddedTablesTab36ToTab36(Record Sales Header, Record Sales Header) :#

procedure CopyAddedTablesTab36ToTab36(FromSalesHeader: Record "Sales Header"; ToSalesHeader: Record "Sales Header"): 

CopyAddedTablesTab37ToTab37(Record Sales Line, Record Sales Line) :#

procedure CopyAddedTablesTab37ToTab37(FromSalesLine: Record "Sales Line"; ToSalesLine: Record "Sales Line"): 

CopyAddedTablesTab111ToTab37(Record Sales Shipment Line, Record Sales Line) :#

procedure CopyAddedTablesTab111ToTab37(FromSalesShipmentLine: Record "Sales Shipment Line"; ToSalesLine: Record "Sales Line"): 

CopyAddedTablesTab113ToTab37(Record Sales Invoice Line, Record Sales Line) :#

procedure CopyAddedTablesTab113ToTab37(FromSalesInvoiceLine: Record "Sales Invoice Line"; ToSalesLine: Record "Sales Line"): 

CopyAddedTablesTab115ToTab37(Record Sales Cr.Memo Line, Record Sales Line) :#

procedure CopyAddedTablesTab115ToTab37(FromSalesCrMemoLine: Record "Sales Cr.Memo Line"; ToSalesLine: Record "Sales Line"): 

CopyAddedTablesTab6661ToTab37(Record Return Receipt Line, Record Sales Line) :#

procedure CopyAddedTablesTab6661ToTab37(FromReturnReceiptLine: Record "Return Receipt Line"; ToSalesLinePar: Record "Sales Line"): 

CopyAddedTablesTab5107ToTab36(Record Sales Header Archive, Record Sales Header) :#

procedure CopyAddedTablesTab5107ToTab36(FromSalesHeaderArchive: Record "Sales Header Archive"; ToSalesHeader: Record "Sales Header"): 

CopyAddedTablesTab5108ToTab37(Record Sales Line Archive, Record Sales Line) :#

procedure CopyAddedTablesTab5108ToTab37(FromSalesLineArchive: Record "Sales Line Archive"; ToSalesLine: Record "Sales Line"): 

ShowSalesDocTextLines(Enum Sales Document Type, Code[20], Integer, Enum KVSKBATextPosition) :#

procedure ShowSalesDocTextLines(SalesDocumentType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer; TextPosition: Enum "KVSKBATextPosition"): 

DoShowSalesDocTextLines(Enum Sales Document Type, Code[20], Integer, Enum KVSKBATextPosition, Boolean) :#

procedure DoShowSalesDocTextLines(SalesDocumentType: Enum "Sales Document Type"; DocNoPar: Code[20]; DocLineNo: Integer; TextPosition: Enum "KVSKBATextPosition"; IsHandled: Boolean): 

CalcNoOfSalesDocTextLines(Enum Sales Document Type, Code[20], Integer, Enum KVSKBATextPosition) : Integer#

procedure CalcNoOfSalesDocTextLines(DocType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer; TextPosition: Enum "KVSKBATextPosition"): Integer

GetSpecialNote(Integer, Code[20]) : Text[50]#

Summary: Retrieves a special note for a customer, an item or resource

procedure GetSpecialNote(DatabaseInteger: Integer; No: Code[20]): Text[50]

Parameters:

  • DatabaseInteger: Source Table ID as Integer for searching
  • No: Source No. from Record for searching

Returns: Return value of type Text 50

ShowSpecialNote(Integer, Code[20]) :#

Summary: Shows a special note for a customer, an item or resource

procedure ShowSpecialNote(DatabaseInteger: Integer; No: Code[20]): 

Parameters:

  • DatabaseInteger: Source Table ID as Integer for searching
  • No: Source No. from Record for searching

CheckBlanketOrderLineToOrder(Record Sales Line) : Boolean#

procedure CheckBlanketOrderLineToOrder(SalesLine: Record "Sales Line"): Boolean

MessageExistQuoteBlankOrdTab37(Record Sales Line, Boolean, Boolean, Boolean, Boolean) :#

procedure MessageExistQuoteBlankOrdTab37(var SalesLine: Record "Sales Line"; CheckQuotes: Boolean; CheckBlankOrders: Boolean; var MessageQuotesShown: Boolean; var MessageBlankOrdersShown: Boolean): 

CheckTotalStructureInSalesLine(Record Sales Header, Boolean) :#

procedure CheckTotalStructureInSalesLine(SalesHeader: Record "Sales Header"; CheckTotaling: Boolean): 

RunCalcPosNoInSalesLines(Record Sales Header, Boolean) : Boolean#

procedure RunCalcPosNoInSalesLines(SalesHeader: Record "Sales Header"; Unconditionally: Boolean): Boolean

CheckPosNoNotEmptyInSalesLine(Record Sales Header) :#

procedure CheckPosNoNotEmptyInSalesLine(SalesHeader: Record "Sales Header"): 

TransferSalesLine2ItemJnLine(Record Sales Header, Record Sales Line, Record Item Journal Line) :#

procedure TransferSalesLine2ItemJnLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var ItemJournalLine: Record "Item Journal Line"): 

GlobalUndoSalesShptSalesLine2ItemJnl(Record Sales Shipment Line, Record Item Journal Line) :#

procedure GlobalUndoSalesShptSalesLine2ItemJnl(SalesShipmentLine: Record "Sales Shipment Line"; var ItemJournalLine: Record "Item Journal Line"): 

TestAdditionalTableRelationatT37(Record Sales Line) :#

procedure TestAdditionalTableRelationatT37(SalesLine: Record "Sales Line"): 

InsertSalesReleaseArchiveOnRelease(Record Sales Header) :#

procedure InsertSalesReleaseArchiveOnRelease(SalesHeader: Record "Sales Header"): 

ShowMinProfitListOfSalesHeader(Record Sales Header) :#

procedure ShowMinProfitListOfSalesHeader(SalesHeader: Record "Sales Header"): 

IsSalesLineTypeForTotalingCalculation(Enum Sales Line Type) : Boolean#

procedure IsSalesLineTypeForTotalingCalculation(SalesLineType: Enum "Sales Line Type"): Boolean

OnCheckErrorIsSalesLineTypeForTotalingCalculation(Enum Sales Line Type) : Boolean#

procedure OnCheckErrorIsSalesLineTypeForTotalingCalculation(SalesLineType: Enum "Sales Line Type"): Boolean

CalcServiceCharge(Record Sales Line) : Boolean#

Summary: Calculates the service charge for the sales line and makes sure, that the discounts are set to 0

procedure CalcServiceCharge(var SalesLine: Record "Sales Line"): Boolean

Parameters:

  • SalesLine: The sales line to update the service charge for

Returns: Boolean that indicates wether the service charge was calculated and the sales line was updated

Events#

OnAfterCopyPriceUnitFromSalesPriceToSalesLine(Record KVSKBASalesPrice, Record Sales Line) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('The price calculation needs a redesign due to the standard changes, possibly the function will not be available in the future.', '18.3')]
[IntegrationEvent(false, false)]
local procedure OnAfterCopyPriceUnitFromSalesPriceToSalesLine(KVSKBASalesPrice: Record "KVSKBASalesPrice"; var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterCopyPriceUnitFromSalesPriceToSalesLine', '', false, false)]
local procedure DoSomethingOnAfterCopyPriceUnitFromSalesPriceToSalesLine(KVSKBASalesPrice: Record "KVSKBASalesPrice"; var SalesLine: Record "Sales Line")
begin
end;

OnAfterCreatePurchaseOrderBySalesOrder(Record Sales Header, Record Purchase Header, Option, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCreatePurchaseOrderBySalesOrder(var SalesHeader: Record "Sales Header"; var PurchaseHeader: Record "Purchase Header"; OrderTypePar: Option; var ShowDocument: Boolean; MultipleVendors: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterCreatePurchaseOrderBySalesOrder', '', false, false)]
local procedure DoSomethingOnAfterCreatePurchaseOrderBySalesOrder(var SalesHeader: Record "Sales Header"; var PurchaseHeader: Record "Purchase Header"; OrderTypePar: Option; var ShowDocument: Boolean; MultipleVendors: Boolean)
begin
end;

OnAfterShowSalesDocTextLines(Enum Sales Document Type, Code[20], Integer, Enum KVSKBATextPosition) :#

[IntegrationEvent(false, false)]
local procedure OnAfterShowSalesDocTextLines(SalesDocumentType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer; KVSKBATextPosition: Enum "KVSKBATextPosition"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterShowSalesDocTextLines', '', false, false)]
local procedure DoSomethingOnAfterShowSalesDocTextLines(SalesDocumentType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer; KVSKBATextPosition: Enum "KVSKBATextPosition")
begin
end;

OnAfterTestAdditionalTableRelationatSalesLine(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTestAdditionalTableRelationatSalesLine(SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterTestAdditionalTableRelationatSalesLine', '', false, false)]
local procedure DoSomethingOnAfterTestAdditionalTableRelationatSalesLine(SalesLine: Record "Sales Line")
begin
end;

OnAfterTransferfieldBillToCustInTab36(Record Customer, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTransferfieldBillToCustInTab36(Customer: Record "Customer"; var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterTransferfieldBillToCustInTab36', '', false, false)]
local procedure DoSomethingOnAfterTransferfieldBillToCustInTab36(Customer: Record "Customer"; var SalesHeader: Record "Sales Header")
begin
end;

OnAfterTransferfieldHeaderInTab37(Record Sales Header, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTransferfieldHeaderInTab37(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterTransferfieldHeaderInTab37', '', false, false)]
local procedure DoSomethingOnAfterTransferfieldHeaderInTab37(SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line")
begin
end;

OnAfterTransferfieldSellToCustInTab36(Record Customer, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTransferfieldSellToCustInTab36(Customer: Record "Customer"; var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterTransferfieldSellToCustInTab36', '', false, false)]
local procedure DoSomethingOnAfterTransferfieldSellToCustInTab36(Customer: Record "Customer"; var SalesHeader: Record "Sales Header")
begin
end;

OnAfterTransferfieldItemInTabSalesLine(Record Item, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTransferfieldItemInTabSalesLine(Item: Record "Item"; var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterTransferfieldItemInTabSalesLine', '', false, false)]
local procedure DoSomethingOnAfterTransferfieldItemInTabSalesLine(Item: Record "Item"; var SalesLine: Record "Sales Line")
begin
end;

OnBeforeGetDefaultSalesOrderType(Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetDefaultSalesOrderType(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeGetDefaultSalesOrderType', '', false, false)]
local procedure DoSomethingOnBeforeGetDefaultSalesOrderType(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCheckPosNoNotEmptyInSalesLine(Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckPosNoNotEmptyInSalesLine(SalesHeaderPar: Record "Sales Header"; var HandledVar: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCheckPosNoNotEmptyInSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeCheckPosNoNotEmptyInSalesLine(SalesHeaderPar: Record "Sales Header"; var HandledVar: Boolean)
begin
end;

OnBeforeCalcUnitPriceInSalesPrice(Record KVSKBASalesPrice, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('The price calculation needs a redesign due to the standard changes, possibly the function will not be available in the future.', '18.3')]
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcUnitPriceInSalesPrice(var SalesPrice: Record "KVSKBASalesPrice"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCalcUnitPriceInSalesPrice', '', false, false)]
local procedure DoSomethingOnBeforeCalcUnitPriceInSalesPrice(var SalesPrice: Record "KVSKBASalesPrice"; var Handled: Boolean)
begin
end;

OnBeforeCalcUnitPricePUInSalesPrice(Record KVSKBASalesPrice, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('The price calculation needs a redesign due to the standard changes, possibly the function will not be available in the future.', '18.3')]
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcUnitPricePUInSalesPrice(var SalesPrice: Record "KVSKBASalesPrice"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCalcUnitPricePUInSalesPrice', '', false, false)]
local procedure DoSomethingOnBeforeCalcUnitPricePUInSalesPrice(var SalesPrice: Record "KVSKBASalesPrice"; var Handled: Boolean)
begin
end;

OnBeforeCalcPUInSalesPrice(Record KVSKBASalesPrice, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('The price calculation needs a redesign due to the standard changes, possibly the function will not be available in the future.', '18.3')]
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcPUInSalesPrice(var SalesPrice: Record "KVSKBASalesPrice"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCalcPUInSalesPrice', '', false, false)]
local procedure DoSomethingOnBeforeCalcPUInSalesPrice(var SalesPrice: Record "KVSKBASalesPrice"; var Handled: Boolean)
begin
end;

OnBeforeCalcNoInSalesLine(Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcNoInSalesLine(var SalesLine: Record "Sales Line"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCalcNoInSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeCalcNoInSalesLine(var SalesLine: Record "Sales Line"; var Handled: Boolean)
begin
end;

OnBeforeCheckPrintLineInTabSalesLine(Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckPrintLineInTabSalesLine(SalesLine: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCheckPrintLineInTabSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeCheckPrintLineInTabSalesLine(SalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnBeforeTypeAndNoAreStatedTab37(Record Sales Line, Boolean, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This event is no longer supported, please use event OnBeforeCheckTypeAndNoAreStatedOnSalesLine', '25.2')]
[IntegrationEvent(false, false)]
local procedure OnBeforeTypeAndNoAreStatedTab37(SalesLine: Record "Sales Line"; ReturnValue: Boolean; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeTypeAndNoAreStatedTab37', '', false, false)]
local procedure DoSomethingOnBeforeTypeAndNoAreStatedTab37(SalesLine: Record "Sales Line"; ReturnValue: Boolean; var Handled: Boolean)
begin
end;

OnCopyAddedTablesCustToTab36(Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesCustToTab36(SalesHeaderPar: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesCustToTab36', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesCustToTab36(SalesHeaderPar: Record "Sales Header")
begin
end;

OnCopyAddedTablesContToTab36(Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesContToTab36(SalesHeaderPar: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesContToTab36', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesContToTab36(SalesHeaderPar: Record "Sales Header")
begin
end;

OnCopyAddedTablesLineNoToTab37(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesLineNoToTab37(SalesLinePar: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesLineNoToTab37', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesLineNoToTab37(SalesLinePar: Record "Sales Line")
begin
end;

OnBeforeCopyAddedTablesTab36ToTab36(Record Sales Header, Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab36ToTab36(FromSalesHeaderPar: Record "Sales Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab36ToTab36', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab36ToTab36(FromSalesHeaderPar: Record "Sales Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab36ToTab110(Record Sales Header, Record Sales Shipment Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab36ToTab110(FromSalesHeaderPar: Record "Sales Header"; ToSalesShptheader: Record "Sales Shipment Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab36ToTab110', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab36ToTab110(FromSalesHeaderPar: Record "Sales Header"; ToSalesShptheader: Record "Sales Shipment Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab36ToTab112(Record Sales Header, Record Sales Invoice Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab36ToTab112(FromSalesHeaderPar: Record "Sales Header"; ToSalesInvHeader: Record "Sales Invoice Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab36ToTab112', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab36ToTab112(FromSalesHeaderPar: Record "Sales Header"; ToSalesInvHeader: Record "Sales Invoice Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab36ToTab114(Record Sales Header, Record Sales Cr.Memo Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab36ToTab114(FromSalesHeaderPar: Record "Sales Header"; ToSalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab36ToTab114', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab36ToTab114(FromSalesHeaderPar: Record "Sales Header"; ToSalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab36ToTab6660(Record Sales Header, Record Return Receipt Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab36ToTab6660(FromSalesHeaderPar: Record "Sales Header"; ToReturnRcptHeader: Record "Return Receipt Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab36ToTab6660', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab36ToTab6660(FromSalesHeaderPar: Record "Sales Header"; ToReturnRcptHeader: Record "Return Receipt Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab36ToTab5107(Record Sales Header, Record Sales Header Archive, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab36ToTab5107(FromSalesHeaderPar: Record "Sales Header"; ToSalesHeaderArchPar: Record "Sales Header Archive"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab36ToTab5107', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab36ToTab5107(FromSalesHeaderPar: Record "Sales Header"; ToSalesHeaderArchPar: Record "Sales Header Archive"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab37ToTab37(Record Sales Line, Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab37ToTab37(FromSalesLinePar: Record "Sales Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab37ToTab37', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab37ToTab37(FromSalesLinePar: Record "Sales Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab37ToTab111(Record Sales Line, Record Sales Shipment Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab37ToTab111(FromSalesLinePar: Record "Sales Line"; ToSalesShptLinePar: Record "Sales Shipment Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab37ToTab111', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab37ToTab111(FromSalesLinePar: Record "Sales Line"; ToSalesShptLinePar: Record "Sales Shipment Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab37ToTab113(Record Sales Line, Record Sales Invoice Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab37ToTab113(FromSalesLinePar: Record "Sales Line"; ToSalesInvLinePar: Record "Sales Invoice Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab37ToTab113', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab37ToTab113(FromSalesLinePar: Record "Sales Line"; ToSalesInvLinePar: Record "Sales Invoice Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab37ToTab115(Record Sales Line, Record Sales Cr.Memo Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab37ToTab115(FromSalesLinePar: Record "Sales Line"; ToSalesCrMemoLinePar: Record "Sales Cr.Memo Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab37ToTab115', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab37ToTab115(FromSalesLinePar: Record "Sales Line"; ToSalesCrMemoLinePar: Record "Sales Cr.Memo Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab37ToTab6661(Record Sales Line, Record Return Receipt Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab37ToTab6661(FromSalesLinePar: Record "Sales Line"; ToReturnReceiptLinePar: Record "Return Receipt Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab37ToTab6661', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab37ToTab6661(FromSalesLinePar: Record "Sales Line"; ToReturnReceiptLinePar: Record "Return Receipt Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab37ToTab5108(Record Sales Line, Record Sales Line Archive, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab37ToTab5108(FromSalesLinePar: Record "Sales Line"; ToSalesLineArchPar: Record "Sales Line Archive"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab37ToTab5108', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab37ToTab5108(FromSalesLinePar: Record "Sales Line"; ToSalesLineArchPar: Record "Sales Line Archive"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab110ToTab36(Record Sales Shipment Header, Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab110ToTab36(FromSalesShipmentHeaderPar: Record "Sales Shipment Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab110ToTab36', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab110ToTab36(FromSalesShipmentHeaderPar: Record "Sales Shipment Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab111ToTab37(Record Sales Shipment Line, Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab111ToTab37(FromSalesShptLinePar: Record "Sales Shipment Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab111ToTab37', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab111ToTab37(FromSalesShptLinePar: Record "Sales Shipment Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab112ToTab36(Record Sales Invoice Header, Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab112ToTab36(FromSalesInvoiceHeaderPar: Record "Sales Invoice Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab112ToTab36', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab112ToTab36(FromSalesInvoiceHeaderPar: Record "Sales Invoice Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab113ToTab37(Record Sales Invoice Line, Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab113ToTab37(FromSalesInvLinePar: Record "Sales Invoice Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab113ToTab37', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab113ToTab37(FromSalesInvLinePar: Record "Sales Invoice Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab114ToTab36(Record Sales Cr.Memo Header, Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab114ToTab36(FromSalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab114ToTab36', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab114ToTab36(FromSalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab115ToTab37(Record Sales Cr.Memo Line, Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab115ToTab37(FromSalesCrMemoLinePar: Record "Sales Cr.Memo Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab115ToTab37', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab115ToTab37(FromSalesCrMemoLinePar: Record "Sales Cr.Memo Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab6660ToTab36(Record Return Receipt Header, Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab6660ToTab36(FromReturnRcptHeaderPar: Record "Return Receipt Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab6660ToTab36', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab6660ToTab36(FromReturnRcptHeaderPar: Record "Return Receipt Header"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab6661ToTab37(Record Return Receipt Line, Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab6661ToTab37(FromReturnRcptLinePar: Record "Return Receipt Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab6661ToTab37', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab6661ToTab37(FromReturnRcptLinePar: Record "Return Receipt Line"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab5107ToTab36(Record Sales Header Archive, Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab5107ToTab36(FromSalesHeaderArchivePar: Record "Sales Header Archive"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab5107ToTab36', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab5107ToTab36(FromSalesHeaderArchivePar: Record "Sales Header Archive"; ToSalesHeaderPar: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeCopyAddedTablesTab5108ToTab37(Record Sales Line Archive, Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesTab5108ToTab37(FromSalesLineArchivePar: Record "Sales Line Archive"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCopyAddedTablesTab5108ToTab37', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesTab5108ToTab37(FromSalesLineArchivePar: Record "Sales Line Archive"; ToSalesLinePar: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnCopyAddedTablesTab36ToTab36(Record Sales Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab36ToTab36(FromSalesHeaderPar: Record "Sales Header"; ToSalesHeaderPar: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab36ToTab36', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab36ToTab36(FromSalesHeaderPar: Record "Sales Header"; ToSalesHeaderPar: Record "Sales Header")
begin
end;

OnCopyAddedTablesTab36ToTab110(Record Sales Header, Record Sales Shipment Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab36ToTab110(FromSalesHeaderPar: Record "Sales Header"; ToSalesShptheader: Record "Sales Shipment Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab36ToTab110', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab36ToTab110(FromSalesHeaderPar: Record "Sales Header"; ToSalesShptheader: Record "Sales Shipment Header")
begin
end;

OnCopyAddedTablesTab36ToTab112(Record Sales Header, Record Sales Invoice Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab36ToTab112(FromSalesHeaderPar: Record "Sales Header"; ToSalesInvHeader: Record "Sales Invoice Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab36ToTab112', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab36ToTab112(FromSalesHeaderPar: Record "Sales Header"; ToSalesInvHeader: Record "Sales Invoice Header")
begin
end;

OnCopyAddedTablesTab36ToTab114(Record Sales Header, Record Sales Cr.Memo Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab36ToTab114(FromSalesHeaderPar: Record "Sales Header"; ToSalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab36ToTab114', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab36ToTab114(FromSalesHeaderPar: Record "Sales Header"; ToSalesCrMemoHeaderPar: Record "Sales Cr.Memo Header")
begin
end;

OnCopyAddedTablesTab36ToTab6660(Record Sales Header, Record Return Receipt Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab36ToTab6660(FromSalesHeaderPar: Record "Sales Header"; ToReturnRcptHeader: Record "Return Receipt Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab36ToTab6660', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab36ToTab6660(FromSalesHeaderPar: Record "Sales Header"; ToReturnRcptHeader: Record "Return Receipt Header")
begin
end;

OnCopyAddedTablesTab36ToTab5107(Record Sales Header, Record Sales Header Archive) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab36ToTab5107(FromSalesHeaderPar: Record "Sales Header"; ToSalesHeaderArchPar: Record "Sales Header Archive"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab36ToTab5107', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab36ToTab5107(FromSalesHeaderPar: Record "Sales Header"; ToSalesHeaderArchPar: Record "Sales Header Archive")
begin
end;

OnCopyAddedTablesTab37ToTab37(Record Sales Line, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab37ToTab37(FromSalesLinePar: Record "Sales Line"; ToSalesLinePar: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab37ToTab37', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab37ToTab37(FromSalesLinePar: Record "Sales Line"; ToSalesLinePar: Record "Sales Line")
begin
end;

OnCopyAddedTablesTab37ToTab111(Record Sales Line, Record Sales Shipment Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab37ToTab111(FromSalesLinePar: Record "Sales Line"; ToSalesShptLinePar: Record "Sales Shipment Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab37ToTab111', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab37ToTab111(FromSalesLinePar: Record "Sales Line"; ToSalesShptLinePar: Record "Sales Shipment Line")
begin
end;

OnCopyAddedTablesTab37ToTab113(Record Sales Line, Record Sales Invoice Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab37ToTab113(FromSalesLinePar: Record "Sales Line"; ToSalesInvLinePar: Record "Sales Invoice Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab37ToTab113', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab37ToTab113(FromSalesLinePar: Record "Sales Line"; ToSalesInvLinePar: Record "Sales Invoice Line")
begin
end;

OnCopyAddedTablesTab37ToTab115(Record Sales Line, Record Sales Cr.Memo Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab37ToTab115(FromSalesLinePar: Record "Sales Line"; ToSalesCrMemoLinePar: Record "Sales Cr.Memo Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab37ToTab115', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab37ToTab115(FromSalesLinePar: Record "Sales Line"; ToSalesCrMemoLinePar: Record "Sales Cr.Memo Line")
begin
end;

OnCopyAddedTablesTab37ToTab6661(Record Sales Line, Record Return Receipt Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab37ToTab6661(FromSalesLinePar: Record "Sales Line"; ToReturnReceiptLinePar: Record "Return Receipt Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab37ToTab6661', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab37ToTab6661(FromSalesLinePar: Record "Sales Line"; ToReturnReceiptLinePar: Record "Return Receipt Line")
begin
end;

OnCopyAddedTablesTab37ToTab5108(Record Sales Line, Record Sales Line Archive) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab37ToTab5108(FromSalesLinePar: Record "Sales Line"; ToSalesLineArchPar: Record "Sales Line Archive"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab37ToTab5108', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab37ToTab5108(FromSalesLinePar: Record "Sales Line"; ToSalesLineArchPar: Record "Sales Line Archive")
begin
end;

OnCopyAddedTablesTab110ToTab36(Record Sales Shipment Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab110ToTab36(FromSalesShipmentHeaderPar: Record "Sales Shipment Header"; ToSalesHeaderPar: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab110ToTab36', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab110ToTab36(FromSalesShipmentHeaderPar: Record "Sales Shipment Header"; ToSalesHeaderPar: Record "Sales Header")
begin
end;

OnCopyAddedTablesTab111ToTab37(Record Sales Shipment Line, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab111ToTab37(FromSalesShptLinePar: Record "Sales Shipment Line"; ToSalesLinePar: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab111ToTab37', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab111ToTab37(FromSalesShptLinePar: Record "Sales Shipment Line"; ToSalesLinePar: Record "Sales Line")
begin
end;

OnCopyAddedTablesTab112ToTab36(Record Sales Invoice Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab112ToTab36(FromSalesInvoiceHeaderPar: Record "Sales Invoice Header"; ToSalesHeaderPar: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab112ToTab36', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab112ToTab36(FromSalesInvoiceHeaderPar: Record "Sales Invoice Header"; ToSalesHeaderPar: Record "Sales Header")
begin
end;

OnCopyAddedTablesTab113ToTab37(Record Sales Invoice Line, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab113ToTab37(FromSalesInvLinePar: Record "Sales Invoice Line"; ToSalesLinePar: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab113ToTab37', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab113ToTab37(FromSalesInvLinePar: Record "Sales Invoice Line"; ToSalesLinePar: Record "Sales Line")
begin
end;

OnCopyAddedTablesTab114ToTab36(Record Sales Cr.Memo Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab114ToTab36(FromSalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; ToSalesHeaderPar: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab114ToTab36', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab114ToTab36(FromSalesCrMemoHeaderPar: Record "Sales Cr.Memo Header"; ToSalesHeaderPar: Record "Sales Header")
begin
end;

OnCopyAddedTablesTab115ToTab37(Record Sales Cr.Memo Line, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab115ToTab37(FromSalesCrMemoLinePar: Record "Sales Cr.Memo Line"; ToSalesLinePar: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab115ToTab37', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab115ToTab37(FromSalesCrMemoLinePar: Record "Sales Cr.Memo Line"; ToSalesLinePar: Record "Sales Line")
begin
end;

OnCopyAddedTablesTab6660ToTab36(Record Return Receipt Header, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab6660ToTab36(FromReturnRcptHeaderPar: Record "Return Receipt Header"; ToSalesHeaderPar: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab6660ToTab36', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab6660ToTab36(FromReturnRcptHeaderPar: Record "Return Receipt Header"; ToSalesHeaderPar: Record "Sales Header")
begin
end;

OnCopyAddedTablesTab6661ToTab37(Record Return Receipt Line, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab6661ToTab37(FromReturnRcptLinePar: Record "Return Receipt Line"; ToSalesLinePar: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab6661ToTab37', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab6661ToTab37(FromReturnRcptLinePar: Record "Return Receipt Line"; ToSalesLinePar: Record "Sales Line")
begin
end;

OnCopyAddedTablesTab5107ToTab36(Record Sales Header Archive, Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab5107ToTab36(FromSalesHeaderArchivePar: Record "Sales Header Archive"; ToSalesHeaderPar: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab5107ToTab36', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab5107ToTab36(FromSalesHeaderArchivePar: Record "Sales Header Archive"; ToSalesHeaderPar: Record "Sales Header")
begin
end;

OnCopyAddedTablesTab5108ToTab37(Record Sales Line Archive, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnCopyAddedTablesTab5108ToTab37(FromSalesLineArchivePar: Record "Sales Line Archive"; ToSalesLinePar: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCopyAddedTablesTab5108ToTab37', '', false, false)]
local procedure DoSomethingOnCopyAddedTablesTab5108ToTab37(FromSalesLineArchivePar: Record "Sales Line Archive"; ToSalesLinePar: Record "Sales Line")
begin
end;

OnDeleteAddedTablesTab36(Record Sales Header) :#

[IntegrationEvent(false, false)]
local procedure OnDeleteAddedTablesTab36(SalesHeaderPar: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnDeleteAddedTablesTab36', '', false, false)]
local procedure DoSomethingOnDeleteAddedTablesTab36(SalesHeaderPar: Record "Sales Header")
begin
end;

OnDeleteAddedTablesTab37(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnDeleteAddedTablesTab37(SalesLinePar: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnDeleteAddedTablesTab37', '', false, false)]
local procedure DoSomethingOnDeleteAddedTablesTab37(SalesLinePar: Record "Sales Line")
begin
end;

OnEvaluateSalesLineOnAfterSalesLineModify(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnEvaluateSalesLineOnAfterSalesLineModify(var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnEvaluateSalesLineOnAfterSalesLineModify', '', false, false)]
local procedure DoSomethingOnEvaluateSalesLineOnAfterSalesLineModify(var SalesLine: Record "Sales Line")
begin
end;

OnEvaluateSalesLineOnBeforeSalesLineModify(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnEvaluateSalesLineOnBeforeSalesLineModify(var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnEvaluateSalesLineOnBeforeSalesLineModify', '', false, false)]
local procedure DoSomethingOnEvaluateSalesLineOnBeforeSalesLineModify(var SalesLine: Record "Sales Line")
begin
end;

OnTransferfieldsCrMemoLineInCU80(Record Sales Cr.Memo Line, Record Sales Header, Record Sales Line, Record Sales Cr.Memo Header) :#

[IntegrationEvent(false, false)]
local procedure OnTransferfieldsCrMemoLineInCU80(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; SalesCrMemoHeader: Record "Sales Cr.Memo Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnTransferfieldsCrMemoLineInCU80', '', false, false)]
local procedure DoSomethingOnTransferfieldsCrMemoLineInCU80(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; SalesCrMemoHeader: Record "Sales Cr.Memo Header")
begin
end;

OnBeforeSetSalespersonCode(Code[20], Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetSalespersonCode(SalesPersonCodeToCheck: Code[20]; var SalesPersonCodeToAssign: Code[20]; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeSetSalespersonCode', '', false, false)]
local procedure DoSomethingOnBeforeSetSalespersonCode(SalesPersonCodeToCheck: Code[20]; var SalesPersonCodeToAssign: Code[20]; var Handled: Boolean)
begin
end;

OnBeforeTestValidateSalesPerson(Code[20], Boolean, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeTestValidateSalesPerson(SalesPersonCode: Code[20]; IsTransaction: Boolean; IsPostAction: Boolean; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeTestValidateSalesPerson', '', false, false)]
local procedure DoSomethingOnBeforeTestValidateSalesPerson(SalesPersonCode: Code[20]; IsTransaction: Boolean; IsPostAction: Boolean; var Handled: Boolean)
begin
end;

OnBeforeCalcUnitPriceInSalesLine(Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcUnitPriceInSalesLine(var SalesLine: Record "Sales Line"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCalcUnitPriceInSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeCalcUnitPriceInSalesLine(var SalesLine: Record "Sales Line"; var Handled: Boolean)
begin
end;

OnBeforeCalcPUInSalesLine(Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcPUInSalesLine(var SalesLine: Record "Sales Line"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCalcPUInSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeCalcPUInSalesLine(var SalesLine: Record "Sales Line"; var Handled: Boolean)
begin
end;

OnBeforeCreatePurchaseOrderBySalesOrder(Record Sales Header, Option, Code[20], Code[20], Boolean, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreatePurchaseOrderBySalesOrder(var SalesHeaderPar: Record "Sales Header"; OrderTypePar: Option; OrderNoPar: Code[20]; VendorNoPar: Code[20]; ShowDocument: Boolean; MultipleVendors: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCreatePurchaseOrderBySalesOrder', '', false, false)]
local procedure DoSomethingOnBeforeCreatePurchaseOrderBySalesOrder(var SalesHeaderPar: Record "Sales Header"; OrderTypePar: Option; OrderNoPar: Code[20]; VendorNoPar: Code[20]; ShowDocument: Boolean; MultipleVendors: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeTransferSalesLine2ItemJnLine(Record Sales Header, Record Sales Line, Record Item Journal Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeTransferSalesLine2ItemJnLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var ItemJnlLine: Record "Item Journal Line"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeTransferSalesLine2ItemJnLine', '', false, false)]
local procedure DoSomethingOnBeforeTransferSalesLine2ItemJnLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var ItemJnlLine: Record "Item Journal Line"; var Handled: Boolean)
begin
end;

OnAfterTransferSalesLine2ItemJnLine(Record Sales Header, Record Sales Line, Record Item Journal Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTransferSalesLine2ItemJnLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var ItemJnlLine: Record "Item Journal Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterTransferSalesLine2ItemJnLine', '', false, false)]
local procedure DoSomethingOnAfterTransferSalesLine2ItemJnLine(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; var ItemJnlLine: Record "Item Journal Line")
begin
end;

OnBeforeCheckNullPositionInSalesLine(Record Sales Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckNullPositionInSalesLine(SalesLine: Record "Sales Line"; CheckNullPositionNo: Boolean; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCheckNullPositionInSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeCheckNullPositionInSalesLine(SalesLine: Record "Sales Line"; CheckNullPositionNo: Boolean; var Handled: Boolean)
begin
end;

OnBeforeEvaluateSalesLine(Record Sales Header, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeEvaluateSalesLine(SalesHeader: Record "Sales Header"; PosNumbering: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeEvaluateSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeEvaluateSalesLine(SalesHeader: Record "Sales Header"; PosNumbering: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeRunCalcPosNoInSalesLines(Record Sales Header, Boolean, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeRunCalcPosNoInSalesLines(SalesHeader: Record "Sales Header"; Unconditionally: Boolean; var ReturnValue: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeRunCalcPosNoInSalesLines', '', false, false)]
local procedure DoSomethingOnBeforeRunCalcPosNoInSalesLines(SalesHeader: Record "Sales Header"; Unconditionally: Boolean; var ReturnValue: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeShowSalesDocTextLines(Enum Sales Document Type, Code[20], Integer, Enum KVSKBATextPosition, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeShowSalesDocTextLines(SalesDocumentType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeShowSalesDocTextLines', '', false, false)]
local procedure DoSomethingOnBeforeShowSalesDocTextLines(SalesDocumentType: Enum "Sales Document Type"; DocNo: Code[20]; DocLineNo: Integer; KVSKBATextPosition: Enum "KVSKBATextPosition"; var IsHandled: Boolean)
begin
end;

OnCalcSubTotalsTab37OnBeforeReCalcPrepmtAmounts(Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCalcSubTotalsTab37OnBeforeReCalcPrepmtAmounts(var RecalcPrepmtAmounts: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCalcSubTotalsTab37OnBeforeReCalcPrepmtAmounts', '', false, false)]
local procedure DoSomethingOnCalcSubTotalsTab37OnBeforeReCalcPrepmtAmounts(var RecalcPrepmtAmounts: Boolean)
begin
end;

OnCheckQuoteHeaderToOrderOnBeforeConfirmWithResult(Record Sales Header, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCheckQuoteHeaderToOrderOnBeforeConfirmWithResult(SalesHeader: Record "Sales Header"; var HideConfirm: Boolean; var Result: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCheckQuoteHeaderToOrderOnBeforeConfirmWithResult', '', false, false)]
local procedure DoSomethingOnCheckQuoteHeaderToOrderOnBeforeConfirmWithResult(SalesHeader: Record "Sales Header"; var HideConfirm: Boolean; var Result: Boolean)
begin
end;

OnGetSpecialNoteSetCommentLineFilter(Record Comment Line) :#

[IntegrationEvent(false, false)]
local procedure OnGetSpecialNoteSetCommentLineFilter(var CommentLine: Record "Comment Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnGetSpecialNoteSetCommentLineFilter', '', false, false)]
local procedure DoSomethingOnGetSpecialNoteSetCommentLineFilter(var CommentLine: Record "Comment Line")
begin
end;

OnInsertBundleLinesCloseOldBundleOnAfterSalesLineInsert(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnInsertBundleLinesCloseOldBundleOnAfterSalesLineInsert(var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnInsertBundleLinesCloseOldBundleOnAfterSalesLineInsert', '', false, false)]
local procedure DoSomethingOnInsertBundleLinesCloseOldBundleOnAfterSalesLineInsert(var SalesLine: Record "Sales Line")
begin
end;

OnInsertBundleLinesCloseOldBundleOnBeforeSalesLineInsert(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnInsertBundleLinesCloseOldBundleOnBeforeSalesLineInsert(var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnInsertBundleLinesCloseOldBundleOnBeforeSalesLineInsert', '', false, false)]
local procedure DoSomethingOnInsertBundleLinesCloseOldBundleOnBeforeSalesLineInsert(var SalesLine: Record "Sales Line")
begin
end;

OnInsertBundleLinesOpenNewBundleOnAfterSalesLineInsert(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnInsertBundleLinesOpenNewBundleOnAfterSalesLineInsert(var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnInsertBundleLinesOpenNewBundleOnAfterSalesLineInsert', '', false, false)]
local procedure DoSomethingOnInsertBundleLinesOpenNewBundleOnAfterSalesLineInsert(var SalesLine: Record "Sales Line")
begin
end;

OnInsertBundleLinesOpenNewBundleOnBeforeSalesLineInsert(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnInsertBundleLinesOpenNewBundleOnBeforeSalesLineInsert(var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnInsertBundleLinesOpenNewBundleOnBeforeSalesLineInsert', '', false, false)]
local procedure DoSomethingOnInsertBundleLinesOpenNewBundleOnBeforeSalesLineInsert(var SalesLine: Record "Sales Line")
begin
end;

OnBeforeTestAdditionalTableRelationatT37(Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeTestAdditionalTableRelationatT37(var SalesLine: Record "Sales Line"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeTestAdditionalTableRelationatT37', '', false, false)]
local procedure DoSomethingOnBeforeTestAdditionalTableRelationatT37(var SalesLine: Record "Sales Line"; var Handled: Boolean)
begin
end;

OnMessageExistBlankOrderOnSetFilter(Record Sales Line, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnMessageExistBlankOrderOnSetFilter(var BlanketOrderSalesLine: Record "Sales Line"; SourceSalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnMessageExistBlankOrderOnSetFilter', '', false, false)]
local procedure DoSomethingOnMessageExistBlankOrderOnSetFilter(var BlanketOrderSalesLine: Record "Sales Line"; SourceSalesLine: Record "Sales Line")
begin
end;

OnMessageExistQuoteOnSetFilter(Record Sales Line, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnMessageExistQuoteOnSetFilter(var QuoteSalesLine: Record "Sales Line"; SourceSalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnMessageExistQuoteOnSetFilter', '', false, false)]
local procedure DoSomethingOnMessageExistQuoteOnSetFilter(var QuoteSalesLine: Record "Sales Line"; SourceSalesLine: Record "Sales Line")
begin
end;

OnCreateNotificationQuoteBlanketOrdExistOnBeforeCreateMessage(Notification, Record Sales Line, Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnCreateNotificationQuoteBlanketOrdExistOnBeforeCreateMessage(var ShownNotification: Notification; SalesLine: Record "Sales Line"; SourceSalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCreateNotificationQuoteBlanketOrdExistOnBeforeCreateMessage', '', false, false)]
local procedure DoSomethingOnCreateNotificationQuoteBlanketOrdExistOnBeforeCreateMessage(var ShownNotification: Notification; SalesLine: Record "Sales Line"; SourceSalesLine: Record "Sales Line")
begin
end;

OnCreateNotificationQuoteBlanketOrderExistOnAfterSetFilterSalesLine(Record Sales Line, Notification) :#

[IntegrationEvent(false, false)]
local procedure OnCreateNotificationQuoteBlanketOrderExistOnAfterSetFilterSalesLine(var SalesLine: Record "Sales Line"; var ShownNotification: Notification): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCreateNotificationQuoteBlanketOrderExistOnAfterSetFilterSalesLine', '', false, false)]
local procedure DoSomethingOnCreateNotificationQuoteBlanketOrderExistOnAfterSetFilterSalesLine(var SalesLine: Record "Sales Line"; var ShownNotification: Notification)
begin
end;

OnSetSalesLinePriceOriginFromSalesPriceOnBeforeSalesPriceTypeCaseElse(Record Sales Line, Record KVSKBASalesPrice, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('The price calculation needs a redesign due to the standard changes, possibly the function will not be available in the future.', '18.3')]
[IntegrationEvent(false, false)]
local procedure OnSetSalesLinePriceOriginFromSalesPriceOnBeforeSalesPriceTypeCaseElse(var SalesLine: Record "Sales Line"; SalesPrice: Record "KVSKBASalesPrice"; var Ishandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnSetSalesLinePriceOriginFromSalesPriceOnBeforeSalesPriceTypeCaseElse', '', false, false)]
local procedure DoSomethingOnSetSalesLinePriceOriginFromSalesPriceOnBeforeSalesPriceTypeCaseElse(var SalesLine: Record "Sales Line"; SalesPrice: Record "KVSKBASalesPrice"; var Ishandled: Boolean)
begin
end;

OnAfterCheckPosNoInSalesLine(Record Sales Header, Option) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCheckPosNoInSalesLine(SalesHeader: Record "Sales Header"; var Result: Option): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterCheckPosNoInSalesLine', '', false, false)]
local procedure DoSomethingOnAfterCheckPosNoInSalesLine(SalesHeader: Record "Sales Header"; var Result: Option)
begin
end;

OnSalesHeaderOnValidateSalesOrderTypeOnBeforeCreateDim(Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnSalesHeaderOnValidateSalesOrderTypeOnBeforeCreateDim(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnSalesHeaderOnValidateSalesOrderTypeOnBeforeCreateDim', '', false, false)]
local procedure DoSomethingOnSalesHeaderOnValidateSalesOrderTypeOnBeforeCreateDim(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnEvaluateSalesLineOnBeforeHandleEndSubTotal(Record Sales Header, Record Sales Line, Integer, Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnEvaluateSalesLineOnBeforeHandleEndSubTotal(SalesHeader: Record "Sales Header"; var Salesline: Record "Sales Line"; LineNoArray: Integer; var Indentation: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnEvaluateSalesLineOnBeforeHandleEndSubTotal', '', false, false)]
local procedure DoSomethingOnEvaluateSalesLineOnBeforeHandleEndSubTotal(SalesHeader: Record "Sales Header"; var Salesline: Record "Sales Line"; LineNoArray: Integer; var Indentation: Integer; var IsHandled: Boolean)
begin
end;

OnEvaluateSalesLineOnCaseStructureOnBeforeValidatePosition(Record Sales Line, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnEvaluateSalesLineOnCaseStructureOnBeforeValidatePosition(var Salesline: Record "Sales Line"; var PositionStructure: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnEvaluateSalesLineOnCaseStructureOnBeforeValidatePosition', '', false, false)]
local procedure DoSomethingOnEvaluateSalesLineOnCaseStructureOnBeforeValidatePosition(var Salesline: Record "Sales Line"; var PositionStructure: Code[20]; var IsHandled: Boolean)
begin
end;

OnEvaluateSalesLineOnCaseStructureOnBeforeIncreaseTitleArray(Record Sales Line, Integer, Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnEvaluateSalesLineOnCaseStructureOnBeforeIncreaseTitleArray(var SalesLine: Record "Sales Line"; var TitleArray: Integer; var i: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnEvaluateSalesLineOnCaseStructureOnBeforeIncreaseTitleArray', '', false, false)]
local procedure DoSomethingOnEvaluateSalesLineOnCaseStructureOnBeforeIncreaseTitleArray(var SalesLine: Record "Sales Line"; var TitleArray: Integer; var i: Integer; var IsHandled: Boolean)
begin
end;

OnBeforeIsSalesLineTypeForTotalingCalculation(Enum Sales Line Type, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeIsSalesLineTypeForTotalingCalculation(SalesLineType: Enum "Sales Line Type"; var IsEndType: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeIsSalesLineTypeForTotalingCalculation', '', false, false)]
local procedure DoSomethingOnBeforeIsSalesLineTypeForTotalingCalculation(SalesLineType: Enum "Sales Line Type"; var IsEndType: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeOnCheckErrorIsSalesLineTypeForTotalingCalculation(Enum Sales Line Type, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeOnCheckErrorIsSalesLineTypeForTotalingCalculation(SalesLineType: Enum "Sales Line Type"; var IsEndType: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeOnCheckErrorIsSalesLineTypeForTotalingCalculation', '', false, false)]
local procedure DoSomethingOnBeforeOnCheckErrorIsSalesLineTypeForTotalingCalculation(SalesLineType: Enum "Sales Line Type"; var IsEndType: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeIsSalesLineTypeForEndBundle(Enum Sales Line Type, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeIsSalesLineTypeForEndBundle(SalesLineType: Enum "Sales Line Type"; var IsBundleType: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeIsSalesLineTypeForEndBundle', '', false, false)]
local procedure DoSomethingOnBeforeIsSalesLineTypeForEndBundle(SalesLineType: Enum "Sales Line Type"; var IsBundleType: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeInsertSalesReleaseArchive(Record Sales Header, Boolean, Boolean, Decimal, Decimal, Enum KVSKBAMinimumProfitSource, Code[50], Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This event is no longer supported, please use OnBeforeInsertSalesReleaseArchiveIsHandled', '24.0')]
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertSalesReleaseArchive(SalesHeader: Record "Sales Header"; PendingApproval: Boolean; DocBelowMinProfit: Boolean; DocProfitPct: Decimal; DocMinProfitPct: Decimal; DocMinProfitSource: Enum "KVSKBAMinimumProfitSource"; LowDocProfitReleasedBy: Code[50]; IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeInsertSalesReleaseArchive', '', false, false)]
local procedure DoSomethingOnBeforeInsertSalesReleaseArchive(SalesHeader: Record "Sales Header"; PendingApproval: Boolean; DocBelowMinProfit: Boolean; DocProfitPct: Decimal; DocMinProfitPct: Decimal; DocMinProfitSource: Enum "KVSKBAMinimumProfitSource"; LowDocProfitReleasedBy: Code[50]; IsHandled: Boolean)
begin
end;

OnBeforeInsertSalesReleaseArchiveIsHandled(Record Sales Header, Boolean, Boolean, Decimal, Decimal, Enum KVSKBAMinimumProfitSource, Code[50], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertSalesReleaseArchiveIsHandled(SalesHeader: Record "Sales Header"; PendingApproval: Boolean; DocBelowMinProfit: Boolean; DocProfitPct: Decimal; DocMinProfitPct: Decimal; DocMinProfitSource: Enum "KVSKBAMinimumProfitSource"; LowDocProfitReleasedBy: Code[50]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeInsertSalesReleaseArchiveIsHandled', '', false, false)]
local procedure DoSomethingOnBeforeInsertSalesReleaseArchiveIsHandled(SalesHeader: Record "Sales Header"; PendingApproval: Boolean; DocBelowMinProfit: Boolean; DocProfitPct: Decimal; DocMinProfitPct: Decimal; DocMinProfitSource: Enum "KVSKBAMinimumProfitSource"; LowDocProfitReleasedBy: Code[50]; var IsHandled: Boolean)
begin
end;

OnBeforeUpdateArchiveAfterSalesRelease(Record Sales Header, Record Sales Header, Boolean, Decimal, Decimal, Enum KVSKBAMinimumProfitSource, Code[50], Date, Time, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateArchiveAfterSalesRelease(OldSalesHeader: Record "Sales Header"; NewSalesHeader: Record "Sales Header"; DocBelowMinProfit: Boolean; DocProfitPct: Decimal; DocMinProfitPct: Decimal; DocMinProfitSource: Enum "KVSKBAMinimumProfitSource"; LowDocProfitReleasedBy: Code[50]; DateBeforeReleasing: Date; TimeBeforeReleasing: Time; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeUpdateArchiveAfterSalesRelease', '', false, false)]
local procedure DoSomethingOnBeforeUpdateArchiveAfterSalesRelease(OldSalesHeader: Record "Sales Header"; NewSalesHeader: Record "Sales Header"; DocBelowMinProfit: Boolean; DocProfitPct: Decimal; DocMinProfitPct: Decimal; DocMinProfitSource: Enum "KVSKBAMinimumProfitSource"; LowDocProfitReleasedBy: Code[50]; DateBeforeReleasing: Date; TimeBeforeReleasing: Time; var IsHandled: Boolean)
begin
end;

OnCheckTotalStructureInSalesLineOnBeforeCheckBundleTotalStructure(Record Sales Line, Boolean, Integer, Boolean, Boolean, Integer, Integer) :#

[IntegrationEvent(false, false)]
local procedure OnCheckTotalStructureInSalesLineOnBeforeCheckBundleTotalStructure(var Salesline: Record "Sales Line"; var BundleStarted: Boolean; var NumberOfOpenSubtotals: Integer; var IsHandled: Boolean; CheckTotaling: Boolean; LineNoArray: Integer; i: Integer): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCheckTotalStructureInSalesLineOnBeforeCheckBundleTotalStructure', '', false, false)]
local procedure DoSomethingOnCheckTotalStructureInSalesLineOnBeforeCheckBundleTotalStructure(var Salesline: Record "Sales Line"; var BundleStarted: Boolean; var NumberOfOpenSubtotals: Integer; var IsHandled: Boolean; CheckTotaling: Boolean; LineNoArray: Integer; i: Integer)
begin
end;

OnCheckTotalStructureInSalesLineOnBeforeCheckTotalling(Record Sales Line, Boolean, Integer, Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCheckTotalStructureInSalesLineOnBeforeCheckTotalling(var Salesline: Record "Sales Line"; CheckTotaling: Boolean; LineNoArray: Integer; var i: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnCheckTotalStructureInSalesLineOnBeforeCheckTotalling', '', false, false)]
local procedure DoSomethingOnCheckTotalStructureInSalesLineOnBeforeCheckTotalling(var Salesline: Record "Sales Line"; CheckTotaling: Boolean; LineNoArray: Integer; var i: Integer; var IsHandled: Boolean)
begin
end;

OnBeforeShowPurchaseOrders(List, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeShowPurchaseOrders(var PurchaseHeaderNoList: List; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeShowPurchaseOrders', '', false, false)]
local procedure DoSomethingOnBeforeShowPurchaseOrders(var PurchaseHeaderNoList: List; var IsHandled: Boolean)
begin
end;

OnBeforeSetPricingFields(Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetPricingFields(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeSetPricingFields', '', false, false)]
local procedure DoSomethingOnBeforeSetPricingFields(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeSearchPricingCustomer(Record Customer, Record Sales Header, Record Sales & Receivables Setup, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSearchPricingCustomer(BilltoCustomer: Record "Customer"; var SalesHeader: Record "Sales Header"; SalesReceivablesSetup: Record "Sales & Receivables Setup"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeSearchPricingCustomer', '', false, false)]
local procedure DoSomethingOnBeforeSearchPricingCustomer(BilltoCustomer: Record "Customer"; var SalesHeader: Record "Sales Header"; SalesReceivablesSetup: Record "Sales & Receivables Setup"; var IsHandled: Boolean)
begin
end;

OnBeforeOnSalesHeaderTransferfieldBillToCustomer(Record Customer, Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeOnSalesHeaderTransferfieldBillToCustomer(BilltoCustomer: Record "Customer"; var SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeOnSalesHeaderTransferfieldBillToCustomer', '', false, false)]
local procedure DoSomethingOnBeforeOnSalesHeaderTransferfieldBillToCustomer(BilltoCustomer: Record "Customer"; var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnAfterCalcSubTotals(Record Sales Line) :#

Summary: Event is called after the calculation of the subtotals in the sales line.

[IntegrationEvent(false, false)]
local procedure OnAfterCalcSubTotals(var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterCalcSubTotals', '', false, false)]
local procedure DoSomethingOnAfterCalcSubTotals(var SalesLine: Record "Sales Line")
begin
end;

Parameters:

  • SalesLine:

OnBeforeSetPaymentTermsFromSalesOrderType(Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetPaymentTermsFromSalesOrderType(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeSetPaymentTermsFromSalesOrderType', '', false, false)]
local procedure DoSomethingOnBeforeSetPaymentTermsFromSalesOrderType(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeSetPaymentMethodFromSalesOrderType(Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetPaymentMethodFromSalesOrderType(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeSetPaymentMethodFromSalesOrderType', '', false, false)]
local procedure DoSomethingOnBeforeSetPaymentMethodFromSalesOrderType(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

OnBeforeGetSpecialNote(Integer, Code[20], Text[50], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetSpecialNote(DatabaseInteger: Integer; No: Code[20]; var CommentTextReturn: Text[50]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeGetSpecialNote', '', false, false)]
local procedure DoSomethingOnBeforeGetSpecialNote(DatabaseInteger: Integer; No: Code[20]; var CommentTextReturn: Text[50]; var IsHandled: Boolean)
begin
end;

OnBeforeShowSpecialNote(Integer, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeShowSpecialNote(DatabaseInteger: Integer; No: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeShowSpecialNote', '', false, false)]
local procedure DoSomethingOnBeforeShowSpecialNote(DatabaseInteger: Integer; No: Code[20]; var IsHandled: Boolean)
begin
end;

OnBeforeOnSalesHeaderTransferfieldBillToCustomerOnCaseElseTransfSalespfromCust(Record Customer, Record Sales Header, Record Sales & Receivables Setup, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeOnSalesHeaderTransferfieldBillToCustomerOnCaseElseTransfSalespfromCust(BilltoCustomer: Record "Customer"; var SalesHeader: Record "Sales Header"; SalesReceivablesSetup: Record "Sales & Receivables Setup"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeOnSalesHeaderTransferfieldBillToCustomerOnCaseElseTransfSalespfromCust', '', false, false)]
local procedure DoSomethingOnBeforeOnSalesHeaderTransferfieldBillToCustomerOnCaseElseTransfSalespfromCust(BilltoCustomer: Record "Customer"; var SalesHeader: Record "Sales Header"; SalesReceivablesSetup: Record "Sales & Receivables Setup"; var IsHandled: Boolean)
begin
end;

OnBeforeSetAssignedUserIDOnSalesContractHeader(Record KVSKBASalesContractHeader, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetAssignedUserIDOnSalesContractHeader(var SalesContractHeader: Record "KVSKBASalesContractHeader"; OnInsert: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeSetAssignedUserIDOnSalesContractHeader', '', false, false)]
local procedure DoSomethingOnBeforeSetAssignedUserIDOnSalesContractHeader(var SalesContractHeader: Record "KVSKBASalesContractHeader"; OnInsert: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeSetDefaultSalespersonOnSalesContractHeader(Record KVSKBASalesContractHeader, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetDefaultSalespersonOnSalesContractHeader(var SalesContractHeader: Record "KVSKBASalesContractHeader"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeSetDefaultSalespersonOnSalesContractHeader', '', false, false)]
local procedure DoSomethingOnBeforeSetDefaultSalespersonOnSalesContractHeader(var SalesContractHeader: Record "KVSKBASalesContractHeader"; var IsHandled: Boolean)
begin
end;

OnBeforeCalcServiceCharge(Record Sales Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcServiceCharge(var SalesLine: Record "Sales Line"; var Successful: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCalcServiceCharge', '', false, false)]
local procedure DoSomethingOnBeforeCalcServiceCharge(var SalesLine: Record "Sales Line"; var Successful: Boolean; var IsHandled: Boolean)
begin
end;

OnAfterCalcServiceCharge(Record Sales Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcServiceCharge(var SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnAfterCalcServiceCharge', '', false, false)]
local procedure DoSomethingOnAfterCalcServiceCharge(var SalesLine: Record "Sales Line")
begin
end;

OnBeforeTransferProductCommissionGroup(Variant, Record Sales Line, Code[10], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeTransferProductCommissionGroup(SourceTableVariant: Variant; var SalesLine: Record "Sales Line"; NewProductCommissionGroupCode: Code[10]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeTransferProductCommissionGroup', '', false, false)]
local procedure DoSomethingOnBeforeTransferProductCommissionGroup(SourceTableVariant: Variant; var SalesLine: Record "Sales Line"; NewProductCommissionGroupCode: Code[10]; var IsHandled: Boolean)
begin
end;

OnBeforeAddBundleLinesForSalesInv(Record Sales Header, Integer, Integer, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAddBundleLinesForSalesInv(SalesHeader: Record "Sales Header"; FromLineNo: Integer; ToLineNo: Integer; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeAddBundleLinesForSalesInv', '', false, false)]
local procedure DoSomethingOnBeforeAddBundleLinesForSalesInv(SalesHeader: Record "Sales Header"; FromLineNo: Integer; ToLineNo: Integer; var IsHandled: Boolean)
begin
end;

OnBeforeCheckCompleteDelivery(Record Sales Header, Boolean, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckCompleteDelivery(SalesHeader: Record "Sales Header"; ShowError: Boolean; var Result: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCheckCompleteDelivery', '', false, false)]
local procedure DoSomethingOnBeforeCheckCompleteDelivery(SalesHeader: Record "Sales Header"; ShowError: Boolean; var Result: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeUpdateBundleElementPrices(Record Sales Line, Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateBundleElementPrices(SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeUpdateBundleElementPrices', '', false, false)]
local procedure DoSomethingOnBeforeUpdateBundleElementPrices(SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line"; var IsHandled: Boolean)
begin
end;

OnBeforeCheckTypeAndNoAreStatedOnSalesLine(Record Sales Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckTypeAndNoAreStatedOnSalesLine(SalesLine: Record "Sales Line"; var ReturnValue: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesLib", 'OnBeforeCheckTypeAndNoAreStatedOnSalesLine', '', false, false)]
local procedure DoSomethingOnBeforeCheckTypeAndNoAreStatedOnSalesLine(SalesLine: Record "Sales Line"; var ReturnValue: Boolean; var IsHandled: Boolean)
begin
end;