APPROVE RENEWAL: FETCHING ARRAY ELEMENT 1: INDEX IS NOT IN RANGE 1 TO 0. 180,252 (Doc ID 2150669.1)

Last updated on JUNE 16, 2016

Applies to:

PeopleSoft Enterprise FIN Contracts - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

When approving renewal get the following error:
Fetching array element 1: index is not in range 1 to 0. (180,252)
CA.Utilities.GridRound.OnExecute Name:BuildRows PCPC:1916 Statement:48
Called from:FUNCLIB_CA.CA_SCHEDULE.FieldFormula Name:Create_AP_Lines Statement:137
Called from:CA_ACCTPLAN.AP_STATUS.SavePostChange Statement:7

While fetching the value of an array element, the index was not within the length of the array.

Error saving Component Interface. {CA_ACCTPLAN_CI} (91,37)

An error occurred while saving the Component Interface. The most likely cause is that required fields were uninitialized, or that the business logic enforcement written in PeopleCode returned an error.

Internal Error: invalid transaction handle instance passed from SamDestroy 3: 20892 vs 0

REPLICATION STEPS
=================
1. Have combo edit setup for all account must have dept id populated.
2. Create contract and add a renewal product (Enter the start and end date and Set renewal to manual)
3. Allocate the amount - Set the allocation to complete
4. Click link for BILLING DISCOUNT/SURCHARGES to enter the discount.
5. Enter discount id CST-000 which will use DISOUNT dist code
6. Go to accounting distribution - make sure deptid is populated otherwise cannot activate the contract
7. Go to Discount surcharge acctg dist - make sure deptid is populated otherwise cannot activate the contract
8. Activate contract
9. Go to renewals tab - Select create plan
10. Go to renewal cycle 1
11. Select billing disc/surcharge link to enter discount, Select copy from contract line, Select validate discounts
12. Change cycle status to ready
13. Select Approve --> Enter the event date of next year (if the event date = todays date no error)
14. Getting these errors:

Fetching array element 1: index is not in range 1 to 0. (180,252)
CA.Utilities.GridRound.OnExecute Name:BuildRows PCPC:1916 Statement:48
Called from:FUNCLIB_CA.CA_SCHEDULE.FieldFormula Name:Create_AP_Lines Statement:137
Called from:CA_ACCTPLAN.AP_STATUS.SavePostChange Statement:7

 

 

 

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