Create Configuration Item
I have a requirement to import sales orders from JD Edwards into Oracle. These sales orders have hybrid ATO models (multi level ATO models in the BOM structure). When importing the order in Oracle, we want to do the following:
1. Use the parent ATO model/child ATO models and call the configuration validation API to see if this is a valid configuration or not. For this i have found the API CZ_CF_API.VALIDATE() useful.
2. After validating the ATO model, i want to automatically create a configuration item and then import the sales order in 'Booked' status. I am not sure how to achieve this. I read in some forums that if i can find the config_header_id in the cz_config_hdrs, cz_config_items etc tables, then i can pass this config_header_id to the process_order API to create the entire configuration (including lines etc). The trick is to already have a valid configuration (w/ config_header_id)... but i can't seem to find a API/Interface to load configurations.