Hi,
I am writing this Purchase Order Cycle in which once I received the order completely, I am suppose to change the Status from "Pending Receipt" to "Pending Bill".
My Code does all that except while executing it throws the Status Detail as :-
StatusDetails.Code :- INSUFFICENT_PERMISSION
StatusDetails.Message :- You Do Not have permission to set a value for element due to one of the following reason
1> The Field is read-only.
2>An Associated Field.
Now, there cannot be any issue as I am executing as an Admin. However, I can get that if the field is cascaded field (like location etc)or has "read-only" mode , how can I make the change to the Status of the Purchase Order than..
Also, I tried to set the location value using RecordRef to the location field but of no help either.
Kindly help me on this.
Thanks,
Prem