-
Recent Posts
- Logging independently of transaction scope by using a separate thread in Dynamics AX (deux)
- Dynamics AX 2009 SSRS and SSAS Integration Tips
- Logging independently of transaction scope by using a separate thread in Dynamics AX
- Basic calculator using runbuf() in Dynamics AX
- Microsoft New Orleans Convergence 2009
Recent Comments
Archives
Categories
Meta
Category Archives: Dynamics Ax 4.0x
Logging independently of transaction scope by using a separate thread in Dynamics AX
Good morning, Continuing on the topic of good ideas to palliate lazy code designs (ref: previous post on runbuf()), I wanted to discuss a possible way to write to a table from inside a TTS (between a begin and a … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Logging independently of transaction scope by using a separate thread in Dynamics AX
Basic calculator using runbuf() in Dynamics AX
Good evening, If you ever need to build a mathematical calculator in Dynamics AX, you might consider using runbuf() as basis for the code. The only critical considerations are to make sure that an attacker cannot use the calculator to … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Basic calculator using runbuf() in Dynamics AX
AP Posting fails because of security setup in Dynamics Ax 4
Good afternoon During an AX implementation, I’ve noticed that when doing security setup of user groups and permissions, it is important to have the ‘Tables’ node (in AP for example) set to full control for anyone doing AP postings. Starting from … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on AP Posting fails because of security setup in Dynamics Ax 4
How to temporarily suppress infolog messages in Dynamics Ax (deux)
Good afternoon, My previous post on the topic was flawed. Here’s a better solution when you want a section of code not to report to the infolog, but still want previous messages to be shown at the end … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on How to temporarily suppress infolog messages in Dynamics Ax (deux)
Exception::Break in X++ while loop
Good morning I noticed something interesting yesterday. When breaking execution while running a loop (by pressing ctrl-break) an Exception::Break is thrown if ‘Yes’ is clicked on the resulting break prompt. Sometimes even if the exception is caught, the … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Exception::Break in X++ while loop
How to create and post a financial voucher in Dynamics Ax
Good morning The following code gives a rough example of how to create a financial voucher in code: public void sampleLedgerTrans(){ Voucher voucher; LedgerVoucher ledgerVoucher; LedgerVoucherObject ledgerVoucherObject; LedgerVoucherTransObject ledgerVoucherTransObject; LedgerJournalTransTxt transTxt; Dimension dimension; AmountCur amount; … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on How to create and post a financial voucher in Dynamics Ax
How to temporarily suppress infolog messages in Dynamics Ax
Good afternoon, The following piece of code is useful when you want a section of code not to report to the infolog, but still want previous messages to be shown at the end of execution. public static … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on How to temporarily suppress infolog messages in Dynamics Ax
Support of basic operations on Sets in Dynamics AX
Good morning AX supports basic operations on sets, here’s a simple overwiew: public static void OperationsOnSets(Args _args){ Set a = new Set(Types::Integer); //[1,3] Set b = new Set(Types::Integer); //[2,3] Set c = new Set(Types::Integer); //Result ; … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Support of basic operations on Sets in Dynamics AX
Report ‘shape’ control issues with PDF Printer class in Dynamics AX 4.0
Good evening, I had an issue with some reports not displaying properly when printed through the standard AX PDF printer class ‘PDFViewer’. In reports where ‘shapes’ were used as background for normal ‘string’ fields, the shape would show, … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Report ‘shape’ control issues with PDF Printer class in Dynamics AX 4.0
Something to check if the Dynamics Ax 4 client throws the “failed to logon to axapta” error
Good morning I’ve been getting this "failed to logon to axapta" error message even since I last changed my network password. I was able to start the client using my user from another PC, and I was able … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Something to check if the Dynamics Ax 4 client throws the “failed to logon to axapta” error
You must be logged in to post a comment.