Codeunit 18090681 EOS035 VIES Subscription
Provides functions related to extension specific subscription management.
procedure GetNotificationId(): Guid
Returns a unique GUID to use for extension specfic notifications
Returns Guid
The ID
procedure LoadSubscriptionInfo()
Loads record with present subscription informations
procedure SendExpirationNotifications(): Boolean
Verfifies subscription status/dates and if necessary displays expiring related notification
Returns Boolean
True if notification has been displayed
procedure SendAllNotifications(): Boolean
Verfifies subscription status/dates and if necessary displays a notification
Returns Boolean
True if notification has been displayed
procedure SetupSubscription()
Launches subscription request wizard
procedure GetSubscriptionIsActive(): Boolean
Verfifies if the subscription is active
Returns Boolean
The subscription status
procedure GetSubscriptionIsFreeTrial(): Boolean
Returns if the subscription is a free trial (active & “FREE” subscription plan)
Returns Boolean
true/false
procedure GetUsingAllowed(): Boolean
Returns if “full” using extension is allowed with actual subscription situation
Returns Boolean
true/false
procedure SendNotification(Message: Text; ActionText: Text)
Displays an extension specific notification
Message Text
The text to be displayes
ActionText Text
The action text to be displayes
procedure SendNotification(Message: Text)
Displays an extension specific notification
Message Text
The text to be displayes
procedure ShowCustomMessage(MsgCode: Code[20]; Message: Text; AsError: Boolean; AsNotification: Boolean)
Displays a custom message as Notification and/or error
MsgCode Code[20]
Code of message to be displayed
Message Text
Custom message text instead of coded to be displayed
AsError Boolean
Specify if message should be displayed as notification
AsNotification Boolean
procedure SendCustomNotification(NotifyCode: Code[20])
Displays an extension specific notification
NotifyCode Code[20]
Code of notification to be displayed
procedure GetMaxFreeDays(): Integer
Returns the maximal nr. of days allowed for using in trial mode
Returns Integer
The number of total free days
procedure GetFreeDays(): Integer
Returns the remaining days for using in free trial mode
Returns Integer
The number of remaining free days
procedure GetElapsedDays(): Integer
Returns the nr. of elapsed days in the trial period
Returns Integer
The number of the trial day
procedure GetTrialText(): Text[50]
Generates a text with infos related to free version (i.e. for captions)
Returns Text[50]
The generated text
procedure GetLicenseText(): Text[50]
Generates a text with infos related to free version (i.e. for captions)
Returns Text[50]
The generated text
procedure DetCaption(Title: Text; Applcode: Text): Text
Defines the title/caption for pages/reports considering licensing (free version)
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
procedure DetCaption(Title: Text): Text
Defines the title/caption for pages/reports considering licensing (free, trial version)
Title Text
the base title/caption text
Returns Text
then new caption
procedure CheckSubscriptionPage(ExitWithError: Boolean)
Boolean
procedure CheckSubscriptionPage()
procedure CheckSubscriptionPageWithError()
procedure CheckSubscriptionReport(ExitWithError: Boolean)
Boolean
procedure CheckSubscriptionReport()
procedure CheckSubscriptionCU(ExitWithError: Boolean): Boolean
ExitWithError Boolean
Returns Boolean
procedure CheckSubscriptionCU(): Boolean
Boolean
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.