0% found this document useful (0 votes)
15 views

Module3 Day4 Task2 StepBystepGuide Trisha

Uploaded by

nicolereminajes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Module3 Day4 Task2 StepBystepGuide Trisha

Uploaded by

nicolereminajes
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

MODULE 3-DAY4 TASK

STEP BY STEP GUIDE


DEVELOPMENT BASICS. JUNIOR COURSE
02

PREPARED BY:
TRISHA NICOLE L. REMINAJES
PRACTICE TASK:
To successfully complete tasks on queries in Module 3, use data processor
Download Query Console QueryConsole_en.epf for debugging your queries.

Make sure you create queries for the provided infobase Download Infobase for
Queries InfoBaseForQueries.dt.

You can add user data for this database to let queries work as designed.

In case you use a different information database for these tasks, you get zero
points.

TASK 2:

A) Create a query to list products with the latest prices set between 400 and 1,000.

B) Create a query to list all documents that fall within user-specified ranges for dates and
Total.

C) Create a query to list all documents that fall within user-specified ranges for dates and
Total and also refer to a contractor specified by a user.

SOLUTIONS:

A) Create a query to list products with the latest prices set between 400 and 1,000.



Step 1: Restore the infobase for Queries InfoBaseForQueries.dt Go to 1C: Enterprise
Mode Go and open the File or Use the shortcut key Ctrl+O.

01
Step 2: Open the Query Console.epf file. Then a warning will pop-up → Click Yes.

02
Step 3: Query console will appear. Click the Query Text to add our queries.

Step 4: Add the following to the Query text:


To create a query to list products with the latest prices set between 400 and 1,000, we
need to get the information register PriceChange and place it in FROM, and use AS to
create an alias for it. On the inside of SELECT, select the field for the product name and
Price, then use AS to create an alias for these as well. Also, use WHERE to add
condition to select the product with latest price between 400 and 1,000.

03
DEMONSTRATION OF SOLUTIONS:
Execute the queries
Step 1: To check if the queries are working, Click the EXECUTE button on the top.

Step 2: Go to Query Results and you will see the list of products and its price which had Total
between 400 and 1,000.

04
Step 3: To check if the list of documents are correct, go to Accumulation register Debt .

SOLUTIONS:
B) Create a query to list all documents that fall within user-specified ranges for dates and Total.

Step 1: Repeat the Step 1 to 3 we did to Task 2-A.

05
Step 2: Add the following to the Query text:
To create a query to list all documents that fall within user-specified ranges for dates and
Total, we need to get the accumulation register Debt and place it in FROM, and use AS to
create an alias for it. On the inside of SELECT, select the field for the Recorder and Total,
then use AS to create an alias for these as well. Also, use WHERE to add condition and
parameters to specify the desired ranges of dates and totals.

DEMONSTRATION OF SOLUTIONS:
Step 1: To check if the queries are working, Click the EXECUTE button on the top.

06
Step 2: As we click the Execute, the prompt will message "Found parameters were added
automatically". Go to Query Parameter and you'll see the parameter created
automatically, the user just need to select the ranges of dates and totals he/she
desired. Then click EXECUTE and check the results.

07
SOLUTIONS:
C) Create a query to list all documents that fall within user-specified ranges for dates and
Total and also refer to a contractor specified by a user.

Step 1: Repeat the Step 1 to 3 we did to Task 2-A.

Step 2: Add the following to the Query text:

To create a query to list all documents that fall within user-specified ranges for dates, Total,
and Contractor, we need to get the accumulation register Debt and place it in FROM, and use
AS to create an alias for it. On the inside of SELECT, select the field for the Recorder,
Contractor, and Total, then use AS to create an alias for these as well. Also, use WHERE to
add condition and parameters to specify the desired ranges of dates and totals.

08
DEMONSTRATION OF SOLUTIONS:
Execute the queries
Step 1: To check if the queries are working, Click the EXECUTE button on the top.

Step 2: As we click the Execute, the prompt will message "Found parameters were added
automatically". Go to Query Parameter and you'll see the parameter created
automatically, the user just need to select the Contractor, ranges of dates and totals
he/she desired.

09
Step 3: Click EXECUTE and check the Query Results. You can also check the
accumulation register Debt.

10

You might also like