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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 06.01.2013, 21:50   #1  
Anitha Roy is offline
Anitha Roy
Участник
 
11 / 10 (1) +
Регистрация: 06.01.2013
Selected purchline records should pass to inventjournaltrans form
Hi All,

From last few days i'm stuck with one task.Can anyone please give the solutions for this issue.Advance Thank you...

Actually I created a form which will have only OPEN orders of purchlines.In that form i will have different purchlines with different ITEM's Id Ex.Item1,Item2,Item3 like this.and i have checkbox in the grid.If i select this checkbox in purchlines of multiple records and click Update Post(second form).The UpdatePost form will open and i click OK button in second form.The selected records should go to inventjournalstrans form(i.e Inventjournal lines).
NOTE:Example:-

i have items like item1,item2 etc. of purchlines in my form

if in my form i have 5 item1 records and 10 item2 record of purchline in a form then i should pass only 2 records in inventjournaltrans

1st record should be item1 with total or sum quantity of 5 records of item1 of purchlines in inventjournaltrans

2nd record should be item2 with total or sum quatity of 10 records of item2 of purchlines in inventjournaltrans
Старый 07.01.2013, 03:21   #2  
macklakov is offline
macklakov
NavAx
Аватар для macklakov
 
2,129 / 916 (35) +++++++
Регистрация: 03.04.2002
Hi Anitha,

Can you tell us what your problem is? Are you not able to pass marking results to the journal form? Or you do not know how to generate the journal correctly? Or may be you wander how to link the sales lines and journal lines after the journal creation?

Thanks,
__________________
Isn't it nice when things just work?
Старый 07.01.2013, 11:39   #3  
Anitha Roy is offline
Anitha Roy
Участник
 
11 / 10 (1) +
Регистрация: 06.01.2013
Hi macklakov,

Thank you for the reply,
No wrote the code for generating journal and journal line but my issue is how to pass the values from the 1st form.if in my 1st form have 5 item1 records and 10 item2 record of purchline in a form then i should pass only 2 records in inventjournaltrans.


Now i need to pass values as above logic have mutliple records of itemId's.So i need to pass only single record in inventjournaltrans as below scenerio.

1st record should be item1 with total or sum quantity of 5 records of item1 of purchlines in inventjournaltrans

2nd record should be item2 with total or sum quatity of 10 records of item2 of purchlines in inventjournaltrans.
Старый 08.01.2013, 03:18   #4  
macklakov is offline
macklakov
NavAx
Аватар для macklakov
 
2,129 / 916 (35) +++++++
Регистрация: 03.04.2002
Цитата:
Сообщение от Anitha Roy Посмотреть сообщение
1st record should be item1 with total or sum quantity of 5 records of item1 of purchlines in inventjournaltrans

2nd record should be item2 with total or sum quatity of 10 records of item2 of purchlines in inventjournaltrans.
I would recommend you to read "Microsoft Dynamics AX 2009 Programming: Getting Started" and "Inside Microsoft Dynamics AX 2009".
__________________
Isn't it nice when things just work?
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
dynamicsaxtraining: Vendor returns Blog bot DAX Blogs 0 11.10.2012 00:11
ax-erp: Pass Query from dialog to Form and Filter records Blog bot DAX Blogs 0 18.09.2012 18:11
dynamicsaxtraining: Paying a Vendor Blog bot DAX Blogs 0 22.03.2012 22:11
dynamicsaxtraining: Purchase Blog bot DAX Blogs 0 11.03.2012 05:25
Kashperuk Ivan: Tool: Updating a field value for all selected records on a form Blog bot DAX Blogs 2 09.10.2011 20:18
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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