Codeunit 1750 "Data Classification Mgt."
System Application · System.Privacy
Across versions
- BC23present
- BC241 procedures added
- BC25-30unchanged
Neighbourhood 43 connected objects and pages
System Application · System.Privacy · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Events published
OnGetDataPrivacyEntities(var DataPrivacyEntities: Record "Data Privacy Entities")(integration): Publishes an event that allows subscribers to insert Data Privacy Entities in the DataPrivacyEntities record.- subscribers: Codeunit 1755 “Privacy Subscribers” OnGetDataPrivacyEntitiesSubscriber
OnCreateEvaluationData()(integration): Publishes an event that allows subscribers to create evaluation data.- subscribers: Codeunit 1755 “Privacy Subscribers” CreateEvaluationData
OnShowSyncFieldsNotification()(integration): Publishes an event that allows subscribers to show a notification that calls for users to synchronize their Data Sensitivity and Field tables.- subscribers: Codeunit 1756 “Data Class. Notification Mgt.” OnShowSyncFieldsNotificationSubscriber
Procedures
PopulateDataSensitivityTable(): Creates an entry in the Data Sensitivity table for every field in the database that is classified as Customer Content, End User Identifiable Information (EUII), or End User Pseudonymous Identifiers (EUPI).SetDefaultDataSensitivity(var DataPrivacyEntities: Record "Data Privacy Entities"): Updates the Data Sensitivity table with the default data sensitivities for all the fields of all the tables in the DataPrivacyEntities record.SetSensitivities(var DataSensitivity: Record "Data Sensitivity"; Sensitivity: Option): For each Data Sensitivity entry, it sets the value of the “Data Sensitivity” field to the Sensitivity option.SyncAllFields(): Synchronizes the Data Sensitivity table with the Field table. It inserts new values in the Data Sensitivity table for the fields that the Field table contains and the Data Sensitivity table does not and it deletes the unclassified fields from the Data Sensitivity table that the Field table does not …GetDataSensitivityOptionString(): Text: Gets the values that the “Data Sensitivity” field of the Data Sensitivity table can contain.SetTableFieldsToNormal(TableNumber: Integer): Sets the data sensitivity to normal for all fields in the table with the ID TableNumber.SetFieldToPersonal(TableNo: Integer; FieldNo: Integer): Sets the data sensitivity to personal for the field with the ID FieldNo from the table with the ID TableNo.SetFieldToSensitive(TableNo: Integer; FieldNo: Integer): Sets the data sensitivity to sensitive for the field with the ID FieldNo from the table with the ID TableNo.SetFieldToCompanyConfidential(TableNo: Integer; FieldNo: Integer): Sets the data sensitivity to company confidential for the field with the ID FieldNo from the table with the ID TableNo.SetFieldToNormal(TableNo: Integer; FieldNo: Integer): Sets the data sensitivity to normal for the field with the ID FieldNo from the table with the ID TableNo.DataPrivacyEntitiesExist(): Boolean: Checks whether any of the data privacy entity tables (Customer, Vendor, Employee, and so on) contain entries.AreAllFieldsClassified(): Boolean: Checks whether the Data Sensitivity table contains any unclassified entries.IsDataSensitivityEmptyForCurrentCompany(): Boolean: Checks whether the Data Sensitivity table contains any entries for the current company.InsertDataSensitivityForField(TableNo: Integer; FieldNo: Integer; DataSensitivityOption: Option): Inserts a new entry in the Data Sensitivity table for the specified table ID, field ID and with the given data sensitivity option (some of the values that the option can have are normal, sensitive and personal).InsertDataPrivacyEntity(var DataPrivacyEntities: Record "Data Privacy Entities"; TableNo: Integer; PageNo: Integer; KeyFieldNo: Integer; EntityFilter: Text; PrivacyBlockedFieldNo: Integer): Inserts a new Data Privacy Entity entry in a record.GetLastSyncStatusDate(): DateTime: Gets the last date when the Data Sensitivity and Field tables where synchronized.IsSupportedTable(TableNo: Integer): Boolean+ BC24: Check if the table is supported in the Data Privacy Utilities and Data Classification Worksheet.RaiseOnGetDataPrivacyEntities(var DataPrivacyEntities: Record "Data Privacy Entities"): Raises an event that allows subscribers to insert Data Privacy Entities in the DataPrivacyEntities record. Throws an error when it is not called with a temporary record.
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 1753 “Data Classification Mgt. Impl.” (13 calls:
AreAllFieldsClassified → AreAllFieldsClassified,GetDataSensitivityOptionString → GetDataSensitivityOptionString,InsertDataSensitivityForField → InsertDataSensitivityForField, …) - Codeunit 1758 “Data Privacy Entities Mgt.” (4 calls:
DataPrivacyEntitiesExist → DataPrivacyEntitiesExist,InsertDataPrivacyEntity → InsertDataPrivacyEntitity,RaiseOnGetDataPrivacyEntities → RaiseOnGetDataPrivacyEntities, …) - Codeunit 1757 “Fields Sync Status Management” (1 call:
GetLastSyncStatusDate → GetLastSyncStatusDate)
Called by
- Codeunit 1762 “Sales-Data Classification” (51 calls:
ClassifyCustLedgerEntry → SetFieldToCompanyConfidential,ClassifyCustLedgerEntry → SetFieldToPersonal,ClassifyCustLedgerEntry → SetTableFieldsToNormal, …) - Codeunit 1764 “Inventory-Data Classification” (50 calls:
ClassifyAnalysisSelectedDimension → SetFieldToPersonal,ClassifyAnalysisSelectedDimension → SetTableFieldsToNormal,ClassifyCapacityLedgerEntry → SetFieldToCompanyConfidential, …) - Codeunit 1763 “Purchases-Data Classification” (45 calls:
ClassifyDetailedVendorLedgEntry → SetFieldToCompanyConfidential,ClassifyDetailedVendorLedgEntry → SetFieldToPersonal,ClassifyDetailedVendorLedgEntry → SetTableFieldsToNormal, …) - Codeunit 1767 “Service-Data Classification” (45 calls:
ClassifyContractChangeLog → SetFieldToPersonal,ClassifyContractChangeLog → SetTableFieldsToNormal,ClassifyContractGainLossEntry → SetFieldToCompanyConfidential, …) - Codeunit 1766 “CRM-Data Classification” (43 calls:
ClassifyAttendee → SetFieldToPersonal,ClassifyAttendee → SetTableFieldsToNormal,ClassifyCampaignEntry → SetFieldToCompanyConfidential, …) - Codeunit 1765 “Projects-Data Classification” (40 calls:
ClassifyJob → SetFieldToPersonal,ClassifyJob → SetTableFieldsToNormal,ClassifyJobArchive → SetFieldToPersonal, …) - Codeunit 1769 “Warehouse-Data Classification” (20 calls:
ClassifyBinCreationWorksheetLine → SetFieldToPersonal,ClassifyBinCreationWorksheetLine → SetTableFieldsToNormal,ClassifyPostedInvtPickHeader → SetFieldToPersonal, …) - Codeunit 1752 “Data Class. Eval. Data Country” (18 calls:
ClassifyDetailedEmployeeLedgerEntry → SetFieldToCompanyConfidential,ClassifyDetailedEmployeeLedgerEntry → SetFieldToPersonal,ClassifyDetailedEmployeeLedgerEntry → SetTableFieldsToNormal, …) - Codeunit 1768 “Manuf.-Data Classification” (5 calls:
ClassifyCapacityLedgerEntry → SetFieldToCompanyConfidential,ClassifyCapacityLedgerEntry → SetTableFieldsToNormal,ClassifyTables → SetTableFieldsToNormal, …) - Page 1751 “Data Classification Worksheet” (5 calls:
ConfirmEditDataSensitivity → GetDataSensitivityOptionString,CreateEvalDataOrShowUnclassifiedDataIfTableIsEmpty → OnCreateEvaluationData,CreateEvalDataOrShowUnclassifiedDataIfTableIsEmpty → PopulateDataSensitivityTable, …) - Codeunit 1751 “Data Classification Eval. Data” (4 calls:
SetFieldToCompanyConfidential → SetFieldToCompanyConfidential,SetFieldToPersonal → SetFieldToPersonal,SetFieldToSensitive → SetFieldToSensitive, …) - Codeunit 1755 “Privacy Subscribers” (4 calls:
AfterExtensionIsInstalled → InsertDataSensitivityForField,AfterExtensionIsInstalled → IsDataSensitivityEmptyForCurrentCompany,AfterExtensionIsUninstalled → IsDataSensitivityEmptyForCurrentCompany, …) - Codeunit 1756 “Data Class. Notification Mgt.” (4 calls:
ShowNotificationIfThereAreUnclassifiedFields → AreAllFieldsClassified,ShowNotifications → DataPrivacyEntitiesExist,ShowSyncFieldsNotificationIfThereAreUnsynchedFields → GetLastSyncStatusDate, …) - Codeunit 1180 “Data Privacy Mgmt” (3 calls:
CreateRelatedDataFields → IsSupportedTable,GetPrivacyEntityKeyFieldAndTableNo → RaiseOnGetDataPrivacyEntities,GetRecRefForPrivacyMasterTable → RaiseOnGetDataPrivacyEntities) - Codeunit 1754 “Data Classif. Import/Export” (3 calls:
ExportToExcelSheet → PopulateDataSensitivityTable,ImportExcelSheet → PopulateDataSensitivityTable,UpdateDataSensitivity → GetDataSensitivityOptionString) - Codeunit 1761 “Assembly-Data Classification” (3 calls:
ClassifyPostedAssemblyHeader → SetFieldToPersonal,ClassifyPostedAssemblyHeader → SetTableFieldsToNormal,ClassifyTables → SetTableFieldsToNormal) - Page extension 1758 “Data Classification Wiz. Ext.” (3 calls:
ApplyStep → SetDefaultDataSensitivity,ChooseModeStep → PopulateDataSensitivityTable,SetRulesStep → SetSensitivities) - Codeunit 1072 “MS - PayPal Create Demo Data” (2 calls:
ApplyEvaluationClassificationsForPrivacy → SetFieldToPersonal,ApplyEvaluationClassificationsForPrivacy → SetTableFieldsToNormal) - Codeunit 1160 “COHUB Install” (2 calls:
ApplyEvaluationClassificationsForPrivacy → SetFieldToPersonal,ApplyEvaluationClassificationsForPrivacy → SetTableFieldsToNormal) - Codeunit 1855 “Sales Forecast Install” (2 calls:
ApplyEvaluationClassificationsForPrivacy → SetFieldToNormal,ApplyEvaluationClassificationsForPrivacy → SetTableFieldsToNormal) - Codeunit 1921 “QB Migration Install” (2 calls:
ApplyEvaluationClassificationsForPrivacy → SetFieldToPersonal,ApplyEvaluationClassificationsForPrivacy → SetTableFieldsToNormal) - Codeunit 20135 “Symbol Data Senstivity Mgmt.” (2 calls:
ClassifyCompanyConfidentialFields → SetFieldToCompanyConfidential,SetTableFieldsToNormal → SetTableFieldsToNormal) - Codeunit 20239 “Tax Type Data Senstivity Mgmt.” (2 calls:
ClassifyCompanyConfidentialFields → SetFieldToCompanyConfidential,SetTableFieldsToNormal → SetTableFieldsToNormal) - Codeunit 2029 “Image Analysis Install” (2 calls:
ApplyEvaluationClassificationsForPrivacy → SetFieldToNormal,ApplyEvaluationClassificationsForPrivacy → SetTableFieldsToNormal) - Codeunit 20348 “Posting Data Senstivity Mgmt.” (2 calls:
ClassifyCompanyConfidentialFields → SetFieldToCompanyConfidential,SetTableFieldsToNormal → SetTableFieldsToNormal) - Codeunit 4510 “Email - Outlook API Install” (2 calls:
ApplyEvaluationClassificationsForPrivacy → SetFieldToNormal,ApplyEvaluationClassificationsForPrivacy → SetFieldToPersonal) - Codeunit 4515 “SMTP Connector Install” (2 calls:
ApplyEvaluationClassificationsForPrivacy → SetFieldToNormal,ApplyEvaluationClassificationsForPrivacy → SetFieldToPersonal) - Codeunit 1758 “Data Privacy Entities Mgt.” (1 call:
RaiseOnGetDataPrivacyEntities → OnGetDataPrivacyEntities) - Codeunit 1955 “Late Payment Install” (1 call:
ApplyEvaluationClassificationsForPrivacy → SetTableFieldsToNormal) - Codeunit 20169 “Script Data Senstivity Mgmt.” (1 call:
SetTableFieldsToNormal → SetTableFieldsToNormal) - Codeunit 20285 “Use Case Data Senstivity Mgmt.” (1 call:
SetTableFieldsToNormal → SetTableFieldsToNormal) - Codeunit 5193 “Contoso Demo Tool” (1 call:
ClassifyTables → SetTableFieldsToNormal) - Codeunit 5264 “Install Audit File Export” (1 call:
ApplyEvaluationClassificationsForPrivacy → SetTableFieldsToNormal) - Codeunit 5288 “Install SAF-T” (1 call:
ApplyEvaluationClassificationsForPrivacy → SetTableFieldsToNormal) - Codeunit 6614 “FS Data Classification” (1 call:
ClassifyTables → SetTableFieldsToNormal) - Codeunit 6950 “Expense Agent Privacy Subs.” (1 call:
ClassifyExpenseAgent → SetFieldToPersonal) - Page 1180 “Data Privacy Wizard” (1 call:
OnOpenPage → RaiseOnGetDataPrivacyEntities) - Page 1752 “Data Classification Wizard” (1 call:
ResetControls → RaiseOnGetDataPrivacyEntities) - Page 1754 “Data Subject” (1 call:
OnInit → RaiseOnGetDataPrivacyEntities)
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: "Data Classification Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.