This content has been marked as final. Show 3 replies
Delete configuration api deletes the entire copied configuration, my requirement is, I need to delete only the end dated item in the BOM for this configuration.
My requirement is like I have pre configurations called as *items, I have one custom copy configuration package which uses the api copy configuration which simply copies all the line items in the cz_config_items table. Even though there is an end dated item in the BOM, still this copy configuration is coying the same items in the sales order lines, I want the new configurations to be validated with the new data and delete the end dated BOM items in the pre configurations. I have written a logic to validate the BOm item and delete the end dated item from the cz_config_items table. Is there any other way to do this? or how can we contro from the calling application OM, is there any profile option setting etc?
Edited by: 949723 on 30-Jul-2012 03:10
Edited by: 949723 on 30-Jul-2012 03:11
You should not change config_item table manually.
Instead of doing manual change in config_effective_date, I feel the better way would be - Open the configurator in batch validate mode (Look implementation guide for detail) passing required effectivity date in it and then save configuration. You can use use the new config hdr id and rev number. This should remove ineffective items from configurator in standard way - taking care of all rules and logically selected items.