dynamics-ax-2009

Finding the Total Available and Available physical for an Item/Warehouse

不问归期 提交于 2019-12-10 13:49:18
问题 I have a method for a display field which does the following; return InventSum::find(_salesLine.ItemId, InventDim::_salesLine.InventDimId).AvailPhysical(); This gives me the on-hand Available Physical for the line site/warehouse/location. I need to see the total available for just the site/warehouse. I think I need to search inventDim by Item/Warehouse to get my inventdimid, but I cannot find the method so I am suspicious that this is incorrect. Can anyone help? 回答1: My working solution...

Dynamics AX 2009 / BizTalk Server 2013 Compatibility

和自甴很熟 提交于 2019-12-10 11:34:02
问题 Is BizTalk Server 2013 compatible with the Dynamics AX 2009 AIF BizTalk Adapter? I've searched but can't find any information to say either way. I found that BizTalk Server 2010 is compatible with AX2009 SP1 RU7: http://blogs.msdn.com/b/emeadaxsupport/archive/2011/09/29/microsoft-biztalk-server-2010-passes-compatibility-testing-with-microsoft-dynamics-ax-2009-sp1.aspx (Apologies if this is not the correct site for this question, as it's not directly programming related; however I couldn't

Lookup method bug with SysTableLookup?

為{幸葍}努か 提交于 2019-12-10 11:13:54
问题 This is code that should work with any base system added to Tables\ProdBOM. Somehow the query is stripping out data from fields. static void lookupItemIdBOMSubset(FormStringControl _ctrl, ProdId _prodId) { SysTableLookup sysTableLookup = SysTableLookup::newParameters(tableNum(ProdBOM), _ctrl); Query query = new Query(); QueryBuildDataSource qbds = query.addDataSource(tableNum(ProdBOM)); ; qbds.addRange(fieldNum(ProdBOM, ProdId)).value(queryvalue(_prodId)); qbds.addSortField(fieldNum(ProdBOM,

Custom Lookup and Group By

余生长醉 提交于 2019-12-08 19:39:53
问题 TLDR: Why group by clauses are disabled in lookups when the field using the lookup is not empty? I want to do a custom lookup on a field in a form. The table CTable looks like this: Val Spec ------------ A alpha A beta A gamma B delta C epsilon The look up only concerns the Val column which is defined using an EDT with a basic relationship on it: Val == CTable.Val The lookup obviously gives me a list like this: A A A B C Let's to a group by to get rid of all the duplicated As, I thought!

Fetching data from dynamics ax 2009 using Ax webservices and C#

纵饮孤独 提交于 2019-12-08 08:36:27
I am trying to fetch the list of vendors from the AX database. I want to show a list of vendors in my aspx page.How can i achieve this? here is what i have done so far 1-Deployed the Ax webservices. 2-Created a client class to call the service. i am stuck here and not sure how to fetch the data. Please advice. I found out how to do it..here is the solution as to how to Consume AIF webservices.here is the code.Please refer the following article http://msdn.microsoft.com/en-us/library/cc652581.aspx customerService.CustomerServiceClient sc = new ConsumingAxWebService.customerService

Fetching data from dynamics ax 2009 using Ax webservices and C#

烈酒焚心 提交于 2019-12-08 06:36:15
问题 I am trying to fetch the list of vendors from the AX database. I want to show a list of vendors in my aspx page.How can i achieve this? here is what i have done so far 1-Deployed the Ax webservices. 2-Created a client class to call the service. i am stuck here and not sure how to fetch the data. Please advice. 回答1: I found out how to do it..here is the solution as to how to Consume AIF webservices.here is the code.Please refer the following article http://msdn.microsoft.com/en-us/library

dynamics ax : Push Customized form to All users

荒凉一梦 提交于 2019-12-08 03:26:01
问题 Recently, I was troubleshooting an issue related to user settings. There was a requirement to migrate the user settings from one environment to another. There is an AX 2009 form which users make their own personalisations to, moving some of the fields around, or perhaps adding other fields (via the right click->setup functions) , so that unnecessary fields are hidden. I have saved that form , so that it is available for me , but when i migrate the form to another environment i notice that the

Merge several different dynamics AX reports in one

五迷三道 提交于 2019-12-07 09:51:35
I'm investigating if it is possible to send three different Ax 2009 reports to only one output. We already have an example of merging multiple invoices using the SalesInvoice report into one output , but this is not what we want. The output would need to be generated by X++ and would contain for example: SalesInvoice SalesPurchInvoice_RU AKT_RU Any pointers? An ' It can't be done. ' is an acceptable answer! Thanks It can't be done. Not in AX at least. But you could generate PDF then combine them using an external program or interface AX with a .Net library . Update: Take a look on how to merge

dynamics ax : Push Customized form to All users

空扰寡人 提交于 2019-12-06 19:31:31
Recently, I was troubleshooting an issue related to user settings. There was a requirement to migrate the user settings from one environment to another. There is an AX 2009 form which users make their own personalisations to, moving some of the fields around, or perhaps adding other fields (via the right click->setup functions) , so that unnecessary fields are hidden. I have saved that form , so that it is available for me , but when i migrate the form to another environment i notice that the new user don't have any change on the form. As we all know, User related setups for queries, forms,

Dynamics AX 2009 / BizTalk Server 2013 Compatibility

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-06 12:34:10
Is BizTalk Server 2013 compatible with the Dynamics AX 2009 AIF BizTalk Adapter? I've searched but can't find any information to say either way. I found that BizTalk Server 2010 is compatible with AX2009 SP1 RU7: http://blogs.msdn.com/b/emeadaxsupport/archive/2011/09/29/microsoft-biztalk-server-2010-passes-compatibility-testing-with-microsoft-dynamics-ax-2009-sp1.aspx (Apologies if this is not the correct site for this question, as it's not directly programming related; however I couldn't find another Stack Exchange site which looked more suitable). I did not find anything newer announced at