AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX: За рубежом > DAX in English
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 11.10.2012, 12:11   #1  
Kent is offline
Kent
Участник
 
46 / 10 (1) +
Регистрация: 24.01.2007
Ax 2009 AIF Web service
Hi,

In some cases inbound message can have field values which should convert to other values in Ax and assign to certain field.

For regular AIF services it is possible to create additional Ax<table>.parm<field> methods without real field behaind.

I tried to use the same for web services by using 'find' action, but system asks for real field. Is it possible to convert somehow incoming value to other value and assign to certain field?

An example, xml sends <field>1</field>, but in Ax it should be converted to 'Yes'.
Старый 11.10.2012, 21:38   #2  
MikeR is offline
MikeR
MCT
Аватар для MikeR
MCBMSS
Лучший по профессии 2015
Лучший по профессии 2014
 
1,628 / 627 (24) +++++++
Регистрация: 28.11.2005
Адрес: просто землянин
I think you need some transformation from one stuture to another
Here is some instructions
__________________
Axapta book for developer
Старый 11.10.2012, 22:03   #3  
Vadik is offline
Vadik
Модератор
Аватар для Vadik
Лучший по профессии 2017
Лучший по профессии 2015
 
3,631 / 1849 (69) ++++++++
Регистрация: 18.11.2002
Адрес: гражданин Москвы
Try any of these techniques (all standard AIF features)
- XSLT transformations
- AIF value lookups
- custom parm methods added to Axd document updating 'real' fields
__________________
-ТСЯ или -ТЬСЯ ?
Старый 12.10.2012, 10:49   #4  
Kent is offline
Kent
Участник
 
46 / 10 (1) +
Регистрация: 24.01.2007
Цитата:
Сообщение от Vadik Посмотреть сообщение
Try any of these techniques (all standard AIF features)
- XSLT transformations
- AIF value lookups
- custom parm methods added to Axd document updating 'real' fields
-Custom parm method doesn't work, I got error that field doesn't exist.
Старый 12.10.2012, 12:12   #5  
Vadik is offline
Vadik
Модератор
Аватар для Vadik
Лучший по профессии 2017
Лучший по профессии 2015
 
3,631 / 1849 (69) ++++++++
Регистрация: 18.11.2002
Адрес: гражданин Москвы
Цитата:
Сообщение от Kent Посмотреть сообщение
-Custom parm method doesn't work, I got error that field doesn't exist.
That works in 4.0. May I see the parm() metod, the schema and exact error message?
__________________
-ТСЯ или -ТЬСЯ ?
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
axinthefield: Dynamics AX Event IDs Blog bot DAX Blogs 0 01.03.2011 22:11
semanticax: Dynamics AX 2009 Installation - Application Blog bot DAX Blogs 0 22.12.2010 08:11
emeadaxsupport: List of fixes that improve performance of certain features in Dynamics AX 2009 Blog bot DAX Blogs 0 13.10.2009 19:06
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 18:02.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.