DDF Files in DATA Folder May Confuse PSQL

DDF Files in DATA Folder May Confuse PSQL

Release Date: 04/27/2018

Q - We recently noticed a strange phenomenon where if I try to access Elliott column names in the ARCUSFIL, I find the Customer AR account is defined as CUS_AR_ACCT_NO and it is 24 digits.  See sample screen below:



I have an application to try to find out the available column names of ARCUSFIL through system table X$Field. In there, I found that the CUS_AR_ACCT_NO is broken into three parts: 
  • CUS_AR_MAIN_NO
  • CUS_AR_SUB_NO
  • CUS_AR_DP_NO 
See sample screen below:

I am really confused as to why the column names are inconsistent.

A - In Elliott V7.5, CUS_AR_ACCT_NO was broken down as three parts: The main account, the sub-account and the department with 8 digits in each segment.  With Elliott V8, we are making it as one single column of 24 digits for consistency purposes.

The reason you see the CUS_AR_ACCT_NO in PSQL Control Center interface is because it gets the DDF definition from the <ElliottRoot>\Bin\DDF40 folder.  On the other hand, PSQL has a quirk: when it tries to locate the X$Field value, it retrieves it from the DDF in the <ElliottRoot>\Bin\DATA folder if it can find them.

In the old days, there were some legacy third party programs that only allowed accessing of the BTR files if the DDF files were in the same DATA folder. Starship was like that a long time ago. But then they changed to ODBC access, and that’s not the only case. There are some old DOS Btrieve utilities that are like that too. We don’t need to worry about those legacy programs anymore. Therefore, there is no reason why we need to keep DDF files in the DATA folder. So you should just delete the DDF files in the DATA folder.

Please see related KB article:


EMK


    • Related Articles

    • An Example of DDF Files in DATA Folder that Can Confuse PSQL

      Release Date: 04/11/2024 Version: All Q - I tried to access Elliott Item master column ITEM_CASE_SIZE in Report Desk. In one of the Report Desk reports, I wanted to drag ITEM_CASE_SIZE to the report body. But I can't find that column under the ...
    • An Example of DDF Files in DATA Folder Causing Report Desk or Power Search Issue

      Release Date: 03/14/2025 Version: 8.6 & Up Q - When I tried to print a UDR report (i.e., AP Distribution History Report) from company # 98, I got the following error message: Cannot find definition of table APDSTHST in DDFs. You probably are using ...
    • A Comparison of Elliott 7.5, 8.2, 8.5, 8.6 and 8.6 V2 DDF Files

      Release Date: 11/15/2022 Last Updated: 06/25/2024 Version: 7.5 & Up DDF Files are used to define the PSQL database schema. Generally speaking, we distribute four different types of DDF files for different versions of Elliott releases: 7.5 DDF: These ...
    • A Support Case of Migrating to Different Version of DDF

      Release Date: 4/24/19 Version: All Q - I've been asked to set up UPS Worldship to access customer shipping addresses in Elliott. I've run into a problem mapping City, State, and Zip fields to Elliott. Looks like Elliott concatenates these fields to ...
    • Create a New Database in the PCC for Relational Engine Access

      Release Date: 12/15/2017 Modified Date: 02/07/2025 Elliott Business Software relies on PSQL database engines. PSQL consists of two types of engines: transactional and relational. The transactional engine used to be called "Btrieve," which is a record ...