DBA Data[Home] [Help]

APPS.PV_DIRECT_ASSIGN_WRAPPER_PUB dependencies on FND_MSG_PUB

Line 83: fnd_msg_pub.initialize;

79:
80: -- Initialize message list if p_init_msg_list is set to TRUE.
81: IF FND_API.to_Boolean( p_init_msg_list )
82: THEN
83: fnd_msg_pub.initialize;
84: END IF;
85:
86: l_partner_id_tbl := JTF_NUMBER_TABLE();
87: l_rank_tbl := JTF_NUMBER_TABLE();

Line 93: fnd_msg_pub.ADD;

89: x_return_status := FND_API.G_RET_STS_SUCCESS ;
90:
91: IF ( p_lead_id is NULL ) THEN
92: fnd_message.SET_NAME('PV', 'PV_NULL_LEAD_ID');
93: fnd_msg_pub.ADD;
94: raise FND_API.G_EXC_ERROR;
95: END IF;
96:
97: IF ( p_creating_username is NULL ) THEN

Line 99: fnd_msg_pub.ADD;

95: END IF;
96:
97: IF ( p_creating_username is NULL ) THEN
98: fnd_message.SET_NAME('PV', 'PV_NULL_CREATE_USER');
99: fnd_msg_pub.ADD;
100: raise FND_API.G_EXC_ERROR;
101: END IF;
102:
103: IF ( p_bypass_cm_ok_flag is NULL ) THEN

Line 105: fnd_msg_pub.ADD;

101: END IF;
102:
103: IF ( p_bypass_cm_ok_flag is NULL ) THEN
104: fnd_message.SET_NAME('PV', 'PV_NULL_CMBYPASS_FLAG');
105: fnd_msg_pub.ADD;
106: RAISE FND_API.G_EXC_ERROR;
107: END IF;
108:
109: --IF (p_entity is NULL) or p_entity not in ('LEAD', 'OPPORTUNITY') THEN

Line 112: fnd_msg_pub.ADD;

108:
109: --IF (p_entity is NULL) or p_entity not in ('LEAD', 'OPPORTUNITY') THEN
110: IF (p_entity is NULL) or p_entity <> 'OPPORTUNITY' THEN
111: fnd_message.SET_NAME('PV', 'PV_INVALID_ENTITY');
112: fnd_msg_pub.ADD;
113: RAISE FND_API.G_EXC_ERROR;
114: END IF;
115:
116: l_assigned_partners := 'select asla.INCUMBENT_PARTNER_PARTY_ID ' ||

Line 173: fnd_msg_pub.ADD;

169: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
170: END IF;
171: ELSE
172: fnd_message.SET_NAME('PV', 'PV_NO_PRTNR_TO_ROUTE');
173: fnd_msg_pub.ADD;
174: raise FND_API.G_EXC_ERROR;
175: END IF;
176:
177: IF FND_API.To_Boolean ( p_commit ) THEN

Line 182: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,

178: COMMIT WORK;
179: END IF;
180:
181: -- Standard call to get message count and if count is 1, get message info.
182: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,
183: p_count => x_msg_count,
184: p_data => x_msg_data);
185:
186: EXCEPTION

Line 193: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,

189:
190: ROLLBACK TO Create_Assignment_Wrapper;
191: x_return_status := FND_API.G_RET_STS_ERROR ;
192:
193: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,
194: p_count => x_msg_count,
195: p_data => x_msg_data);
196:
197: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 202: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,

198:
199: ROLLBACK TO Create_Assignment_Wrapper;
200: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
201:
202: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,
203: p_count => x_msg_count,
204: p_data => x_msg_data);
205:
206: WHEN OTHERS THEN

Line 211: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);

207:
208: ROLLBACK TO Create_Assignment_Wrapper;
209: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
210:
211: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
212:
213: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,
214: p_count => x_msg_count,
215: p_data => x_msg_data);

Line 213: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,

209: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
210:
211: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
212:
213: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,
214: p_count => x_msg_count,
215: p_data => x_msg_data);
216:
217: