The SalesTable2Line framwork is used in AX to update fields on the SalesLine when the corresponding field in the SalesTable was changed e.g. DevliveryMode. Follow these steps to extend the framework for your own fields.
Tag: MorphX
Microsoft Dynamics Ax
Search for available putaway location using X++ | Kurt Hatlevik – Dynamics Ax Blog
by Bo Jensen •
Search for available putaway location using X++ | Kurt Hatlevik – Dynamics Ax Blog
Microsoft Dynamics Ax, SQL Reporting Services
Get list of printers in Dynamics AX 2012 for SSRS reports using Using X++
by Bo Jensen •
Get list of printers in Dynamics AX 2012 for SSRS reports [Using X++] « Sreenath Reddy G – Dynamics AX Consultant’s Blog
Microsoft Dynamics Ax, SQL Reporting Services
Display Barcode in SSRS report for Dynamics AX 2012
by Bo Jensen •
Display Barcode in SSRS report [Dynamics AX 2012, X++] « Sreenath Reddy G – Dynamics AX Consultant’s Blog
Microsoft Dynamics Ax
How To: Sending Reports to file in Dynamics AX
by Bo Jensen •
How To: Sending Reports to file – Dynamics AX Business Intelligence – Site Home – MSDN Blogs
Microsoft Dynamics Ax
Alex on DAX: How to send emails from AX without requiring Outlook
by Bo Jensen •
Sending emails from AX has been somewhat of a pain when it tries to use Outlook. This post is a simple code modification to one method in \Classes\Info\reportSendMail. I did not develop this code, I merely tweaked it. The original poster’s blog has disappeared, and I can only find non-working remnants all around the web…
Microsoft Dynamics Ax
Sending a report as email in X++
by Bo Jensen •
http://daynamicsaxaptatutorials.blogspot.dk/2010/07/sending-report-through-email-in-axapta.html
Microsoft Dynamics Ax
Microsoft Dynamics Ax: How to pick and post packing slip
by Bo Jensen •
See here how to register a new InventPick and post a packingslip
Microsoft Dynamics Ax
Unbalanced X++ TTSBEGIN/TTSCOMMIT– How to recover from this error
by Bo Jensen •
If you end up running some code in Ax that have an uneven number of ttsBegin/ttsAbort calls you will end up with the following error message To recover from this annoying problem you can run this small job to automatic reset the ttsLevel to 0 in order to make Ax work properly again static…
Microsoft Dynamics Ax, SQL Reporting Services
Playing with SSRS report in dynamics ax 2012
by Bo Jensen •
How to print the SSRS report in dynamics ax 2012 from code. SrsReportRun srsReportRun; // initiate the report. srsReportRun = new SrsReportRun ("InventTruckTransactionReport.PrecisionDesign1"); srsReportRun.init(); srsReportRun.reportCaption("InventTruckTransactionReport.PrecisionDesign1"); // set parameters name, value. srsReportRun.reportParameter("TruckTransDS_JournalId").value("000161_070"); // suppress the dialog srsReportRun.showDialog(false); if( srsReportRun ) { // run the report srsReportRun.executeReport(); } How to save the SSRS report…
Microsoft Dynamics Ax, SQL Reporting Services
Ax 2012 Deploy reports through code « Shashi's Ax.Net Space
by Bo Jensen •
These lines deploys SSRS Reports with X++ Code – Remember not to run this code in CIL or you will get runtime error. SRSReportManager srsRptMgr = new SRSReportManager(); SSRSReportConceptNode node = new SSRSReportConceptNode(); node = TreeNode::findNode(@"SSRS ReportsReportsSalesInvoice"); srsRptMgr.deploymentStart(); srsRptMgr.deployReport(node); srsRptMgr.deploymentEnd(); Ax 2012 Deploy reports through code « Shashi’s Ax.Net Space
Microsoft Dynamics Ax
How to loop through a Map in AX 2012
by Bo Jensen •
Map iim = new Map(Types::Integer, Types::Class); MapIterator it; // Add some elements into the map iim.insert(1, new query()); iim.insert(2, new query()); iim.insert(4, new query()); // Create a map iterator it = new MapIterator (iim); // Print "[int -> class] iterator" print it.definitionString(); // Go on for as long as elements are found in the…
Microsoft Dynamics Ax
Dynamics Ax Musings: X++ in the .NET CLR : Life in the Fast Lane
by Bo Jensen •
You’ve heard it by now. In Dynamics AX 2012, X++ can actually run in the .NET CLR. What I’ve often heard is “X++ running on the server runs in IL”. Well, that is somewhat true. But it doesn’t mean setting your classes or menu items to “RunOn Server” makes them run in IL. So what…
Microsoft Dynamics Ax
date2StrUsr and DateFlags Error when Compiling/Interacting with Dynamics AX 2009 SP1
by Bo Jensen •
I faced a very strange error two times so far saying that there is date2StrUsr function: “The wrong number of arguments has been specified for the function” and on the base enum DateFlags: “The enumeration does not exist on DateFlags base enum”. Actually this has happened due to some “crash” in the SP1 of Microsoft…
Microsoft Dynamics Ax
Create Progress bars in Dynamics AX [startlengthyoperation, SysOperationProgress,Animations ]
by Bo Jensen •
Create Progress bars in Dynamics AX [startlengthyoperation, SysOperationProgress,Animations ] « Sreenath Reddy G – Dynamics AX Consultant’s Blog
Microsoft Dynamics Ax
Connecting MSSQL DataBase with X++ Code.
by Bo Jensen •
Sometimes we need to connect to DataBases other than the Axapta DataBase. So let us explore how it can be done with X++ code.
Microsoft Dynamics Ax
X++ CODE TO READ MS OFFICE WORD DOCUMENT
by Bo Jensen •
Use the below job if you want to read text from MS Word document in Dynamics Ax 2009.
Microsoft Dynamics Ax
DAX 2012 Data Model – Global Address Information
by Bo Jensen •
In 2012 address table is obsolete (no longer used) and new tables have been introduced which follow normalization and avoid storing of redundant data. So this post basically – Describes about new data model – X++ job to illustrate how address and contact information can be migrated to AX 2012.
Microsoft Dynamics Ax
X++ code to write data to XML File
by Bo Jensen •
X++ code to write data to XML File
Microsoft Dynamics Ax
X++ code to Read/Write Dynamics Ax data to excel
by Bo Jensen •
Here are some bits of X++ code to read and write AX data from Excel