X++ code to create default dimension in both D365FO and AX-2012
public class DefaultDimesnionHelper
{
X++ code to create default dimension in both D365FO and AX-2012
public class DefaultDimesnionHelper
{
X++ code to find employee dimension
static void employeeDim(Args _args)
Here is the X++ code to find the complete list of tables in Ax 2012 and D365FO
public void getTableList()
Here is the X++ code to find the current language
static void main(Args _args)
{
info(companyinfo::languageId());
// user
info(new xInfo().language());\
// system
info(SystemParameters::getSystemLanguageId());
}
X++ code for Scheduling Batch Job
static void JobSchedule(Args _args)
Here is the code for ledger dimension values for active account structure
public static DimensionValue getdimension(LedgerDimensionAccount _ledgerDimension,
Name _dimensionName )
Create a simple form with two buttons file upload & download.
For Upload:
Using button clicked event: File::GetFileFromUser()
For Download:
For Download button: new Browser().navigate(fileUrl).
[Form]
Args args; ReportRun report; salesLineProductPartProd salesLineProductPartProdLocal; ; ...