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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 17.03.2008, 19:39   #1  
newbie is offline
newbie
Участник
 
6 / 10 (1) +
Регистрация: 12.03.2008
purchase order
Hi all, Fields e.g Project,Project Manager, Client which are displayed on the purchase order document under the suppliers name and address, should not print on the purchase layout document if these fields are empty. Any help would be appreciated. How to go about it.Thanks
Старый 18.03.2008, 11:03   #2  
gl00mie is offline
gl00mie
Участник
MCBMSS
Most Valuable Professional
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,684 / 5788 (200) ++++++++++
Регистрация: 28.11.2005
Адрес: Москва
Записей в блоге: 3
What is a «purchase order document» and a «purchase layout document»? Are you talking about the PurchTable form or about some kind of a report?
Старый 18.03.2008, 13:26   #3  
newbie is offline
newbie
Участник
 
6 / 10 (1) +
Регистрация: 12.03.2008
That is what Im confused about, this is additional information, This report or form has following fields under suppliers name and address,
Project Manager: (Name of project manager)
Client (Projects customer name)
Project start date:
Project end date:


If it is a report how to hide fields if empty? where to change code?
Старый 18.03.2008, 14:16   #4  
newbie is offline
newbie
Участник
 
6 / 10 (1) +
Регистрация: 12.03.2008
i think its purchase order form , then inquireies and then print from there
Старый 18.03.2008, 17:00   #5  
gl00mie is offline
gl00mie
Участник
MCBMSS
Most Valuable Professional
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,684 / 5788 (200) ++++++++++
Регистрация: 28.11.2005
Адрес: Москва
Записей в блоге: 3
Цитата:
Сообщение от newbie Посмотреть сообщение
i think its purchase order form, then inquiries and then print from there
Well, there are several documents you can print from there: purchase order, receipt list, packing slip, invoice (the number of documents can vary depending on the localized functionality). Do you have do modify all of them?
Цитата:
Сообщение от newbie Посмотреть сообщение
If it is a report how to hide fields if empty? where to change code?
First off you must find the report which design you'll have to modify. You can achieve this by setting a breakpoint in the \Classes\ClassFactory\reportRunClass() method, next to last line of code:
X++:
args.name(selectedReport);
Then print the report as usually and when a debugger pops up look at the selectedReport variable value - this will give you a name of a node in the \Reports AOT subtree. Then you'll probably have to set AutoDeclaration property to Yes for the report controls you want to hide and play with their visibility depending on the corresponding field values. This can be done, for instance, in the fetch() method before a corresponding section is executed. It's hard to say in detail as there can be lots of nuances in the report design. For instance, one report can be used both for sales and purchase orders and you'll have to keep this in mind during modifications.
Старый 28.03.2008, 14:16   #6  
newbie is offline
newbie
Участник
 
6 / 10 (1) +
Регистрация: 12.03.2008
Thanks gl00mie , that was really helpful. much appreciated.thanks
Старый 31.03.2008, 14:37   #7  
newbie is offline
newbie
Участник
 
6 / 10 (1) +
Регистрация: 12.03.2008
hi all, I was looking for documentation on modules in Dynamics AX. I have read the book by steen anderson .Im finding it hard to find any documentation on flow of processes in Dynamics. e.g what procedures and flows are invloved in sales ledger.To give an example, I was trying to put a new field on a report in Purchase module. Now I dont know the tables invloved to get the field. It goes through so many tables and processes that i get confused. Hope you understanding my issue.Any links to read more bout flow and processes involved in sales and purchase modules etc. Thanks
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Работа с Sales Order and Purchase Order... DmitrySincerity DAX: Функционал 8 01.12.2008 21:44
dynamicsmatters: Order stock allocation mechanism Blog bot DAX Blogs 0 24.11.2006 17:50
Blanket purchase order gb DAX in English 0 20.07.2005 20:46
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43
Проблемы: Удаление "Sales order" и ошибка 'Sales order, issue' does not exist. lm DAX: Функционал 0 16.01.2002 14:29

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

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

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