Database Output versus Table Conversion

Goal

Can a text file created through 'Database Output' meet the following requirements?

* Each column is to be Delimited using comma(,)
* String column has to be written with double quotation (" ")
* Math Numeric column has to be written without having double quotation as a column delimiter

Solution

No. The text file created through database output (not Table Conversion) cannot have mixed data format.

The Database Output method in Report Design Aid (From Section menu ->Database Output) does not support multiple formats where String columns are delimited with double quotation marks (" ") and Math Numeric columns without the double quotation marks.

Currently Database Output supports,

Numbers String Date
Comma Delimited file 32 digit numbers Same size with defined DD size JDE Date Format
Fixed length record file 32 digit numbers Same size with defined DD size JDE Date Format

NOTE:



The above requirements can be accomplished by using the Table Conversion Tool in EnterpriseOne. The Data format (e.g. String, Number, Date, etc.) can be specified for each column.

  1. Create Table Conversion Report
  2. Define as follows for the output file (User Defined Format - type)
Note: Through the use of Event Rules, additional logic can be implemented, if needed, to manipulate the data and the data format when creating the text file using the EnterpriseOne Table Conversion tool.