Symptom

When trying to delete an Alternative Cost Distribution record, you encounter the error "No permission to create object!"

People Profile

Manage Data

Environment

Employee Central 2.0

Alternative Cost Distribution

Reproducing the Issue

People Profile

Navigate to People Profile > user in question

Click the "History" icon for the "Cost Distribution" portlet

Delete an existing record from the history

Result: ERROR "No permission to create object!"

Manage Data

Navigate to Admin Center > Manage Data > search for and select the records related to the user in question

In the "History" portlet select "Take Action > Permanently Delete Record" against the record you want to delete

Result: ERROR "No permission to create object!"

Cause

The instance has "Payroll Integration" feature enabled in Provisioning > Company Settings. If this feature is enabled in conjunction with the Alternative Cost Distribution feature, then an object will get created when deleting the Alternative Cost Distribution records - to align the Payroll system.

Now in itself there is no issue but, if the MDF Object "Change Log for Data Replication" (HRISChangeLogDataReplication) has been Secured and the user performing the deletion of the Alternative Cost Distribution data does not have "Create/Insert" permissions granted for this object (HRISChangeLogDataReplication) via Role-Based Permissions (RBP) then that user will encounter the error when trying to delete the Alternative Cost Distribution record.

Resolution

The solution is to either

Perform the delete action for the Alternative Cost Distribution data with a user that has permission to create data for the MDF Object "Change Log for Data Replication" (HRISChangeLogDataReplication)

Grant the user performing the Alternative Cost Distribution delete action with the permission to create data for the MDF Object "Change Log for Data Replication" (HRISChangeLogDataReplication)