SAP Knowledge Base Article - Public

2243841 - How to upsert data via OData API call for MDF entity TimeAccountDetail

Symptom

For each employee, there is a separate time account i.e unique external code.

For a specific employee's tome account there would be time account type defined i.e. timeAccountDetail.

Environment

Successfactors System

Resolution

You can insert balances by inserting time account details for a time account. The initial balance is saved as a manual adjustment.

Make sure value has been provided for below fields for each of the time accounts where you want to insert an initial balances.:

  • posting type (MANUAL_ADJUSTMENT),
  • booking date
  • booking amount
  • booking unit
  • unique external code

While using API calls, Successfactors system would not generate unique external Code for TimeAccountDetail API. You will have to explicitly provide external code which should be unique.

However, behavior differs when you create a record from UI and it does generate Unique external code.

We generally do not suggest to use Upsert operation for TimeAccountDetail OData API due to external code limitation.

Keywords

KBA , LOD-SF-INT-MDF , Metadata Framework API (MDF) , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM Core all versions