Skip to content

KVSFCYCheckAddOnLicense#

Procedures#

CheckProjectLicense(Enum KVSFCYShowDialog, Boolean) : Boolean#

Summary: Validates the KUMAVISION factory365 Project (Plant Engineer) module license and activation status. This procedure checks both the module activation in the setup and the license permissions through the registration management system. It supports silent validation for application area determination and error display mode for user-facing validation with appropriate error messages. The procedure ensures that project-related functionality is only accessible when properly licensed and activated.

procedure CheckProjectLicense(ShowDialogEnum: Enum "KVSFCYShowDialog"; CheckLicense: Boolean): Boolean

Parameters:

  • ShowDialogEnum: Enum KVSFCYShowDialog: Controls error display behavior - None for silent checking or Show Error to display validation errors to the user.
  • CheckLicense: Boolean: When true, performs full license validation through registration management; when false, only checks module activation status for application area purposes.

Returns: Boolean: True if the project module is properly licensed and activated, false otherwise.

CheckLogisticsUnitLicense() : Boolean#

Summary: Validates the logistics unit license by checking execute permissions for the dispatch unit library codeunit. This procedure implements a caching mechanism using the LogUnitLicenseState variable to avoid repeated license checks during the same session. It verifies that the KVSFCYDispatchUnitLib codeunit has execute permissions in the current license, which is required for logistics unit functionality. The license state is cached after the first check to improve performance in subsequent calls.

procedure CheckLogisticsUnitLicense(): Boolean

Returns: Boolean: True if the logistics unit license is valid and execute permissions are granted, false otherwise.