By the end of these exercises you will be able to:
Create queries using the Query Wizard, the Query Generator or the Query Interfarce
Task:
You need a customer list whose balance > 5000. You need a vendor list whose balance > 10000.
1-1
Report for Customer List
Choose Tools Queries Query Wizard. Choose Next. Enter OCRD in the Table column. Choose Next. Select CardCode, CardName, Balance from table OCRD Business Partners. Enter 1 in the Sort. field after the CardName field so that the system uses this field for sorting. Choose Next. Create the following condition so that the system displays only customer master records: Table OCRD, Field Balance, Condition Greater than, Field/Value 5000. Table OCRD, Field CardType, Condition equal, Field/Value C. Choose Next. Choose Finish. The system executes the query. Choose Save. Choose Manage Categories. Enter Business Partner in the Category Name field. Choose Select All. Choose Add. Choose OK. Choose Business Partner. Enter Customer List whose balance >5000 in the Query Name field.
Choose Save. Choose Cancel. Choose Cancel. 1-2
Report for Direct Shipment Action
Choose Tools Queries Query Wizard. Choose Next. Enter OCRD in the Table column. Choose Next. Select CardCode, CardName, Balance from table OCRD Business Partners. Enter 1 in the Sort. field after the CardName field so that the system uses this field for sorting. Choose Next. Create the following condition so that the system displays only customer master records: Table OCRD, Field Balance, Condition Less than, Field/Value -10000. Table OCRD, Field CardType, Condition equal, Field/Value S. Choose Next. Choose Finish. The system executes the query. Choose Save. Choose Manage Categories. Enter Business Partner in the Category Name field. Choose Select All. Choose Add. Choose OK. Choose Business Partner. Enter Vendor List whose balance >-10000 in the Query Name field. Choose Save. Choose Cancel. Choose Cancel.
1-3
Report for Direct Shipment Action
Choose Tools Queries Query Wizard.
Choose Next. Enter OCRD in the Table column. Choose Next. Select CardCode, CardName, CntctPrsn, Address, ZipCode, City from table OCRD Business Partners. Enter 1 in the Sort. field after the CardName field so that the system uses this field for sorting. Choose Next. Create the following condition so that the system displays only customer master records: Table OCRD, Field CardType, Condition equal, Field/Value C. Choose Next. Choose Finish. The system executes the query. Choose Save. Choose Manage Categories. Enter Marketing in the Category Name field. Choose Select All. Choose Add. Choose OK. Choose Marketing. Enter Direct Shipment - Customer in the Query Name field. Choose Save. Choose Cancel. Choose Cancel. 1-4
List of Open Quotations
Choose Tools Queries Query Wizard. Choose Next. Enter OQUT, QUT1, and OSLP in the Table column. Choose Next. Select SlpCode from the OQUT table.
Enter Yes in the Group (Y/N) field.
Select SlpName from the OSLP table. Enter Minimum or Maximum in the Comp. field. Select CardCode from OQUT table. Enter Yes in the Group (Y/N) field. Select CardName from OQUT table. Enter Minimum or Maximum in the Comp. field. Select ItemCode from the QUT1 table. Enter Yes in the Group (Y/N) field. Select Dscription from the QUT1 table. Enter Minimum or Maximum in the Comp. field. Select LineTotal from the QUT1 table. Enter Amount in the Comp. field. Choose Next. Select the Display Conditions tab. Enter the following condition so that only open quotations are used: Table OQUT, Field DocStatus, Condition equal, Field/Value O Choose Next. Choose Finish. The system executes the query. Choose Save. Choose Sales. Enter Open quotations in the Query Name field. Choose Save. Choose Cancel. Choose Cancel.