Symptom
You are getting an error related to an invalid number format on a customLong field when trying to create a requisition from a position:
"Sorry, the requisition cannot be created. Creation of a job requisition for position xxxxx failed. Details: customLongX has invalid number format with the index 0".
The error is only occurring for some positions, and not others.
Environment
SAP SuccessFactors Recruiting Management.
Reproducing the Issue
- Navigate to the Position Org Chart
- Create a requisition from a position
- Note the error message
Cause
CustomLong fields only accept integers, not decimals. Sending a decimal value will cause the above error.
The field on the position is a decimal. Since you are sending this decimal field to the customLong field, which only accepts integers, the error occurs.
If the field value on the position is an integer, then there will be no error. If the field value on the position is a decimal, you will get the "invalid number format" error.
Resolution
To resolve the issue, you can either:
- Make sure the field on the position is an integer, not a decimal
- Map the position field to a different requisition field which has a data type of Number. The data type Number can accept decimals and integers. You will need to contact your Implementation Partners or our Professional Services Team to implement this solution.
Keywords
customLong, position management, invalid number format, integer, decimal, requisition, error , KBA , LOD-SF-RCM-INT , Integration Center & Intelligent Services , Problem