281: -- that bill is defined in the ship from org.
282: --
283:
284: l_stmt_num := 100;
285: IF (cto_workflow.validate_line(p_model_line_id) = FALSE) THEN
286: raise INVALID_LINE;
287: END IF;
288:
289: -- call to populate_bom_cto_order_lines with top_model_line_id
364: IF PG_DEBUG <> 0 THEN
365: oe_debug_pub.add('Configuration Line does not exist.', 1);
366: END IF;
367:
368: CTO_WORKFLOW_API_PK.get_activity_status(
369: itemtype => 'OEOL',
370: itemkey => to_char(p_model_line_id),
371: linetype => 'MODEL',
372: activity_name => l_active_activity);
734:
735:
736:
737:
738: if (CTO_WORKFLOW_API_PK.start_model_workflow(p_model_line_id) = FALSE)
739: then
740: IF PG_DEBUG <> 0 THEN
741: oe_debug_pub.add('Failed in call to start_model_workflow',1);
742: END IF;
773:
774:
775:
776:
777: return_value:= CTO_WORKFLOW_API_PK.display_wf_status(l_config_line_id);
778:
779:
780: IF PG_DEBUG <> 0 THEN
781: oe_debug_pub.add('CTOMCRSB: ' || 'return value from display_wf_status' ||return_value ,5);