Smart HR - China NID Validation Error: "Error calling method GetPropertyByName on an ApiObject of class HCR_PERSONA;_DATA_SRV:API error code 1.(2,822)" (Doc ID 2047320.1)

Last updated on OCTOBER 06, 2016

Applies to:

PeopleSoft Enterprise HCM Human Resources - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

If user enters the NID incorrectly in Smart Hire templates, the system prompts with a PeopleCode error instead of prompting with a logical prompt to instruct the user how to enter the NID correctly.

ERROR

Error in Smart Hire template error received:
--> Error calling method GetPropertyByName on an ApiObject of class HCR_PERSONA;_DATA_SRV:API error code 1.(2,822)

Error wanted by customer in Smart Hire Templates (same as in Person Data):
--> The format of the National ID Type NID for CHN has to be 99999999999999999X. (1000,490) The format of the National ID has be set as indicated for this National ID Type.

STEPS

The issue can be reproduced at will with the following steps:

To receive error in Smart Hire Template:
1. Navigate to Main Menu > Workforce Admin > Smart HR Template > Smart HR Transactions
2. Enter the NID incorrectly

To receive error in Peron Data:
1. Navigate to Main Menu > Workforce Admin > Personal Information > Modify a Person
2. Enter the NID incorrectly


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