
Click here for the link
This site contains some Microsoft Dynamics AX X++ Codes for use in your day to day use. However please use them with caution in production environment. I will not be responsible for any Goof ups. These Codes were created during my free time and may have bugs. Use them at your own discretion. Arijit Basu | India
Microsoft Dynamics AX includes functionality and features that are specific to various countries/regions. These country/region-specific features are described in the following white papers and release notes, so you can easily view information about the features that are unique to your country/region, in one location.
Click here for the Resources { Requires Partnersource Logon}\Client\Bin\Help\
Language directory in your Microsoft Dynamics AX installation.Here is what you do:
Assume you have created a new EDT called AX_myEDT which is the PK in the Form Datasource Table.
Append \Classes\NumberSeqReference_CRM\loadModule() method and add the following code at the end
//==========================================
numRef.DataTypeId = typeId2ExtendedTypeId(typeid(AX_myEDT)); // The new EDT you made
numRef.ConfigurationKeyId = configurationkeynum(Your Config Key); // Any Configuration key you made
numRef.ReferenceHelp = literalstr("Your label."); // Label you want to appear on the Parameters Form
numRef.WizardContinuous = true;
numRef.WizardManual = NoYes::No;
numRef.WizardAllowChangeDown = NoYes::No;
numRef.WizardAllowChangeUp = NoYes::No;
numRef.SortField = 12; // Sorting on the Parameters Form
numRef.WizardHighest = 999999;
//==========================================
Create a new Method in the SalesParameters table
\Data Dictionary\Tables\SalesParameters\Methods\ numRefSomeMethodID
//==========================================
static client server NumberSequenceReference numRefSomeMethodID()
{
return NumberSeqReference::findReference(typeId2ExtendedTypeId(typeid(Your EDT)));
}
//==========================================
Theres the Final Screen