king1980
10th March 2010, 09:24
Hi ,

I am creating Display session using whinh220 as a main table.
Now i want to display the records on the basis of ITEM.
So i want to put the Item filed as group filed and once i select Item the related data should come in the display grid.

e.g
ITEM:- ABC
srno Order QTY Warehouse
1 A00001 10 WH1
2 A00002 5 WH2

so how i can achieve this .

Regards
king1980

NirajKakodkar
10th March 2010, 13:08
you can try prcm.register and prcm.notify ...
Another way I can suggest is trying query.extend

wiggum
10th March 2010, 13:17
Use index 4 on whinh220 in your display session and define whinh220.item as View Field in Dynamic Form Editor.

king1980
11th March 2010, 06:03
Hi wiggum,

After using index 4 on table whinh220 i am able to achieve the functionality.

Now i want to pass the selected line to AFS.
for that i have taken one column as check box to check selection.

How i can pass only selected multiple lines values to AFS using form command?


Regards
king1980

manish_patel
11th March 2010, 11:38
You can use DO.ALL.OCC() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_do_all_occ)function to executes the specified function for all occurrences at the current screen.