Remote Query Execution in Intercompany Solution

Remote Query Execution in Intercompany Solution

SAP Business One provides the Query Generator / Query Wizard Tools to generate adhoc reports via user queries. The Remote Query Execution feature extends these adhoc reports by providing the ability to execute them remotely on one or multiple branch companies. 

To run the Remote Query Execution process:

  1. Create a query using the Query Generator or Query Wizard (refer to the SAP Business One Online Help) and save it.
  2. Open the Query Manager from Tools ->Queries ->Query Manager
  3. Select the query created in step 1, or a standard SAP Business One query from the System category.

  Note

To use the Remote Query Execution feature, you must save the system queries with a new name. Ensure that the field alias does not contain spaces or any special characters.

  1. In Query Manager window following options are provided:
    1. Local: runs the query on the local company as per standard SAP Business One functionality.
    2. All: runs the query on all branch companies
    3. Selection: Selecting this will open a new window that contains the list of branch companies. You can select the branch codes in which the query needs to be run.

Note

The preceding options are only available for a user if the Can Use Remote Query Execution checkbox is selected in the Users – setup window. 

To open the Users – setup window, in the SAP Business One Main Menu, choose Administration->Setup ->General ->Users  

Select one of the options and choose Ok. If Local mode was selected, the standard SAP Business One results window is displayed. Otherwise, the Remote Query Execution window is displayed.

  1. To display the data, choose Refresh.