AnsweredAssumed Answered

How to auto generate the Position Code for new positions created using Boomi import?

Question asked by amrtsh on Mar 16, 2018
Latest reply on Mar 16, 2018 by arjun_rajagopal02644053

We're trying to create new positions by sending an upsert request to the SFOData.Position from Boomi. The Position object has two business keys --- code and the effectiveStartDate. Below is a sample uri:

{
"__metadata": {
"uri": "https://apixxx.sapsf.eu/odata/v2/Position(code='???',effectiveStartDate=datetime'???')",
"type": "SFOData.Position"
}

Our requirement is to auto generate the next position code in sequence in the Employee Central. If we send the request without any value for code, EC returns the error: 

Single-valued key cannot be represented as a complex value

Is there any way we can trigger the auto generation of code from Boomi, and then use the code to send the upsert request.

 

Any help would be appreciated. Thank you.

Outcomes