KVSKBACLLCallTextMgt
Summary: Provides CLL Call Text Management functionality, including Check Text Authorization, Select Text Type, and New Text.
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.
ShowTextArchive(Code[20], Enum KVSKBACLLCallTextType) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
Summary: Displays the archived call text in a modal dialog with the specified type.
[Obsolete('The module is being redesigned, so this procedure may no longer be used in the future.', '29.0')]
procedure ShowTextArchive(CallNo: Code[20]; CLLCallTextType: Enum "KVSKBACLLCallTextType"):
Parameters:
CallNo: The call number (Code[20]).CLLCallTextType: The type of call text to display (Enum KVSKBACLLCallTextType).
Remarks: This procedure opens a modal dialog to display the archived call text based on the provided call number and text type.
StoreText(Record KVSKBACLLCallText, Code[20], Enum KVSKBACLLCallTextType) :
OBSOLETE
This Element will be removed or changed with a future Version of the App.
Summary: Stores the given text lines as a new version of the call text type.
[Obsolete('The module is being redesigned, so this procedure may no longer be used in the future.', '29.1')]
procedure StoreText(var NewCLLCallText: Record "KVSKBACLLCallText" temporary; CallNo: Code[20]; CLLCallTextType: Enum "KVSKBACLLCallTextType"):
Parameters:
NewCLLCallText: The text lines (Text and Separator) to store; call no., type and version are set by this procedure.CallNo: The number of the case.CLLCallTextType: The text type the lines are stored for.
Remarks: This procedure stores the given text lines as a new version for the specified call text type.
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.