DBA Data[Home] [Help]

APPS.CTO_UTILITY_PK dependencies on CTO_WIP_WORKFLOW_API_PK

Line 3889: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_shipped_qty = '||l_shipped_qty);

3885:
3886: allowed_unreservation_qty := nvl(l_reservation_qty,0) - nvl(l_shipped_qty,0);
3887:
3888: If PG_DEBUG <> 0 Then
3889: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_shipped_qty = '||l_shipped_qty);
3890: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_reservation_qty = '||l_reservation_qty);
3891: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'allowed_unreservation_qty = '||allowed_unreservation_qty);
3892: End if;
3893:

Line 3890: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_reservation_qty = '||l_reservation_qty);

3886: allowed_unreservation_qty := nvl(l_reservation_qty,0) - nvl(l_shipped_qty,0);
3887:
3888: If PG_DEBUG <> 0 Then
3889: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_shipped_qty = '||l_shipped_qty);
3890: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_reservation_qty = '||l_reservation_qty);
3891: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'allowed_unreservation_qty = '||allowed_unreservation_qty);
3892: End if;
3893:
3894: IF PG_DEBUG <> 0 THEN

Line 3891: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'allowed_unreservation_qty = '||allowed_unreservation_qty);

3887:
3888: If PG_DEBUG <> 0 Then
3889: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_shipped_qty = '||l_shipped_qty);
3890: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_reservation_qty = '||l_reservation_qty);
3891: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'allowed_unreservation_qty = '||allowed_unreservation_qty);
3892: End if;
3893:
3894: IF PG_DEBUG <> 0 THEN
3895: oe_debug_pub.add('check_rsv_quantity: ' || 'check_rsv_qty: l_shipped_qty = '||l_shipped_qty ||

Line 4812: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'entering');

4808:
4809: BEGIN
4810:
4811: If PG_DEBUG <> 0 Then
4812: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'entering');
4813: End if;
4814:
4815: select bom_explosion_temp_s.nextval
4816: into xGrpId

Line 4820: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'xGrpId::'||to_char(xGrpId));

4816: into xGrpId
4817: from dual;
4818:
4819: If PG_DEBUG <> 0 Then
4820: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'xGrpId::'||to_char(xGrpId));
4821: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'ItemId::'||to_char(p_item_id));
4822: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'OrgId::'||to_char(p_org_id));
4823: End if;
4824:

Line 4821: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'ItemId::'||to_char(p_item_id));

4817: from dual;
4818:
4819: If PG_DEBUG <> 0 Then
4820: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'xGrpId::'||to_char(xGrpId));
4821: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'ItemId::'||to_char(p_item_id));
4822: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'OrgId::'||to_char(p_org_id));
4823: End if;
4824:
4825: -- insert top level config BOM

Line 4822: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'OrgId::'||to_char(p_org_id));

4818:
4819: If PG_DEBUG <> 0 Then
4820: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'xGrpId::'||to_char(xGrpId));
4821: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'ItemId::'||to_char(p_item_id));
4822: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'OrgId::'||to_char(p_org_id));
4823: End if;
4824:
4825: -- insert top level config BOM
4826:

Line 4861: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'rowcount::'||sql%rowcount);

4857: and bbom.common_bill_sequence_id = bic.bill_sequence_id
4858: and nvl(bic.optional_on_model,1) = 1;
4859:
4860: If PG_DEBUG <> 0 Then
4861: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'rowcount::'||sql%rowcount);
4862: End if;
4863:
4864:
4865: rowcount := 1 ;

Line 4919: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Row Count:'||rowcount);

4915: oe_debug_pub.add ('Row Count : ' || rowcount, 2);
4916: END IF;
4917:
4918: If PG_DEBUG <> 0 Then
4919: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Row Count:'||rowcount);
4920: End if;
4921:
4922: END LOOP;
4923:

Line 4940: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Deleted Row Count:'||rowcount);

4936: oe_debug_pub.add ('Deleted Row Count : ' || rowcount, 2);
4937: END IF;
4938:
4939: If PG_DEBUG <> 0 Then
4940: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Deleted Row Count:'||rowcount);
4941: End if;
4942:
4943: return xGrpId;
4944:

Line 4948: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Others exception:'||sqlerrm);

4944:
4945: EXCEPTION
4946: WHEN OTHERS THEN
4947: If PG_DEBUG <> 0 Then
4948: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Others exception:'||sqlerrm);
4949: End if;
4950: return xGrpId;
4951: END;
4952:

Line 4964: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Concat segment:'||p_concat_value);

4960:
4961: p_concat_value := concat(p_value1, '-');
4962: p_concat_value := concat(p_concat_value, to_char(p_value2));
4963: IF PG_DEBUG <> 0 Then
4964: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Concat segment:'||p_concat_value);
4965: End if;
4966:
4967: RETURN p_concat_value;
4968:

Line 7233: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

7229:
7230: IF PG_DEBUG <> 0 THEN
7231: oe_debug_pub.add('get_resv_qty: ' || 'Entered get_resv_qty', 1);
7232: l_message := 'Entered get_rsv_qty_code';
7233: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7234: oe_debug_pub.add('get_resv_qty: ' || 'Before cursor c_resv', 5);
7235: l_message := 'Before cursor c_resv';
7236: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7237: END IF;

Line 7236: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

7232: l_message := 'Entered get_rsv_qty_code';
7233: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7234: oe_debug_pub.add('get_resv_qty: ' || 'Before cursor c_resv', 5);
7235: l_message := 'Before cursor c_resv';
7236: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7237: END IF;
7238:
7239: l_source_document_type_id := CTO_UTILITY_PK.get_source_document_id ( pLineId => p_order_line_id );
7240:

Line 7254: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

7250:
7251: IF PG_DEBUG <> 0 THEN
7252: oe_debug_pub.add('get_resv_qty:'||'source_id=>' || cur_var.supply_source_type_id, 5);
7253: l_message := 'source_id=>'|| cur_var.supply_source_type_id;
7254: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7255:
7256: oe_debug_pub.add('get_resv_qty:'||'prim_rsv_qty=>' || cur_var.primary_reservation_quantity, 5);
7257: l_message := 'rsv_qty=>' || cur_var.primary_reservation_quantity;
7258: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

Line 7258: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

7254: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7255:
7256: oe_debug_pub.add('get_resv_qty:'||'prim_rsv_qty=>' || cur_var.primary_reservation_quantity, 5);
7257: l_message := 'rsv_qty=>' || cur_var.primary_reservation_quantity;
7258: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7259:
7260: oe_debug_pub.add('get_resv_qty:'||'sec_rsv_qty=>' || cur_var.secondary_reservation_quantity, 5);
7261: l_message := 'sec_rsv_qty=>' || cur_var.secondary_reservation_quantity;
7262: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

Line 7262: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

7258: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7259:
7260: oe_debug_pub.add('get_resv_qty:'||'sec_rsv_qty=>' || cur_var.secondary_reservation_quantity, 5);
7261: l_message := 'sec_rsv_qty=>' || cur_var.secondary_reservation_quantity;
7262: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7263:
7264: END IF;
7265:
7266: END LOOP;

Line 7271: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

7267:
7268: IF PG_DEBUG = 5 THEN
7269: oe_debug_pub.add('get_resv_qty:'||'printing rsv source type and qty in loop', 5);
7270: l_message := 'printing rsv source type and qty in loop';
7271: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7272:
7273: oe_debug_pub.add('get_resv_qty:'||'RSV_SRC_TYP '||' Prim Quantity '
7274: ||' Sec qunatity ', 5);
7275:

Line 7291: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

7287: l_message := x_rsv_rec(k).supply_source_type_id
7288: ||' => ' ||x_rsv_rec(k).primary_reservation_quantity
7289: ||' => ' ||x_rsv_rec(k).secondary_reservation_quantity;
7290:
7291: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7292:
7293: k := x_rsv_rec.next(k);
7294: END LOOP;
7295: END IF;