Codeunit 18091288 EOS028 CFG Subscriptions
Codeunit 18091288 EOS028 CFG Subscriptions
Methods
LoadSubscriptionInfo
procedure LoadSubscriptionInfo()
Loads record with present subscription informations
LoadSubscription2Info
procedure LoadSubscription2Info()
Loads record with present subscription informations
SendExpirationNotifications
procedure SendExpirationNotifications(AppID: Guid): Boolean
Verfifies subscription status/dates and if necessary displays expiring related notification
Parameters / Return Value
AppID
Guid
Returns
Boolean
True if notification has been displayed
SendAllNotifications
procedure SendAllNotifications(AppId: Guid): Boolean
Verfifies subscription status/dates and if necessary displays a notification
Parameters / Return Value
AppId
Guid
Returns
Boolean
True if notification has been displayed
SetupSubscription
procedure SetupSubscription(AppdId: Guid)
Launches subscription request wizard
Parameters / Return Value
- AppdId
Guid
GetSubscriptionIsActive
procedure GetSubscriptionIsActive(): Boolean
Verfifies if the subscription is active
Parameters / Return Value
Returns
Boolean
The subscription status
GetSubscription2IsActive
procedure GetSubscription2IsActive(): Boolean
Parameters / Return Value
- Returns
Boolean
GetSubscriptionIsTrial
procedure GetSubscriptionIsTrial(): Boolean
Returns if the subscription is a trial (active and “FREE” subscription plan)
Parameters / Return Value
Returns
Boolean
true/false
GetSubscription2IsTrial
procedure GetSubscription2IsTrial(): Boolean
Returns if the subscription is a trial (active and “FREE” subscription plan)
Parameters / Return Value
Returns
Boolean
true/false
GetUsingAllowed
procedure GetUsingAllowed(): Boolean
Returns if “full” using extension is allowed with actual subscription situation
Parameters / Return Value
Returns
Boolean
true/false
GetUsing2Allowed
procedure GetUsing2Allowed(): Boolean
Returns if “full” using extension is allowed with actual subscription situation
Parameters / Return Value
Returns
Boolean
true/false
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; AppID: Guid)
Displays an extension specific notification
Parameters / Return Value
Message
Text
The text to be displayes
ActionText
Text
The action text to be displayes
AppID
Guid
SendCustomNotification
procedure SendCustomNotification(NotifyCode: Code[20])
Displays an extension specific notification
Parameters / Return Value
NotifyCode
Code[20]
Code of notification to be displayed
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
GetMaxFreeDays2
procedure GetMaxFreeDays2(): Integer
Returns the maximal nr. of days allowed for using in trial mode
Parameters / Return Value
Returns
Integer
The number of total free days
GetRemainingFreeDays
procedure GetRemainingFreeDays(): Integer
Returns the remaining days for using in free trial mode
Parameters / Return Value
Returns
Integer
The number of remaining free days
GetRemainingFreeDays2
procedure GetRemainingFreeDays2(): Integer
Returns the remaining days for using in free trial mode
Parameters / Return Value
Returns
Integer
The number of remaining free days
GetElapsedDays
procedure GetElapsedDays(): Integer
Returns the nr. of elapsed days in the trial period
Parameters / Return Value
Returns
Integer
The number of the trial day
GetElapsedDays2
procedure GetElapsedDays2(): Integer
Returns the nr. of elapsed days in the trial period
Parameters / Return Value
Returns
Integer
The number of the trial day
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
GetLicenseText2
procedure GetLicenseText2(): Text[50]
Generates a text with infos related to free version (i.e. for captions)
Parameters / Return Value
Returns
Text[50]
The generated 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
DetCaption2
procedure DetCaption2(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
CheckSubscriptionPage
procedure CheckSubscriptionPage()
Check subscription in a page
CheckSubscription2Page
procedure CheckSubscription2Page()
Check subscription in a page
CheckSubscriptionCU
procedure CheckSubscriptionCU(ExitWithError: Boolean)
Check subscription in a codeunit
Parameters / Return Value
ExitWithError
Boolean
Error
CheckSubscription2CU
procedure CheckSubscription2CU(ExitWithError: Boolean)
Check subscription in a codeunit
Parameters / Return Value
ExitWithError
Boolean
Error
CheckSubscriptionReport
procedure CheckSubscriptionReport(ExitWithError: Boolean)
Check subscription in a report
Parameters / Return Value
ExitWithError
Boolean
Error
CheckSubscriptionReport
procedure CheckSubscriptionReport()
Check subscription in a report
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.