Sign in
Microsoft Dynamics AX Support
This blog contains posts by the Microsoft Dynamics AX Support teams Worldwide
Tags
2009
AIF
AOS
AX
AX 2009
AX 2012
AX 2012 dimensions
AX 2012 R2
AX 2012 Upgrade
AX 4.0
AX for Retail
AX2009
AX2012
AX2012FP
batch
Budget
checks
CIL
client
code
Collections Agen
Collections Management
color
comments
Commerce Data Exchange
compile
Compiler
Config Keys
Configuration ID
Connector
Content
Convergence
conversion
convert
Cost accounting
crash
crash dump
CRM Connector
CRM Connector troubleshoot logging
CryptoAPI not available
CU
CustAccountStatement
customer
customer account statement
Customization
database
DAX
DAX 2009
debugging
Default account setup
Deployment
dimension
Dynamics AX
Dynamics AX 2009
Dynamics AX 2012
Employees
Enterprise Portal
EP
Feature Pack
Fill Utility
forms
General Journal
Hotfix
Import
importing
initializeMainQuery
Installation
invoice
Italian
licensing
Microsoft Dynamics AX
Office 2007
Office Addins
OLAP
payment
Performance
POS
Printing
Real-time Service
reporting
Reporting extensions
Retail
Retail Store Connect
Retail Transaction Service
sales order
SalesOrderService
Security
service
services
Sharepoint
SQL
SSRS
update
Upgrade
Virtualization
web service
web services
workflow
Wrong argument types for comparison
X++
Browse by Tags
MSDN Blogs
>
Microsoft Dynamics AX Support
>
All Tags
>
x++
Tagged Content List
Blog Post:
Memory usage in XppIL code
Tariq Bell MSFTE
Written some X++ which seems to have high memory usage when run in IL but runs normally when not in IL? Or just noticing high memory usage in servers running IL code? Here we're going to talk about an aspect of garbage collection in XppIL that is important for anyone writing XppIL code to take on...
on
30 Apr 2012
Blog Post:
Accessing .NET global namespace from X++
Martin Falta
In case you need access a global namespace (object without namespace) like following definition, you could use a this X++ code. C# code: namespace KFEnumNamepace { public enum KFEnumNamespaced { ValueNA = 100, ...
on
21 Mar 2012
Blog Post:
Creating General Journals in AX 2012 in X++
Becky Newell
Due to popular demand, below is example code that creates a general journal in 2012 using X++ code: AxLedgerJournalTable header = new AxLedgerJournalTable(); AxLedgerJournalTrans trans = new AxLedgerJournalTrans(); container ledgerDimensions, offsetDimensions; header.parmJournalName("GenJrn...
on
21 Dec 2011
Blog Post:
Threading in Dynamics AX
Becky Newell
Threading in AX 2009 is different from threading in C#. In C# you can spawn up threads and have them do whatever they do. The same thing is available in AX using the Thread class but it isn't the optimal or recommended way to spawn threads in AX. This is because AX has AOS instances and batches. When...
on
13 Apr 2011
Blog Post:
Wrong argument type for function
Becky Newell
When double-clicking on a record in a list page to see the details of that record in a task page/form and getting this error: Error executing code: Wrong argument type for function. With a stack trace of: (C)\Classes\QueryRun\setRecord (C)\Classes\FormDataSource\executeQuery Change the query...
on
31 Aug 2010
Blog Post:
Importing Employees in AX 2009
Becky Newell
To import employees via Excel use a concept similar to the import of customers and vendors but add additional tricks to get the Name and Search name fields from the DirPartyTable populated. (If you are unfamiliar with importing customers and vendors see KB article #960729.) When defining your Excel...
on
25 Aug 2010
Blog Post:
Changing the language at runtime in X++
Becky Newell
We recently had a case where the customer wanted to change the language being used for a given AX user at runtime. The customer had sorted out how to change the language displayed in forms and reports but the buttons on the navigation pane were not getting updated. Here is a way to handle this scenario...
on
11 Aug 2010
Blog Post:
Calling a web service from X++ code
Becky Newell
This post describes how to call the AIF sales order service from X++ code. The same approach can be used for calling any web service. In the AOT under the References node add a service reference specifying the wsdl location of the service, a .NET code namespace and a reference namespace. An example...
on
9 Aug 2010
Blog Post:
Research method on X++ forms
Becky Newell
In AX2009 if you call the research() method on a form passing true, the cursor position within a grid should be retained. However, this is true only if the query created by the form uses inner joins. Any outer joins, aggregations, temp tables, etc. cause the cursor to go to either the first or last record...
on
5 Aug 2010
Blog Post:
How to Identify the Tier X++ Code is Running On
Becky Newell
It can be unclear as to which tier, either the client or the server, X++ code is executed on. This ambiguity can lead to problems. For instance if you run a server-bound batch, all of the code has to run on the server. If a call is attempted on the client this error will be thrown: "The server-side impersonated...
on
2 Aug 2010
Blog Post:
How to Send the Callstack to the Infolog
Becky Newell
When troubleshooting a problem it is helpful to have the X++ callstack especially in scenarios where you cannot use the debugger in the environment or the issue happens sporadically. The following X++ code will retrieve the X++ callstack and send it to the infolog. Add the example code to a method that...
on
2 Aug 2010
Page 1 of 1 (11 items)