QUERY LANGUAGE. Option A Select A - for Amend in desired process Enter a fictitious code Press File name associated with this file will be displayed at.

Slides:



Advertisements
Similar presentations
Module 3: Block 3 Call Management
Advertisements

Information Systems Technology Ross Malaga B Copyright © 2005 Prentice Hall, Inc. B-1 WORKING WITH DATABASES.
ENERGY MANAGEMENT Instructor: Dawn Klingfus 1. Agenda 2 File Setup New Features Operational hints Reporting and Inquiry Interfaces.
Page 1 Pay Inter-Company Vouchers by Hand Check By MIS Department.
Using the Palm Pilot for Data Collection. Overview: These procedures will assist when using the Palm Pilot for: Physical Inventory Counts Bar Code Collection.
Copyright © 2003 Pearson Education, Inc. Slide 7-1 The Web Wizards Guide to PHP by David Lash.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
BASIC SKILLS AND TOOLS USING ACCESS
Slide 1 FastFacts Feature Presentation December 13 th, 2007 We are using audio during this session, so please dial in to our conference line… Phone number:
Relational Database and Data Modeling
Click to edit Master title style Page - 1 OneSky Teams Step-by-Step Online Corporate Communication Support 2006.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 6 1 Microsoft Office Word 2003 Tutorial 6 – Creating Form Letters and Mailing Labels.
Determine Eligibility Chapter 4. Determine Eligibility 4-2 Objectives Search for Customer on database Enter application signed date and eligibility determination.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Peer Review and Development Groups Support for Excellence Programme - Huddle.
The Advantage Series © 2004 The McGraw-Hill Companies, Inc. All rights reserved Working with Access Microsoft Office Access 2003 Chapter 1.
1 NatQuery 3/05 An End-User Perspective On Using NatQuery To Extract Data From ADABAS Presented by Treehouse Software, Inc.
1 After completing this lesson, you will be able to: Compose, address, and send messages. Format the body of a message. Attach a file to a message. Check.
Costpoint Credit Card Training Log In
Report Card P Only 4 files are exported in SAMS, but there are at least 7 tables could be exported in WebSAMS. Report Card P contains 4 functions: Extract,
Text 1 July, 2010 DCMS: Training Manual Campaign Management.
1 of 22 International Reports Phase 2/ DA0539-w1 Last updated: International Reports Phase 2.
Week # 3 AS/400 Library List A library list is:
Chit Fund Company Flowchart.
User Friendly Price Book Maintenance A Family of Enhancements For iSeries 400 DMAS from Copyright I/O International, 2006, 2007, 2008, 2010 Skip Intro.
Microsoft Office Illustrated Fundamentals Unit K: Working with Data.
Microsoft Access.
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
State of Connecticut Core-CT Project Query 8 hrs Updated 6/06/2006.
Access Tables 1. Creating a Table Design View Define each field and its properties Data Sheet View Essentially spreadsheet Enter fields You must go to.
1 Contract Inactivation & Replacement Fly-in Action ( Continue to Page Down/Click on each page…) Electronic Document Access (EDA)
“The Honeywell Web-based Corrective Action Solution”
INTRODUCTORY MICROSOFT ACCESS Lesson 1 – Access Basics
© S Haughton more than 3?
CAR Training Module PRODUCT REGISTRATION and MANAGEMENT Module 2 - Register a New Document - Without Alternate Formats (Run as a PowerPoint show)
 Copyright I/O International, 2013 Visit us at: A Feature Within from Item Class User Friendly Maintenance  Copyright.
Statewide Automated Accounting System PV Document Referencing Purchase Order V3 Click to begin. Accounts Payable with PO.
Linking Verb? Action Verb or. Question 1 Define the term: action verb.
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
User Query Control An Enhancement For AS/400 Query On The IBM iSeries from  Copyright I/O International, 2005 Skip Intro.
 Copyright I/O International, 2013 Visit us at: A Feature Within from Customer Payment Terms User Friendly Maintenance.
ValvKeep® via VK-Viewer
1 Welcome to JCCAA Data base presentation Click box to see the DEMO 1.JCCAA Web Site 2. Member Login 3. My Acount 4. School DBA The end.
Light User Guide BVPortal June 30th, p.m. Charles - Henri Varin KM DTP For the benefit of business and people.
Addition 1’s to 20.
25 seconds left…...
School Census Summer 2011 Headlines Version Jim Haywood Product Manager for Statutory Returns.
Test B, 100 Subtraction Facts
Stephen C. Hayne 1 Database System Components The Database and the DBMS.
Reference Guide Module 1: Getting Started August 2014.
Week 1.
So you want to create a PO Here’s how…. 1.Open RAPS and click the “Create” tab at the bottom of the screen.
Computer Concepts BASICS 4th Edition
Import Tracking and Landed Cost Processing An Enhancement For AS/400 DMAS from  Copyright I/O International, 2001, 2005, 2008, 2012 Skip Intro Version.
Page 1 of 34 The Search Agreements functionality in Transfers enables you to find existing agreements pertaining to registered interests. Using the search.
Secretary of State Delbert Hosemann
Drill down Reconciliation Analysis Report (RFMFGRCN_RP1) in the Background Instructions Guide June, 2012.
Data Dictionary What does “Backordered item” mean? What does “New Customer info.” contain? How does the “account receivable report” look like?
3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Page 1 Non-Payroll Cost Transfer Enhancements Last update January 24, 2008 What are the some of the new enhancements of the Non-Payroll Cost Transfer?
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Reference Documents4.6fi_12.1 Chapter 12 Reference Documents During the normal course of business, repetitive periodic accounting transactions must be.
IBC233 Week 6.
QUERY LANGUAGE.
IBC233 Week 5.
Presentation transcript:

QUERY LANGUAGE

Option A Select A - for Amend in desired process Enter a fictitious code Press File name associated with this file will be displayed at the bottom of the screen Locate File Names SUPMNT Rev/x.x Company Time Date Screen : 1 Supplier File Maintenance x User Name Please Select : CRE/AME/REV/DEL/END A *1) Supplier Code [XXXX ] 2) Date Opened Last Changed 3) Supplier Name 5) Address line 1 4) Alpha Key 6) Address line 2 7) Address line 3 8) Post Code 9) Pay to Supplier 10) Our Debtor ID 11) Telephone No 14) Fax No 12) Contact 13) Title 15) Mobile No 16) A.B.N 17) Postal line 1 18) Postal line 2 20) Post Code 19) Postal line 3 record not on file SUPPLIER

Locate File Names Option B Select A to Amend - in desired process Press Enter In the first field of the process Press F1 HELP function key ARDOCTXT Rev/x.x Company Time Date Screen : 1 Maintain Document Text x User Name Please Select : CRE/AME/REV/DEL/END A Text Code [ ] Text Transfer P1

Locate File Names Option B (continued) You will then view the Help text associated with that field. This will display the file that stores the information from this process. ARDOCTXT Rev/x.x Company Time Date HELP Processor Maintain Document Text x User Name Text Code This is an alphanumeric field of up to 5 characters A minimum entry of 1 character is required The FND function key can be used with this field Lowercase entries are converted to uppercase The BCK key can be used from this field, but FWD is not allowed. The entry must already exist on the DOC.TEXT file which is maintained by the ARDOCTXT process This text will act as a default description for this billing code when it is referenced in "ARDOCENT", and of course acts as a description for thebilling code itself.

Types of Files Transaction Files Index Files Balance Files Master Files

File Structure What is a dictionary? Data Portion Dictionary Portion FILE

File and Dictionary Terms ID/KeyAttributes Values

Sorting Information Reports Verbs - LIST and SORT Lists Verbs - SELECT, QSELECT SSELECT

QLMNT QLMNT Rev/x.x Company Time Date Screen : 1 Maintain Stored Procedures x User Name Please Select : CRE/AME/REV/DEL/END [ ] *1) Procedure Name 2) Description 3) Verb Name 4) List Name 5) File Name Query Language Commands P1 P2 P3 1. A code that you give to this procedure 2. A descriptive name that help describe this procedure. 3. A valid Pick Verb as maintained by PICKVERB. 4. Only asked if verb is SELECT or SSELECT 5. The file name you wish to extract information from. P1…etc.. Will contain a list of query commands.

XQL XQL Rev/x.x Company Time Date Screen : 1 Execute a User Defined Procedure x User Name 1) Procedure Name [ ] Purpose Verb Name File Name 2) Save List Name 3) Pre-Start List 4) Via Batch 5) Screen/Printer 1. The procedure code as entered in QLMNT 2. Only asked for select lists in ‘change’ mode 3. Enter a list name if you want to use an existing select list, as a pre-list to this procedure. 4. ‘N’ or a number between 1 and 9 5. ‘S’ to send report to Screen ‘P’ to send report to printer

Selection Criteria Selection criteria is necessary in order to limit the items that are being processed. If no selection criteria is entered all items in the file will be processed WITH is used in conjunction with a dictionary item, a relational operator and a value. Multiple selections can be joined together with AND and OR

Relational Operators Symbol = or EQ # or NE,NO, NOT > or GT,AFTER < or LT,BEFORE >= or GE <= or LE Meaning Equal to Not Equal to Greater than Less than Greater than or equal to Less than or equal to

Wildcard characters [ Left Square bracket ] Right Square bracket ^ Carat

QUERY How to turn your QL procedure into a Menu item. LANGUAGE

How to turn a QL procedure into a Menu item Screen : 1 Maintain Stored Procedures X User Name Please Select : CRE/AME/REV/DEL/END A *1) Procedure Name CUSDISC 2) Description Listing of customers and discount amounts 3) Verb Name SORT Generate a sorted report 4) List Name 5) File Name CUSTOMERS Customer Master file Query Language Commands P1 BY CUSTOMER.CODE P2 WITH CUSTOMER.CODE >= "AA]” P3 AND WITH CUSTOMER.CODE <=“Z]” P3 AND WITH DISCOUNT.TERMS = “COD” P4 CUSTOMER.CODE P5 TELEPHONE P6 CONTACT P7 DISCOUNT.TERMS 1. QLMNT Create your procedure in QLMNT

How to turn a QL procedure into a Menu item 2. XQL Run the report in XQL Cust.... Telephone Contact Discount Terms Code AA STEPHEN COOMBES COD AA Bill Brown COD AA Joe Smith COD AA RON & PETER COD AA Smith’s Hardware COD AA Jack Brown COD AAMI Steve Connor COD AATK Gary King COD [4051] 8 items listed.

How to turn a QL procedure into a Menu item 3. DEFQLPRC The process code will be the name assigned to your report when it has been copied to the menu. The name will commence with a Z….. The QL procedure is the name of the report you developed in QLMNT. (Step 1) Is the description that will be associated with your process when it is copied to the menu. If your report uses a pre-select list, enter the name here. If not leave this field blank. DEFQLPRC Rev/x.x Testing Company Time Date Screen : 1 Define QL user interface process x User Name Please Select : CRE/AME/REV/DEL/END [C] *1) Process Code 2) QL Procedure 3) Process Name 4) Pre-Select Procedure Constant Tag

How to turn a QL procedure into a Menu item DEFQLPRC Rev/x.x Company Time Date Screen : 1 Define QL user interface process x User Name Please Select : CRE/AME/REV/DEL/END C *1) Process Code CUSDISC 2) QL Procedure CUSDISC Listing of customers 3) Process Name Customers/Discounts Report 4) Pre-Select Procedure Constant Tag P1 AA] [FIRST CUSTOMER ] Is the prompt/tag that will appear on the Menu after the report has been created. 1. When turned into a menu item our report code will be ZCUSDISC 2. Is the existing QL report we created in QLMNT 3. Is the description of the report name to display on the Menu. DEFQLPRC - Screen 1 EXAMPLE

How to turn a QL procedure into a Menu item DEFQLPRC Rev/x.x Company Time Date Screen : 2 Define QL user interface process x User Name Field Definition for First Customer 1) Minimum Length [ ] 2) Maximum Length 3) Field Type 4) Validation Min Max Filename Optional 5) Help Code 6) Find Code 7) Default 8) Include in Heading DEFQLPRC - Screen 2 1. What is the minimum length of characters that you want the user to enter? If you want the user to always enter something set this field to 1 at least. 2. What is the maximum length of characters that you want the user to enter? The maximum length of Customers Codes is 8. If you only have customer codes of 4 characters, enter 4 here. 3. Is this field type letters or letters and numbers or only numbers. Enter A if your customer codes are alpha characters only, Enter N if your customer codes are alpha and numbers.

DEFQLPRC Rev/x.x Company Time Date Screen : 2 Define QL user interface process x User Name Field Definition for First Customer 1) Minimum Length 1 2) Maximum Length 8 3) Field Type N 4) Validation F Min Max Filename CUSTOMERS Customers Master File Optional N 5) Help Code 6) Find Code FIND.CUSTOMERS 7) Default 8) Include in Heading N How to turn a QL procedure into a Menu item DEFQLPRC - Screen 2 EXAMPLE 4. Do you want the input to be checked against a valid file to make sure the customer code does exist? If your answer is Yes. Enter F in this field. If your answer is No leave this field blank. Enter a valid file name to validate the input against. Is input optional? Yes or No 5. Can be used to specify your own help text for this field. Leave blank if not required. 6. Is the name of the file that will be used if the user hits the Find Function key. 7. You can specify a default that will always display in this field. If not, leave this field blank. 8. Allows automatic insertion of the Customer Code (in this example) in the heading. Yes or No response is required.

You will then be returned to Screen 1 of DEFQLPRC if you have other lines in your QLMNT procedure that asks for input Eg.Last Customer, Discount Terms Follow the same steps from above to define this extra input data validation. How to turn a QL procedure into a Menu item DEFQLPRC - Screen 1 EXAMPLE DEFQLPRC Rev/x.x Company Time Date Screen : 1 Define QL user interface process x User Name Please Select : CRE/AME/REV/DEL/END C *1) Process Code CUSDISC 2) QL Procedure CUSDISC Listing of customers 3) Process Name Customers/Discounts Report 4) Pre-Select Procedure Constant Tag P1 AA] FIRST CUSTOMER P2 Z] LAST CUSTOMER P2 COD DISCOUNT TERMS

Set up valid lengths for the Field Discount Terms now - data input, Field types, validation details if required as you did for Customer Code. For each line in your QLMNT procedure where you have a selection line eg customer.code = “AA]”, discount.terms = “COD]” etc..etc. you will be prompted to set up the details. When you have set up all your selection criteria and pressed the procedure will be generated and inserted into the appropriate user menu. DEFQLPRC Rev/x.x Company Time Date Screen : 2 Define QL user interface process x User Name Field Definition for Discount Terms 1) Minimum Length 1 2) Maximum Length 4 3) Field Type N 4) Validation F Min Max Filename TERMS.CODE Maintain Payment Terms Optional N 5) Help Code 6) Find Code FIND.TERMS 7) Default 8) Include in Heading How to turn a QL procedure into a Menu item DEFQLPRC - Screen 2 EXAMPLE

QUERY Using your DEFQLPRC procedure from the Menu. LANGUAGE

Using your DEFQLPRC procedure from the Menu. Access your report by typing ZCUSDISC. You may need to change security profiles that are in place before you are able to access the generated process. ZCUSDISC Rev/x.x Company Time Date Screen : 1 Customers/Discounts Report x User Name First Customer [ ] Last Customer Discount Terms Via Batch Screen/Printer