+ Start a Discussion
prakash_sfdcprakash_sfdc 

Invalid field QuoteLineItemId for SObject OrderItem

I am trying to assign QuoteLineItem ID to an Order Item record so that it can be linked and referred later. I tried both insert and update but it throws error.

Any work around to use this ?

Thanks in advance :)
Best Answer chosen by prakash_sfdc
prakash_sfdcprakash_sfdc
It was a permission issue.. my bad... the error was misleading :(

All Answers

sfdcsushilsfdcsushil
Do ypu know if this field was exposed recently by salesforce, if yes you might wanna consider changing api version of your class
prakash_sfdcprakash_sfdc
@sfdcsushil: I tried from latest version and developer console as well. I could see this field came few releases back :(
prakash_sfdcprakash_sfdc
It was a permission issue.. my bad... the error was misleading :(
This was selected as the best answer