Friday, January 29, 2010

Add new SharePoint Server to Existing Server Farm

http://blogs.msdn.com/priyo/archive/2007/08/11/add-new-sharepoint-server-to-existing-server-farm-an-unhandled-exception-occurred-in-the-user-interface-exception-information-unable-to-connect-to-the-remote-server.aspx

Thursday, January 28, 2010

Statement of Direction (Roadmap) for Microsoft Dynamics AX

https://mbs.microsoft.com/Cms/Templates/document/General.aspx?NRMODE=Published&NRNODEGUID={C543391C-739D-4B90-8E9C-5C9781A8510E}&NRORIGINALURL=/partnersource/marketing/statementofdirection/statementofdirection.htm?printpage=false&stext=ax%2520sod&NRCACHEHINT=Guest&printpage=false&stext=ax sod&wa=wsignin1.0

Wednesday, January 27, 2010

Microsoft Dynamics AX 2009 White Paper: Documentation Resources

http://www.microsoft.com/downloads/details.aspx?FamilyID=f4471844-dc4b-4e19-b2c9-c19442ab2991&displaylang=en

Application Integration Framework (AIF) Overview

http://msdn.microsoft.com/en-us/library/bb496535.aspx

Tuesday, January 26, 2010

Read All Files inside a directory

void FindAllCSV()
{
#Evat_NL
#File

Filename baseFolder;
Filename csvFilename;
Filename foundBaseFileName;
Filename foundFileName;
container mainFolder, subFolder, fileContainer;
boolean filesFoundMainFolder = true;
boolean filesFoundSubFolder = true;
int apiResult;

int setCurrentFolder (Filename _filename = '')
{
;
return WinAPI::setCurrentDirectory(_filename);
}

;
baseFolder = "C:\\TEST\\";

apiResult = setCurrentFolder(SysTreeNode::duplicatePathDelimiters(baseFolder));
mainFolder = WinAPI::findFirstFile("*.*");
foundBaseFileName = conpeek(mainFolder, 2);
while (filesFoundMainFolder)
{
if (foundBaseFileName != #currentFolder &&
foundBaseFileName != #upFolder &&
foundBaseFileName != '')
{
csvFilename = baseFolder + foundBaseFileName;
this.parmFileName(csvFilename);
This.readCSVfile();
}

apiResult = setCurrentFolder(SysTreeNode::duplicatePathDelimiters(baseFolder));
foundBaseFileName = WinAPI::findNextFile(conpeek(mainFolder, 1));
filesFoundMainFolder = foundBaseFileName ? true : false;
}
}

Client/Server Performance

By default, Insert, Update and Delete methods on the Tables are always server bound, even though it is not stated in the definition of the method.
The methods cannot be forced to the client because any client modifier is simply ignored by the Dynamics AX application runtime.

Dynamics AX Report can be executed on either the client or the server. Exactly where to execute the report is defined by the menu item that open the report. If reports are executed on the server but displayed on the client, the individual pages are generated on the server and sent to the client. If a report is executed on the client, the client renders and generates the report pages.

Rich forms are always executed on the client, which results in client/server traffic when fetching and manipulating records. In addition, display methods can degrade form performance because the displayed methods are executed by the form application runtime whenever it refreshes the forms control displaying the value.
A server-bound display method could cause a substantial number of client/server calls, especially if the display methods is show in a grid in which the returned value from multiple display methods is shown at the same time. You can, however, cache the value from the display method by calling the CacheAddMethod method on the FormDataSource object..The form Application runtime then caches the returned values and refreshes them only when the record is modified or re-read.

Monday, January 25, 2010

Migration Tools for Microsoft Dynamics AX 4.0

https://mbs.microsoft.com/partnersource/deployment/resources/migrationtools/dynamicsax_migrationtools.htm

Migration Tool for Microsoft Dynamics AX 2009

The Migration Tool for Microsoft Dynamics® AX 2009 helps migrating data from competing business management systems and legacy systems to Microsoft Dynamics® AX 2009.

By decreasing the time and expense of migrating the customer’s data, partners can increase the value of their services and gain a competitive advantage.

https://mbs.microsoft.com/partnersource/deployment/resources/migrationtools/dynamicsax_migrationtool.htm

Monday, January 18, 2010

The date format in Microsoft Dynamics AX 4.0 Enterprise Portal site is not changed after you change displayed the date format of SharePoint sites

SYMPTOMS
You change the displayed date format of the SharePoint sites in the Regional Settings Web page. However, the date format in Microsoft Dynamics AX 4.0 Enterprise Portal site is not changed. If you change the profile of the regional setting of the current user, the date format will not be changed either.

WORKAROUND
To change the date format, create and set a local interactive account for the Enterprise Portal (EP) user on the server that is running Internet Information Services (IIS) and then set the desired local regional setting. If you want to have a default regional setting for a user who does not have a local account, or does not have a user profile in IIS, change the system-wide setting of the server that is running IIS.

The underlying class that displays Web forms is the WebFormHtml class. The WebFormHtml class sends dates that are in the layoutDate() method. The layoutDate() method makes a call to the date2strUser(,,,) method to format the date. The date2strUser() method that is defined in "\Classes\Global\" is a wrapper around the date2Str() method.

In Enterprise Portal, date is formatted according to the regional settings that are defined in the server that is running IIS. When a user has a local profile in the server that is running IIS and a regional setting exists for this user, this local regional setting overrides the system-wide regional setting. By default, if the user does not have a user profile in the server that is running IIS, Enterprise Portal will use the system-wide regional settings of Windows Server 2003.

Friday, January 15, 2010

Patching White Paper for Microsoft Dynamics AX 4.0

https://mbs.microsoft.com/customersource/documentation/whitepapers/ax40patching.htm

Wednesday, January 13, 2010

Form Windows Resolution

WinApi::getSystemMetrics(1) o WinApi::getSystemMetrics(0)

Tuesday, January 12, 2010

Microsoft Dynamics AX 2009 Known Issues

https://mbs.microsoft.com/downloads/customer/AX2009Docs/Dynamics_AX_Known_Issues.htm

Microsoft Dynamics AX 2009 Technical Library

http://technet.microsoft.com/en-us/library/dd309624.aspx

Servicing Microsoft Dynamics AX 2009

https://mbs.microsoft.com/customersource/support/documentation/whitepapers/AX2009Patching

Friday, January 8, 2010

Reperire il campo chiave di una Tabella

DictTable DictTable;

DictTable = New DictTable(TableNum(Nome_Tabella));
print fieldid2name( dictTable.id(), dictTable.primaryKeyField());
pause;

Thursday, January 7, 2010

Form - Aggiunta campi dalla form UserSetup

Di default da impostazioni di una Form se si preme il tasto "Aggiunta Campi" AX permette di aggiungere SOLO i campi visualizzati nella form stessa.
Per poter aggiungere un campo non previsto, ma presente in tabella, bisogna a livello di proprietà del campo del Datasource andare a settare la proprietà "AllowAdd" a YES.

AX ASCII Functions

Converts a character in a string to the ASCII value of the character you have to use :

int char2Num(str text, int position)

Instead, converts an integer to the corresponding ASCII character you have to use :

str num2Char(int figure)

see also http://msdn.microsoft.com/en-us/library/aa653761.aspx

Tuesday, January 5, 2010

SQL Server 2008 - Key-Range Locking

http://msdn.microsoft.com/en-us/library/ms191272.aspx