function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mrunali GaonkarMrunali Gaonkar 

Update failed

Update failed. First exception on row 1 with id a1IL0000003CZE4MAO; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, FlatTrigger: execution of AfterUpdate caused by: System.QueryException: sObject type 'Parking_Inventory__c' is not supported. Class.UpdateParkingInventoryStatusHelper.updateParkingInventoryStatus: line 29, column 1 Class.FlatTriggerHandler.onAfterUpdate:
Best Answer chosen by Mrunali Gaonkar
Sampath KumarSampath Kumar
Hi Mrunali,

Can you please check the user who is executing it is having arleast read access on arking_Inventory__c object.

http://salesforce.stackexchange.com/questions/49086/compile-error-sobject-type-custom-c-is-not-supported-in-managed-package

Also, try to query the object from workbench.

Let me know if you have any query.

Regards
Sampath Kumar Goud

All Answers

Sanjay.GeorgeSanjay.George
Hi Mrunali,

You would need to provide your code snippet where the failure is happening.

Common issues are during migration, you might be moving a validation rule, workflow, etc with an harcoded id from the sandbox.
Also when variable assignment is not correct you may get the error.
Sampath KumarSampath Kumar
Hi Mrunali,

Can you please check the user who is executing it is having arleast read access on arking_Inventory__c object.

http://salesforce.stackexchange.com/questions/49086/compile-error-sobject-type-custom-c-is-not-supported-in-managed-package

Also, try to query the object from workbench.

Let me know if you have any query.

Regards
Sampath Kumar Goud
This was selected as the best answer
Mrunali GaonkarMrunali Gaonkar
Thank you so much guys.. error resolved..:)