Quantcast
Channel: RKL eSolutions – Sage ERP and IT Support Provider
Viewing all articles
Browse latest Browse all 493

Look Into the (Sage) Crystal Ball…For a work around

$
0
0

Part 1 – Pulling fields from other tables into your “work” table – without a join!!

This is the first blog in a series for using Crystal Reports with Sage 100, Sage 500, and Sage X3.

Problem:  Whenever you use an existing Sage report and modify it to bring in data from other tables, that requires joining in the extra tables.  The more joins, the slower the report performance and the more possible complications with join types (inner, outer, full).

Sage Crystal Reports

Solution:  Cheat!  Many of the tables that you would typically want to join into your report come with the required underlying business objects needed to instead create a UDF (on the work table) pointing to the field in another table.  Once in place, it is as though the field(s) you needed were in the work table all along and you lose nothing on performance.  You also save on aspirin.

Suppose your client wants the customer’s state code in the AR Trial Balance report (for sorting and sub-totaling).  The customer state code is not a standard part of AR_TrialBalanceWrk.  Here’s how to add in the AR_Customer.State field without joining AR_Customer into the report:

Steps:

  1. Add a UDF to AR_TrialBalanceWrk that points to AR_Customer.

a. Custom Office, Main, User Defined Field and Table Maintenance

b. Open Accounts Receivable, AR_TrialBalanceWrk

c. Add field, name it and use the Business Object setup as shown below, click OK. Crystal Reports Business Objects Setup

d. This takes you into setup – click “OK” (three times) to complete and update the Sage data dictionary. Close User Defined Field and Table Maintenance when done.

2. Open the AR Trial Balance Report in Crystal Designer and update the data dictionary in the report.

a. Click on Database (menu) and Verify Database. Sage 100 AR Trial Balance Reportb. Provide credentials to complete – the system tells you that the database is up to date and refreshes the table information in Field Explorer, placing the new linked field at the bottom of the list.

Field Explorer

You’re ready to go!!  Use the field just as you would use any of the fields in the table list. The next blog in this series will post on 6/29/2016, to view it.

The post Look Into the (Sage) Crystal Ball…For a work around appeared first on RKL eSolutions - Sage ERP and IT Support Provider.


Viewing all articles
Browse latest Browse all 493

Trending Articles