Codeunit 18122908 EOS EX072 Subscription

Codeunit 18122908 EOS EX072 Subscription

Methods

LoadSubscriptionInfo

procedure LoadSubscriptionInfo(ForceReload: Boolean; DoCommit: Boolean)

Loads record with present subscription informations

Parameters / Return Value

  • ForceReload Boolean

    If true forces information to be read from EOS Endpoint

  • DoCommit Boolean

    If true executes a commit when updating cached information


LoadSubscriptionInfo

procedure LoadSubscriptionInfo(ForceReload: Boolean)

Loads record with present subscription informations without executing necessary commit

Parameters / Return Value

  • ForceReload Boolean

    If true forces information to be read from EOS Endpoint


LoadSubscriptionInfo

procedure LoadSubscriptionInfo()

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


GetSubscriptionInfo

procedure GetSubscriptionInfo(var TmpSubscrInfo: Record "EOS Subscription Information")

Reads present subscription informations

Parameters / Return Value

  • TmpSubscrInfo Record "EOS Subscription Information"

    the record type with the found informations


GetSubscriptionInfoWithCommit

procedure GetSubscriptionInfoWithCommit(var TmpSubscrInfo: Record "EOS Subscription Information")

Reads present subscription informations and forces a commit if necessary

Parameters / Return Value

  • TmpSubscrInfo Record "EOS Subscription Information"

    the record type with the found informations


TestSubscription

procedure TestSubscription(): Boolean

Verifies if subscription is active. If not a “required” notification will be displayed

Parameters / Return Value

  • Returns Boolean

    True if notification has been displayed


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


GetSubscriptionIsActiveWithCommit

procedure GetSubscriptionIsActiveWithCommit(): Boolean

Verfifies if the subscription is active and does a Commit if new data is written to cache

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


SendNotSubscribedNotification

procedure SendNotSubscribedNotification()

Send a not subscribed notification


SendNotSubscribedError

procedure SendNotSubscribedError()

Displays a not subscribed error


SendNotification

procedure SendNotification(Message: Text)

Displays an extension specific notification

Parameters / Return Value

  • Message Text

    The text to be displayes


SearchInTableAllowed

procedure SearchInTableAllowed(TableNo: Integer): Boolean

Verifies if Search Action in the given table no is allowed

Parameters / Return Value

  • TableNo Integer

  • Returns Boolean

    true/false if search in table is allowed in free version



EOS Labs -