[quote user="Nuno Almeida"] Hi, The condition of your query is wrong: qrySOD.Criteria.AddCondition("productid", ConditionOperator.Equal, ProductName); productid is not string type, so yout ProductName must be a Guid, the Id of the product, the salesorderdetails is associated with [/quote] Hi thanks, so how do i fix it? When I look in CRM - the productid is a string or at least it looks like it. The source is definitely a string, which is ProductName.
↧