Symptom
We encounter the following error message while processing purchase leave requests: [COE0027]Please add required properties in payload. Required property unit is missing. You can check which properties are required for an entity in Admin Center > OData API Data Dictionary or the entity metadata.
Environment
SAP SuccessFactors Employee Central – Time Management
Reproducing the Issue
- Go to Time Management Section>Purchase Leave
- Click on Create Purchase Leave
- Fill the required details
- Click on Submit
- Error [COE0027]Please add required properties in payload. Required property unit is missing. You can check which properties are required for an entity in Admin Center > OData API Data Dictionary or the entity metadata.
Cause
- Configure Issue
Resolution
To resolve this issue, follow these steps:
- Navigate to Configure Object Definition.
- Select TimeAccountPurchase.
- Click on Unit and then Details.
- Set the visibility to Read-Only
Keywords
[COE0027]Please add required properties in payload. Required property unit is missing. You can check which properties are required for an entity in Admin Center > OData API Data Dictionary or the entity metadata, [COE0027]Please add required properties in payload, Required property unit is missing, You can check which properties are required for an entity in Admin Center, OData API Data Dictionary or the entity metadata, COE0027, Purchase Leave Error, Purchase Leave, Leave Error, Purchase Time error, Purchase Balance Error, Purchase Balance, Time Off, Leave, Time Management, Purchase Error, Purchase, OData API Data Dictionary, TimeAccountPurchase, Time Account Purchase Leave, Time Account, Account Purchase, Account Purchase Leave. , KBA , LOD-SF-EC-TIM-PYT , Payouts - Self Service, Admin, Termination , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , Problem