Designing a Template | Technical Requirements/Recommendations
Page 16
Database Views
It is also possible to incorporate database views, as well as ERP database tables, in the same custom
inquiry. However, this requires lengthy processes to create these views and add them to Hubble,
Using views creates significant additional flexibility. For example:
● All tables and views used by Hubble must be accessible using the same database connection that
the product uses to query the ERP data.
● Views can be used to provide indirect access to data tables in other database connections, such
as other ERP instances or tables (e.g. Security or UDC tables – JD Edwards only.)
● Views can include complex business logic including database functions and subqueries.
● The tables and views must have uppercase or case-insensitive names. Within the columns of
those tables and views, Hubble will only support data types that it already supports for EBS:
character types, number types and dates. There are some additional limits within those
categories. Binary object and XML data types, for example, are not supported.
○ ‘create table Foo’ will actually create a table called FOO. This will work.
○ ‘create table “Foo” ’ will create a table called Foo – note the double quotes around the name.
This won’t work with EBS.
○ ‘create table “FOO” ’ will create FOO which will work.
All tables and views used with Designer-based templates, whether they are being incorporated via a
database view or not, must comply with the requirements, which are discussed below, as far as naming
conventions, columns, location, and unique rows.
Accessing the JD Edwards UDC Tables in Designer Express
To gain access to the JD Edwards UDC tables (F0004 and F0005) to create custom templates, in your JD
Edwards Data Database you can create a database view over these tables and incorporate these views in
your custom template.
Why is this needed? Database views are used to provide indirect access to data tables on other database
connections. The UDC tables are generally located in a different database, such as the Control Table
Database; by creating a view over them, you are gaining access to them when creating a template based
on data from your JD Edwards Data Database.
1. When a view is being created to resolve a function or join issue, then only the
required fields and tables should be included with the required IDs to complete the
join. The remaining tables should be added in Designer Express.
2. Hubble is very good at aggregating data so the view should be at the lowest level of
detail. This will make it easier to add further tables in Designer Express while still
getting the benefit from drill-down and summary information.