Hello Experts,
im writing my first Custom Workflow Activity and i have a problem with my query.
I always get an error at "provdaten.Einlösequote = "mrd_ekv_wert_provision_mr" and at my return.
The Class "Provisionsdaten" is not valid in the given context and i think the "mrd_ekv_wert_provision_mr" is wrong declared.
Can anyone help me?
Kind Regards,
Léon
// Einlösequote ermitteln internal Provisionsdaten GetEinloesequte(Guid produkthersteller, DateTime datum) { Entity einloesequoten = new Entity(); QueryExpression query = new QueryExpression("mrd_ekv_einloesequoten"); query.ColumnSet = new ColumnSet(true); Provisionsdaten provdaten = new Provisionsdaten(); query.Criteria.AddCondition("mrd_ekv_hersteller", ConditionOperator.Equal, produkthersteller); query.Criteria.AddCondition("mrd_ekv_datum_von", ConditionOperator.GreaterThan, datum); query.Criteria.AddCondition("mrd_ekv_datum_bis", ConditionOperator.LessThan, datum); // query ausführen provdaten.Einloesequote = "mrd_ekv_wert_provision_mr"; return Provisionsdaten; }
*This post is locked for comments