SQL Statements

The EnterpriseOne SQL Statements category will include all posts and pages pertaining to SQL statements that can be used in the administration and configuration of EnterpriseOne.

How To Get A Date… Out Of E1 Part 2

Don’t worry, this still is not a dating service!

My last post dealt with dates in E1. Well, there is another way that dates are stored…

The number of seconds since January 1, 1970.

This isn’t too uncommon in programming languages such as C++, but it sure is a pain in the rear-end when looking in a database.

I have included a conversion tool on my E1 Dates page.

***NOTE: the dates calculation page has been updated***


Here is a very simple way to convert the date using SQL:



select date(char(SCSECLST+1900000)) from sy811/f98owsec

Technorati Tags: e1,enterpriseone,erp,peoplesoft,oracle,jde,jd edwards

EnterpriseOne (E1) OMW Cleanup

When installing ESUs, an OMW project is created. If you have installed a lot of ESUs those projects can make it very annoying when trying to find other legitimate projects that you have access to. Yes, you can filter the OMW Project display, but I kinda find that annoying too. Anyway, I created a very simple SQL that I run once in a while to clean up my OMW:

DELETE FROM sy811/f98221

Of course the syntax will need to be adjusted if using a database other than an IBM iSeries.

Technorati Tags: e1,enterpriseone,erp,peoplesoft,oracle,jde,jd edwards

Deleting User Overrides In EnterpriseOne (E1)

Once in a while my power-user wants to delete some User Overrides because they created some that they want everyone to use. Well, the UO app usually works pretty well, until your get some can not be deleted with the normal process. Here is the process that I go through:

1. Open a ?Fat Client? in the environment in which want to delete the UO
2. Fastpath to UO
3. Use the QBE to find the UOs that you would like to delete
4. Highlight them and click delete
5. NOTE: If some of them do not delete and give you an error like ?The object is in an open project?:
* Run a SQL statement similar to the following from the green screen to select the records desired and then delete them:

SELECT * FROM copy811/f98950 WHERE UOUSER ‘*PUBLIC’ and
UOOBNM=’Pxxxx’ and UOFMNM=’WxxxxA’ and UOVERS=’XJDE0016′

Technorati Tags: e1,enterpriseone,erp,peoplesoft,oracle,jde,jd edwards

When working at home, starting with cheap web hosting is best and hence midphase or powweb are better choices.