27. Mai 2015 09:45
query = new QueryExpression()
{
EntityName = SalesOrder.EntityLogicalName,
ColumnSet = new ColumnSet("name"),
Criteria =
{
Conditions =
{
new ConditionExpression ("datefulfilled", ConditionOperator.LastFiscalPeriod)
}
}
};
query = new QueryExpression()
{
EntityName = OPD_gutschrift.EntityLogicalName,
ColumnSet = new ColumnSet(true),
Criteria =
{
Conditions =
{
new ConditionExpression ("opd_gutschrift_zaehler", ConditionOperator.NotNull)
}
}
};
query = new QueryExpression()
{
EntityName = OPD_gutschrift.EntityLogicalName,
ColumnSet = new ColumnSet(true),
Criteria =
{
Conditions =
{
new ConditionExpression ("statuscode", ConditionOperator.Equal, 1)
}
}
};
27. Mai 2015 10:41
QueryExpression query = new QueryExpression();
query.EntityName = "salesorder";
query.ColumnSet = new ColumnSet();
query.ColumnSet.Columns.Add("createdon");
DataCollection<Entity> entityCollection = _service.RetrieveMultiple(query).Entities;
QueryExpression query = new QueryExpression();
query.EntityName = "opd_gutschrift";
query.ColumnSet = new ColumnSet();
query.ColumnSet.Columns.Add("createdon");
DataCollection<Entity> entityCollection = _service.RetrieveMultiple(query).Entities;
27. Mai 2015 11:06