Initially Quote_header_id will be created based on top model id. Also this quote header id will be updated with active shopping cart tales. once the entire configuration is completed means all sub items are passed through cursor and making entries in following tables using model configuration detail. The bom model configuration is available in cz_config_hdrs table. Aso_quote_headers_all, aso_quote-lines_all,aso_quote_line_details and aso_quote_line_relationship.