Skip to content

KVSMTCMedLicenseLib#

Procedures#

CheckMEDLicence_ActionModule(Enum KVSMTCLicenseCheckOption) : Boolean#

Summary: Checks if the MED license for the action module is valid and optionally displays an error.

procedure CheckMEDLicence_ActionModule(showError: Enum "KVSMTCLicenseCheckOption"): Boolean

Parameters:

  • ShowError: If true, displays an error message when license check fails.

Returns: Returns true if the MED license for action module is valid, false otherwise.

CheckMedLicence_MDR(Enum KVSMTCLicenseCheckOption) : Boolean#

Summary: Checks if the MED license for the mdr module is valid and optionally displays an error.

procedure CheckMedLicence_MDR(showError: Enum "KVSMTCLicenseCheckOption"): Boolean

Parameters:

  • ShowError: If true, displays an error message when license check fails.

Returns: Returns true if the MED license for mdr module is valid, false otherwise.

Events#

OnBeforeCheckKVSLicenseInUse(Boolean, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Procedure not used anymore', '25.2')]
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckKVSLicenseInUse(var result: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCMedLicenseLib", 'OnBeforeCheckKVSLicenseInUse', '', false, false)]
local procedure DoSomethingOnBeforeCheckKVSLicenseInUse(var result: Boolean; var isHandled: Boolean)
begin
end;