KVSKBACLLCallTextMgt
Procedures
ShowText(Code[20], Enum KVSKBACLLCallTextType, Boolean) :
Summary: Displays the call text in a modal dialog with the specified type and editability.
procedure ShowText(callNo: Code[20]; textType: Enum "KVSKBACLLCallTextType"; isEditable: Boolean):
Parameters:
callNo: The call number (Code[20]).textType: The type of call text to display (Enum KVSKBACLLCallTextType).isEditable: Boolean indicating whether the text should be editable.
Remarks: This procedure opens a modal dialog to display the call text based on the provided call number and text type. The editability of the text is determined by the isEditable parameter. If isEditable is true, the user can edit the text; otherwise, it will be read-only.
Events
OnCheckTextAuthorization(Enum KVSKBACLLCallClassification, Enum KVSKBACLLCallTextType) :
Summary: Event raised to check authorization for displaying call text based on call classification and text type.
Parameters:
callClassification: The classification of the call (Enum KVSKBACLLCallClassification).textType: The type of call text (Enum KVSKBACLLCallTextType).
Remarks: This event allows subscribers to implement custom authorization logic for displaying call text. Subscribers can check the call classification and text type to determine if the user has the necessary permissions to view the call text. If a subscriber determines that the user is not authorized, they can throw an exception or take other appropriate actions to prevent access to the call text.
OnSelectTextType(Enum KVSKBACLLCallClassification, Enum KVSKBACLLCallTextType) :
Summary: Event raised to allow subscribers to select the text type for a call based on its classification.
[IntegrationEvent(false, false)]
local procedure OnSelectTextType(callClassification: Enum "KVSKBACLLCallClassification"; var textType: Enum "KVSKBACLLCallTextType"):
Parameters:
callClassification: The classification of the call (Enum KVSKBACLLCallClassification).textType: The type of call text (Enum KVSKBACLLCallTextType).
Remarks: This event allows subscribers to implement custom logic for selecting the text type for a call based on its classification. Subscribers can modify the textType parameter to specify the appropriate text type for the call.