Force.com-Toolkit-for-PHP icon indicating copy to clipboard operation
Force.com-Toolkit-for-PHP copied to clipboard

Cannot add Pricebook2Id to an Order when creating a new Order

Open nhim175 opened this issue 9 years ago • 2 comments

Reference: http://salesforce.stackexchange.com/questions/101218/php-soap-client-cannot-set-price-book-to-an-order

When I tried to create a first OrderItem for the Order, it said that I need to assign a price book for the order I created (what I did before but no succeed).

The error message returned from the server: "Order: bad field names on insert/update call: Pricebook2Id"

nhim175 avatar Dec 03 '15 02:12 nhim175

Have you solved the problem? EDIT: I solved the problem by updating the WSDL file to the newest version.

matejbasic avatar Apr 29 '16 12:04 matejbasic

@matejbasic I think I did the same thing like you said and it worked! Thanks for replying.

nhim175 avatar Jun 03 '16 05:06 nhim175