Codeunit 1566 System Privacy Notice Reg.

System Application, System.Privacy

Source AL, 117 lines

src/System Application/App/Privacy Notice/src/SystemPrivacyNoticeReg.Codeunit.allines 13 to 28 of 117, Copyright (c) Microsoft Corporation. MIT

codeunit 1566 "System Privacy Notice Reg."{    InherentEntitlements = X;    InherentPermissions = X;    var        MicrosoftTeamsTxt: Label 'Microsoft Teams', Locked = true; // Product names are not translated and it's important this entry exists.        PowerAutomateIdTxt: Label 'Power Automate', Locked = true; // Product names are not translated and it's important this entry exists.        PowerAutomateLabelTxt: Label 'Microsoft Power Automate', Locked = true; // Product names are not translated and it's important this entry exists.        MicrosoftLearnTxt: Label 'Microsoft Learn', Locked = true; // Product names are not translated and it's important this entry exists.        MicrosoftCopilotTxt: Label 'Microsoft Copilot', Locked = true; // Product names are not translated and it's important this entry exists.        BingTxt: Label 'Bing', Locked = true; // Product names are not translated and it's important this entry exists.    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Privacy Notice", OnRegisterPrivacyNotices, '', false, false)]    local procedure CreatePrivacyNoticeRegistrations(var TempPrivacyNotice: Record "Privacy Notice" temporary)    begin

All 117 lines

Public procedures 6 in 29

GetTeamsPrivacyNoticeId(): Code[50]new in 20
GetPowerAutomatePrivacyNoticeId(): Code[50]new in 21
GetPowerAutomatePrivacyNoticeName(): Code[250]new in 21
GetMicrosoftLearnID(): Code[50]new in 26
GetBingPrivacyNoticeName(): Code[50]new in 26
GetMicrosoftCopilotID(): Code[50]new in 29

All 8 procedures in 20-29

Changes 2 in 29

List17181920212223242526272829
Procedures232
GetMicrosoftCopilotID(): Code[50]new in 29
added
internal TryGetMicrosoftCopilotDefaultApproval(var ShouldApproveByDefault: Boolean): Booleannew in 29
added

All 7 changes in 20-29