Book Image

Mastering SQL Queries for SAP Business One

By : Gordon Du
Book Image

Mastering SQL Queries for SAP Business One

By: Gordon Du

Overview of this book

SAP Business One is an integrated Enterprise Resource Planning (ERP) software which offers an ideal solution for growing small to midsized businesses. For such companies, retrieving the most relevant information from their business data can be key to standing out from the competition. SAP Business One is a rapidly growing software package and this book is timely in giving those businesses an advantage in the area of Business Intelligence. Having SQL query skills in- house is the most important and cost-effective move you can make in this growing field.This practical guide will provide you with the skills to gain more specific business information from SAP Business One by using SQL queries. It will provide you with solutions for solving complicated report related problems, covering basic tools like the Query Generator and Query Wizard. More advanced content like using queries with Crystal Reports will also be delved into.SQL query is one of the advanced tools available in SAP Business One which is easily learned and quickly utilized. By referring back to and applying the many examples in this book, you will be able to create and run correct, and therefore effective, SQL queries to help your business.The book begins by teaching a clear definition of the SQL query, and covers the data dictionary and table links. Coverage will then jump to a higher level of complex SQL queries, discussing features like FMS. Along the way more advanced SQL Query topics will be covered, such as extending the scope of basic SQL queries for more complicated cases. You will ultimately gain in depth query knowledge to bring more Business Intelligence into SAP Business One.
Table of Contents (4 chapters)

Chapter 4. Query Examples

In the previous chapter, you learned about Query Manager and the most commonly-used statements and functions. That gave you a necessary tool to create any SQL queries within SAP Business One system freely. However, it may not be that easy to create a query to meet your specific needs.

This chapter will show you the following:

  • The most widely used query examples to give you more powers to build your own queries. These include:
    • Query variables
    • Date selection
    • Drill-down arrows
    • Subtotals
  • Detailed solution examples give all readers an idea about how business intelligence works within SAP Business One and breaks it down into three primary categories:
    • Marketing documents
    • Inventory transactions
    • Financial transactions
  • Alert query examples and miscellaneous query examples for better use of on demand information.

You will find the questions or some queries that do not fully satisfy what is required first. Then, the right queries to solve these problems. Finally, there will...