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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 31.01.2013, 14:26   #1  
Dark Smile is offline
Dark Smile
Junior AX Developer
 
16 / 10 (1) +
Регистрация: 17.06.2011
Could not filter on Fact Box by form datasource
Hey Guys,

at first i want to explain what the request of the customer is:
On AX2012 R2 Environment the customer wants a factbox on the products to show sales agreements where the selected itemId is contained in the lines (and a range on the state of the sales agreement and on the expirationDate, but that works).

So i created objects alike the PurchaseOrder form "additional information" fact box.

My Steps:
Created a Query like "SalesAgreementListPage" and added [AgreeementLine] and [InventTable] to the DataSources with Relations and InnerJoin.

Created a menu item with following porperties:
Query: my created query
Form: SalesAgreementListPage

Then a modified the standard Query of the form (SalesAgreementListPage) to having the InventTable and the AgreementLine also. (otherwise the call would cause an error)

Created a preview Part.
Created a Cue setting the new menu item in properties and the preview part.
Created a CueGroup and added a Reference to my new Cue.

On the Form "EcoResProductPerCompanyListPage" i added a part reference to the cue group and set the DataSource in the properties to "InventTable".

My Problem:
Evereything works fine except the filter on ItemId field. The other two Ranges are working and the fact box displays all well. But it totally ignores the ItemId from the InventTable in the form.

What i've tried:
- playing around with join modes and fetch modes
- checked all properties on menu items, cues, querys, datasources etc
- created a dynamic link between InventTable and AgreementLine in the relations on InventTable
- turned around the structure of the DataSources in my Query ==> caused error while opening the form because it couldn't find the Datasources on the form then (i think it compares the names and the order).


Can anyone please give me a hint what i am doing wrong??

I attached some screenshots of the objects and its properties.
axforum1.png: Part Reference on the form
axforum2.png: MenuItem properties
axforum3.png: My Query
axforum4.png: properties of the cue
Миниатюры
Нажмите на изображение для увеличения
Название: axforum1.png
Просмотров: 418
Размер:	26.4 Кб
ID:	8030   Нажмите на изображение для увеличения
Название: axforum2.png
Просмотров: 352
Размер:	60.3 Кб
ID:	8031  

Нажмите на изображение для увеличения
Название: axforum3.png
Просмотров: 397
Размер:	30.4 Кб
ID:	8032   Нажмите на изображение для увеличения
Название: axforum4.png
Просмотров: 339
Размер:	26.8 Кб
ID:	8033  

__________________
Kind Regards
Robin
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: AX 2012 Print destination settings dialog does not show up due to WMI error Blog bot DAX Blogs 0 27.09.2012 05:20
axaptapedia: Filter-by-Grid Blog bot DAX Blogs 2 30.05.2012 13:39
axzaptech: Dynamics AX2012 Fact boxes Blog bot DAX Blogs 0 24.08.2011 16:11
xplusplus: How to: prompt a dialog box or a modal window Blog bot DAX Blogs 0 22.11.2010 14:11
emeadaxsupport: AxUpdatePortal.exe does not update Enterprise Portal when not running from an elevated command prompt Blog bot DAX Blogs 0 26.07.2009 15:07

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

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

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