1.From the SAP Business One Main Menu, choose the Drag & Relate tab.
2.All the menus available for Drag & Relate queries appear.
3.Click the folder icons to open the relevant menu. For example, to generate a report on all A/R invoices that were created for one particular customer, choose Business Partners and Sales – A/R.
4.Double-click the item Business Partners in the Business Partners folder.
5.The Drag & Relate - Business Partners window appears and shows a list of all business partners in your company.
6.Place the mouse cursor on the BP Code field for the required business partner, hold the left mouse button until a black rectangle appears, drag this to Sales A/R A/R Invoice , and release the mouse button.

Result

If the result of a query is a single record, SAP Business One opens this record in a separate window. If more than one document matches the query criteria, the Drag & Relate window displays a report.
If you have dragged an object incorrectly, or there are no matching query records, the error message No matching records found is displayed in the status bar.