Period Flattener App Engine Process ‘OI_GEN_DATE’ Abends on SQL in Step OI_GEN_DATE.UPD_FD1.DY_JULN on MS SQL Server
(Doc ID 2942651.1)
Last updated on APRIL 19, 2023
Applies to:
PeopleSoft Enterprise FIN General Ledger - Version 9.2 to 9.2 [Release 9]Information in this document applies to any platform.
Symptoms
Period Flattener OI_GEN_DATE process abends on SQL in Step OI_GEN_DATE.UPD_FD1.DY_JULN on MS SQL Server database.
Note: Process runs to success on Oracle database.
ERROR:
File: E:\PT859P07B_2201030502-retail\peopletools\src\psappeng\aedebug.hSQL error. Stmt #: 1811 Error Position: 0 Return: 8601 - [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near 'CAST', expected 'AS'.
[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Statement(s) could not be prepared. (SQLSTATE 42000) 8180
Failed SQL stmt: UPDATE PS_D_FISC_D5_TAO4 SET OI_DAY_JULIAN = CONVERT(VARCHAR(40),PYEAR_NUM) + CAST(DATEDIFF(DAY,'2016-07-01',DAY_DT)+1) AS CHAR WHERE CALENDAR_TYPE='D' AND PYEAR_NUM=2017 AND CALENDAR_ID = 'FY' AND SETID='SHARE' AND PROCESS_INSTANCE = 722106
Process 722106 ABENDED at Step OI_GEN_DATE.UPD_FD1.DY_JULN (SQL) -- RC = 8601 (108,524)
Process %s ABENDED at Step %s.%s.%s (Action %s) -- RC = %s
PSAESRV completed service request at 10.44.33 2022-12-12
STEPS:
1.Set Up Financials/Supply Chain > Operational Reporting > Calendar Flattener > Period Flattener
--Setid 'SHARE'
--Detail Calendar ##, e.g. '01'
--From ####, e.g. '2017'
--To ####, e.g. '2018'
[X] Create Balance Forward Period
[X] Create Adjustment Periods
--Summary Calendar / Label
YR / Year
QT / Quarter
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |