KVSKBASrvCopyDocumentLib#
Procedures#
SetProperties(Integer, Integer, Boolean, Boolean, Boolean) :#
Summary: Set data for presetting the copying
procedure SetProperties(NewDocumentNoOccurrence: Integer; NewVersionNo: Integer; NewIncludeHeader: Boolean; NewRecalculateLines: Boolean; CopyDocumentProccessID: Boolean):
Parameters:
NewDocumentNoOccurrence
: Integer to copyNewVersionNo
: Integer to copyNewIncludeHeader
: Boolean to copyNewRecalculateLines
: Boolean to copyCopyDocumentProccessID
: Boolean
Events#
OnBeforeCopyFieldsServiceHeaderPostedCreditMemo(Record Service Header, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyFieldsServiceHeaderPostedCreditMemo(ServiceHeader: Record "Service Header"; var CopyHeader: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyFieldsServiceHeaderPostedCreditMemo', '', false, false)]
local procedure DoSomethingOnBeforeCopyFieldsServiceHeaderPostedCreditMemo(ServiceHeader: Record "Service Header"; var CopyHeader: Boolean; var IsHandled: Boolean)
begin
end;
OnBeforeCopyFieldsServiceHeaderPostedInvoice(Record Service Header, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyFieldsServiceHeaderPostedInvoice(ServiceHeader: Record "Service Header"; var CopyHeader: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyFieldsServiceHeaderPostedInvoice', '', false, false)]
local procedure DoSomethingOnBeforeCopyFieldsServiceHeaderPostedInvoice(ServiceHeader: Record "Service Header"; var CopyHeader: Boolean; var IsHandled: Boolean)
begin
end;
OnGetGetServiceDocumentTypeCaseElse(Enum KVSKBAServiceDocumentTypeFrom, Enum Service Document Type) :#
[IntegrationEvent(false, false)]
local procedure OnGetGetServiceDocumentTypeCaseElse(FromServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; var ToServiceDocumentType: Enum "Service Document Type"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnGetGetServiceDocumentTypeCaseElse', '', false, false)]
local procedure DoSomethingOnGetGetServiceDocumentTypeCaseElse(FromServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; var ToServiceDocumentType: Enum "Service Document Type")
begin
end;
OnBeforeCopyAddedTablesFromPostedDocs(Record Service Line, Enum KVSKBAPostedServiceDocType, Code[20], Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesFromPostedDocs(var ServiceLine: Record "Service Line"; PostedServiceDocType: Enum "KVSKBAPostedServiceDocType"; DocumentNo: Code[20]; DocumentLineNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyAddedTablesFromPostedDocs', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesFromPostedDocs(var ServiceLine: Record "Service Line"; PostedServiceDocType: Enum "KVSKBAPostedServiceDocType"; DocumentNo: Code[20]; DocumentLineNo: Integer; var IsHandled: Boolean)
begin
end;
OnAfterCopyAddedTablesFromPostedDocs(Record Service Line, Enum KVSKBAPostedServiceDocType, Code[20], Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyAddedTablesFromPostedDocs(var ServiceLine: Record "Service Line"; PostedServiceDocType: Enum "KVSKBAPostedServiceDocType"; DocumentNo: Code[20]; DocumentLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyAddedTablesFromPostedDocs', '', false, false)]
local procedure DoSomethingOnAfterCopyAddedTablesFromPostedDocs(var ServiceLine: Record "Service Line"; PostedServiceDocType: Enum "KVSKBAPostedServiceDocType"; DocumentNo: Code[20]; DocumentLineNo: Integer)
begin
end;
OnBeforeCopyServiceLinefromServiceLine(Record Service Line, Record Service Header, Record Service Line, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceLinefromServiceLine(var ToServiceLine: Record "Service Line"; ToServiceHeader: Record "Service Header"; FromServiceLine: Record "Service Line"; ServiceItemLineNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceLinefromServiceLine', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceLinefromServiceLine(var ToServiceLine: Record "Service Line"; ToServiceHeader: Record "Service Header"; FromServiceLine: Record "Service Line"; ServiceItemLineNo: Integer; var IsHandled: Boolean)
begin
end;
OnAfterCopyServiceLinefromServiceLine(Record Service Line, Record Service Header, Record Service Line, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceLinefromServiceLine(var ToServiceLine: Record "Service Line"; ToServiceHeader: Record "Service Header"; FromServiceLine: Record "Service Line"; ServiceItemLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceLinefromServiceLine', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceLinefromServiceLine(var ToServiceLine: Record "Service Line"; ToServiceHeader: Record "Service Header"; FromServiceLine: Record "Service Line"; ServiceItemLineNo: Integer)
begin
end;
OnBeforeCopyServiceDocument(Enum KVSKBAServiceDocumentTypeFrom, Code[20], Record Service Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceDocument(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNoentNo: Code[20]; var ToServiceHeader: Record "Service Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceDocument', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceDocument(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNoentNo: Code[20]; var ToServiceHeader: Record "Service Header"; var IsHandled: Boolean)
begin
end;
OnAfterInitAndCheckServiceDocuments(Enum KVSKBAServiceDocumentTypeFrom, Code[20], Record Service Header, Record Service Header, Record Service Shipment Header, Record Service Invoice Header, Record Service Cr.Memo Header, Boolean, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterInitAndCheckServiceDocuments(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocNo: Code[20]; var ToServiceHeader: Record "Service Header"; var FromServiceHeader: Record "Service Header"; var FromServiceShipmentHeader: Record "Service Shipment Header"; var FromServiceInvoiceHeader: Record "Service Invoice Header"; var FromServiceCrMemoHeader: Record "Service Cr.Memo Header"; IncludeHeader: Boolean; RecalculateLines: Boolean; var Result: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterInitAndCheckServiceDocuments', '', false, false)]
local procedure DoSomethingOnAfterInitAndCheckServiceDocuments(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocNo: Code[20]; var ToServiceHeader: Record "Service Header"; var FromServiceHeader: Record "Service Header"; var FromServiceShipmentHeader: Record "Service Shipment Header"; var FromServiceInvoiceHeader: Record "Service Invoice Header"; var FromServiceCrMemoHeader: Record "Service Cr.Memo Header"; IncludeHeader: Boolean; RecalculateLines: Boolean; var Result: Boolean)
begin
end;
OnAfterCopyServiceDocumentUpdateHeader(Record Service Header, Record Service Header, Record Service Shipment Header, Record Service Invoice Header, Record Service Cr.Memo Header, Record Service Header Archive, Enum KVSKBAServiceDocumentTypeFrom, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceDocumentUpdateHeader(var ToServiceHeader: Record "Service Header"; FromServiceHeader: Record "Service Header"; FromServiceShipmentHeader: Record "Service Shipment Header"; FromServiceInvoiceHeader: Record "Service Invoice Header"; FromServiceCrMemoHeader: Record "Service Cr.Memo Header"; FromServiceHeaderArchive: Record "Service Header Archive"; ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; SavedDocumentProcessID: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceDocumentUpdateHeader', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceDocumentUpdateHeader(var ToServiceHeader: Record "Service Header"; FromServiceHeader: Record "Service Header"; FromServiceShipmentHeader: Record "Service Shipment Header"; FromServiceInvoiceHeader: Record "Service Invoice Header"; FromServiceCrMemoHeader: Record "Service Cr.Memo Header"; FromServiceHeaderArchive: Record "Service Header Archive"; ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; SavedDocumentProcessID: Code[20])
begin
end;
OnBeforeCopyServiceDocumentUpdateHeader(Record Service Header, Record Service Header, Record Service Shipment Header, Record Service Invoice Header, Record Service Cr.Memo Header, Record Service Header Archive, Enum KVSKBAServiceDocumentTypeFrom, Code[20], Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceDocumentUpdateHeader(var ToServiceHeader: Record "Service Header"; FromServiceHeader: Record "Service Header"; FromServiceShipmentHeader: Record "Service Shipment Header"; FromServiceInvoiceHeader: Record "Service Invoice Header"; FromServiceCrMemoHeader: Record "Service Cr.Memo Header"; FromServiceHeaderArchive: Record "Service Header Archive"; ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; SavedDocumentProcessID: Code[20]; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceDocumentUpdateHeader', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceDocumentUpdateHeader(var ToServiceHeader: Record "Service Header"; FromServiceHeader: Record "Service Header"; FromServiceShipmentHeader: Record "Service Shipment Header"; FromServiceInvoiceHeader: Record "Service Invoice Header"; FromServiceCrMemoHeader: Record "Service Cr.Memo Header"; FromServiceHeaderArchive: Record "Service Header Archive"; ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; SavedDocumentProcessID: Code[20]; var IsHandled: Boolean)
begin
end;
OnCopyServiceDocumentUpdateHeaderCaseElseServiceDocumentTypeFrom(Record Service Header, Enum KVSKBAServiceDocumentTypeFrom) :#
[IntegrationEvent(false, false)]
local procedure OnCopyServiceDocumentUpdateHeaderCaseElseServiceDocumentTypeFrom(var ToServiceHeader: Record "Service Header"; ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnCopyServiceDocumentUpdateHeaderCaseElseServiceDocumentTypeFrom', '', false, false)]
local procedure DoSomethingOnCopyServiceDocumentUpdateHeaderCaseElseServiceDocumentTypeFrom(var ToServiceHeader: Record "Service Header"; ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom")
begin
end;
OnBeforeCopyDocumentProcessID(Record Service Header, Record Service Header, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyDocumentProcessID(var ToServiceHeader: Record "Service Header"; FromServiceHeader: Record "Service Header"; GlobalCopyDocProcID: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyDocumentProcessID', '', false, false)]
local procedure DoSomethingOnBeforeCopyDocumentProcessID(var ToServiceHeader: Record "Service Header"; FromServiceHeader: Record "Service Header"; GlobalCopyDocProcID: Boolean; var IsHandled: Boolean)
begin
end;
OnBeforeCreateLines(Enum KVSKBAServiceDocumentTypeFrom, Code[20], Record Service Header, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateLines(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNo: Code[20]; var ToServiceHeader: Record "Service Header"; NextItemLineNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCreateLines', '', false, false)]
local procedure DoSomethingOnBeforeCreateLines(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNo: Code[20]; var ToServiceHeader: Record "Service Header"; NextItemLineNo: Integer; var IsHandled: Boolean)
begin
end;
OnBeforeCopyServiceLineFromServiceShipmentLine(Record Service Header, Record Service Shipment Line, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceLineFromServiceShipmentLine(ServiceHeader: Record "Service Header"; ServiceShipmentLine: Record "Service Shipment Line"; CreateItemLines: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceLineFromServiceShipmentLine', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceLineFromServiceShipmentLine(ServiceHeader: Record "Service Header"; ServiceShipmentLine: Record "Service Shipment Line"; CreateItemLines: Boolean; var IsHandled: Boolean)
begin
end;
OnAfterCopyServiceLineFromServiceShipmentLine(Record Service Header, Record Service Shipment Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceLineFromServiceShipmentLine(ServiceHeader: Record "Service Header"; ServiceShipmentLine: Record "Service Shipment Line"; CreateItemLines: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceLineFromServiceShipmentLine', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceLineFromServiceShipmentLine(ServiceHeader: Record "Service Header"; ServiceShipmentLine: Record "Service Shipment Line"; CreateItemLines: Boolean)
begin
end;
OnBeforeCopyServiceLineFromServiceInvoiceLine(Record Service Header, Record Service Invoice Line, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceLineFromServiceInvoiceLine(ServiceHeader: Record "Service Header"; ServiceInvoiceLine: Record "Service Invoice Line"; ServiceItemLineNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceLineFromServiceInvoiceLine', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceLineFromServiceInvoiceLine(ServiceHeader: Record "Service Header"; ServiceInvoiceLine: Record "Service Invoice Line"; ServiceItemLineNo: Integer; var IsHandled: Boolean)
begin
end;
OnAfterCopyServiceLineFromServiceInvoiceLine(Record Service Header, Record Service Invoice Line, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceLineFromServiceInvoiceLine(ServiceHeader: Record "Service Header"; ServiceInvoiceLine: Record "Service Invoice Line"; ServiceItemLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceLineFromServiceInvoiceLine', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceLineFromServiceInvoiceLine(ServiceHeader: Record "Service Header"; ServiceInvoiceLine: Record "Service Invoice Line"; ServiceItemLineNo: Integer)
begin
end;
OnBeforeCopyServiceLineFromServiceCrMemoLine(Record Service Header, Record Service Cr.Memo Line, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceLineFromServiceCrMemoLine(ServiceHeader: Record "Service Header"; ServiceCrMemoLine: Record "Service Cr.Memo Line"; ServiceItemLineNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceLineFromServiceCrMemoLine', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceLineFromServiceCrMemoLine(ServiceHeader: Record "Service Header"; ServiceCrMemoLine: Record "Service Cr.Memo Line"; ServiceItemLineNo: Integer; var IsHandled: Boolean)
begin
end;
OnAfterCopyServiceLineFromServiceCrMemoLine(Record Service Header, Record Service Cr.Memo Line, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceLineFromServiceCrMemoLine(ServiceHeader: Record "Service Header"; ServiceCrMemoLine: Record "Service Cr.Memo Line"; ServiceItemLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceLineFromServiceCrMemoLine', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceLineFromServiceCrMemoLine(ServiceHeader: Record "Service Header"; ServiceCrMemoLine: Record "Service Cr.Memo Line"; ServiceItemLineNo: Integer)
begin
end;
OnAfterCopyDocumentProcessID(Record Service Header, Record Service Header) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyDocumentProcessID(var ToServiceHeader: Record "Service Header"; FromServiceHeader: Record "Service Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyDocumentProcessID', '', false, false)]
local procedure DoSomethingOnAfterCopyDocumentProcessID(var ToServiceHeader: Record "Service Header"; FromServiceHeader: Record "Service Header")
begin
end;
OnBeforeInitAndCheckServiceDocuments(Enum KVSKBAServiceDocumentTypeFrom, Code[20], Record Service Header, Record Service Header, Record Service Shipment Header, Record Service Invoice Header, Record Service Cr.Memo Header, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeInitAndCheckServiceDocuments(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocNo: Code[20]; var ToServiceHeader: Record "Service Header"; var FromServiceHeader: Record "Service Header"; var FromServiceShipmentHeader: Record "Service Shipment Header"; var FromServiceInvoiceHeader: Record "Service Invoice Header"; var FromServiceCrMemoHeader: Record "Service Cr.Memo Header"; var Result: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeInitAndCheckServiceDocuments', '', false, false)]
local procedure DoSomethingOnBeforeInitAndCheckServiceDocuments(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocNo: Code[20]; var ToServiceHeader: Record "Service Header"; var FromServiceHeader: Record "Service Header"; var FromServiceShipmentHeader: Record "Service Shipment Header"; var FromServiceInvoiceHeader: Record "Service Invoice Header"; var FromServiceCrMemoHeader: Record "Service Cr.Memo Header"; var Result: Boolean; var IsHandled: Boolean)
begin
end;
OnBeforeCopyAddedTablesFromUnPostedDocs(Record Service Line, Record Service Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyAddedTablesFromUnPostedDocs(var ToServiceLine: Record "Service Line"; FromServiceLine: Record "Service Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyAddedTablesFromUnPostedDocs', '', false, false)]
local procedure DoSomethingOnBeforeCopyAddedTablesFromUnPostedDocs(var ToServiceLine: Record "Service Line"; FromServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;
OnAfterCopyAddedTablesFromUnPostedDocs(Record Service Line, Record Service Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyAddedTablesFromUnPostedDocs(var ToServiceLine: Record "Service Line"; FromServiceLine: Record "Service Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyAddedTablesFromUnPostedDocs', '', false, false)]
local procedure DoSomethingOnAfterCopyAddedTablesFromUnPostedDocs(var ToServiceLine: Record "Service Line"; FromServiceLine: Record "Service Line")
begin
end;
OnAfterCreateLines(Enum KVSKBAServiceDocumentTypeFrom, Code[20], Record Service Header, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreateLines(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNo: Code[20]; var ToServiceHeader: Record "Service Header"; NextItemLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCreateLines', '', false, false)]
local procedure DoSomethingOnAfterCreateLines(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNo: Code[20]; var ToServiceHeader: Record "Service Header"; NextItemLineNo: Integer)
begin
end;
OnAfterCopyServiceDocument(Record Service Header, Enum KVSKBAServiceDocumentTypeFrom, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceDocument(var ToServiceHeader: Record "Service Header"; ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceDocument', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceDocument(var ToServiceHeader: Record "Service Header"; ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocNo: Code[20])
begin
end;
OnBeforeCopyServiceItemLineFromServiceItemLine(Record Service Header, Record Service Item Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceItemLineFromServiceItemLine(var ServiceHeader: Record "Service Header"; ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceItemLineFromServiceItemLine', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceItemLineFromServiceItemLine(var ServiceHeader: Record "Service Header"; ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean)
begin
end;
OnAfterCopyServiceItemLineFromServiceItemLine(Record Service Header, Record Service Item Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceItemLineFromServiceItemLine(var ServiceHeader: Record "Service Header"; ServiceItemLine: Record "Service Item Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceItemLineFromServiceItemLine', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceItemLineFromServiceItemLine(var ServiceHeader: Record "Service Header"; ServiceItemLine: Record "Service Item Line")
begin
end;
OnBeforeCopyServiceItemLineFromServiceShipmentItemLine(Record Service Header, Record Service Shipment Item Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceItemLineFromServiceShipmentItemLine(var ServiceHeader: Record "Service Header"; ServiceShipmentItemLine: Record "Service Shipment Item Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceItemLineFromServiceShipmentItemLine', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceItemLineFromServiceShipmentItemLine(var ServiceHeader: Record "Service Header"; ServiceShipmentItemLine: Record "Service Shipment Item Line"; var IsHandled: Boolean)
begin
end;
OnAfterCopyServiceItemLineFromServiceShipmentItemLine(Record Service Header, Record Service Shipment Item Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceItemLineFromServiceShipmentItemLine(var ServiceHeader: Record "Service Header"; ServiceShipmentItemLine: Record "Service Shipment Item Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceItemLineFromServiceShipmentItemLine', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceItemLineFromServiceShipmentItemLine(var ServiceHeader: Record "Service Header"; ServiceShipmentItemLine: Record "Service Shipment Item Line")
begin
end;
OnBeforeCreateServiceItemLine(Record Service Header, Code[20], Code[20], Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateServiceItemLine(ServiceHeader: Record "Service Header"; ServiceItemNo: Code[20]; CustomerNo: Code[20]; var NextLineNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCreateServiceItemLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateServiceItemLine(ServiceHeader: Record "Service Header"; ServiceItemNo: Code[20]; CustomerNo: Code[20]; var NextLineNo: Integer; var IsHandled: Boolean)
begin
end;
OnAfterCreateServiceItemLine(Record Service Header, Code[20], Code[20], Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreateServiceItemLine(ServiceHeader: Record "Service Header"; ServiceItemNo: Code[20]; CustomerNo: Code[20]; var NextLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCreateServiceItemLine', '', false, false)]
local procedure DoSomethingOnAfterCreateServiceItemLine(ServiceHeader: Record "Service Header"; ServiceItemNo: Code[20]; CustomerNo: Code[20]; var NextLineNo: Integer)
begin
end;
OnBeforeCheckServiceItemLine(Record Service Item Line, Code[20], Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckServiceItemLine(var ToServiceItemLine: Record "Service Item Line"; CustomerNo: Code[20]; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCheckServiceItemLine', '', false, false)]
local procedure DoSomethingOnBeforeCheckServiceItemLine(var ToServiceItemLine: Record "Service Item Line"; CustomerNo: Code[20]; var IsHandled: Boolean)
begin
end;
OnAfterCheckServiceItemLine(Record Service Item Line, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCheckServiceItemLine(var ToServiceItemLine: Record "Service Item Line"; CustomerNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCheckServiceItemLine', '', false, false)]
local procedure DoSomethingOnAfterCheckServiceItemLine(var ToServiceItemLine: Record "Service Item Line"; CustomerNo: Code[20])
begin
end;
OnBeforeCheckServiceLine(Record Service Line, Code[20], Code[20], Decimal, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckServiceLine(var ServiceLine: Record "Service Line"; CustomerNo: Code[20]; No: Code[20]; Qty: Decimal; RecalculateLines: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCheckServiceLine', '', false, false)]
local procedure DoSomethingOnBeforeCheckServiceLine(var ServiceLine: Record "Service Line"; CustomerNo: Code[20]; No: Code[20]; Qty: Decimal; RecalculateLines: Boolean; var IsHandled: Boolean)
begin
end;
OnAfterCheckServiceLine(Record Service Line, Code[20], Code[20], Decimal, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCheckServiceLine(var ServiceLine: Record "Service Line"; CustomerNo: Code[20]; No: Code[20]; Qty: Decimal; RecalculateLines: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCheckServiceLine', '', false, false)]
local procedure DoSomethingOnAfterCheckServiceLine(var ServiceLine: Record "Service Line"; CustomerNo: Code[20]; No: Code[20]; Qty: Decimal; RecalculateLines: Boolean)
begin
end;
OnCheckServiceLineOnBeforeModifyServiceLine(Record Service Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnCheckServiceLineOnBeforeModifyServiceLine(var ServiceLine: Record "Service Line"; RecalculateLines: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnCheckServiceLineOnBeforeModifyServiceLine', '', false, false)]
local procedure DoSomethingOnCheckServiceLineOnBeforeModifyServiceLine(var ServiceLine: Record "Service Line"; RecalculateLines: Boolean)
begin
end;
OnBeforeClearServiceHeaderFields(Record Service Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeClearServiceHeaderFields(var ServiceHeader: Record "Service Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeClearServiceHeaderFields', '', false, false)]
local procedure DoSomethingOnBeforeClearServiceHeaderFields(var ServiceHeader: Record "Service Header"; var IsHandled: Boolean)
begin
end;
OnAfterClearServiceHeaderFields(Record Service Header) :#
[IntegrationEvent(false, false)]
local procedure OnAfterClearServiceHeaderFields(var ServiceHeader: Record "Service Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterClearServiceHeaderFields', '', false, false)]
local procedure DoSomethingOnAfterClearServiceHeaderFields(var ServiceHeader: Record "Service Header")
begin
end;
OnBeforeClearServiceItemLineFields(Record Service Item Line, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeClearServiceItemLineFields(var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeClearServiceItemLineFields', '', false, false)]
local procedure DoSomethingOnBeforeClearServiceItemLineFields(var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean)
begin
end;
OnAfterClearServiceItemLineFields(Record Service Item Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterClearServiceItemLineFields(var ServiceItemLine: Record "Service Item Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterClearServiceItemLineFields', '', false, false)]
local procedure DoSomethingOnAfterClearServiceItemLineFields(var ServiceItemLine: Record "Service Item Line")
begin
end;
OnBeforeCopyServiceItemLineFromServiceItemLineArchive(Record Service Header, Record Service Item Line Archive, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceItemLineFromServiceItemLineArchive(var ServiceHeader: Record "Service Header"; ServiceItemLineArchive: Record "Service Item Line Archive"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceItemLineFromServiceItemLineArchive', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceItemLineFromServiceItemLineArchive(var ServiceHeader: Record "Service Header"; ServiceItemLineArchive: Record "Service Item Line Archive"; var IsHandled: Boolean)
begin
end;
OnAfterCopyServiceItemLineFromServiceItemLineArchive(Record Service Header, Record Service Item Line Archive) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceItemLineFromServiceItemLineArchive(var ServiceHeader: Record "Service Header"; ServiceItemLineArchive: Record "Service Item Line Archive"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceItemLineFromServiceItemLineArchive', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceItemLineFromServiceItemLineArchive(var ServiceHeader: Record "Service Header"; ServiceItemLineArchive: Record "Service Item Line Archive")
begin
end;
OnBeforeCopyServiceLineFromServiceLineArchiv(Record Service Header, Record Service Line Archive, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyServiceLineFromServiceLineArchiv(ServiceHeader: Record "Service Header"; ServiceLineArchive: Record "Service Line Archive"; ServiceItemLineNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCopyServiceLineFromServiceLineArchiv', '', false, false)]
local procedure DoSomethingOnBeforeCopyServiceLineFromServiceLineArchiv(ServiceHeader: Record "Service Header"; ServiceLineArchive: Record "Service Line Archive"; ServiceItemLineNo: Integer; var IsHandled: Boolean)
begin
end;
OnAfterCopyServiceLineFromServiceLineArchiv(Record Service Header, Record Service Line, Record Service Line Archive, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyServiceLineFromServiceLineArchiv(ServiceHeader: Record "Service Header"; var ServiceLine: Record "Service Line"; ServiceLineArchive: Record "Service Line Archive"; ServiceItemLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCopyServiceLineFromServiceLineArchiv', '', false, false)]
local procedure DoSomethingOnAfterCopyServiceLineFromServiceLineArchiv(ServiceHeader: Record "Service Header"; var ServiceLine: Record "Service Line"; ServiceLineArchive: Record "Service Line Archive"; ServiceItemLineNo: Integer)
begin
end;
OnBeforeCreateLinesFromArchive(Enum KVSKBAServiceDocumentTypeFrom, Code[20], Record Service Header, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateLinesFromArchive(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNo: Code[20]; var ToServiceHeader: Record "Service Header"; NextItemLineNo: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnBeforeCreateLinesFromArchive', '', false, false)]
local procedure DoSomethingOnBeforeCreateLinesFromArchive(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNo: Code[20]; var ToServiceHeader: Record "Service Header"; NextItemLineNo: Integer; var IsHandled: Boolean)
begin
end;
OnAfterCreateLinesFromArchive(Enum KVSKBAServiceDocumentTypeFrom, Code[20], Record Service Header, Integer) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreateLinesFromArchive(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNo: Code[20]; var ToServiceHeader: Record "Service Header"; NextItemLineNo: Integer):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASrvCopyDocumentLib", 'OnAfterCreateLinesFromArchive', '', false, false)]
local procedure DoSomethingOnAfterCreateLinesFromArchive(ServiceDocumentTypeFrom: Enum "KVSKBAServiceDocumentTypeFrom"; FromDocumentNo: Code[20]; var ToServiceHeader: Record "Service Header"; NextItemLineNo: Integer)
begin
end;