Codeunit 18126546 M365 EX090 Subscription

Codeunit 18126546 M365 EX090 Subscription

Provides functions related to extension specific subscription management.

Methods

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

Verifies 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

Verifies 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() Result: Boolean

Verifies if the subscription is active

Parameters / Return Value

  • Returns Boolean

    The subscription status


GetSubscriptionExpiring

procedure GetSubscriptionExpiring(): Boolean

Verifies if the subscription is active

Parameters / Return Value

  • Returns Boolean

    The subscription status


GetSubscriptionExpired

procedure GetSubscriptionExpired(): Boolean

Verifies if the subscription is active

Parameters / Return Value

  • Returns Boolean

    The subscription status


GetLicenseText

procedure GetLicenseText(): Text

Parameters / Return Value

  • Returns Text

GetLicenseText

procedure GetLicenseText(CanDoCommit: Boolean) Result: Text

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

Parameters / Return Value

  • CanDoCommit Boolean

  • Returns Text

    The generated text


GetNotificationId

procedure GetNotificationId(): Guid

Returns a unique GUID to use for extension specific 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


SendSetupNotEditableNotification

procedure SendSetupNotEditableNotification()

Displays an extension specific notification related to “Not editable setup”.


SendSetupOnlyOneRecordSetupNotification

procedure SendSetupOnlyOneRecordSetupNotification()

Displays an extension specific notification related to “Only one setup line allowed”.



EOS Labs -