You need to sign in to do that
Don't have an account?
Vaclav Lukasek
Create Account in test with runAs cause INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY
when is create Account in runAs block and when I set Account.ParentId to some account, it fails on INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY
runAs user has System administrator profile
Account sharing rule for Parent Account contain runAs user with read/write access
triggers are empty
when I dont set ParentId, test pass
when I dont use system.runAs, test pass
runAs user has System administrator profile
Account sharing rule for Parent Account contain runAs user with read/write access
triggers are empty
when I dont set ParentId, test pass
when I dont use system.runAs, test pass
1/ I wrote i created Account(mean with ParentId)
2/ if record allow to reparent object, it can be also changed