Hi, I am trying to create a new record in CDS for an D365 entity 'quotes'
One of the required fields is pricelist which refers to a record in entity 'Price List'
Using export functionality I was able to get the unique id for the pricelist I want to use for this quote. This Id is a string resembling a guid. Although I provide al the required information my flow fails with this error:
Resource not found for the segment '795cd2ae-a7a8-ea11-a812-000d3ab277b5' for some reason it does not accept this id. I double checked and this id actually does refer to the pricelist i want to use. And yes this pricelist is active.
Does anybody know how to fix this?
Best regards,
Bart Schaap
Solved! Go to Solution.
@BartSchaap - If you are using the "CDS (current environment)" connector, then any fields that are related entity fields need to utilize this syntax (example): pricelevels(795cd2ae-a7a8-ea11-a812-000d3ab277b5)
Be sure the parentheses are on both ends of the GUID.
@BartSchaap - If you are using the "CDS (current environment)" connector, then any fields that are related entity fields need to utilize this syntax (example): pricelevels(795cd2ae-a7a8-ea11-a812-000d3ab277b5)
Be sure the parentheses are on both ends of the GUID.
Thank you very much for your response. It is amazing (and sad) that MSFT has made two connectors which behave differently. I do indeed use the current environment version of the connector. Also the use of the plural (pricelevels vs pricelevel) is something I cannot understand, Why for heavens sake is this the way to refer to an entity? The plural is also not consequent it is not always simply a matter of adding a 's'. For instance 'transactioncurrency' which is the name of an entity necessary when creating a quote, needs to be referred to as 'transactioncurrencies'.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
59 | |
51 | |
42 | |
38 |
User | Count |
---|---|
89 | |
80 | |
74 | |
62 | |
44 |