My Oracle Support Banner

EAR 9.1: AR_DUNNING Fails On SQL-server, After Applying Bundle 41 As 'ADD_MONTHS' Is Not A Recognized Built-in Function Name . (Doc ID 2342533.1)

Last updated on DECEMBER 22, 2017

Applies to:

PeopleSoft Enterprise FIN Receivables - Version 9.1 to 9.1 [Release 9]
Information in this document applies to any platform.

Symptoms

On : 9.1 bundle 41 version, Dunning

When attempting to run dunning on SQL server it fails the following error occurs.

ERROR
-----------------------
File: e:\pt85432a-retail\peopletools\src\psappeng\aedebug.hSQL error. Stmt #: 1708 Error Position: 0 Return: 8601 - [Microsoft][SQL Server Native Client 11.0][SQL Server]'ADD_MONTHS' is not a recognized built-in function name.
[Microsoft][SQL Server Native Client 11.0][SQL Server]Statement(s) could not be prepared. (SQLSTATE 37000) 8180
Failed SQL stmt: DELETE FROM PS_AR33000_TMP WHERE PRINT_COMP = 'Y' AND DUN_DT <= ADD_MONTHS({ fn CURDATE() }, -24)

Process 1241015 ABENDED at Step AR_DUNNING.DELWRK.DELWRK1 (SQL) -- RC = 8601 (108,524)

Process %s ABENDED at Step %s.%s.%s (Action %s) -- RC = %s

PSAESRV completed service request at 11.15.20 2017-10-11


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Apply 9.1 bundle 41 and run dunning on SQL server.


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot get the dunning report.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.