E-PIA : Function ‘onReadyState’ Error : Invalid Regular Expression (Doc ID 2182798.1)

Last updated on JANUARY 05, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.54 and later
Information in this document applies to any platform.

Symptoms

When users are trying to apply a payment and in the Item ID field, type the description for a credit OAC and for a debit DED and place the check number in parentheses.
Example: OAC-(55287) unable able to give braces in the item field , throws an error like Function ‘onReadyState’ Error : Invalid regular expression.

ERROR
-----------------------
Function onReadyState Error Invalid regular expression:/^OAC-)/:Unmatched ')'
Error Stack:
Error Invalid regular expression:/^OAC-)/:Unmatched ')'
at RegExp(native)

ENVIRONMENT
----------------------
 8.54 with 9.1 application.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Log into PIA
2. Go to Accounts Receivable -> payments -> Apply Payments -> Create Worksheet 
3. Then Open Deposit unit-US001, Deposit ID-26(example)
4. Then click the worksheet application and in the detail 1 tab
5. in the item Id field try to enter value OAC-( to replicate the issue.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms