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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 14.09.2017, 13:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,565 / 848 (80) +++++++
Регистрация: 28.10.2006
dynamicsaxinsight: AX7/D365/Operations: Create Details Master pattern form
Источник: https://dynamicsaxinsight.wordpress....-pattern-form/
==============

Purpose:

The purpose of this document is to demonstrate how we can develop a Details Master form in Dynamics 365 for Operations. While doing so, it also shows how to apply the new form patterns and subpatterns.

Please note that the new Details Master pattern (Dynamics 365 for Operations) obsoletes the older ListPage pattern (AX 2012).

Prerequisites:
  • Access to Dynamics 365 for Operations instance via remote desktop.
  • To be provisioned as an administrator for the instance.
  • Visual Studio project, model, package have been created.
  • Custom table MAKInventRawMaterial has been created in the project.
Business requirement:

Ability to maintain records in a grid and detail view within the same form.

Development:

1. Click Ctrl+Shift+A to add new item to the project.
2. Navigate to User Interface > Form. Give a suitable name, MAKInventRawMaterial.



3. Drag and drop MAKInventRawMaterial table from the project to the Data Sources node.



4. Right-click Design node. Click Apply pattern > Details Master.



5. Once the pattern gets applied, open the Pattern pane to see the missing controls which need to be added to comply with the pattern.



6. Add the identified missing controls to the Design node in the same order as shown in the pattern tab.



7. As you can see after adding the required controls the violations have been but still there are some warnings.
8. Navigate to FormGroupControlNavigationList to view its Pattern tab. We still have missing controls for our Navigation List control.



9. Adding the identified missing controls resolves the pattern issues.



10. Repeat steps 6 – 9 till all the pattern and subpattern issues have been resolved by adding the missing controls. At the end of the process, you will have a completed form ready to add data source fields to.
11. Add the following field groups to the Details panel from data source table.



12. Add the AutoReport field group to the Grid control of the Grid panel.



13. Navigate to FormCommandButtonControl and set Command property to DetailsView.



14. Navigate to FormGridControl and set Default Action property to the FormCommandButtonControl.



15. Right-click Project > Forms > MAKInventRawMaterial. Click Set as Startup Object.



16. Select project in your Solution Explorer and click Start in Visual Studio.
17. You should be able to see your form in action in the browser.
18. Grid view.



19. Details view.






Источник: https://dynamicsaxinsight.wordpress....-pattern-form/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
dynamicsaxinsight: AX7/D365/Operations: Enable/Disable form control in X++ Blog bot DAX Blogs 0 14.09.2017 13:11
stoneridgesoftware: Form event handlers in Microsoft Dynamics 365 for Operations (AX7) Blog bot DAX Blogs 0 02.12.2016 04:21
dynamicsaxtraining: Vendor returns Blog bot DAX Blogs 0 11.10.2012 00:11
dynamicsaxtraining: Purchase Blog bot DAX Blogs 0 11.03.2012 05:25
wiki.dynamicsbook: Changes Made in Navision Attain 3.60 Blog bot Dynamics CRM: Blogs 0 02.09.2008 13:23
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

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