Timeline for Creating opportunity line from SalesforceSharp
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 26, 2021 at 15:38 | comment | added | Dominic Cotton | I have reviewed all Id fields by selecting them in developer console and it is all looking ok. Dont think its a salesforcesharp issue as i use this for other items (account, etc) with lookup fields and it works perfectly. | |
May 26, 2021 at 15:32 | comment | added | identigral | Same idea for existing - you need to retrieve the correct PricebookEntry record based on your target opp's currency and product (Product2). Mismatch leads to the error message you've encountered. | |
May 26, 2021 at 15:11 | review | Close votes | |||
Jun 19, 2021 at 3:06 | |||||
May 26, 2021 at 15:08 | comment | added | Dominic Cotton | No i reviewed that and it looks like they were creating the price book entry in code. In my scenario i am pointing to an existing price book entry. | |
May 26, 2021 at 14:55 | comment | added | identigral | Does this answer your question? Pricebook entry currency code does not match opportunity currency code | |
May 26, 2021 at 12:35 | comment | added | Dominic Cotton | The version is set to match my sandbox which is currently at v51. | |
May 26, 2021 at 12:26 | comment | added | Derek F |
I've no experience with C#, but "v3" is likely referring to the Salesforce API version. A quick dive through the SalesforceSharp codebase reveals that they use v28.0 by default (which is 8 years old at this point, the newest API version is 52.0). Do you ever set/change the value of SalesforceClient.ApiVersion ?
|
|
May 26, 2021 at 11:33 | history | asked | Dominic Cotton | CC BY-SA 4.0 |