Wednesday, July 17, 2013

display and edit methods

display():
The display method modifier is used to indicate that a method’s return value is to be displayed on a form or a report. if you want to edit the value use a edit method. the display method using Table methods,Form methods, Form DataSource methods,Report, Report Design methods.
Write your display methods on a table. You can use the same code in several forms or reports. 
display methods are called each time the form is redrawn. They should not contain complex and  time consuming calculations.
To create a display method, place the display keyword immediately in front of the method’s return type.
Ex: 
display AddressStatename stateName()
{
    return AddressState::find(this.CountryRegionId, this.State).Name;
}
display methods must have a return type. The return value is typically a calculated value (for example, a sum).
There should no parameters in a display method unless it is on a form data source where you must include the data source as a parameter. 
For example:
display boolean displayOperations(AssetGroup _assetGroup)
Note: You must use display on a form data source method when the return value is to be shown on a grid control.
AOT>Forms>AssetGroup.
edit():
The edit method modifier is used to indicate that a method’s return value is to be displayed on a form, and users can edit that value. If you don't want users to edit the value, use a display method.
Use the edit method modifier on Table methods, Form methods, Form data source methods.
Write your edit methods on a table. You can use the same code in several forms.
edit methods are called each time the form is redrawn. They should not contain complex and  time consuming calculations.
Create an edit method on a form or table.
  1. Place the edit keyword immediately in front of the method’s return type.
  2. Create a Boolean parameter called Set. It is used to determine whether the user has entered anything into the control.
  3. create a second parameter to hold the values that the user has entered into the control.
  4. If the edit method is on a form data source, create a third parameter for the data source. Place this parameter after the Set parameter.
    Ex: AOT>Table>CustTable>Methods>edit ContactPersonName

    edit ContactPersonName editContactPersonName(boolean _set, ContactPersonName _name)
    {
        return this.CustVendTable::editContactPersonName(_set, _name);
    }

    Form Level: AOT>Forms>BOMCalcSum>Methods>editCostSales

How to use query classes in table level

AOT>DataDictionary>Tables>CustTable>Methods>getCurrenicesForAllTrans

Friday, July 5, 2013

How to know version number in axapta 2009

Press Alt +M --> go to Help



The above window we have to find out easily about kernel, application version number, localization version and who are the using licensed and serial number.

Note: kernel and application version numbers  both are same that application is installed correctly.


Tuesday, July 2, 2013

Prerequisites for installing an AXAPTA-2009


 
Prerequisites for installing an AXAPTA-2009
Base Components
ü  Install the database on SQL Server
ü  Install application files
ü  Install an Application Object Server (AOS) instance
ü  Install a client
Prerequisites for installing an AOS instance:
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
ü  Microsoft SQL Server 2005 Native Client
Prerequisites for installing a client:
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
ü  Microsoft Internet Explorer
ü  SQL Server Analysis Management Objects
ü  Microsoft SQL Server 2005 Native Client
Prerequisites for installing the database on SQL Server:
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
ü  Microsoft SQL Server
Prerequisites for installing application files
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
Install prerequisite software on the report server:
ü  Windows SDK for Windows Server 2008 and .NET Framework 3.5
ü  Internet Information Services (IIS)
ü  ASP.NET 2.0
ü  Microsoft ADOMD.NET
ü  Windows Installer 3.1
ü  Microsoft Dynamics AX .NET Business Connector
ü  Microsoft SQL Server Reporting Services
ü  Microsoft Visual Studio 2008 Shell (isolated mode)
ü  Secure Sockets Layer (SSL)
Prerequisites for installing the analysis extensions:
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
ü  Microsoft SQL Server Analysis Services
ü  Microsoft SQL Server Management Studio
ü  Microsoft SQL Server Business Intelligence Development Studio
Prerequisites for installing Enterprise Portal and Role Centers:
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
ü  Internet Information Services (IIS)
ü  ASP.NET
ü  Secure Sockets Layer (SSL)
ü  Windows SharePoint Services -or- Microsoft Office SharePoint Server, Enterprise Edition
ü  SQL Server Analysis Management Objects (AMO)
ü  Microsoft Dynamics AX .NET Business Connector
Prerequisites for installing Workflow:
ü  Internet Information Services (IIS)
ü  ASP.NET 2.0
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
ü  Microsoft Dynamics AX .NET Business Connector
ü  Secure Sockets Layer (SSL)
 Prerequisites for installing the debugger:
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
ü  Microsoft Dynamics AX .NET Business Connector
Prerequisites for installing the .NET Business Connector:
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
Prerequisites for installing the AIF Web services:
ü  Microsoft .NET Framework 3.5
ü  Windows Installer 3.1
ü  Microsoft Dynamics AX .NET Business Connector
ü  Internet Information Services (IIS)
ü  ASP.NET 2.0
Prerequisites for installing a developer installation:
ü  Install the database on SQL Server or Install the database on Oracle
ü  Install an Application Object Server (AOS) instance
ü  Install application files
ü  Install the Microsoft Dynamics AX client
ü  Install the .NET Business Connector
ü  Install the debugger




update_recordset with joins

 update_recordset with joins update_recordSet storeTransfer         setting      TransactionId = transfertable.TransferId     join transfert...