Table of Contents

KVSKBACLLCMBGeneralMgt

Procedures

CloseDocument(Record KVSKBACLLCallHeader, Boolean) :

Summary: Closes the call document associated with the given call header.

procedure CloseDocument(callHeader: Record "KVSKBACLLCallHeader"; doForce: Boolean): 

Parameters:

  • callHeader: The call header record for which to close the document.
  • doForce: A boolean flag indicating whether to force the closure of the document, bypassing certain checks.

Remarks: This procedure handles the closure of a call document associated with a call header. It performs various checks, including user confirmation, open to-dos, and open FMEA cards. If the doForce parameter is set to true, it bypasses certain checks and forces the closure of the document. The procedure also checks for digital signatures and archives the call after closing it.

Events

OnBeforeCopyTablesAtChangeCallClassification(Code[20], Code[20]) :

Summary: Integration event raised before related tables are copied during call classification change.

[IntegrationEvent(false, false)]
local procedure OnBeforeCopyTablesAtChangeCallClassification(oldCallHeaderNo: Code[20]; newCallHeaderNo: Code[20]): 

Parameters:

  • oldCallHeaderNo: The source call header number.
  • newCallHeaderNo: The target call header number.

Remarks: Subscribers can copy additional custom data from the old call to the new call before the standard copy logic is executed.

OnShowChangeLogArchiveOnBeforePageRunmodal(Record KVSKBACLLCallHeaderArchive, Record Change Log Entry) :

Summary: Integration event raised before opening the change log page for an archived call.

[IntegrationEvent(false, false)]
local procedure OnShowChangeLogArchiveOnBeforePageRunmodal(callHeaderArchive: Record "KVSKBACLLCallHeaderArchive"; var TempChangeLog: Record "Change Log Entry" temporary): 

Parameters:

  • callHeaderArchive: The archived call header record.
  • TempChangeLog: Temporary change log entries used as the page source.

Remarks: Subscribers can add, remove, or adjust temporary change log entries before the archive change log page is shown.

OnShowChangeLogOnBeforePageRunmodal(Record KVSKBACLLCallHeader, Record Change Log Entry) :

Summary: Integration event raised before opening the change log page for an active call.

[IntegrationEvent(false, false)]
local procedure OnShowChangeLogOnBeforePageRunmodal(callHeader: Record "KVSKBACLLCallHeader"; var TempChangeLog: Record "Change Log Entry" temporary): 

Parameters:

  • callHeader: The active call header record.
  • TempChangeLog: Temporary change log entries used as the page source.

Remarks: Subscribers can add, remove, or adjust temporary change log entries before the active call change log page is shown.