DBA Data[Home] [Help]

APPS.CTO_ATP_INTERFACE_PK dependencies on FND_MSG_PUB

Line 1033: FND_MSG_PUB.Count_And_Get(

1029: x_return_status := FND_API.G_RET_STS_ERROR;
1030:
1031: print_shipset( p_shipset ) ;
1032:
1033: FND_MSG_PUB.Count_And_Get(
1034: p_count => x_msg_count
1035: , p_data => x_msg_data
1036: );
1037:

Line 1043: FND_MSG_PUB.Count_And_Get(

1039: IF PG_DEBUG <> 0 THEN
1040: oe_debug_pub.add('get_atp_bom: ' || 'GET_ATP_BOM_PUB::unexp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
1041: END IF;
1042: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1043: FND_MSG_PUB.Count_And_Get(
1044: p_count => x_msg_count
1045: , p_data => x_msg_data
1046: );
1047:

Line 1053: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

1049: IF PG_DEBUG <> 0 THEN
1050: oe_debug_pub.add('get_atp_bom: ' || 'GET_ATP_BOM_PUB::others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
1051: END IF;
1052: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1053: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1054: FND_MSG_PUB.Add_Exc_Msg(
1055: G_PKG_NAME
1056: , 'GET_ATP_BOM_PUB'
1057: );

Line 1054: FND_MSG_PUB.Add_Exc_Msg(

1050: oe_debug_pub.add('get_atp_bom: ' || 'GET_ATP_BOM_PUB::others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
1051: END IF;
1052: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1053: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1054: FND_MSG_PUB.Add_Exc_Msg(
1055: G_PKG_NAME
1056: , 'GET_ATP_BOM_PUB'
1057: );
1058: END IF;

Line 1059: FND_MSG_PUB.Count_And_Get(

1055: G_PKG_NAME
1056: , 'GET_ATP_BOM_PUB'
1057: );
1058: END IF;
1059: FND_MSG_PUB.Count_And_Get(
1060: p_count => x_msg_count
1061: , p_data => x_msg_data
1062: );
1063:

Line 2057: FND_MSG_PUB.Count_And_Get(

2053: IF PG_DEBUG <> 0 THEN
2054: oe_debug_pub.add('evaluate_shipset: ' || ':exp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2055: END IF;
2056: x_return_status := FND_API.G_RET_STS_ERROR;
2057: FND_MSG_PUB.Count_And_Get(
2058: p_count => x_msg_count
2059: , p_data => x_msg_data
2060: );
2061: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 2066: FND_MSG_PUB.Count_And_Get(

2062: IF PG_DEBUG <> 0 THEN
2063: oe_debug_pub.add('evaluate_shipset: ' || ':unexp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2064: END IF;
2065: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2066: FND_MSG_PUB.Count_And_Get(
2067: p_count => x_msg_count
2068: , p_data => x_msg_data
2069: );
2070: WHEN OTHERS THEN

Line 2075: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

2071: IF PG_DEBUG <> 0 THEN
2072: oe_debug_pub.add('evaluate_shipset: ' || ':others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2073: END IF;
2074: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2075: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2076: FND_MSG_PUB.Add_Exc_Msg(
2077: G_PKG_NAME
2078: , 'EVALUATE_SHIPSET'
2079: );

Line 2076: FND_MSG_PUB.Add_Exc_Msg(

2072: oe_debug_pub.add('evaluate_shipset: ' || ':others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2073: END IF;
2074: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2075: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2076: FND_MSG_PUB.Add_Exc_Msg(
2077: G_PKG_NAME
2078: , 'EVALUATE_SHIPSET'
2079: );
2080: END IF;

Line 2504: FND_MSG_PUB.Count_And_Get(

2500: IF PG_DEBUG <> 0 THEN
2501: oe_debug_pub.add('populate_cz_shipset: ' || 'POPULATE_CZ_SHIPSET::exp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2502: END IF;
2503: x_return_status := FND_API.G_RET_STS_ERROR;
2504: FND_MSG_PUB.Count_And_Get(
2505: p_count => x_msg_count
2506: , p_data => x_msg_data
2507: );
2508: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 2513: FND_MSG_PUB.Count_And_Get(

2509: IF PG_DEBUG <> 0 THEN
2510: oe_debug_pub.add('populate_cz_shipset: ' || 'POPULATE_CZ_SHIPSET::unexp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2511: END IF;
2512: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2513: FND_MSG_PUB.Count_And_Get(
2514: p_count => x_msg_count
2515: , p_data => x_msg_data
2516: );
2517: WHEN OTHERS THEN

Line 2522: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

2518: IF PG_DEBUG <> 0 THEN
2519: oe_debug_pub.add('populate_cz_shipset: ' || 'POPULATE_CZ_SHIPSET::others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2520: END IF;
2521: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2522: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2523: FND_MSG_PUB.Add_Exc_Msg(
2524: G_PKG_NAME
2525: , 'POPULATE_CZ_SHIPSET'
2526: );

Line 2523: FND_MSG_PUB.Add_Exc_Msg(

2519: oe_debug_pub.add('populate_cz_shipset: ' || 'POPULATE_CZ_SHIPSET::others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2520: END IF;
2521: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2522: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2523: FND_MSG_PUB.Add_Exc_Msg(
2524: G_PKG_NAME
2525: , 'POPULATE_CZ_SHIPSET'
2526: );
2527: END IF;

Line 2709: FND_MSG_PUB.Count_And_Get(

2705: IF PG_DEBUG <> 0 THEN
2706: oe_debug_pub.add('populate_om_shipset: ' || 'POPULATE_OM_SHIPSET::exp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2707: END IF;
2708: x_return_status := FND_API.G_RET_STS_ERROR;
2709: FND_MSG_PUB.Count_And_Get(
2710: p_count => x_msg_count
2711: , p_data => x_msg_data
2712: );
2713: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 2718: FND_MSG_PUB.Count_And_Get(

2714: IF PG_DEBUG <> 0 THEN
2715: oe_debug_pub.add('populate_om_shipset: ' || 'POPULATE_OM_SHIPSET::unexp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2716: END IF;
2717: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2718: FND_MSG_PUB.Count_And_Get(
2719: p_count => x_msg_count
2720: , p_data => x_msg_data
2721: );
2722: WHEN OTHERS THEN

Line 2727: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

2723: IF PG_DEBUG <> 0 THEN
2724: oe_debug_pub.add('populate_om_shipset: ' || 'POPULATE_OM_SHIPSET::others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2725: END IF;
2726: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2727: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2728: FND_MSG_PUB.Add_Exc_Msg(
2729: G_PKG_NAME
2730: , 'POPULATE_OM_SHIPSET'
2731: );

Line 2728: FND_MSG_PUB.Add_Exc_Msg(

2724: oe_debug_pub.add('populate_om_shipset: ' || 'POPULATE_OM_SHIPSET::others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2725: END IF;
2726: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2727: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2728: FND_MSG_PUB.Add_Exc_Msg(
2729: G_PKG_NAME
2730: , 'POPULATE_OM_SHIPSET'
2731: );
2732: END IF;

Line 2940: FND_MSG_PUB.Count_And_Get(

2936: IF PG_DEBUG <> 0 THEN
2937: oe_debug_pub.add('process_sourcing_chain: ' || 'PROCESS_SOURCING_CHAIN::exp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2938: END IF;
2939: x_return_status := FND_API.G_RET_STS_ERROR;
2940: FND_MSG_PUB.Count_And_Get(
2941: p_count => x_msg_count
2942: , p_data => x_msg_data
2943: );
2944: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 2949: FND_MSG_PUB.Count_And_Get(

2945: IF PG_DEBUG <> 0 THEN
2946: oe_debug_pub.add('process_sourcing_chain: ' || 'PROCESS_SOURCING_CHAIN::unexp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2947: END IF;
2948: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2949: FND_MSG_PUB.Count_And_Get(
2950: p_count => x_msg_count
2951: , p_data => x_msg_data
2952: );
2953: WHEN OTHERS THEN

Line 2958: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

2954: IF PG_DEBUG <> 0 THEN
2955: oe_debug_pub.add('process_sourcing_chain: ' || 'PROCESS_SOURCING_CHAIN::others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2956: END IF;
2957: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2958: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2959: FND_MSG_PUB.Add_Exc_Msg(
2960: G_PKG_NAME
2961: , 'PROCESS_SOURCING_CHAIN'
2962: );

Line 2959: FND_MSG_PUB.Add_Exc_Msg(

2955: oe_debug_pub.add('process_sourcing_chain: ' || 'PROCESS_SOURCING_CHAIN::others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
2956: END IF;
2957: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2958: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2959: FND_MSG_PUB.Add_Exc_Msg(
2960: G_PKG_NAME
2961: , 'PROCESS_SOURCING_CHAIN'
2962: );
2963: END IF;

Line 3095: FND_MSG_PUB.Count_And_Get(

3091: oe_debug_pub.add('get_model_sourcing_org: ' || 'GET_MODEL_SOURCING_ORG::exp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
3092: END IF;
3093: x_return_status := FND_API.G_RET_STS_ERROR;
3094:
3095: FND_MSG_PUB.Count_And_Get(
3096: p_count => x_msg_count
3097: , p_data => x_msg_data
3098: );
3099:

Line 3106: FND_MSG_PUB.Count_And_Get(

3102: oe_debug_pub.add('get_model_sourcing_org: ' || 'GET_MODEL_SOURCING_ORG::unexp error::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
3103: END IF;
3104: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3105:
3106: FND_MSG_PUB.Count_And_Get(
3107: p_count => x_msg_count
3108: , p_data => x_msg_data
3109: );
3110:

Line 3117: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

3113: oe_debug_pub.add('get_model_sourcing_org: ' || 'GET_MODEL_SOURCING_ORG::others::'||to_char(l_stmt_num)||'::'||sqlerrm,1);
3114: END IF;
3115: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
3116:
3117: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
3118: FND_MSG_PUB.Add_Exc_Msg(
3119: G_PKG_NAME
3120: , 'GET_MODEL_SOURCING_ORG'
3121: );

Line 3118: FND_MSG_PUB.Add_Exc_Msg(

3114: END IF;
3115: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
3116:
3117: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
3118: FND_MSG_PUB.Add_Exc_Msg(
3119: G_PKG_NAME
3120: , 'GET_MODEL_SOURCING_ORG'
3121: );
3122: END IF;

Line 5087: FND_MSG_PUB.Count_And_Get

5083: IF PG_DEBUG <> 0 THEN
5084: oe_debug_pub.add('create_atp_bom: ' || 'Create_Atp_Bom::exp error::'||to_char(lStmtNum)||'::'||sqlerrm,1);
5085: END IF;
5086: x_return_status := FND_API.G_RET_STS_ERROR;
5087: FND_MSG_PUB.Count_And_Get
5088: (p_count => x_msg_count
5089: ,p_data => x_msg_data
5090: );
5091: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 5096: FND_MSG_PUB.Count_And_Get

5092: IF PG_DEBUG <> 0 THEN
5093: oe_debug_pub.add('create_atp_bom: ' || 'Create_Atp_Bom::unexp error::'||to_char(lStmtNum)||'::'||sqlerrm,1);
5094: END IF;
5095: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
5096: FND_MSG_PUB.Count_And_Get
5097: (p_count => x_msg_count
5098: ,p_data => x_msg_data
5099: );
5100: WHEN OTHERS THEN

Line 5105: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5101: IF PG_DEBUG <> 0 THEN
5102: oe_debug_pub.add('create_atp_bom: ' || 'Create_Atp_Bom::others::'||to_char(lStmtNum)||'::'||sqlerrm,1);
5103: END IF;
5104: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
5105: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5106: FND_MSG_PUB.Add_Exc_Msg
5107: (G_PKG_NAME
5108: ,'Create_Atp_Bom'
5109: );

Line 5106: FND_MSG_PUB.Add_Exc_Msg

5102: oe_debug_pub.add('create_atp_bom: ' || 'Create_Atp_Bom::others::'||to_char(lStmtNum)||'::'||sqlerrm,1);
5103: END IF;
5104: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
5105: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5106: FND_MSG_PUB.Add_Exc_Msg
5107: (G_PKG_NAME
5108: ,'Create_Atp_Bom'
5109: );
5110: END IF;

Line 5111: FND_MSG_PUB.Count_And_Get

5107: (G_PKG_NAME
5108: ,'Create_Atp_Bom'
5109: );
5110: END IF;
5111: FND_MSG_PUB.Count_And_Get
5112: (p_count => x_msg_count
5113: ,p_data => x_msg_data
5114: );
5115:

Line 5157: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5153: IF PG_DEBUG <> 0 THEN
5154: oe_debug_pub.add('Extend_Atp_Bom: ' || 'Extend_Atp_Bom::others::'||sqlerrm,1);
5155: END IF;
5156: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
5157: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5158: FND_MSG_PUB.Add_Exc_Msg
5159: (G_PKG_NAME
5160: ,'Extend_Atp_Bom'
5161: );

Line 5158: FND_MSG_PUB.Add_Exc_Msg

5154: oe_debug_pub.add('Extend_Atp_Bom: ' || 'Extend_Atp_Bom::others::'||sqlerrm,1);
5155: END IF;
5156: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
5157: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5158: FND_MSG_PUB.Add_Exc_Msg
5159: (G_PKG_NAME
5160: ,'Extend_Atp_Bom'
5161: );
5162: END IF;

Line 5163: FND_MSG_PUB.Count_And_Get

5159: (G_PKG_NAME
5160: ,'Extend_Atp_Bom'
5161: );
5162: END IF;
5163: FND_MSG_PUB.Count_And_Get
5164: (p_count => x_msg_count
5165: ,p_data => x_msg_data
5166: );
5167: END Extend_Atp_Bom;

Line 5438: FND_MSG_PUB.Count_And_Get

5434: IF PG_DEBUG <> 0 THEN
5435: oe_debug_pub.add('Populate_Mandatory_Components: ' || 'Populate_Mandatory_Components::unexp error::'||to_char(lStmtNum)||'::'||sqlerrm,1);
5436: END IF;
5437: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
5438: FND_MSG_PUB.Count_And_Get
5439: (p_count => x_msg_count
5440: ,p_data => x_msg_data
5441: );
5442: WHEN OTHERS THEN

Line 5447: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5443: IF PG_DEBUG <> 0 THEN
5444: oe_debug_pub.add('Populate_Mandatory_Components: ' || 'Populate_Mandatory_Components::others::'||to_char(lStmtNum)||'::'||sqlerrm,1);
5445: END IF;
5446: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
5447: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5448: FND_MSG_PUB.Add_Exc_Msg
5449: (G_PKG_NAME
5450: ,'Populate_Mandatory_Components'
5451: );

Line 5448: FND_MSG_PUB.Add_Exc_Msg

5444: oe_debug_pub.add('Populate_Mandatory_Components: ' || 'Populate_Mandatory_Components::others::'||to_char(lStmtNum)||'::'||sqlerrm,1);
5445: END IF;
5446: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
5447: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5448: FND_MSG_PUB.Add_Exc_Msg
5449: (G_PKG_NAME
5450: ,'Populate_Mandatory_Components'
5451: );
5452: END IF;

Line 5453: FND_MSG_PUB.Count_And_Get

5449: (G_PKG_NAME
5450: ,'Populate_Mandatory_Components'
5451: );
5452: END IF;
5453: FND_MSG_PUB.Count_And_Get
5454: (p_count => x_msg_count
5455: ,p_data => x_msg_data
5456: );
5457:

Line 6165: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME,'CREATE_CTO_MODEL_DEMAND');

6161: IF PG_DEBUG <> 0 THEN
6162: oe_debug_pub.add('create_cto_model_demand: ' || ' CREATE_CTO_MODEL_DEMAND :: exp error::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6163: END IF;
6164: xreturn_status := FND_API.G_RET_STS_ERROR;
6165: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME,'CREATE_CTO_MODEL_DEMAND');
6166: FND_MSG_PUB.Count_and_get(
6167: p_count => XMsgcount,
6168: p_data => XMsgData);
6169: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 6166: FND_MSG_PUB.Count_and_get(

6162: oe_debug_pub.add('create_cto_model_demand: ' || ' CREATE_CTO_MODEL_DEMAND :: exp error::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6163: END IF;
6164: xreturn_status := FND_API.G_RET_STS_ERROR;
6165: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME,'CREATE_CTO_MODEL_DEMAND');
6166: FND_MSG_PUB.Count_and_get(
6167: p_count => XMsgcount,
6168: p_data => XMsgData);
6169: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
6170: ROLLBACK to create_cto_model_demand_begin;

Line 6175: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

6171: IF PG_DEBUG <> 0 THEN
6172: oe_debug_pub.add('create_cto_model_demand: ' || ' CREATE_CTO_MODEL_DEMAND :: unexp error::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6173: END IF;
6174: xreturn_status := FND_API.G_RET_STS_UNEXP_ERROR;
6175: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6176: FND_MSG_PUB.Add_Exc_Msg(
6177: G_PKG_NAME
6178: , 'CREATE_CTO_MODEL_DEMAND'
6179: );

Line 6176: FND_MSG_PUB.Add_Exc_Msg(

6172: oe_debug_pub.add('create_cto_model_demand: ' || ' CREATE_CTO_MODEL_DEMAND :: unexp error::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6173: END IF;
6174: xreturn_status := FND_API.G_RET_STS_UNEXP_ERROR;
6175: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6176: FND_MSG_PUB.Add_Exc_Msg(
6177: G_PKG_NAME
6178: , 'CREATE_CTO_MODEL_DEMAND'
6179: );
6180: END IF;

Line 6182: FND_MSG_PUB.Count_and_get(

6178: , 'CREATE_CTO_MODEL_DEMAND'
6179: );
6180: END IF;
6181:
6182: FND_MSG_PUB.Count_and_get(
6183: p_count => XMsgCount,
6184: p_data => xMsgData);
6185: WHEN OTHERS THEN
6186: ROLLBACK to create_cto_model_demand_begin;

Line 6191: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

6187: IF PG_DEBUG <> 0 THEN
6188: oe_debug_pub.add('create_cto_model_demand: ' || ' CREATE_CTO_MODEL_DEMAND :: Other error ::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6189: END IF;
6190: xreturn_status := FND_API.G_RET_STS_UNEXP_ERROR;
6191: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6192: FND_MSG_PUB.Add_Exc_Msg(
6193: G_PKG_NAME
6194: , 'CREATE_CTO_MODEL_DEMAND'
6195: );

Line 6192: FND_MSG_PUB.Add_Exc_Msg(

6188: oe_debug_pub.add('create_cto_model_demand: ' || ' CREATE_CTO_MODEL_DEMAND :: Other error ::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6189: END IF;
6190: xreturn_status := FND_API.G_RET_STS_UNEXP_ERROR;
6191: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6192: FND_MSG_PUB.Add_Exc_Msg(
6193: G_PKG_NAME
6194: , 'CREATE_CTO_MODEL_DEMAND'
6195: );
6196: END IF;

Line 6198: FND_MSG_PUB.Count_and_get(

6194: , 'CREATE_CTO_MODEL_DEMAND'
6195: );
6196: END IF;
6197:
6198: FND_MSG_PUB.Count_and_get(
6199: p_count => XMsgCount,
6200: p_data => XMsgData);
6201: END CREATE_CTO_MODEL_DEMAND;
6202:

Line 6783: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME,'CREATE_CTO_MODEL_DEMAND');

6779: IF PG_DEBUG <> 0 THEN
6780: oe_debug_pub.add('create_cto_item_demand: ' || ' CREATE_CTO_ITEM_DEMAND :: exp error::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6781: END IF;
6782: x_return_status := FND_API.G_RET_STS_ERROR;
6783: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME,'CREATE_CTO_MODEL_DEMAND');
6784: FND_MSG_PUB.Count_and_get(
6785: p_count => X_Msg_count,
6786: p_data => X_Msg_Data);
6787:

Line 6784: FND_MSG_PUB.Count_and_get(

6780: oe_debug_pub.add('create_cto_item_demand: ' || ' CREATE_CTO_ITEM_DEMAND :: exp error::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6781: END IF;
6782: x_return_status := FND_API.G_RET_STS_ERROR;
6783: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME,'CREATE_CTO_MODEL_DEMAND');
6784: FND_MSG_PUB.Count_and_get(
6785: p_count => X_Msg_count,
6786: p_data => X_Msg_Data);
6787:
6788: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 6794: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

6790: IF PG_DEBUG <> 0 THEN
6791: oe_debug_pub.add('create_cto_item_demand: ' || ' CREATE_CTO_ITEM_DEMAND :: unexp error::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6792: END IF;
6793: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
6794: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6795: FND_MSG_PUB.Add_Exc_Msg(
6796: G_PKG_NAME
6797: , 'CREATE_CTO_MODEL_DEMAND'
6798: );

Line 6795: FND_MSG_PUB.Add_Exc_Msg(

6791: oe_debug_pub.add('create_cto_item_demand: ' || ' CREATE_CTO_ITEM_DEMAND :: unexp error::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6792: END IF;
6793: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
6794: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6795: FND_MSG_PUB.Add_Exc_Msg(
6796: G_PKG_NAME
6797: , 'CREATE_CTO_MODEL_DEMAND'
6798: );
6799: END IF;

Line 6801: FND_MSG_PUB.Count_and_get(

6797: , 'CREATE_CTO_MODEL_DEMAND'
6798: );
6799: END IF;
6800:
6801: FND_MSG_PUB.Count_and_get(
6802: p_count => X_Msg_Count,
6803: p_data => x_Msg_Data);
6804:
6805: WHEN OTHERS THEN

Line 6811: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

6807: IF PG_DEBUG <> 0 THEN
6808: oe_debug_pub.add('create_cto_item_demand: ' || ' CREATE_CTO_ITEM_DEMAND :: Other error ::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6809: END IF;
6810: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
6811: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6812: FND_MSG_PUB.Add_Exc_Msg(
6813: G_PKG_NAME
6814: , 'CREATE_CTO_MODEL_DEMAND'
6815: );

Line 6812: FND_MSG_PUB.Add_Exc_Msg(

6808: oe_debug_pub.add('create_cto_item_demand: ' || ' CREATE_CTO_ITEM_DEMAND :: Other error ::'|| to_char(lStmtNum)||'::'||sqlerrm,1);
6809: END IF;
6810: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
6811: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6812: FND_MSG_PUB.Add_Exc_Msg(
6813: G_PKG_NAME
6814: , 'CREATE_CTO_MODEL_DEMAND'
6815: );
6816: END IF;

Line 6818: FND_MSG_PUB.Count_and_get(

6814: , 'CREATE_CTO_MODEL_DEMAND'
6815: );
6816: END IF;
6817:
6818: FND_MSG_PUB.Count_and_get(
6819: p_count => X_Msg_Count,
6820: p_data => X_Msg_Data);
6821: END CREATE_CTO_ITEM_DEMAND;
6822: