My Oracle Support Banner

E-PC: File Class Properties CurrentRecord and IsNewFileId Are Not Getting Properly Updated When Processing An Input File With Multiple FileLayouts (Doc ID 2326886.1)

Last updated on NOVEMBER 20, 2019

Applies to:

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

Symptoms

On : 8.55 version, PeopleCode

When processing an input file using more than one File Layout, one is supposed to use File Class property IsNewFileId, in conjunction with property CurrentRecord and method SetFileId().

Property CurrentRecord is not getting properly updated, causing Property IsNewFileId to not be properly updated as well. CurrentRecord is not reflecting the current row of data that is read from the Rowset.

That is causing lines of data in the Rowset created from the input file to not get processed as expected. Such lines are skipped.


Expected Behavior:
File property CurrentRecord should reflect the the current row of data being processed from the Rowset. File property IsNewFileId should accurately reflect that as well.

The issue can be reproduced at will with the following steps:
1. Create 2 Record Definitions
2. Create 2 File Layouts based on those Record Definitions
3. Create the input file based on the Records and File Layouts
4. Run the Peoplecode. Note: When processing an input file using more than one File Layout, one is supposed to use File Class property IsNewFileId, in conjunction with property CurrentRecord and method SetFileId().
5. File Property CurrentRecord is not getting properly updated, causing File Property IsNewFileId to not be properly updated as well. CurrentRecord is not reflecting the current row of data that is read from the Rowset.

Due to this issue, users cannot completely process the input file. Some lines of data are skipped.

PeopleBooks References:

Creating File Layouts
Home (PeopleSoft PeopleTools 8.55) > Products > Development Tools > Application Designer Developer’s Guide > Constructing File Layouts and Performing Data Interchanges > Constructing File Layouts

Home (PeopleSoft PeopleTools 8.55) > Products > Development Tools > Application Designer Developer’s Guide > Constructing File Layouts and Performing Data Interchanges > Specifying File Layout, Record, and Field Properties

 

Reading multiple file layouts
Home (PeopleSoft PeopleTools 8.55) > Products > Development Tools > PeopleCode API ReferenceFile Class > Multiple File Layouts

 

File Class Property - IsNewFileId
Home (PeopleSoft PeopleTools 8.55)ProductsDevelopment ToolsPeopleCode API ReferenceFile ClassFile Class Properties, IsNewFileId

 

File Class Property - CurrentRecord
Home (PeopleSoft PeopleTools 8.55)ProductsDevelopment ToolsPeopleCode API ReferenceFile ClassFile Class Properties, CurrentRecord

 

Changes

 

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
Changes
Cause
Solution


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