codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 1563 "Privacy Notice"

System Application · System.Privacy

Across versions

  1. BC23-25present
  2. BC261 procedures added
  3. BC27-28unchanged
  4. BC29declaration changed
  5. BC30unchanged

Neighbourhood 48 connected objects and pages

Codeunit 1357 "Privacy Notice Registrations" (event subscribers)Privacy Notice RegistrationsCodeunit 1566 "System Privacy Notice Reg." (event subscribers)System Privacy Notice Reg.Codeunit 1568 "Power Automate Privacy Notice" (event subscribers)Codeunit 1569 "Microsoft Learn Privacy Notice" (event subscribers)Microsoft Learn Privacy NoticeCodeunit 48529 "Fabric Privacy Notice" (event subscribers)Codeunit 6951 "Exp. Privacy Notice Reg." (event subscribers)Exp. Privacy Notice Reg.Codeunit 7242 "MDM Privacy Notice" (event subscribers)Codeunit 7772 "Azure OpenAI Impl" (event subscribers)Codeunit 1565 "Privacy Notice Impl." (calls, 11 links)Privacy Notice Impl.Codeunit 1567 "System Upgrade Privacy Notices" (calls, 4 links)System Upgrade Privacy NoticesCodeunit 9510 "Document Service Management" (calls, 4 links)Document Service ManagementCodeunit 48529 "Fabric Privacy Notice" (calls, 3 links)Fabric Privacy NoticePage 7775 "Copilot AI Capabilities" (calls, 3 links)Copilot AI CapabilitiesPage 9553 "Document Service Setup" (calls, 3 links)Codeunit 104044 "Upgrade Privacy Notices" (calls, 2 links)Upgrade Privacy NoticesCodeunit 6951 "Exp. Privacy Notice Reg." (calls, 2 links)Exp. Privacy Notice Reg.Codeunit 7242 "MDM Privacy Notice" (calls, 2 links)MDM Privacy NoticeCodeunit 7774 "Copilot Capability Impl" (calls, 2 links)Page 1563 "Privacy Notice" (calls, 2 links)Privacy NoticePage 1565 "Privacy Notices" (calls, 2 links)Page 1568 "Power Automate Privacy Notice" (calls, 2 links)Power Automate Privacy NoticeCodeunit 1652 "Add-in Manifest Management" (calls)Page 1569 "Microsoft Learn Privacy Notice" (calls)Page 21 "Customer Card" (calls)Page 255 "Cash Receipt Journal" (calls)Page 256 "Payment Journal" (calls)Page 26 "Vendor Card" (calls)Page 291 "Req. Worksheet" (calls)Page 30 "Item Card" (calls)Page 39 "General Journal" (calls)Page 392 "Phys. Inventory Journal" (calls)Page 40 "Item Journal" (calls)Page 41 "Sales Quote" (calls)Page 42 "Sales Order" (calls)Page 43 "Sales Invoice" (calls)Page 44 "Sales Credit Memo" (calls)Page 49 "Purchase Quote" (calls)Page 50 "Purchase Order" (calls)Page 51 "Purchase Invoice" (calls)Page 52 "Purchase Credit Memo" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

System Application · System.Privacy · BC23-30 · source at 4e6a307c · facts from BC29

Properties

Property Value
Access Public

Events published

Procedures

  • CreatePrivacyNotice(Id: Code[50]; IntegrationName: Text[250]; Link: Text[2048]): Boolean: Creates a privacy notice.
  • CreatePrivacyNotice(Id: Code[50]; IntegrationName: Text[250]): Boolean: Creates a privacy notice.
  • GetDefaultPrivacyAgreementTxt(): Text: Gets the default text for the privacy notice.
  • ConfirmPrivacyNoticeApproval(Id: Code[50]): Boolean: After this the step-through depends on whether the user is admin or normal user (admin means they have the Priv. Notice - Admin permission set): Admin: If admin has agreed that will be returned Privacy Notice will be shown and the response (Agree/Disagree) will be stored and takes precedence for all…
  • ConfirmPrivacyNoticeApproval(Id: Code[50]; SkipCheckInEval: Boolean): Boolean: After this the step-through depends on whether the user is admin or normal user (admin means they have the Priv. Notice - Admin permission set): Admin: If admin has agreed that will be returned Privacy Notice will be shown and the response (Agree/Disagree) will be stored and takes precedence for all…
  • GetPrivacyNoticeApprovalState(Id: Code[50]): Enum "Privacy Notice Approval State": Returns the state of the privacy notice for the current user without showing any privacy notice to the user. An error is thrown if the privacy notice does not exist.
  • GetPrivacyNoticeApprovalState(Id: Code[50]; SkipCheckInEval: Boolean): Enum "Privacy Notice Approval State": Returns the state of the privacy notice for the current user without showing any privacy notice to the user. An error is thrown if the privacy notice does not exist.
  • ShowOneTimePrivacyNotice(IntegrationName: Text[250]): Enum "Privacy Notice Approval State": Shows a Privacy Notice for the specified integration name. This call does not require any Privacy Notice to exist, nor will it create one or store the content. This function is purely to show a privacy notice and let the caller handle the consent flow.
  • ShowOneTimePrivacyNotice(IntegrationName: Text[250]; Link: Text[2048]): Enum "Privacy Notice Approval State": Shows a Privacy Notice for the specified integration name. This call does not require any Privacy Notice to exist, nor will it create one or store the content. This function is purely to show a privacy notice and let the caller handle the consent flow.
  • IsApprovalStateDisagreed(Id: Code[50]): Boolean + BC26: Determines whether the admin or user has disagreed with the Privacy Notice.
  • IsApprovalStateDisagreed(State: Enum "Privacy Notice Approval State"): Boolean + BC26: Determines whether the admin or user has disagreed with the Privacy Notice.
  • SetApprovalState(PrivacyNoticeId: Code[50]; PrivacyNoticeApprovalState: Enum "Privacy Notice Approval State"): Sets the approval state for the specified Privacy Notice. If the user is an admin, the approval will be set for the entire organization otherwise it will only be set for the current user.
  • CanCurrentUserApproveForOrganization(): Boolean: Checks whether the current user can approve for the entire organization. This function basically returns whether the user has the permissions of the Priv. Notice - Admin.
  • CreateDefaultPrivacyNotices(): Adds all Privacy Notices from extensions using the event OnAddPrivacyNotices.

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

  • Codeunit 1565 “Privacy Notice Impl.” (9 calls: CanCurrentUserApproveForOrganization → CanCurrentUserApproveForOrganization, ConfirmPrivacyNoticeApproval → ConfirmPrivacyNoticeApproval, CreateDefaultPrivacyNotices → CreateDefaultPrivacyNotices, …)

Called by

Recent changes

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Set Up Power Automate Integration — possibly related: Controls access to Power Automate features through privacy notice permissions and agreements. (model-linked)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Privacy Notice"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources