DBA Data[Home] [Help]

APPS.CTO_UTILITY_PK dependencies on CTO_WIP_WORKFLOW_API_PK

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

3907:
3908: allowed_unreservation_qty := nvl(l_reservation_qty,0) - nvl(l_shipped_qty,0);
3909:
3910: If PG_DEBUG <> 0 Then
3911: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_shipped_qty = '||l_shipped_qty);
3912: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_reservation_qty = '||l_reservation_qty);
3913: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'allowed_unreservation_qty = '||allowed_unreservation_qty);
3914: End if;
3915:

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

3908: allowed_unreservation_qty := nvl(l_reservation_qty,0) - nvl(l_shipped_qty,0);
3909:
3910: If PG_DEBUG <> 0 Then
3911: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_shipped_qty = '||l_shipped_qty);
3912: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_reservation_qty = '||l_reservation_qty);
3913: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'allowed_unreservation_qty = '||allowed_unreservation_qty);
3914: End if;
3915:
3916: IF PG_DEBUG <> 0 THEN

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

3909:
3910: If PG_DEBUG <> 0 Then
3911: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_shipped_qty = '||l_shipped_qty);
3912: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'l_reservation_qty = '||l_reservation_qty);
3913: CTO_WIP_WORKFLOW_API_PK.cto_debug('check_rsv_qty', 'allowed_unreservation_qty = '||allowed_unreservation_qty);
3914: End if;
3915:
3916: IF PG_DEBUG <> 0 THEN
3917: oe_debug_pub.add('check_rsv_quantity: ' || 'check_rsv_qty: l_shipped_qty = '||l_shipped_qty ||

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

4832:
4833: BEGIN
4834:
4835: If PG_DEBUG <> 0 Then
4836: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'entering');
4837: End if;
4838:
4839: select bom_explosion_temp_s.nextval
4840: into xGrpId

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

4840: into xGrpId
4841: from dual;
4842:
4843: If PG_DEBUG <> 0 Then
4844: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'xGrpId::'||to_char(xGrpId));
4845: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'ItemId::'||to_char(p_item_id));
4846: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'OrgId::'||to_char(p_org_id));
4847: End if;
4848:

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

4841: from dual;
4842:
4843: If PG_DEBUG <> 0 Then
4844: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'xGrpId::'||to_char(xGrpId));
4845: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'ItemId::'||to_char(p_item_id));
4846: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'OrgId::'||to_char(p_org_id));
4847: End if;
4848:
4849: -- insert top level config BOM

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

4842:
4843: If PG_DEBUG <> 0 Then
4844: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'xGrpId::'||to_char(xGrpId));
4845: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'ItemId::'||to_char(p_item_id));
4846: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'OrgId::'||to_char(p_org_id));
4847: End if;
4848:
4849: -- insert top level config BOM
4850:

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

4881: and bbom.common_bill_sequence_id = bic.bill_sequence_id
4882: and nvl(bic.optional_on_model,1) = 1;
4883:
4884: If PG_DEBUG <> 0 Then
4885: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'rowcount::'||sql%rowcount);
4886: End if;
4887:
4888:
4889: rowcount := 1 ;

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

4939: oe_debug_pub.add ('Row Count : ' || rowcount, 2);
4940: END IF;
4941:
4942: If PG_DEBUG <> 0 Then
4943: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Row Count:'||rowcount);
4944: End if;
4945:
4946: END LOOP;
4947:

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

4960: oe_debug_pub.add ('Deleted Row Count : ' || rowcount, 2);
4961: END IF;
4962:
4963: If PG_DEBUG <> 0 Then
4964: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Deleted Row Count:'||rowcount);
4965: End if;
4966:
4967: return xGrpId;
4968:

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

4968:
4969: EXCEPTION
4970: WHEN OTHERS THEN
4971: If PG_DEBUG <> 0 Then
4972: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Others exception:'||sqlerrm);
4973: End if;
4974: return xGrpId;
4975: END;
4976:

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

4984:
4985: p_concat_value := concat(p_value1, '-');
4986: p_concat_value := concat(p_concat_value, to_char(p_value2));
4987: IF PG_DEBUG <> 0 Then
4988: cto_wip_workflow_api_pk.cto_debug('create_isp_bom', 'Concat segment:'||p_concat_value);
4989: End if;
4990:
4991: RETURN p_concat_value;
4992:

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

7287:
7288: IF PG_DEBUG <> 0 THEN
7289: oe_debug_pub.add('get_resv_qty: ' || 'Entered get_resv_qty', 1);
7290: l_message := 'Entered get_rsv_qty_code';
7291: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7292: oe_debug_pub.add('get_resv_qty: ' || 'Before cursor c_resv', 5);
7293: l_message := 'Before cursor c_resv';
7294: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7295:

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

7290: l_message := 'Entered get_rsv_qty_code';
7291: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7292: oe_debug_pub.add('get_resv_qty: ' || 'Before cursor c_resv', 5);
7293: l_message := 'Before cursor c_resv';
7294: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7295:
7296: --Bugfix 13554996: New messages
7297: oe_debug_pub.add('get_resv_qty: x_primary_uom_code::' || x_primary_uom_code, 1);
7298: oe_debug_pub.add('get_resv_qty: l_order_uom_code::' || l_order_uom_code, 1);

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

7307: LOOP
7308: IF PG_DEBUG <> 0 THEN
7309: oe_debug_pub.add('get_resv_qty:'||'source_id=>' || cur_var.supply_source_type_id, 5);
7310: l_message := 'source_id=>'|| cur_var.supply_source_type_id;
7311: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7312:
7313: oe_debug_pub.add('get_resv_qty:'||'prim_rsv_qty=>' || cur_var.primary_reservation_quantity, 5);
7314: l_message := 'rsv_qty=>' || cur_var.primary_reservation_quantity;
7315: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

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

7311: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7312:
7313: oe_debug_pub.add('get_resv_qty:'||'prim_rsv_qty=>' || cur_var.primary_reservation_quantity, 5);
7314: l_message := 'rsv_qty=>' || cur_var.primary_reservation_quantity;
7315: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7316:
7317: oe_debug_pub.add('get_resv_qty:'||'sec_rsv_qty=>' || cur_var.secondary_reservation_quantity, 5);
7318: l_message := 'sec_rsv_qty=>' || cur_var.secondary_reservation_quantity;
7319: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

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

7315: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7316:
7317: oe_debug_pub.add('get_resv_qty:'||'sec_rsv_qty=>' || cur_var.secondary_reservation_quantity, 5);
7318: l_message := 'sec_rsv_qty=>' || cur_var.secondary_reservation_quantity;
7319: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7320:
7321: --Bugfix 13554996: New debug messages.
7322: oe_debug_pub.add('get_resv_qty:'||'lot_num=>' || cur_var.lot_number, 5);
7323: l_message := 'lot_num=>' || cur_var.lot_number;

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

7320:
7321: --Bugfix 13554996: New debug messages.
7322: oe_debug_pub.add('get_resv_qty:'||'lot_num=>' || cur_var.lot_number, 5);
7323: l_message := 'lot_num=>' || cur_var.lot_number;
7324: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7325:
7326: oe_debug_pub.add('get_resv_qty:'||'organization_id=>' || cur_var.organization_id, 5);
7327: l_message := 'organization_id=>' || cur_var.organization_id;
7328: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);

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

7324: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7325:
7326: oe_debug_pub.add('get_resv_qty:'||'organization_id=>' || cur_var.organization_id, 5);
7327: l_message := 'organization_id=>' || cur_var.organization_id;
7328: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7329:
7330: END IF;
7331:
7332: l_index := cur_var.supply_source_type_id;

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

7352:
7353: IF PG_DEBUG <> 0 THEN
7354: oe_debug_pub.add('get_resv_qty:'||'Level1 conversion:: l_conv_qty_lot_level=>' || l_conv_qty_lot_level, 5);
7355: l_message := 'Level1 conversion:: l_conv_qty_lot_level=>'|| l_conv_qty_lot_level;
7356: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7357: END IF;
7358:
7359: --Level2 conversion: Order UOM to Primary UOM using item level conversion.
7360: lStmtNum := 16;

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

7368:
7369: IF PG_DEBUG <> 0 THEN
7370: oe_debug_pub.add('get_resv_qty:'||'Level2 conversion:: l_conv_qty_item_level=>' || l_conv_qty_item_level, 5);
7371: l_message := 'Level2 conversion:: l_conv_qty_item_level=>'|| l_conv_qty_item_level;
7372: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7373: END IF;
7374: end if; --cur_var.lot_number is null
7375:
7376: if x_rsv_rec.exists(l_index) then

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

7390:
7391: IF PG_DEBUG = 5 THEN
7392: oe_debug_pub.add('get_resv_qty:'||'printing rsv source type and qty in loop', 5);
7393: l_message := 'printing rsv source type and qty in loop';
7394: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7395:
7396: oe_debug_pub.add('get_resv_qty:'||'RSV_SRC_TYP '||' Prim Quantity '
7397: ||' Sec qunatity ', 5);
7398:

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

7407: l_message := x_rsv_rec(k).supply_source_type_id
7408: ||' => ' ||x_rsv_rec(k).primary_reservation_quantity
7409: ||' => ' ||x_rsv_rec(k).secondary_reservation_quantity;
7410:
7411: cto_wip_workflow_api_pk.cto_debug('get_resv_qty:', l_message);
7412:
7413: k := x_rsv_rec.next(k);
7414: END LOOP;
7415: END IF;