Wednesday, October 12, 2011

What about 'The command-line parameter -compressionminsize=1024 is invalid.' error message?

When starting the Ax client by clicking an Ax configuration file (.AXC), you may receive following error message:

The command-line parameter -compressionminsize=1024 is invalid.
Check the spelling and start Microsoft Dynamics AX again.




Possible cause, and a solution:
You are using an Ax configuration file to start Ax.  But instead of using a configuration file created for an Ax client, you are using a configuration file of the Dynamics Ax AOS server.
Make sure to use the Ax client configuration utility to create the AXC file, not the server configuration utility.

Monday, October 10, 2011

What not to forget when using the changecompany keyword

When debugging some Ax code the other day, I stumbled upon some good looking but not working code.  What at first sight looked OK, missed a small but vital detail.

The code involved the use of the changecompany keyword.  It's an easy approach for reading records from different company accounts within one Ax database.
The syntax is pretty straightforward:

   changecompany('id')
   {
       // record handling
   }

Put the record handling between accolades and you are good to go.  But...


Example of some disfunctional code:

static void MyExample(Args _args)
{
   DataArea DataArea;
   CustTable CustTable;
   ;

   while select DataArea
      where !DataArea.isVirtual
   {
      changecompany(DataArea.id)
      {
         while select CustTable
            where CustTable.Name like 'A*'
         {
            info(strfmt("%1 %2 %3",CustTable.dataAreaId,CustTable.AccountNum,CustTable.Name));
         }
      }
   }
} 

The above does not work or gives unreliable results.
What to do: You have to reset your table variable, after the changecompany but before your perform the record handling..
Example of some working code:

static void MyExample(Args _args)
{
   DataArea DataArea;
   CustTable CustTable;
   ;

   while select DataArea
      where !DataArea.isVirtual
   {
      changecompany(DataArea.id)
      {
         CustTable=null;          // remember to reset the record object
         while select CustTable
            where CustTable.Name like 'A*'
         {
            info(strfmt("%1 %2 %3",CustTable.dataAreaId,CustTable.AccountNum,CustTable.Name));
         }
      }
   }
} 

Wednesday, September 28, 2011

Microsoft opening up the vault of KB articles

Up until now, access to Knowledge Base articles for Dynamics Ax was limited to people with access to either CustomerSource or PartnerSource.  This also means access to people with a valid Service Plan for Ax.
Microsoft decided a while ago to align it's policy regarding KB's for Dynamics Ax with other MS products.  This means that all KB articles are now publicly available, no restraints.  Which of course makes it a lot easier to reference them in communication between partners and customers, on internet fora etc.  And it makes them accessible to search engines as well, helping to spread the information.

You can search for any KB over here:

Microsoft Support

or with this more specific link for Ax:

Dynamics Ax Solution Center

30.000+ articles are already available.  And new KB's will be created with a public profile.

Monday, September 19, 2011

Switcher

Microsoft is gaining market share with the Dynamics suite, but only marginally.  Today it still is not a real threat to number one, SAP.  In fact, they are profiling Dynamics Ax as an addendum to SAP, king of the Tier 1 throne.  With Dynamics Ax for subsidaries, branch offices.
 
But with the introduction of Dynamics Ax, they really do target a competitor.  And that competitor is Lawson, with is S3 and M3 software.  Please remember, Lawson is now part of Infor.  Infor has the same ambitious plan as Microsoft had almost 10 years ago: Create one single ERP suite, with one code base.
But as you know, any take-over comes with some uncertainties for both customers and partners.  And Microsoft hopes to benefit from that uncertainty.

Two initiatives under one name are launched: the Switcher campaign.

  • Microsoft is giving up to 50% discounts on the standard list price of Ax 2012, for customers switching from current Lawson ERP software to Dynamics Ax 2012
  • Secondly there is a reimbursement for partners investing in training and certifying their Lawson consultants in Ax 2012
The name of the campaign sounds like a new television series, airing Friday evening.  But it's not, it's real and tempting for people involved with Lawson software today.
And while it will not create a landslide, it will certainly add some percentage points of growth to Microsoft's customerbase and it's partner ecosystem.

Thursday, September 8, 2011

Electronic concrete

Virtual Launch event of Microsoft Dynamics Ax 2012 today.  Can't miss it!  Microsoft really pulled out the big guns.  Steve Ballmer, Kyril Tatarinov, Hal Howard, ...

A one hour event, with a nice mix of promotional talk, some demo's, user experiences.  The message is clear:
  •    Ax 2012 is released
  •    soon on a computer near you
  •    in better shape then ever...
More to come.

Oh and the title of this post?  Microsoft compared deploying it's competitor's ERP as like 'pouring electronic concrete'.  Pretty vivid image, not?

Wednesday, August 3, 2011

Dynamics Ax 2012 is compatible with Windows 7 - Did you expect otherwise?

It looks like a formality, but still they have to go through the proces.  After Dynamics Ax 2009 already got a green light (see here and here), and since Windows XP is no longer supported for Ax 2012 (see here), it was now time to put Dynamics Ax 2012 to the test.

The results of the jury (we didn't expect anything else): Microsoft Dynamics Ax 2012 is compatible with Windows 7.  Now it's official.   (Both 32 bit and 64.)

This means it passed Microsoft installation, performance, reliability, and security tests.
And they can put that on the box :-)

Monday, August 1, 2011

Microsoft Dynamics Ax Technical Conference 2011 in Europe

Good news!  After holding a technical conference earlier this year in Seattle (US) and after announcing a virtual lauch event for Dynamics Ax 2012, it's now time for a Technical Conference here in Europe.  This will take place November 14-16, 2011.
Just to be clear: This is not a virtual event, it's the real deal.  The event will take place in Nice, France.  And that's an extra reason to attend :-)

Who should attend?  Both partners and customers are welcome, functional and technical implementation consultants are expected.
The agenda is not yet published, but you can expect tons of info on the new flagship release of Dynamics.  Like the model-driver layer architecture, integration with Sharepoint and Office (two way), new industry functionality, ... and the list goes on and on.  It will be 3 packed days!