Показать сообщение отдельно
Старый 25.07.2012, 21:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,491 / 846 (79) +++++++
Регистрация: 28.10.2006
sashanazarov: AIF: Mind auto-generated Axd&ltDocumentName&gt.findCorrespondingAxBC method
Источник: http://sashanazarov.blogspot.com/201...xd-method.html
==============

Problem

You have just created a document service with the wizard. You need the document to contain an unbound value. So, you create a display method on one of the tables, and add a corresponding parm-method to Ax class. Then you refresh the services, but the new field is not presented in the schema.

Solution

Check the new Axd class. By default, it may have findCorrespondingAxBC method, overriding the base class method and always returning classnum(AxCommon). This is why your new parm-method in the Ax class is ignored.

P. S. There are actually TODOs added to the auto-generated methods. It may be a good idea to clean up the TODOs first, and then continue with the service development.



Источник: http://sashanazarov.blogspot.com/201...xd-method.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.