简体   繁体   中英

Update using InventOhHandService [ax2012]

I am trying to integrate Dynamics ax 2012 to a third party application using AIF services. The service in question is the out of the box InventOnHandService to which I have added the update method.

更新文件服务

InventoryOnHandService

However then when I try to set up the service on the inbound port as such:

在此处输入图片说明

I get the following error.

错误记录

I followed this tutorial as a guideline. I have also tried creating a new entry point on a InventInventoryOnHandServiceUpdate Permission I created which did not yield to a better outcome. I have also try recompling the entire project and re-generating the full CIL.

Any help would be greatly appreciated as I am still relatively new with Dynamics and it's limited documentation is not doing the trick for my current issue.

Thanks

AIF Document service are used to do CRUD operation on Ax tables. InventSum table is summary table storing Inventory onhand for all inventory transactions happened in Ax system and that used to get updated when ever CUD operations happens on Inventory Transactions table. It is not advised to update both InventSum and InventTrans directly. Those tables get updated through other source documents like sales line, purch line etc. So InventoryOnHand service should only be used for reading the available onhand information. Please find similar question in dynamics community too. http://community.dynamics.com/ax/f/33/t/101203

Your question is regarding the error on enabling update operation on inventory onhand service and my advise is not to add CUD operation to onhand service.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM