dynamics-ax-2012-r3

Dynamics AX 2012 R3 - Record Creation through AIF web service

百般思念 提交于 2019-12-25 08:57:28
问题 I am having issues using an AIF web service to create a unique primary key in our contract module in Dynamics AX. Our contract PK's are in a format of 'CON-######', and the contractId is tied to a number sequence in AX. When I call the 'Create' service operation, I am passing a 0 for 'ContractId' and AX is not replacing that 0 with an actual contract Id from the number sequence. The AX service endpoint is configured as an enhanced port. Is there a setting that needs to be enabled on the AX

How to get data from AOT of MS Dynamic AX by Excel

只愿长相守 提交于 2019-12-24 06:04:03
问题 I can get data by function of MS Excel on table of database of Microsoft SQL Server However I do not know how to get data from AOT of Dynamic Ax 2012-R3 the same by Excel Here is the AOT of MS Dynamic Ax It's really hard to us.I'm looking for hearing from you soon 回答1: You can export many forms, lists, and reports from Microsoft Dynamics AX and Enterprise Portal for Microsoft Dynamics AX to Microsoft Excel. If a form, list, or report has an Export to Microsoft Excel button on the Action Pane,

How to do unit testing in Microsoft Dynamics AX 2012 in a real world project

半世苍凉 提交于 2019-12-04 13:54:18
问题 Dynamics AX 2012 comes with unit testing support. To have meaningful tests some test data needs to be provided (stored in tables in the database). To get a reproducable outcome of the unit tests we need to have the same data stored in the tables every time the tests are run. Now the question is, how can we accomplish this? I learned that there is the possibility of setting the isolation level for the TestSuite to SysTestSuiteCompanyIsolateClass . This will create an empty company and delete

How to do unit testing in Microsoft Dynamics AX 2012 in a real world project

别来无恙 提交于 2019-12-03 08:01:35
Dynamics AX 2012 comes with unit testing support. To have meaningful tests some test data needs to be provided (stored in tables in the database). To get a reproducable outcome of the unit tests we need to have the same data stored in the tables every time the tests are run. Now the question is, how can we accomplish this? I learned that there is the possibility of setting the isolation level for the TestSuite to SysTestSuiteCompanyIsolateClass . This will create an empty company and delete the company after the tests have been run. In the setup() method I can fill my testdata into the tables

Unexpected Query behaviour

独自空忆成欢 提交于 2019-12-01 09:45:50
问题 I am trying to execute the following code: static void ProjTableQuery(Args _args) { Query query; QueryBuildDataSource qbds1; QueryBuildDataSource qbds2; QueryBuildRange qbr1; QueryBuildRange qbr2; QueryRun queryRun; ProjTable projTable; query = new Query(); qbds1 = query.addDataSource(tableNum(ProjTable)); qbds1.addSortField( fieldNum(ProjTable, Name), SortOrder::Ascending); //qbr1 = qbds1.addRange(fieldNum(ProjTable, Type)); //qbr1.value(queryValue(ProjType::FixedPrice)); qbr2 = qbds1