Codeunit 18123332 EOS Bank Files Subscription
Codeunit 18123332 EOS Bank Files Subscription
Provides functions related to extension specific subscription management.
Methods
LoadSubscriptionInfo
procedure LoadSubscriptionInfo(ForceReload: Boolean; DoCommit: Boolean)
Loads record with present subscription informations
Parameters / Return Value
ForceReload
BooleanIf true forces information to be read from EOS Endpoint
DoCommit
BooleanIf 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
BooleanIf 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
BooleanTrue if notification has been displayed
SendExpirationNotifications
procedure SendExpirationNotifications(): Boolean
Verfifies subscription status/dates and if necessary displays expiring related notification
Parameters / Return Value
Returns
BooleanTrue if notification has been displayed
SendAllNotifications
procedure SendAllNotifications(): Boolean
Verfifies subscription status/dates and if necessary displays a notification
Parameters / Return Value
Returns
BooleanTrue 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
BooleanThe 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
BooleanThe 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
SendNotification
procedure SendNotification(Message: Text)
Displays an extension specific notification
Parameters / Return Value
Message
Text[]The text to be displayes
ReportNotSubscribedError
procedure ReportNotSubscribedError()
Displays a report specific not subscribed error
SendNotSubscribedNotification
procedure SendNotSubscribedNotification()
Send a not subscribed notification
SendNoFreePrintNotification
Obsolete
Pending: Freemium version not supported anymore (25.0)procedure SendNoFreePrintNotification()
Displays an extension specific notification related to no more free report generations
SendFreePrintsNotification
Obsolete
Pending: Freemium version not supported anymore (25.0)procedure SendFreePrintsNotification(TotPrints: Integer)
Displays an extension specific notification related to x free report generations
Parameters / Return Value
TotPrints
IntegerThe number of reports that can be generated
GetNotificationId
procedure GetNotificationId(): Guid
Returns a unique GUID to use for extension specfic notifications
Parameters / Return Value
Returns
GuidThe ID
GetMaxPrints
Obsolete
Pending: Freemium version not supported anymore (25.0)procedure GetMaxPrints(): Integer
Returns the maximal nr. of copies a report can be executed (i.e. free version)
Parameters / Return Value
Returns
IntegerThe number
GetCounter
procedure GetCounter(ObjectNo: Integer): Integer
Gets (reads) a counter value for an object from the internal cache area
Parameters / Return Value
ObjectNo
Integeran internal number that identifies the Object
Returns
Integer
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
SendLogMessage
procedure SendLogMessage(EventId: Text; MessageText: Text; ObjectID: Text; ObjectName: Text)
Parameters / Return Value
EventId
Text[]MessageText
Text[]ObjectID
Text[]ObjectName
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.