Hello ,
I am using AIF service with c# code.
I want to get list of record which are updated. Is there any filter CriteriaElement who gives only updated record of particular table. I don't wont to use modified date & time.
Currently I am using following code for insert purpose Ax-third party systems.
criteriaElements = new CriteriaElement[2];
criteriaElements[0] = new CriteriaElement();
criteriaElements[0].DataSourceName = "CustTable";
criteriaElements[0].FieldName = "AccountNum";
criteriaElements[0].Operator = Operator.Range;
criteriaElements[0].Value1 = "C-00005000";
criteriaElements[0].Value2 = "C-00006000";
criteriaElements[1] = new CriteriaElement();
criteriaElements[1].DataSourceName = "CustTable";
criteriaElements[1].FieldName = "ForecastDMPInclude";//this field needs to change - Ax developer will provide
criteriaElements[1].Operator = Operator.Equal;
criteriaElements[1].Value1 = AxdExtType_ForecastDMPInclude.No.ToString();
//criteriaElements[1].Value2 = "C-00003370";
queryCriteria = new QueryCriteria();
queryCriteria.CriteriaElement = criteriaElements;
#endregion
axdCustomer = _Client.find(_callContext, queryCriteria);//get customer list
Now I want update this created record so only need updated record using single key field from ax table.
Please do needful.
Thanks,
keyur shah.
*This post is locked for comments
I have the same question (0)