Posts

Showing posts from March, 2020
How to import free text invoice in ax 2012 static void importFreeTextInvoice(Args _args) {     SysExcelApplication     application;     SysExcelWorkbooks       workbooks;     SysExcelWorkbook        workbook;     SysExcelWorksheets      worksheets;     SysExcelWorksheet       worksheet;     SysExcelCells           cells;     COMVariantType          type;     Dialog                  dialog;     Filename                filename;     DialogField             dialogFilename;     container               conFilter = ["Microsoft Excel Worksheets (.xlsx)" ,"*.xlsx"]; ...

How to add financial dimensions on form in ax 2012

How to add financial dimensions on form in ax 2012 ·         Add  TabPage  called  FinancialDimensionsTabPage   which should have the property  AutoDeclaration  set to  Yes ·         In classdeclaration declared the DimensionDefaultingController : class FormRun extends ObjectRun {     DimensionDefaultingController     dimensionDefaultingController; } ·         In the form’s override  Init method: public void init() {           super();            dimensionDefaultingController = DimensionDefaultingController::constructInTabWithValues(true, true, true, 0, this, FinancialDimensionsTabPage, "@SYS138487");  dimensionDefaultingController.parmAttributeValueSetDataSource(Table...