Skip to content

KVSMTCServiceOpDisplay#

Events#

OnBeforeShowServiceDocument(Record Service Line, Boolean) :#

Summary: The event enables to replace or add the display of documents for the dest. document type

[IntegrationEvent(false, false)]
local procedure OnBeforeShowServiceDocument(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowServiceDocument', '', false, false)]
local procedure DoSomethingOnBeforeShowServiceDocument(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowSalesQuote(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of sales quotes

[IntegrationEvent(false, false)]
local procedure OnBeforeShowSalesQuote(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowSalesQuote', '', false, false)]
local procedure DoSomethingOnBeforeShowSalesQuote(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowSalesOrder(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of sales orders

[IntegrationEvent(false, false)]
local procedure OnBeforeShowSalesOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowSalesOrder', '', false, false)]
local procedure DoSomethingOnBeforeShowSalesOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowSalesInvoice(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of sales invoices

[IntegrationEvent(false, false)]
local procedure OnBeforeShowSalesInvoice(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowSalesInvoice', '', false, false)]
local procedure DoSomethingOnBeforeShowSalesInvoice(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowSalesCreditMemo(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of sales credit memo

[IntegrationEvent(false, false)]
local procedure OnBeforeShowSalesCreditMemo(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowSalesCreditMemo', '', false, false)]
local procedure DoSomethingOnBeforeShowSalesCreditMemo(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowSalesReturnOrder(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of sales return orders

[IntegrationEvent(false, false)]
local procedure OnBeforeShowSalesReturnOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowSalesReturnOrder', '', false, false)]
local procedure DoSomethingOnBeforeShowSalesReturnOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowPurchaseQuote(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of purchase quotes

[IntegrationEvent(false, false)]
local procedure OnBeforeShowPurchaseQuote(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowPurchaseQuote', '', false, false)]
local procedure DoSomethingOnBeforeShowPurchaseQuote(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowPurchaseOrder(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of purchase orders

[IntegrationEvent(false, false)]
local procedure OnBeforeShowPurchaseOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowPurchaseOrder', '', false, false)]
local procedure DoSomethingOnBeforeShowPurchaseOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowPurchaseInvoice(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of purchase invoices

[IntegrationEvent(false, false)]
local procedure OnBeforeShowPurchaseInvoice(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowPurchaseInvoice', '', false, false)]
local procedure DoSomethingOnBeforeShowPurchaseInvoice(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowPurchaseCreditMemo(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of purchase credit memo

[IntegrationEvent(false, false)]
local procedure OnBeforeShowPurchaseCreditMemo(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowPurchaseCreditMemo', '', false, false)]
local procedure DoSomethingOnBeforeShowPurchaseCreditMemo(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowPurchaseReturnOrder(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of purchase return orders

[IntegrationEvent(false, false)]
local procedure OnBeforeShowPurchaseReturnOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowPurchaseReturnOrder', '', false, false)]
local procedure DoSomethingOnBeforeShowPurchaseReturnOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowTransferOrder(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of transfer orders

[IntegrationEvent(false, false)]
local procedure OnBeforeShowTransferOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowTransferOrder', '', false, false)]
local procedure DoSomethingOnBeforeShowTransferOrder(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowServiceQuote(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of service quotes

[IntegrationEvent(false, false)]
local procedure OnBeforeShowServiceQuote(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowServiceQuote', '', false, false)]
local procedure DoSomethingOnBeforeShowServiceQuote(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowItemRegister(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of item registers

[IntegrationEvent(false, false)]
local procedure OnBeforeShowItemRegister(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowItemRegister', '', false, false)]
local procedure DoSomethingOnBeforeShowItemRegister(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowClaimComplaint(Record Service Line, Boolean) :#

Summary: The event enables to replace the display of item registers

[IntegrationEvent(false, false)]
local procedure OnBeforeShowClaimComplaint(ServiceLine: Record "Service Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowClaimComplaint', '', false, false)]
local procedure DoSomethingOnBeforeShowClaimComplaint(ServiceLine: Record "Service Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ServiceLine: The calling service line
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnBeforeShowTrackingInfo(Code[20], Code[10], Code[50], Boolean) :#

Summary: The event enables to replace the display of tracking info

[IntegrationEvent(false, false)]
local procedure OnBeforeShowTrackingInfo(ItemNo: Code[20]; VariantCode: Code[10]; TrackingNo: Code[50]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnBeforeShowTrackingInfo', '', false, false)]
local procedure DoSomethingOnBeforeShowTrackingInfo(ItemNo: Code[20]; VariantCode: Code[10]; TrackingNo: Code[50]; var IsHandled: Boolean)
begin
end;

Parameters:

  • ItemNo: The calling sitem no.
  • VariantCode: The calling variant code
  • TrackingNo: The calling tracking no.
  • IsHandled: Ensures that the procedure is skipped if IsHandled is true

OnServiceCueAddFilters(Record Service Cue) :#

Summary: This event allows to add additional filters to the service cue

[IntegrationEvent(false, false)]
local procedure OnServiceCueAddFilters(var ServiceCue: Record "Service Cue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnServiceCueAddFilters', '', false, false)]
local procedure DoSomethingOnServiceCueAddFilters(var ServiceCue: Record "Service Cue")
begin
end;

Parameters:

  • ServiceCue: The current service cue to add additional filters

OnServiceCueAddFiltersServiceItemLine(Record Service Cue, Record Service Item Line) :#

Summary: This event allows to add additional filters to the service item line used in the service cue

[IntegrationEvent(false, false)]
local procedure OnServiceCueAddFiltersServiceItemLine(var ServiceCue: Record "Service Cue"; var ServiceItemLine: Record "Service Item Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnServiceCueAddFiltersServiceItemLine', '', false, false)]
local procedure DoSomethingOnServiceCueAddFiltersServiceItemLine(var ServiceCue: Record "Service Cue"; var ServiceItemLine: Record "Service Item Line")
begin
end;

Parameters:

  • ServiceCue: The current service cue
  • ServiceItemLine: The record to add additional filters

OnServiceCueAddFiltersServiceItemLineAtVendor(Record Service Cue, Record Service Item Line) :#

Summary: This event allows to add additional filters to the service item line used in the service cue

[IntegrationEvent(false, false)]
local procedure OnServiceCueAddFiltersServiceItemLineAtVendor(var ServiceCue: Record "Service Cue"; var ServiceItemLine: Record "Service Item Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCServiceOpDisplay", 'OnServiceCueAddFiltersServiceItemLineAtVendor', '', false, false)]
local procedure DoSomethingOnServiceCueAddFiltersServiceItemLineAtVendor(var ServiceCue: Record "Service Cue"; var ServiceItemLine: Record "Service Item Line")
begin
end;

Parameters:

  • ServiceCue: The current service cue
  • ServiceItemLine: The record to add additional filters