-
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
Monthly Archives: April 2008
Automatic creation of a PDF from a customer invoice in Dynamics Ax 4.0
Good morning, The following code snippet will create a PDF from a CustInvoiceJour record, without any user intervention, using only the standard Ax4 EPSendDocument class. public static void EPSendDocumentTest(Args _args){ EPSendDocument sendDocument; CustInvoiceJour custInvoiceJour; Filename filename; ; … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Automatic creation of a PDF from a customer invoice in Dynamics Ax 4.0
Manual SysDateLookup on a FormStringControl
Good afternoon, The following code will manually launch, in code, a fully fonctional lookup on SysDateLookup. public void lookup(FormStringControl _formControl, str _filterStr){ ; _formControl.performFormLookup(SysLookup::lookupDate());} The class SysLookup contains lookup constructors for enum lookups and table lookups … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Manual SysDateLookup on a FormStringControl
Table caching and record delete()/update()/next
Good morning, This is a very basic concept. If you get the following error: "Cannot call NEXT, update(), or delete() on buffer where data is selected or inserted in another transactionscope." It means that the record selected … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Table caching and record delete()/update()/next
Inside MS Dynamics Ax 4.0 free (eBook)
Good afternoon, MS has made available to the public Arthur Greef et al. ‘s Inside Microsoft Dynamics Ax 4.0. Click here to download the .pdf: Inside MS Dynamics Ax 4.0 A big thank you … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Inside MS Dynamics Ax 4.0 free (eBook)
Dynamics Ax SQL statements (SQL Strings in DAx)
Good afternoon, Yesterday I hit a snag, took me a few hours to figure out (!). I had tinkered with SQL strings in ReleaseUpdate classes often before, tweaking them, rewriting them for optimization etc… but I don’t recall … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Dynamics Ax SQL statements (SQL Strings in DAx)
DAX and Visual Studio, Future reserved words
Good morning all, We all know that at some point in the future, Ax development will converge into another Visual Studio type tool. I took a peek at class SysBPCheckMemberFunction and found the following macro: #localmacro.FutureReservedWords … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on DAX and Visual Studio, Future reserved words
Compile forward from code
Good morning, Here is an X++ snippet showing how to compile forward a class without using the context menu. It potentially bypasses developper licenses, not sure about that though. public static void CompileFormletter(Args _args){ ; SysCompilerOutput::compileForward(className2Id("Formletter"));}
Posted in Dynamics Ax 4.0x
Comments Off on Compile forward from code
Deleting of a Set of RecIds from multiple tables
Good afternoon, I use the following code when coding test cases. It allows me to create records, and delete them without having to manage every one separately. Inside my *test methods, I put the following set declaration and … Continue reading
Posted in Dynamics Ax 4.0x
Comments Off on Deleting of a Set of RecIds from multiple tables