You need to sign in to do that
Don't have an account?
Amit Goyal
Issue with Standard WorkOrder Lookup/MasterDetail field on a custom object
I am create a lookup or Master-Detail Relationship on Job__c with StandardObject WorkOrder, The Field got created successfully, I populated the value in the Lookup/MasterDetail field but When I am using that field in my Apex Controller or Triggers, I am getting error, Invalid Field on Job__c.
But I checked the API and Field already exist on the Job__c object itself. I checked that the Standard WorkOrder which is a newly introduced feature in Salesforce is Querable, Updatable etc like all other Standard Object.
Event I am using the Standard WorkOrder on another Custom Object, its functioning well there. What could be the reason. Please suggest or answer, Its a bit urgent.
Thanks,
Amit Goyal
But I checked the API and Field already exist on the Job__c object itself. I checked that the Standard WorkOrder which is a newly introduced feature in Salesforce is Querable, Updatable etc like all other Standard Object.
Event I am using the Standard WorkOrder on another Custom Object, its functioning well there. What could be the reason. Please suggest or answer, Its a bit urgent.
Thanks,
Amit Goyal
The Controller, in which I were using this, has Version 31.0 and Standard WorkOrder Object was released after that Version.
So I changed the Version of my Controller to 36.0 and Its working now.
All Answers
The object is queryable, updatable etc like all other Standard Objects.
What could be the issue?
I have created case to salesforce but they are not giving answer for this.
Its really a frustation for me now. Could any please suggest some way to get the solution.
Thanks.
The Controller, in which I were using this, has Version 31.0 and Standard WorkOrder Object was released after that Version.
So I changed the Version of my Controller to 36.0 and Its working now.