Reputation: 2017
When products are added through enhanced experience batch is executed on webapi by sending multiple create record requests. And this is payload of one request:
POST /api/data/v9.0/quotedetails HTTP/1.1
{
"ispriceoverridden": false,
"ofml_lineno": 1,
"ofml_section": 1,
"priceperunit": 2105.26,
"productdescription": "Testing - prod description",
"[email protected]": "/products(848ecbf6-5878-ec11-8d21-000d3ad55516)",
"quantity": 1,
"[email protected]": "/quotes(d07f272c-70b3-ed11-b596-6045bdd2b5e7)",
"[email protected]": "/uoms(baae8a55-cb0b-ec11-b6e6-002248422a3d)"
}
Problem is that this request fails in 2 cases:
It works only if product description is empty. My question is if this is customizable so that I can remove productdescription property in transferring from Product to QuoteProduct i.e. ?
This applies on adding product to quote, opportunity, invoice, it's same in all cases. And also to add that I'm using Dynamics 365 Sales, Enterprise Edition (9.0.22121.10002)
Upvotes: 0
Views: 352