Oracle Rest Data Services (ORDS) (MOSC)

MOSC Banner

How to create Pay Elements

edited Feb 14, 2024 9:20PM in Oracle Rest Data Services (ORDS) (MOSC) 1 commentAnswered

Oracle Cloud HCM

We are attempting to create a pay element with API and running into an error that we are unable to resolve.

Url:

POST /hcmRestApi/resources/11.13.18.05/elementEntries


Headers:

effective-Of: RangeStartDate=2024-04-01


Body:

{

"CreatorType": "H",

"ElementName": "Gas Coupons",

"ElementTypeId": 300000014181989,

"EntryType": "E",

"EntrySequence": 1,

"PersonId": 300005246183973

}


Response:

{

"title": "Bad Request",

"status": "400",

"o:errorDetails": [

{

"detail": "Provide a valid value for RelationshipId.",

"o:errorCode": "27014"

},

{

"detail": "Failed to validate a row with key oracle.jbo.Key[300005246189315 ] in EntryUsageEO",

"o:errorCode": "27024"

},

{

"title": "An invalid combination of employment level values was specified for an assignment level element entry usage record. (PAY-1635364)",

"detail": "An invalid combination of employment level values was specified for an assignment level element entry usage record. (PAY-1635364) Details: Values for a payroll relationship, an employment terms and a payroll assignment are required for the usage record of an assignment level element entry, and the assigned payroll value must not be specified. The assignment must be a child of the employment terms, which must likewise be a child of the payroll relationship.",

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center