You need to sign in to do that
Don't have an account?
Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id:
Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: []
Error is in expression '{!genDoc2}' in component <apex:commandButton> in page doccontrolgather: Class.DocControlQuery.SavePDF: line 203, column 1
Class.DocControlQuery.genDoc2: line 120, column 1
I need help with this apex code. I am not a coder :-S
Error is in expression '{!genDoc2}' in component <apex:commandButton> in page doccontrolgather: Class.DocControlQuery.SavePDF: line 203, column 1
Class.DocControlQuery.genDoc2: line 120, column 1
I need help with this apex code. I am not a coder :-S
Thanks
All Answers
As per the error seems to me, you are setting value for any lookup or master relationship field & you dont have access for reference object.
Thanks.
Thanks,
Jeanette
Thanks
That said, ensure that you're not using IDs for records from your Production instance anywhere in your process or that none of the Objects you're attempting to insert or update have any IDs that refer to or lookup something in your Production instance.