dynamics-ax-2012

Cannot Install Dynamics ax 2012 - error OpenDatabase

不羁岁月 提交于 2019-12-02 07:42:27
问题 I'm try to install Dynamics AX 2012, but I got this error: Do you have any idea how can I solve this issue? Thanks 回答1: Do you have a bootleg installer or something? It looks like you're not even to the install wizard yet, but you're at the "launcher" style screen. This shouldn't be necessary, but just in case, re-download the install, make sure to unblock it if needed (Right click, properties, unblock), and retry it on a few different machines (your laptop?) to see if you get past the error.

Displaying barcode in SSRS report

孤街浪徒 提交于 2019-12-02 04:09:47
问题 I am trying to display the barcode in the SSRS report. I have created a field in the report for barcode in the visual studio and changed the font type to BC C39 3 to 1 Wide format. The corresponding text that I have used to display is "hellobarcode". Whenever I generate the report, it is not displaying the barcode but the text only. Can anyone help please? 回答1: I figured out the problem. When a particular field in the report is an hyperlink to other report (for drilldown purpose), it will get

Displaying barcode in SSRS report

喜欢而已 提交于 2019-12-01 23:33:12
I am trying to display the barcode in the SSRS report. I have created a field in the report for barcode in the visual studio and changed the font type to BC C39 3 to 1 Wide format. The corresponding text that I have used to display is "hellobarcode". Whenever I generate the report, it is not displaying the barcode but the text only. Can anyone help please? I figured out the problem. When a particular field in the report is an hyperlink to other report (for drilldown purpose), it will get the default font format so that it won't display barcode font. I removed the hyperlink from the field and

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

How to see the SQL expression of an X++ select statement?

廉价感情. 提交于 2019-12-01 08:25:52
问题 I have below statement in a job in AX: select RecId from pjiTable join pID, Type, PrId from sjTable where pjiTable.Prid == sjTable.PrId && (sjTable.Type == PjType::TimeMaterial || sjTable.Type == PjType::FixedPrice); I have to use it in SQL Server. How can I convert this select statement into SQL and use it in SQL Server Management Studio? 回答1: For debugging purposes you can change your select query and use getSQLStatement method on your table: select generateOnly forceLiterals RecId from

Can't catch exception inside AIF service

℡╲_俬逩灬. 提交于 2019-12-01 00:31:46
I have created an AIF service in dynamics AX 2012, when I tested it by calling the entrypoint method from a job, it worked fine, but when it is deployed en the calls are comming from the soap UI, it crashes inside with an error: "Unhandled esception". While debugging I found out the unhandled exception is thrown inside my catch clause of my try catch statement. It gets inside the catch because the method I am calling inside the try clause thows an error. So does anyone know why I can catch thrown error when I am running the code on client using the job, but can't catch it while it runs in CIL

How to set a single dimension value in AX 2012?

怎甘沉沦 提交于 2019-11-30 14:56:05
问题 My problem is setting some dimension values read from an external source. Given the AX 2009 statement: ledgerJournalTrans.Dimension = ledgerTable.Dimension; ledgerJournalTrans.Dimension[1] = "abc"; What is the equivalent way to that in AX 2012? This will of cause assume the existence of a "Department" dimension as the first dimension. 回答1: First things first, the legacy dimensions in AX 2009 have been completely redone and replaced in AX 2012. The new LedgerDimension are a combination of the

How to set a single dimension value in AX 2012?

﹥>﹥吖頭↗ 提交于 2019-11-30 12:59:21
My problem is setting some dimension values read from an external source. Given the AX 2009 statement: ledgerJournalTrans.Dimension = ledgerTable.Dimension; ledgerJournalTrans.Dimension[1] = "abc"; What is the equivalent way to that in AX 2012? This will of cause assume the existence of a "Department" dimension as the first dimension. dlannoye First things first, the legacy dimensions in AX 2009 have been completely redone and replaced in AX 2012. The new LedgerDimension are a combination of the account and the old dimension values that are needed based on the account structure and advanced