Scenario:
Add a Button(GetItems) to SO and
PO when we click that button(GetItems) it has to show all the item details of
that selected SO and PO orders
Solution:
First create Getitems Form
![](file:///C:/Users/SHIVAK~1.P/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png)
![](file:///C:/Users/SHIVAK~1.P/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg)
Drag and drop Itemid from
Salesline and purchline to both the grids
Then write init method as follows
public void
init()
{
super();
if (element.Args().caller().name()==formStr(PurchTableListPage))
{
POItems.visible(true);
SOItems.visible(false);
}
else
if(element.Args().caller().name()==formStr(SalesTableListPage))
{
SOItems.visible(true);
POItems.visible(false);
}
}
Create MenuItem for Above GetItems
Now goto SalestableListpage, create button and add
menuitem(GetItems)to that button
![](file:///C:/Users/SHIVAK~1.P/AppData/Local/Temp/msohtmlclip1/01/clip_image004.jpg)
No comments:
Post a Comment