Symptom
When registering an user to a class with price via API, the error: FAILED: "Scheduled Offering is associated with price" is displayed
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Navigate to LMS Admin, create a class >
- In Purchasing tab, set to any other option besides No charge >
- In Pricing tab, add a price >
- Try to register a user via API to that class and receive following error message: "errorMessage": "Scheduled Offering is associated with price"
Resolution
According to the Help Portal Documentation: admin/scheduledoffering-service/v1 Metadata Call | SAP Help Portal, the Class API does not support the commerce flow, and because of that, users cannot be registered via API to classes which have prices associated.
An enhancement request has been raised and acknowledged regarding this feature: Improvement Request Details - Customer Influence. We recommend checking the latest What's New Viewer and Roadmap pages to get updates on when this feature will be implemented.
See Also
Keywords
class, registration, API, price, commerce, workflow, schedule, offering, associated, user, admin, learning , KBA , LOD-SF-LMS-ODA , Web Services OData , Problem
SAP Knowledge Base Article - Public