{"title":"Codeunit 1430 Role Center Notification Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1430-role-center-notification-mgt/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":1430,"name":"Role Center Notification Mgt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1430-role-center-notification-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1430-role-center-notification-mgt/source/","path":"src/Layers/W1/BaseApp/RoleCenters/RoleCenterNotificationMgt.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"page:9870":{"name":"WS Access Key Wizard","url":"https://jonas-paprotka.de/ref/page/9870-ws-access-key-wizard/"},"codeunit:457":{"name":"Environment Information","url":"https://jonas-paprotka.de/ref/codeunit/457-environment-information/"},"codeunit:2300":{"name":"Tenant License State","url":"https://jonas-paprotka.de/ref/codeunit/2300-tenant-license-state/"},"codeunit:4030":{"name":"Client Type Management","url":"https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/"},"table:1430":{"name":"Role Center Notifications","url":"https://jonas-paprotka.de/ref/table/1430-role-center-notifications/"},"codeunit:152":{"name":"User Permissions","url":"https://jonas-paprotka.de/ref/codeunit/152-user-permissions/"},"codeunit:1798":{"name":"Data Migration Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1798-data-migration-mgt/"},"codeunit:1756":{"name":"Data Class. Notification Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/1756-data-class-notification-mgt/"},"codeunit:1760":{"name":"Data Geo. Notification","url":"https://jonas-paprotka.de/ref/codeunit/1760-data-geo-notification/"},"table:1518":{"name":"My Notifications","url":"https://jonas-paprotka.de/ref/table/1518-my-notifications/"},"codeunit:3006":{"name":"DotNet_DateTimeOffset","url":"https://jonas-paprotka.de/ref/codeunit/3006-dotnet-datetimeoffset/"},"page:1828":{"name":"Extend Trial Wizard","url":"https://jonas-paprotka.de/ref/page/1828-extend-trial-wizard/"}},"procs":[{"name":"FixNowWSDeprecation","line":67,"kind":"procedure","params":1,"steps":[[69,"run","page",9870]]},{"name":"CreateAndSendTrialNotification","line":72,"kind":"procedure","access":"local","params":0,"steps":[[77,"call","GetLicenseRemainingDays",0],[78,"call","GetTrialNotificationId",0],[79,"call","TrialNotificationMessage",0]]},{"name":"CreateAndSendTrialSuspendedNotification","line":89,"kind":"procedure","access":"local","params":0,"steps":[[93,"call","GetTrialSuspendedNotificationId",0],[94,"call","TrialSuspendedNotificationMessage",0]]},{"name":"CreateAndSendTrialExtendedNotification","line":108,"kind":"procedure","access":"local","params":0,"steps":[[113,"call","GetLicenseRemainingDays",0],[114,"call","GetTrialExtendedNotificationId",0],[115,"call","TrialExtendedNotificationMessage",0]]},{"name":"CreateAndSendTrialExtendedSuspendedNotification","line":125,"kind":"procedure","access":"local","params":0,"steps":[[129,"call","GetTrialExtendedSuspendedNotificationId",0],[130,"call","TrialExtendedSuspendedNotificationMessage",0]]},{"name":"CreateAndSendPaidWarningNotification","line":140,"kind":"procedure","access":"local","params":0,"steps":[[148,"call","GetLicenseRemainingDays",0],[149,"call","GetPaidWarningNotificationId",0]]},{"name":"CreateAndSendPaidSuspendedNotification","line":157,"kind":"procedure","access":"local","params":0,"steps":[[165,"call","GetLicenseRemainingDays",0],[166,"call","GetPaidSuspendedNotificationId",0]]},{"name":"CreateAndSendSandboxNotification","line":174,"kind":"procedure","access":"local","params":0,"steps":[[178,"call","GetSandboxNotificationId",0]]},{"name":"AreNotificationsSupported","line":257,"kind":"procedure","access":"local","params":0,"steps":[[264,"ext","codeunit",457,"IsSaaS",0],[267,"ext","codeunit",457,"IsSandbox",0]]},{"name":"AreSandboxNotificationsSupported","line":273,"kind":"procedure","access":"local","params":0,"steps":[[280,"ext","codeunit",457,"IsSaaS",0],[283,"ext","codeunit",457,"IsSandbox",0]]},{"name":"IsTrialNotificationEnabled","line":289,"kind":"procedure","access":"local","params":0,"steps":[[294,"ext","codeunit",2300,"IsTrialMode",0],[297,"call","AreNotificationsSupported",0],[300,"ext","codeunit",4030,"GetCurrentClientType",0],[303,"call","GetLicenseFullyUsedDays",0],[303,"call","GetTrialNotificationDaysSinceStart",0]]},{"name":"IsTrialSuspendedNotificationEnabled","line":309,"kind":"procedure","access":"local","params":0,"steps":[[314,"ext","codeunit",2300,"IsTrialSuspendedMode",0],[317,"ext","codeunit",2300,"IsTrialExtendedSuspendedMode",0],[320,"call","AreNotificationsSupported",0],[323,"ext","codeunit",4030,"GetCurrentClientType",0]]},{"name":"IsTrialExtendedNotificationEnabled","line":329,"kind":"procedure","access":"local","params":0,"steps":[[334,"ext","codeunit",2300,"IsTrialExtendedMode",0],[337,"call","AreNotificationsSupported",0],[340,"ext","codeunit",4030,"GetCurrentClientType",0],[343,"call","GetLicenseFullyUsedDays",0],[343,"call","GetTrialNotificationDaysSinceStart",0]]},{"name":"IsTrialExtendedSuspendedNotificationEnabled","line":349,"kind":"procedure","access":"local","params":0,"steps":[[354,"ext","codeunit",2300,"IsTrialExtendedSuspendedMode",0],[357,"call","AreNotificationsSupported",0],[360,"ext","codeunit",4030,"GetCurrentClientType",0]]},{"name":"IsPaidWarningNotificationEnabled","line":366,"kind":"procedure","access":"local","params":0,"steps":[[371,"ext","codeunit",2300,"IsPaidWarningMode",0],[374,"call","AreNotificationsSupported",0],[377,"ext","table",1430,"IsFirstLogon",0],[380,"call","IsBuyNotificationEnabled",0]]},{"name":"IsPaidSuspendedNotificationEnabled","line":383,"kind":"procedure","access":"local","params":0,"steps":[[388,"ext","codeunit",2300,"IsPaidSuspendedMode",0],[391,"call","AreNotificationsSupported",0],[394,"ext","table",1430,"IsFirstLogon",0],[397,"call","IsBuyNotificationEnabled",0]]},{"name":"ShowNotifications","line":400,"kind":"procedure","params":0,"steps":[[415,"event","OnBeforeShowNotifications",0],[416,"call","IsRunningPreviewEvent",0],[418,"ext","codeunit",152,"IsSuper",1],[419,"call","ShowTrialNotification",0],[420,"call","ShowTrialSuspendedNotification",0],[421,"call","ShowTrialExtendedNotification",0],[422,"call","ShowTrialExtendedSuspendedNotification",0],[424,"call","ShowPaidWarningNotification",0],[425,"call","ShowPaidSuspendedNotification",0],[426,"call","ShowSandboxNotification",0],[428,"ext","codeunit",457,"ShowEarlyPreviewNotification",0],[429,"ext","codeunit",1798,"ShowDataMigrationRelatedGlobalNotifications",0],[430,"ext","codeunit",1756,"ShowNotifications",0],[431,"ext","codeunit",1760,"ShowExistingAppsNotification",0]]},{"name":"ShowTrialNotification","line":441,"kind":"procedure","params":0,"steps":[[443,"call","IsRunningPreviewEvent",0],[445,"call","IsTrialNotificationEnabled",0],[448,"call","CreateAndSendTrialNotification",0]]},{"name":"ShowTrialSuspendedNotification","line":452,"kind":"procedure","params":0,"steps":[[454,"call","IsRunningPreviewEvent",0],[456,"call","IsTrialSuspendedNotificationEnabled",0],[459,"call","CreateAndSendTrialSuspendedNotification",0]]},{"name":"ShowTrialExtendedNotification","line":463,"kind":"procedure","params":0,"steps":[[465,"call","IsRunningPreviewEvent",0],[467,"call","IsTrialExtendedNotificationEnabled",0],[470,"call","CreateAndSendTrialExtendedNotification",0]]},{"name":"ShowTrialExtendedSuspendedNotification","line":474,"kind":"procedure","params":0,"steps":[[476,"call","IsRunningPreviewEvent",0],[478,"call","IsTrialExtendedSuspendedNotificationEnabled",0],[481,"call","CreateAndSendTrialExtendedSuspendedNotification",0]]},{"name":"ShowPaidWarningNotification","line":485,"kind":"procedure","params":0,"steps":[[487,"call","IsRunningPreviewEvent",0],[489,"call","IsPaidWarningNotificationEnabled",0],[492,"call","CreateAndSendPaidWarningNotification",0]]},{"name":"ShowPaidSuspendedNotification","line":496,"kind":"procedure","params":0,"steps":[[498,"call","IsRunningPreviewEvent",0],[500,"call","IsPaidSuspendedNotificationEnabled",0],[503,"call","CreateAndSendPaidSuspendedNotification",0]]},{"name":"ShowSandboxNotification","line":507,"kind":"procedure","params":0,"steps":[[511,"call","AreSandboxNotificationsSupported",0],[514,"ext","table",1518,"IsEnabled",1],[514,"call","GetSandboxNotificationId",0],[517,"call","CreateAndSendSandboxNotification",0]]},{"name":"TrialNotificationAction","line":521,"kind":"procedure","params":1,"steps":[[523,"call","BuySubscription",0]]},{"name":"TrialNotificationExtendAction","line":526,"kind":"procedure","params":1,"steps":[[528,"call","ExtendTrial",0]]},{"name":"TrialSuspendedNotificationAction","line":531,"kind":"procedure","params":1,"steps":[[533,"call","BuySubscription",0]]},{"name":"TrialSuspendedNotificationExtendAction","line":536,"kind":"procedure","params":1,"steps":[[538,"call","ExtendTrial",0]]},{"name":"TrialSuspendedNotificationPartnerAction","line":541,"kind":"procedure","params":1,"steps":[[543,"call","ContactAPartner",0]]},{"name":"TrialExtendedNotificationSubscribeAction","line":546,"kind":"procedure","params":1,"steps":[[548,"call","BuySubscription",0]]},{"name":"TrialExtendedNotificationPartnerAction","line":551,"kind":"procedure","params":1,"steps":[[553,"call","ContactAPartner",0]]},{"name":"PaidWarningNotificationAction","line":556,"kind":"procedure","params":1,"steps":[[558,"call","BuySubscription",0]]},{"name":"PaidSuspendedNotificationAction","line":561,"kind":"procedure","params":1,"steps":[[563,"call","BuySubscription",0]]},{"name":"GetLicenseRemainingDays","line":566,"kind":"procedure","params":0,"steps":[[576,"ext","codeunit",3006,"ConvertToUtcDateTime",1],[577,"ext","codeunit",2300,"GetEndDate",0]]},{"name":"GetLicenseFullyUsedDays","line":587,"kind":"procedure","access":"local","params":0,"steps":[[597,"ext","codeunit",3006,"ConvertToUtcDateTime",1],[598,"ext","codeunit",2300,"GetStartDate",0]]},{"name":"GetTrialTotalDays","line":609,"kind":"procedure","params":0,"steps":[[614,"ext","codeunit",2300,"GetPeriod",1]]},{"name":"ExtendTrial","line":626,"kind":"procedure","access":"local","params":0,"steps":[[628,"call","DisableBuyNotification",0],[629,"run","page",1828]]},{"name":"BuySubscription","line":632,"kind":"procedure","access":"local","params":0,"steps":[[634,"call","DisableBuyNotification",0]]},{"name":"ContactAPartner","line":638,"kind":"procedure","access":"local","params":0,"steps":[[640,"call","DisableBuyNotification",0]]},{"name":"DisableEvaluationNotification","line":644,"kind":"procedure","params":0,"steps":[[648,"ext","table",1430,"SetEvaluationNotificationState",1]]},{"name":"EnableEvaluationNotification","line":651,"kind":"procedure","params":0,"steps":[[655,"ext","table",1430,"SetEvaluationNotificationState",1]]},{"name":"IsEvaluationNotificationClicked","line":658,"kind":"procedure","params":0,"steps":[[662,"ext","table",1430,"GetEvaluationNotificationState",0]]},{"name":"DisableBuyNotification","line":665,"kind":"procedure","params":0,"steps":[[669,"ext","table",1430,"SetBuyNotificationState",1]]},{"name":"EnableBuyNotification","line":672,"kind":"procedure","params":0,"steps":[[676,"ext","table",1430,"SetBuyNotificationState",1]]},{"name":"IsBuyNotificationEnabled","line":679,"kind":"procedure","access":"local","params":0,"steps":[[683,"ext","table",1430,"GetBuyNotificationState",0]]},{"name":"DisableSandboxNotification","line":686,"kind":"procedure","params":1,"steps":[[691,"ext","table",1518,"Disable",1],[691,"call","GetSandboxNotificationId",0],[692,"ext","table",1518,"InsertDefault",4],[692,"call","GetSandboxNotificationId",0]]},{"name":"DisableChangeToPremiumExpNotification","line":695,"kind":"procedure","params":1,"steps":[[699,"ext","table",1518,"Disable",1],[699,"call","GetChangeToPremiumExpNotificationId",0],[700,"ext","table",1518,"InsertDefault",4],[701,"call","GetChangeToPremiumExpNotificationId",0]]},{"name":"OnInitializingNotificationWithDefaultState","line":763,"kind":"procedure","access":"local","params":0,"steps":[[767,"call","AreSandboxNotificationsSupported",0],[768,"ext","table",1518,"InsertDefault",4],[768,"call","GetSandboxNotificationId",0],[769,"call","AreNotificationsSupported",0],[770,"ext","table",1518,"InsertDefault",4],[771,"call","GetChangeToPremiumExpNotificationId",0]]},{"name":"IsRunningPreviewEvent","line":779,"kind":"procedure","access":"local","params":0,"steps":[[782,"event","OnIsRunningPreview",0]]}]}