Tags » AX 2012

AX2012 Terminating a compile worker

Moral of the story: NEVER KILL A COMPILER WORKER WINDOW EVER

There was a time I “accidentally” closed a compiler widow of a 10 worker process in the 2nd run. 176 more words

Dynamics Ax

Error while setting server report parameters

When you are preparing to export / run SSRS Report, on that time you may access the following mentioned error.

“Error while setting server report parameters. 124 more words

AX 2012

WORKING WITH CUSTOMIZED AIF (SERVICE OPERATION : UPDATE)

EntityKey[] _entityKeyList = null;

List<CriteriaElement> _criteriaList = new List<CriteriaElement>();
CriteriaElement _criteria = new CriteriaElement();

_criteria.DataSourceName = “ContactTable”;
_criteria.FieldName = “RecID”;
_criteria.Operator = Operator.Equal;
_criteria.Value1 = “5637144586”; 57 more words

AX 2012

Working with customized AIF (Customized Objects)

private ContactQueryServiceClient getClientObject()
{
ContactQueryServiceClient _client = new ContactQueryServiceClient();
return _client;
}

private CallContext getCallContext()
{
CallContext _callContext = new CallContext() { Company = “DAT” };
return _callContext;
}

AX 2012

Working with customized AIF (Service Operation : Find)

AxdContactQuery _trans = new AxdContactQuery();
CriteriaElement[] criteriaElement = new CriteriaElement[1];
criteriaElement[0] = new CriteriaElement();
criteriaElement[0].DataSourceName = “ContactTable”;
criteriaElement[0].FieldName = “ContactID”;
criteriaElement[0].Value1 = “CNT-0003″;

QueryCriteria queryCriteria = new QueryCriteria(); 25 more words

AX 2012

Working with customized AIF (Service Operation : Delete)

KeyField keyField = new KeyField() { Field = “RecId”, Value = “5637144589” };

// Create an entity key instance and put in the key field data… 34 more words

AX 2012

Working with customized AIF (Service Operation: Read)

ContactQueryServiceClient _client = new ContactQueryServiceClient();
AxdContactQuery _contactQuery = new AxdContactQuery();
EntityKey[] entityKeys = new EntityKey[1];

entityKeys[0] = new EntityKey();
entityKeys[0].KeyData = new KeyField[1];
entityKeys[0].KeyData[0] = new KeyField(); 34 more words

AX 2012