Codeunit 18007963 EOS EX043 Subscription
Codeunit 18007963 EOS EX043 Subscription
Methods
LoadSubscriptionInfo
procedure LoadSubscriptionInfo()
Loads record with present subscription informations
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
Obsolete
Pending: No longer used. (25.0)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
Verifies if the subscription is active
Parameters / Return Value
Returns
Boolean
The subscription status
GetSubscriptionIsFreeTrial
procedure GetSubscriptionIsFreeTrial(): Boolean
Returns if the subscription is a free trial (active “FREE” subscription plan)
Parameters / Return Value
Returns
Boolean
true/false
TestSubscriptionIsActive
procedure TestSubscriptionIsActive()
Returns if “full” using extension is allowed with actual subscription situation
GetMaxFreeDays
procedure GetMaxFreeDays(): Integer
Returns the maximal nr. of days allowed for using in trial mode
Parameters / Return Value
Returns
Integer
The number of total free days
GetFreeDays
procedure GetFreeDays(): Integer
Returns the remaining days for using in free trial mode
Parameters / Return Value
Returns
Integer
The number of remaining free days
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; ActionText: Text)
Displays an extension specific notification
Parameters / Return Value
Message
Text[]
The text to be displayes
ActionText
Text[]
The action text to be displayes
SendCustomNotification
procedure SendCustomNotification(NotifyCode: Code[20])
Displays an extension specific notification
Parameters / Return Value
NotifyCode
Code[20]
Code of notification to be displayed
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
GetUsingAllowed
Obsolete
Pending: Use “GetSubscriptionIsActive” instead. (25.0)procedure GetUsingAllowed(): Boolean
Parameters / Return Value
- Returns
Boolean
CheckSubscriptionPage
procedure CheckSubscriptionPage()
CheckSubscriptionReport
Obsolete
Pending: No longer used. (25.0)procedure CheckSubscriptionReport()
CheckSubscriptionCU
Obsolete
Pending: No longer used. (25.0)procedure CheckSubscriptionCU()
SetCaption
Obsolete
Pending: No longer used. (25.0)procedure SetCaption(Title: Text; AppCode: Text; ReplaceCapt: Boolean; CurrPageCaption: Text): Text
Parameters / Return Value
Title
Text[]
AppCode
Text[]
ReplaceCapt
Boolean
CurrPageCaption
Text[]
Returns
Text[]
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.