Codeunit 18122852 EOS EX039 Subscription

Codeunit 18122852 EOS EX039 Subscription

Provides functions related to extension specific subscription management.

Methods

LoadSubscriptionInfo

procedure LoadSubscriptionInfo()

Loads record with present subscription informations without executing necessary commit and reading from cache


SendExpirationNotifications

procedure SendExpirationNotifications(): Boolean

Verfifies subscription status/dates and if necessary displays expiring related notification

Parameters / Return Value

  • Returns Boolean

    True if notification has been displayed


SendAllNotifications

procedure SendAllNotifications(): Boolean

Verfifies subscription status/dates and if necessary displays a notification

Parameters / Return Value

  • Returns Boolean

    True if notification has been displayed


SetupSubscription

procedure SetupSubscription()

Launches subscription request wizard


GetSubscriptionIsActive

procedure GetSubscriptionIsActive(): Boolean

Verfifies if the subscription is active

Parameters / Return Value

  • Returns Boolean

    The subscription status


GetLicenseText

procedure GetLicenseText(): Text[50]

Generates a text with infos related to free version (i.e. for captions)

Parameters / Return Value

  • Returns Text[50]

    The generated text


GetNotificationId

procedure GetNotificationId(): Guid

Returns a unique GUID to use for extension specfic notifications

Parameters / Return Value

  • Returns Guid

    The ID


SendNotification

procedure SendNotification(Message: Text)

Displays an extension specific notification

Parameters / Return Value

  • Message Text

    The text to be displayes


SendFreeVerLimitsNotification

procedure SendFreeVerLimitsNotification(LimType: Text)

Displays an extension specific notification

Parameters / Return Value

  • LimType Text

DetCaption

procedure DetCaption(Title: Text; Applcode: Text): Text

Defines the title/caption for pages/reports considering licensing (free version)

Parameters / Return Value

  • Title Text

    the base title/caption text

  • Applcode Text

    if present a short application code, if to remove from base title/caption

  • Returns Text

    then new caption



EOS Labs -