DBA Data[Home] [Help]

APPS.CTO_AUTO_PROCURE_PK dependencies on CTO_WORKFLOW_API_PK

Line 165: | call to CTO_WORKFLOW_API_PK.display_wf_status

161: |
162: |Aug 9th,2005 Kiran Konada
163: | 4545070
164: | Replaced call to OE_ORDER_WF_UTIL.update_flow_status_code with
165: | call to CTO_WORKFLOW_API_PK.display_wf_status
166: |
167: |
168: |Aug 29th,2005 Kiran Konada
169: | bugfix 4545559

Line 1129: l_rets := CTO_WORKFLOW_API_PK.display_wf_status( p_order_line_id=>so_line.line_id);

1125: IF nvl(l_inv_quantity,0) = 0 THEN
1126:
1127:
1128: --bugfix# 4545070
1129: l_rets := CTO_WORKFLOW_API_PK.display_wf_status( p_order_line_id=>so_line.line_id);
1130:
1131: IF l_rets = 0 THEN
1132:
1133: oe_debug_pub.add('auto_create_pur_req_cr: ' || 'Error occurred in display_wf_status - Stmt_num'||to_char(l_stmt_num),1);

Line 1156: CTO_WORKFLOW_API_PK.query_wf_activity_status(

1152: -- Added by Renga Kannan on 28-Nov-2001
1153: -- We need to update the workflow status only if the
1154: -- status is in CREATE_SUPPLY_ORDER_ELIGIBLE
1155:
1156: CTO_WORKFLOW_API_PK.query_wf_activity_status(
1157: 'OEOL' ,
1158: so_line.line_id ,
1159: 'CREATE_SUPPLY_ORDER_ELIGIBLE',
1160: 'CREATE_SUPPLY_ORDER_ELIGIBLE',

Line 1165: l_res := cto_workflow_api_pk.complete_activity(

1161: l_active_activity );
1162:
1163: IF l_active_activity = 'NOTIFIED' THEN
1164:
1165: l_res := cto_workflow_api_pk.complete_activity(
1166: p_itemtype=>'OEOL',
1167: p_itemkey =>so_line.line_id,
1168: p_activity_name=>'CREATE_SUPPLY_ORDER_ELIGIBLE',
1169: p_result_code=>'RESERVED');