Codeunit 1563 Privacy Notice

System Application, System.Privacy

Source AL, 246 lines

src/System Application/App/Privacy Notice/src/PrivacyNotice.Codeunit.allines 11 to 26 of 246, Copyright (c) Microsoft Corporation. MIT

codeunit 1563 "Privacy Notice"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    /// <summary>    /// Creates a privacy notice.    /// </summary>    /// <param name="Id">Identification of the privacy notice.</param>    /// <param name="IntegrationName">The name of the integration.</param>    /// <param name="Link">Link to the privacy terms.</param>    /// <returns>Whether the privacy notice was created.</returns>    procedure CreatePrivacyNotice(Id: Code[50]; IntegrationName: Text[250]; Link: Text[2048]): Boolean    var        PrivacyNoticeImpl: Codeunit "Privacy Notice Impl.";

All 246 lines

Events 2 in 29

[IntegrationEvent] OnBeforeShowPrivacyNotice(PrivacyNotice: Record "Privacy Notice"; var Handled: Boolean)new in 20
[IntegrationEvent] OnRegisterPrivacyNotices(var TempPrivacyNotice: Record "Privacy Notice" temporary)new in 20

Public procedures 14 in 29

CreatePrivacyNotice(Id: Code[50]; IntegrationName: Text[250]; Link: Text[2048]): Booleannew in 20
CreatePrivacyNotice(Id: Code[50]; IntegrationName: Text[250]): Booleannew in 20
ConfirmPrivacyNoticeApproval(Id: Code[50]): Booleannew in 20
GetPrivacyNoticeApprovalState(Id: Code[50]): Enum "Privacy Notice Approval State"new in 20
ShowOneTimePrivacyNotice(IntegrationName: Text[250]): Enum "Privacy Notice Approval State"new in 20
ShowOneTimePrivacyNotice(IntegrationName: Text[250]; Link: Text[2048]): Enum "Privacy Notice Approval State"new in 20

All 14 procedures

Changes 1 in 26

List17181920212223242526272829
Procedures121
IsApprovalStateDisagreed(State: Enum "Privacy Notice Approval State"): Booleannew in 26
added

All 4 changes in 20-29