Hi,
I have a workflow that creates a new 'quote' entity and updates the 'product' entity N:1 relationship to this new quote.
Example is:
my_quote quote = new my_quote() // this is populated but won't bother showing the code
_context.AddObject(quote);
_context.AddLink(product, new Relationship("my_quote_product), quote);
_context.UpdateObject(product);
_context.SaveChanges();
When I attempt to run this it throws and error saying no quote exists with Id xxxx-xxx-xxxx-xxxx (this is a proper guid, not an empty one).
However, this does work on one server.
I've put a trace on the working one and I can see it creates the quote first before updating the product, but on the server it doesn't work on I can't see it attempting to create the quote first.
It appears the same version of the xrm.Sdk.dll is on both servers so I'm not too sure what the issue could be?
Thanks









