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


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

No comments:
Post a Comment