Tags » AX 2012

Calling Rest API from AX 2012

AX 2012 supports system.Net namespace interface. This interface provides simple programming interface for many of the protocols used on the networks today. Herewith i am sharing a simple example to call a rest API asynchronously.   367 more words

AX 2012

SQL in X++, range in where clause

Below case is when ‘AccessFeedsFilter’ has value it should fetch that reocrds only if its empty: it should fetch all

while select SKUNumber, ItemId, inventDimId,LifeCycleStatusFlag,ItemName, InboundDepth, InboundHeight, InboundWeight, InboundWidth, 28 more words

Ax 2012

Troubleshoot logo print on receipt in AX 2012 R2

A customer of ours called and asked us to help him figure out why the labels didn’t print on a new POS he was about to put up in a store. 361 more words

AX 2012

Split text multiple lines in Email body

HI, Below smaple code used to show splited text in email body.


SysMailer mailer;
SysEmailParameters parameters;
InteropPermission permission = new InteropPermission(InteropKind::ComInterop);
OWIStoreTable OWIStoreTable;
Notes bodymsg, bodymsghtml; 109 more words

Ax 2012

Iterate container

for (i=1; i <= conlen(container); i++)
       info(strFmt("container value %1 - : %2", i, conpeek(container, i)));
Ax 2012

"AX client execution of 'Executing CIL generation' timed out" TFS build

I was setting up a new build definition for my project and was facing the exception of Time out error “AX client execution of ‘Executing CIL generation’ timed out” 128 more words
Ax 2012