When deploying metadata between Salesforce orgs, a permission set deployment can fail if the permission set references objects that are not available in the target org.
This issue can occur when deploying through Copado, Change Sets, Salesforce CLI, or another CI/CD or metadata deployment tool.
The deployment can fail with an error similar to:
Metadata Validation - PermissionSet:[PermissionSetName]:In field: object - no CustomObject named TimeSheetEntryItem found
Similar errors can occur for other Labor Cost Optimization objects, including:
- AssetTimeSheet
- CausalInsightType
- CostCenter
- DifferentialShift
- CollabMonitoringInstance
- PayGrade
- OvertimeApprover
These objects are associated with the Labor Cost Optimization feature in Field Service.
If the target org does not have the required Labor Cost Optimization Permission Set License provisioned, the related objects are not available in that org. During metadata validation, Salesforce cannot resolve the object references in the permission set and the deployment fails.
This issue commonly occurs when metadata is promoted between environments, such as from SIT to UAT or from UAT to Production, where the required license provisioning differs between the source and target orgs.
005393594

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.