Opening the saleslines for salesorder from menuitem

Hi,

i have a requirement , i.e, opening the saleslines for a SalesOrder when clicking the menuitembutton in the form.

Like the Transactions button in the CustTable.But i did not find the code for the menuitem custTrans.

can anybody post the answer.

Hi,

Just drop the menu item of your form on your design ,it will automatically displays the corresponding records.

Hi,

Thanks for u r solution, if i create new forms it will work? can u explain the task or how it is working and where is the code for this?