This article describes how you can achieve real time Sales Order & Sales Transaction creation integrated with 3rd Party CRM/Billing System when order is confirmed successful.. so you can develop a script consuming commissions API's which will create based on scheduled time.
What is CRUD API ?
CRUD is an acronym that stands for CREATE, READ, UPDATE, and DELETE. These four database commands are the foundation of CRUD. This acronym is well-known among programmers, but many software developers view it as more of guidance since CRUD was not made as a modern way to create API
Understanding of Sales flow
In this process Sales rep can see their commissions/Incentives amount after the Order is confirmed even before the delivery of product to customer. It really motivates Sales reps to make more of selling process, so it can hit their Sales Target/Quota quickly when their results comes out faster post the pipeline calculation job ran successful.
Also, you don't need to push the data to Commissions everyday in a large volumes in batch and even it saves a data storage for not loading it to Stage tables in SAP Commissions.
your script needs to take care of all pre-processing activities before creating Sales Order and Sales Transaction.
Let's see the API's for Sales Order and Sales Transaction creation with sample payload.
Sales Order Payload
Example : How to create your Sales Order using below Payload