DBA Data[Home] [Help]

APPS.OE_CNCL_VALIDATE dependencies on OE_MSG_PUB

Line 34: OE_MSG_PUB.Add;

30: -- dictionary stack. Then, add it to the API message list.
31:
32: FND_MESSAGE.Set_Encoded(FND_FLEX_DESCVAL.Encoded_Error_Message);
33:
34: OE_MSG_PUB.Add;
35:
36: -- Derive return status.
37:
38: IF FND_FLEX_DESCVAL.value_error OR

Line 87: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

83:
84: WHEN NO_DATA_FOUND THEN
85:
86:
87: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
88: THEN
89:
90: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'HEADER_ID');
91:

Line 90: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'HEADER_ID');

86:
87: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
88: THEN
89:
90: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'HEADER_ID');
91:
92: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
93: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
94: OE_Order_Util.Get_Attribute_Name('HEADER_ID'));

Line 95: OE_MSG_PUB.Add;

91:
92: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
93: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
94: OE_Order_Util.Get_Attribute_Name('HEADER_ID'));
95: OE_MSG_PUB.Add;
96: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
97:
98: END IF;
99:

Line 96: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

92: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
93: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
94: OE_Order_Util.Get_Attribute_Name('HEADER_ID'));
95: OE_MSG_PUB.Add;
96: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
97:
98: END IF;
99:
100:

Line 105: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

101: RETURN FALSE;
102:
103: WHEN OTHERS THEN
104:
105: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
106: THEN
107: OE_MSG_PUB.Add_Exc_Msg
108: ( G_PKG_NAME
109: , 'Header'

Line 107: OE_MSG_PUB.Add_Exc_Msg

103: WHEN OTHERS THEN
104:
105: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
106: THEN
107: OE_MSG_PUB.Add_Exc_Msg
108: ( G_PKG_NAME
109: , 'Header'
110: );
111: END IF;

Line 141: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

137: EXCEPTION
138:
139: WHEN NO_DATA_FOUND THEN
140:
141: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
142: THEN
143:
144: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORG_ID');
145:

Line 144: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORG_ID');

140:
141: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
142: THEN
143:
144: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORG_ID');
145:
146: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
147: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
148: OE_Order_Util.Get_Attribute_Name('ORG_ID'));

Line 149: OE_MSG_PUB.Add;

145:
146: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
147: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
148: OE_Order_Util.Get_Attribute_Name('ORG_ID'));
149: OE_MSG_PUB.Add;
150:
151: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
152:
153: END IF;

Line 151: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

147: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
148: OE_Order_Util.Get_Attribute_Name('ORG_ID'));
149: OE_MSG_PUB.Add;
150:
151: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
152:
153: END IF;
154:
155: RETURN FALSE;

Line 159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

155: RETURN FALSE;
156:
157: WHEN OTHERS THEN
158:
159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
160: THEN
161: OE_MSG_PUB.Add_Exc_Msg
162: ( G_PKG_NAME
163: , 'Org'

Line 161: OE_MSG_PUB.Add_Exc_Msg

157: WHEN OTHERS THEN
158:
159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
160: THEN
161: OE_MSG_PUB.Add_Exc_Msg
162: ( G_PKG_NAME
163: , 'Org'
164: );
165: END IF;

Line 212: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

208: EXCEPTION
209:
210: WHEN NO_DATA_FOUND THEN
211:
212: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
213: THEN
214:
215: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_TYPE_ID');
216:

Line 215: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_TYPE_ID');

211:
212: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
213: THEN
214:
215: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_TYPE_ID');
216:
217: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
218: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
219: OE_Order_Util.Get_Attribute_Name('ORDER_TYPE_ID'));

Line 220: OE_MSG_PUB.Add;

216:
217: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
218: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
219: OE_Order_Util.Get_Attribute_Name('ORDER_TYPE_ID'));
220: OE_MSG_PUB.Add;
221:
222: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
223:
224:

Line 222: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

218: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
219: OE_Order_Util.Get_Attribute_Name('ORDER_TYPE_ID'));
220: OE_MSG_PUB.Add;
221:
222: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
223:
224:
225: END IF;
226:

Line 231: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

227: RETURN FALSE;
228:
229: WHEN OTHERS THEN
230:
231: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
232: THEN
233: OE_MSG_PUB.Add_Exc_Msg
234: ( G_PKG_NAME
235: , 'Order_Type'

Line 233: OE_MSG_PUB.Add_Exc_Msg

229: WHEN OTHERS THEN
230:
231: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
232: THEN
233: OE_MSG_PUB.Add_Exc_Msg
234: ( G_PKG_NAME
235: , 'Order_Type'
236: );
237: END IF;

Line 272: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

268: EXCEPTION
269:
270: WHEN NO_DATA_FOUND THEN
271:
272: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
273: THEN
274:
275: OE_DEBUG_PUB.ADD('Validation failed for IB_OWNER in OEXSVATB.pls');
276: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_OWNER');

Line 276: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_OWNER');

272: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
273: THEN
274:
275: OE_DEBUG_PUB.ADD('Validation failed for IB_OWNER in OEXSVATB.pls');
276: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_OWNER');
277:
278: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
279: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
280: OE_Order_Util.Get_Attribute_Name('ib_owner'));

Line 281: OE_MSG_PUB.Add;

277:
278: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
279: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
280: OE_Order_Util.Get_Attribute_Name('ib_owner'));
281: OE_MSG_PUB.Add;
282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
283:
284: END IF;
285:

Line 282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

278: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
279: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
280: OE_Order_Util.Get_Attribute_Name('ib_owner'));
281: OE_MSG_PUB.Add;
282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
283:
284: END IF;
285:
286:

Line 291: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

287: RETURN FALSE;
288:
289: WHEN OTHERS THEN
290:
291: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
292: THEN
293: OE_MSG_PUB.Add_Exc_Msg
294: ( G_PKG_NAME
295: , 'IB_OWNER'

Line 293: OE_MSG_PUB.Add_Exc_Msg

289: WHEN OTHERS THEN
290:
291: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
292: THEN
293: OE_MSG_PUB.Add_Exc_Msg
294: ( G_PKG_NAME
295: , 'IB_OWNER'
296: );
297: END IF;

Line 333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

329: EXCEPTION
330:
331: WHEN NO_DATA_FOUND THEN
332:
333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
334: THEN
335:
336: OE_DEBUG_PUB.ADD('Validation failed for IB_INSTALLED_AT_LOCATION in OEXSVATB.pls');
337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_INSTALLED_AT_LOCATION');

Line 337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_INSTALLED_AT_LOCATION');

333: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
334: THEN
335:
336: OE_DEBUG_PUB.ADD('Validation failed for IB_INSTALLED_AT_LOCATION in OEXSVATB.pls');
337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_INSTALLED_AT_LOCATION');
338:
339: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
340: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
341: OE_Order_Util.Get_Attribute_Name('ib_installed_at_location'));

Line 342: OE_MSG_PUB.Add;

338:
339: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
340: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
341: OE_Order_Util.Get_Attribute_Name('ib_installed_at_location'));
342: OE_MSG_PUB.Add;
343: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
344:
345: END IF;
346:

Line 343: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

339: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
340: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
341: OE_Order_Util.Get_Attribute_Name('ib_installed_at_location'));
342: OE_MSG_PUB.Add;
343: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
344:
345: END IF;
346:
347:

Line 352: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

348: RETURN FALSE;
349:
350: WHEN OTHERS THEN
351:
352: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
353: THEN
354: OE_MSG_PUB.Add_Exc_Msg
355: ( G_PKG_NAME
356: , 'IB_INSTALLED_AT_LOCATION'

Line 354: OE_MSG_PUB.Add_Exc_Msg

350: WHEN OTHERS THEN
351:
352: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
353: THEN
354: OE_MSG_PUB.Add_Exc_Msg
355: ( G_PKG_NAME
356: , 'IB_INSTALLED_AT_LOCATION'
357: );
358: END IF;

Line 394: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

390: EXCEPTION
391:
392: WHEN NO_DATA_FOUND THEN
393:
394: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
395: THEN
396:
397: OE_DEBUG_PUB.ADD('Validation failed for IB_CURRENT_LOCATION in OEXSVATB.pls');
398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_CURRENT_LOCATION');

Line 398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_CURRENT_LOCATION');

394: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
395: THEN
396:
397: OE_DEBUG_PUB.ADD('Validation failed for IB_CURRENT_LOCATION in OEXSVATB.pls');
398: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'IB_CURRENT_LOCATION');
399:
400: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
401: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
402: OE_Order_Util.Get_Attribute_Name('ib_current_location'));

Line 403: OE_MSG_PUB.Add;

399:
400: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
401: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
402: OE_Order_Util.Get_Attribute_Name('ib_current_location'));
403: OE_MSG_PUB.Add;
404: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
405:
406: END IF;
407:

Line 404: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

400: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
401: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
402: OE_Order_Util.Get_Attribute_Name('ib_current_location'));
403: OE_MSG_PUB.Add;
404: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
405:
406: END IF;
407:
408:

Line 413: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

409: RETURN FALSE;
410:
411: WHEN OTHERS THEN
412:
413: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
414: THEN
415: OE_MSG_PUB.Add_Exc_Msg
416: ( G_PKG_NAME
417: , 'IB_CURRENT_LOCATION'

Line 415: OE_MSG_PUB.Add_Exc_Msg

411: WHEN OTHERS THEN
412:
413: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
414: THEN
415: OE_MSG_PUB.Add_Exc_Msg
416: ( G_PKG_NAME
417: , 'IB_CURRENT_LOCATION'
418: );
419: END IF;

Line 454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

450: EXCEPTION
451:
452: WHEN NO_DATA_FOUND THEN
453:
454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
455: THEN
456:
457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_ID');
458:

Line 457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_ID');

453:
454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
455: THEN
456:
457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_ID');
458:
459: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
460: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
461: OE_Order_Util.Get_Attribute_Name('END_CUSTOMER_ID')||':validation:'||to_char(p_end_customer_id));

Line 462: OE_MSG_PUB.Add;

458:
459: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
460: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
461: OE_Order_Util.Get_Attribute_Name('END_CUSTOMER_ID')||':validation:'||to_char(p_end_customer_id));
462: OE_MSG_PUB.Add;
463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
464:
465: END IF;
466:

Line 463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

459: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
460: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
461: OE_Order_Util.Get_Attribute_Name('END_CUSTOMER_ID')||':validation:'||to_char(p_end_customer_id));
462: OE_MSG_PUB.Add;
463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
464:
465: END IF;
466:
467:

Line 472: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

468: RETURN FALSE;
469:
470: WHEN OTHERS THEN
471:
472: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
473: THEN
474: OE_MSG_PUB.Add_Exc_Msg
475: ( G_PKG_NAME
476: , 'END_CUSOTMER'

Line 474: OE_MSG_PUB.Add_Exc_Msg

470: WHEN OTHERS THEN
471:
472: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
473: THEN
474: OE_MSG_PUB.Add_Exc_Msg
475: ( G_PKG_NAME
476: , 'END_CUSOTMER'
477: );
478: END IF;

Line 511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

507: EXCEPTION
508:
509: WHEN NO_DATA_FOUND THEN
510:
511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
512: THEN
513:
514: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_CONTACT_ID');
515:

Line 514: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_CONTACT_ID');

510:
511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
512: THEN
513:
514: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_CONTACT_ID');
515:
516: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
517: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
518: OE_Order_Util.Get_Attribute_Name('end_customer_contact_id'));

Line 519: OE_MSG_PUB.Add;

515:
516: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
517: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
518: OE_Order_Util.Get_Attribute_Name('end_customer_contact_id'));
519: OE_MSG_PUB.Add;
520: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
521:
522: END IF;
523:

Line 520: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

516: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
517: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
518: OE_Order_Util.Get_Attribute_Name('end_customer_contact_id'));
519: OE_MSG_PUB.Add;
520: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
521:
522: END IF;
523:
524:

Line 529: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

525: RETURN FALSE;
526:
527: WHEN OTHERS THEN
528:
529: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
530: THEN
531: OE_MSG_PUB.Add_Exc_Msg
532: ( G_PKG_NAME
533: , 'End_Customer_Contact'

Line 531: OE_MSG_PUB.Add_Exc_Msg

527: WHEN OTHERS THEN
528:
529: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
530: THEN
531: OE_MSG_PUB.Add_Exc_Msg
532: ( G_PKG_NAME
533: , 'End_Customer_Contact'
534: );
535: END IF;

Line 568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

564: EXCEPTION
565:
566: WHEN NO_DATA_FOUND THEN
567:
568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
569: THEN
570:
571: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_SITE_USE_ID');
572:

Line 571: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_SITE_USE_ID');

567:
568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
569: THEN
570:
571: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_CUSTOMER_SITE_USE_ID');
572:
573: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
574: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
575: OE_Order_Util.Get_Attribute_Name('end_customer_site_use_id'));

Line 576: OE_MSG_PUB.Add;

572:
573: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
574: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
575: OE_Order_Util.Get_Attribute_Name('end_customer_site_use_id'));
576: OE_MSG_PUB.Add;
577: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
578:
579: END IF;
580:

Line 577: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

573: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
574: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
575: OE_Order_Util.Get_Attribute_Name('end_customer_site_use_id'));
576: OE_MSG_PUB.Add;
577: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
578:
579: END IF;
580:
581:

Line 586: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

582: RETURN FALSE;
583:
584: WHEN OTHERS THEN
585:
586: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
587: THEN
588: OE_MSG_PUB.Add_Exc_Msg
589: ( G_PKG_NAME
590: , 'END_CUSTOMER_SITE_USE_ID'

Line 588: OE_MSG_PUB.Add_Exc_Msg

584: WHEN OTHERS THEN
585:
586: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
587: THEN
588: OE_MSG_PUB.Add_Exc_Msg
589: ( G_PKG_NAME
590: , 'END_CUSTOMER_SITE_USE_ID'
591: );
592: END IF;

Line 632: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

628: EXCEPTION
629:
630: WHEN NO_DATA_FOUND THEN
631:
632: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
633: THEN
634:
635: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER');
636:

Line 635: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER');

631:
632: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
633: THEN
634:
635: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER');
636:
637: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
638: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
639: OE_Order_Util.Get_Attribute_Name('ORDER_NUMBER'));

Line 641: OE_MSG_PUB.Add;

637: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
638: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
639: OE_Order_Util.Get_Attribute_Name('ORDER_NUMBER'));
640:
641: OE_MSG_PUB.Add;
642: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
643:
644: END IF;
645:

Line 642: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

638: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
639: OE_Order_Util.Get_Attribute_Name('ORDER_NUMBER'));
640:
641: OE_MSG_PUB.Add;
642: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
643:
644: END IF;
645:
646:

Line 651: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

647: RETURN FALSE;
648:
649: WHEN OTHERS THEN
650:
651: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
652: THEN
653: OE_MSG_PUB.Add_Exc_Msg
654: ( G_PKG_NAME
655: , 'Order_Number'

Line 653: OE_MSG_PUB.Add_Exc_Msg

649: WHEN OTHERS THEN
650:
651: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
652: THEN
653: OE_MSG_PUB.Add_Exc_Msg
654: ( G_PKG_NAME
655: , 'Order_Number'
656: );
657: END IF;

Line 688: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

684: EXCEPTION
685:
686: WHEN NO_DATA_FOUND THEN
687:
688: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
689: THEN
690:
691: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VERSION_NUMBER');
692:

Line 691: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VERSION_NUMBER');

687:
688: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
689: THEN
690:
691: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VERSION_NUMBER');
692:
693: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
694: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
695: OE_Order_Util.Get_Attribute_Name('VERSION_NUMBER'));

Line 696: OE_MSG_PUB.Add;

692:
693: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
694: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
695: OE_Order_Util.Get_Attribute_Name('VERSION_NUMBER'));
696: OE_MSG_PUB.Add;
697: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
698:
699: END IF;
700:

Line 697: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

693: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
694: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
695: OE_Order_Util.Get_Attribute_Name('VERSION_NUMBER'));
696: OE_MSG_PUB.Add;
697: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
698:
699: END IF;
700:
701:

Line 706: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

702: RETURN FALSE;
703:
704: WHEN OTHERS THEN
705:
706: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
707: THEN
708: OE_MSG_PUB.Add_Exc_Msg
709: ( G_PKG_NAME
710: , 'Version_Number'

Line 708: OE_MSG_PUB.Add_Exc_Msg

704: WHEN OTHERS THEN
705:
706: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
707: THEN
708: OE_MSG_PUB.Add_Exc_Msg
709: ( G_PKG_NAME
710: , 'Version_Number'
711: );
712: END IF;

Line 743: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

739: EXCEPTION
740:
741: WHEN NO_DATA_FOUND THEN
742:
743: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
744: THEN
745:
746: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPIRATION_DATE');
747:

Line 746: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPIRATION_DATE');

742:
743: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
744: THEN
745:
746: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPIRATION_DATE');
747:
748: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
749: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
750: OE_Order_Util.Get_Attribute_Name('EXPIRATION_DATE'));

Line 751: OE_MSG_PUB.Add;

747:
748: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
749: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
750: OE_Order_Util.Get_Attribute_Name('EXPIRATION_DATE'));
751: OE_MSG_PUB.Add;
752: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
753:
754: END IF;
755:

Line 752: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

748: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
749: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
750: OE_Order_Util.Get_Attribute_Name('EXPIRATION_DATE'));
751: OE_MSG_PUB.Add;
752: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
753:
754: END IF;
755:
756:

Line 761: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

757: RETURN FALSE;
758:
759: WHEN OTHERS THEN
760:
761: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
762: THEN
763: OE_MSG_PUB.Add_Exc_Msg
764: ( G_PKG_NAME
765: , 'Expiration_Date'

Line 763: OE_MSG_PUB.Add_Exc_Msg

759: WHEN OTHERS THEN
760:
761: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
762: THEN
763: OE_MSG_PUB.Add_Exc_Msg
764: ( G_PKG_NAME
765: , 'Expiration_Date'
766: );
767: END IF;

Line 805: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

801: EXCEPTION
802:
803: WHEN NO_DATA_FOUND THEN
804:
805: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
806: THEN
807:
808: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_SOURCE_ID');
809:

Line 808: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_SOURCE_ID');

804:
805: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
806: THEN
807:
808: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_SOURCE_ID');
809:
810: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
811: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
812: OE_Order_Util.Get_Attribute_Name('order_source'));

Line 813: OE_MSG_PUB.Add;

809:
810: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
811: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
812: OE_Order_Util.Get_Attribute_Name('order_source'));
813: OE_MSG_PUB.Add;
814: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
815:
816: END IF;
817:

Line 814: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

810: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
811: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
812: OE_Order_Util.Get_Attribute_Name('order_source'));
813: OE_MSG_PUB.Add;
814: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
815:
816: END IF;
817:
818:

Line 823: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

819: RETURN FALSE;
820:
821: WHEN OTHERS THEN
822:
823: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
824: THEN
825: OE_MSG_PUB.Add_Exc_Msg
826: ( G_PKG_NAME
827: , 'Order_Source'

Line 825: OE_MSG_PUB.Add_Exc_Msg

821: WHEN OTHERS THEN
822:
823: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
824: THEN
825: OE_MSG_PUB.Add_Exc_Msg
826: ( G_PKG_NAME
827: , 'Order_Source'
828: );
829: END IF;

Line 866: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

862: EXCEPTION
863:
864: WHEN NO_DATA_FOUND THEN
865:
866: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
867: THEN
868: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_TYPE_ID');
869:
870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 868: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_TYPE_ID');

864: WHEN NO_DATA_FOUND THEN
865:
866: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
867: THEN
868: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_TYPE_ID');
869:
870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
871: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
872: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_TYPE_ID'));

Line 873: OE_MSG_PUB.Add;

869:
870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
871: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
872: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_TYPE_ID'));
873: OE_MSG_PUB.Add;
874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
875:
876: END IF;
877:

Line 874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
871: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
872: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_TYPE_ID'));
873: OE_MSG_PUB.Add;
874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
875:
876: END IF;
877:
878:

Line 883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

879: RETURN FALSE;
880:
881: WHEN OTHERS THEN
882:
883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
884: THEN
885: OE_MSG_PUB.Add_Exc_Msg
886: ( G_PKG_NAME
887: , 'Source_Document_Type'

Line 885: OE_MSG_PUB.Add_Exc_Msg

881: WHEN OTHERS THEN
882:
883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
884: THEN
885: OE_MSG_PUB.Add_Exc_Msg
886: ( G_PKG_NAME
887: , 'Source_Document_Type'
888: );
889: END IF;

Line 929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

925: EXCEPTION
926:
927: WHEN NO_DATA_FOUND THEN
928:
929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
930: THEN
931:
932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_TYPE_CODE');
933:

Line 932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_TYPE_CODE');

928:
929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
930: THEN
931:
932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_TYPE_CODE');
933:
934: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
935: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
936: OE_Order_Util.Get_Attribute_Name('SOURCE_TYPE_CODE'));

Line 937: OE_MSG_PUB.Add;

933:
934: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
935: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
936: OE_Order_Util.Get_Attribute_Name('SOURCE_TYPE_CODE'));
937: OE_MSG_PUB.Add;
938: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
939:
940: END IF;
941:

Line 938: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

934: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
935: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
936: OE_Order_Util.Get_Attribute_Name('SOURCE_TYPE_CODE'));
937: OE_MSG_PUB.Add;
938: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
939:
940: END IF;
941:
942:

Line 947: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

943: RETURN FALSE;
944:
945: WHEN OTHERS THEN
946:
947: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
948: THEN
949: OE_MSG_PUB.Add_Exc_Msg
950: ( G_PKG_NAME
951: , 'Source_Type'

Line 949: OE_MSG_PUB.Add_Exc_Msg

945: WHEN OTHERS THEN
946:
947: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
948: THEN
949: OE_MSG_PUB.Add_Exc_Msg
950: ( G_PKG_NAME
951: , 'Source_Type'
952: );
953: END IF;

Line 985: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

981: EXCEPTION
982:
983: WHEN NO_DATA_FOUND THEN
984:
985: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
986: THEN
987:
988: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_ID');
989:

Line 988: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_ID');

984:
985: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
986: THEN
987:
988: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_ID');
989:
990: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
991: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
992: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_ID'));

Line 993: OE_MSG_PUB.Add;

989:
990: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
991: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
992: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_ID'));
993: OE_MSG_PUB.Add;
994: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
995:
996: END IF;
997:

Line 994: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

990: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
991: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
992: OE_Order_Util.Get_Attribute_Name('SOURCE_DOCUMENT_ID'));
993: OE_MSG_PUB.Add;
994: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
995:
996: END IF;
997:
998:

Line 1003: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

999: RETURN FALSE;
1000:
1001: WHEN OTHERS THEN
1002:
1003: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1004: THEN
1005: OE_MSG_PUB.Add_Exc_Msg
1006: ( G_PKG_NAME
1007: , 'Source_Document'

Line 1005: OE_MSG_PUB.Add_Exc_Msg

1001: WHEN OTHERS THEN
1002:
1003: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1004: THEN
1005: OE_MSG_PUB.Add_Exc_Msg
1006: ( G_PKG_NAME
1007: , 'Source_Document'
1008: );
1009: END IF;

Line 1041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1037: EXCEPTION
1038:
1039: WHEN NO_DATA_FOUND THEN
1040:
1041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1042: THEN
1043:
1044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_DOCUMENT_REF');
1045:

Line 1044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_DOCUMENT_REF');

1040:
1041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1042: THEN
1043:
1044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_DOCUMENT_REF');
1045:
1046: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1047: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1048: OE_Order_Util.Get_Attribute_Name('orig_sys_document_ref'));

Line 1049: OE_MSG_PUB.Add;

1045:
1046: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1047: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1048: OE_Order_Util.Get_Attribute_Name('orig_sys_document_ref'));
1049: OE_MSG_PUB.Add;
1050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1051:
1052: END IF;
1053:

Line 1050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1046: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1047: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1048: OE_Order_Util.Get_Attribute_Name('orig_sys_document_ref'));
1049: OE_MSG_PUB.Add;
1050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1051:
1052: END IF;
1053:
1054:

Line 1059: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1055: RETURN FALSE;
1056:
1057: WHEN OTHERS THEN
1058:
1059: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1060: THEN
1061: OE_MSG_PUB.Add_Exc_Msg
1062: ( G_PKG_NAME
1063: , 'Orig_Sys_Document_Ref'

Line 1061: OE_MSG_PUB.Add_Exc_Msg

1057: WHEN OTHERS THEN
1058:
1059: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1060: THEN
1061: OE_MSG_PUB.Add_Exc_Msg
1062: ( G_PKG_NAME
1063: , 'Orig_Sys_Document_Ref'
1064: );
1065: END IF;

Line 1097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1093: EXCEPTION
1094:
1095: WHEN NO_DATA_FOUND THEN
1096:
1097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1098: THEN
1099:
1100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_ORDERED');
1101:

Line 1100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_ORDERED');

1096:
1097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1098: THEN
1099:
1100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_ORDERED');
1101:
1102: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1103: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1104: OE_Order_Util.Get_Attribute_Name('date_ordered'));

Line 1105: OE_MSG_PUB.Add;

1101:
1102: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1103: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1104: OE_Order_Util.Get_Attribute_Name('date_ordered'));
1105: OE_MSG_PUB.Add;
1106: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1107:
1108: END IF;
1109:

Line 1106: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1102: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1103: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1104: OE_Order_Util.Get_Attribute_Name('date_ordered'));
1105: OE_MSG_PUB.Add;
1106: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1107:
1108: END IF;
1109:
1110:

Line 1115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1111: RETURN FALSE;
1112:
1113: WHEN OTHERS THEN
1114:
1115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1116: THEN
1117: OE_MSG_PUB.Add_Exc_Msg
1118: ( G_PKG_NAME
1119: , 'Date_Ordered'

Line 1117: OE_MSG_PUB.Add_Exc_Msg

1113: WHEN OTHERS THEN
1114:
1115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1116: THEN
1117: OE_MSG_PUB.Add_Exc_Msg
1118: ( G_PKG_NAME
1119: , 'Date_Ordered'
1120: );
1121: END IF;

Line 1152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1148: EXCEPTION
1149:
1150: WHEN NO_DATA_FOUND THEN
1151:
1152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1153: THEN
1154:
1155: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_REQUESTED');
1156:

Line 1155: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_REQUESTED');

1151:
1152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1153: THEN
1154:
1155: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_REQUESTED');
1156:
1157: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1158: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1159: OE_Order_Util.Get_Attribute_Name('date_requested'));

Line 1160: OE_MSG_PUB.Add;

1156:
1157: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1158: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1159: OE_Order_Util.Get_Attribute_Name('date_requested'));
1160: OE_MSG_PUB.Add;
1161: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1162:
1163: END IF;
1164:

Line 1161: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1157: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1158: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1159: OE_Order_Util.Get_Attribute_Name('date_requested'));
1160: OE_MSG_PUB.Add;
1161: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1162:
1163: END IF;
1164:
1165:

Line 1170: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1166: RETURN FALSE;
1167:
1168: WHEN OTHERS THEN
1169:
1170: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1171: THEN
1172: OE_MSG_PUB.Add_Exc_Msg
1173: ( G_PKG_NAME
1174: , 'Date_Requested'

Line 1172: OE_MSG_PUB.Add_Exc_Msg

1168: WHEN OTHERS THEN
1169:
1170: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1171: THEN
1172: OE_MSG_PUB.Add_Exc_Msg
1173: ( G_PKG_NAME
1174: , 'Date_Requested'
1175: );
1176: END IF;

Line 1210: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1206: EXCEPTION
1207:
1208: WHEN NO_DATA_FOUND THEN
1209:
1210: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1211: THEN
1212:
1213: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_PRIORITY_CODE');
1214:

Line 1213: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_PRIORITY_CODE');

1209:
1210: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1211: THEN
1212:
1213: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_PRIORITY_CODE');
1214:
1215: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1216: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1217: OE_Order_Util.Get_Attribute_Name('shipment_priority_code'));

Line 1218: OE_MSG_PUB.Add;

1214:
1215: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1216: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1217: OE_Order_Util.Get_Attribute_Name('shipment_priority_code'));
1218: OE_MSG_PUB.Add;
1219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1220:
1221: END IF;
1222:

Line 1219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1215: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1216: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1217: OE_Order_Util.Get_Attribute_Name('shipment_priority_code'));
1218: OE_MSG_PUB.Add;
1219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1220:
1221: END IF;
1222:
1223:

Line 1228: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1224: RETURN FALSE;
1225:
1226: WHEN OTHERS THEN
1227:
1228: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1229: THEN
1230: OE_MSG_PUB.Add_Exc_Msg
1231: ( G_PKG_NAME
1232: , 'Shipment_Priority'

Line 1230: OE_MSG_PUB.Add_Exc_Msg

1226: WHEN OTHERS THEN
1227:
1228: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1229: THEN
1230: OE_MSG_PUB.Add_Exc_Msg
1231: ( G_PKG_NAME
1232: , 'Shipment_Priority'
1233: );
1234: END IF;

Line 1275: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1271: EXCEPTION
1272:
1273: WHEN NO_DATA_FOUND THEN
1274:
1275: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1276: THEN
1277:
1278: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_CLASS_CODE');
1279:

Line 1278: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_CLASS_CODE');

1274:
1275: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1276: THEN
1277:
1278: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_CLASS_CODE');
1279:
1280: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1281: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1282: OE_Order_Util.Get_Attribute_Name('demand_class_code'));

Line 1283: OE_MSG_PUB.Add;

1279:
1280: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1281: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1282: OE_Order_Util.Get_Attribute_Name('demand_class_code'));
1283: OE_MSG_PUB.Add;
1284: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1285:
1286: END IF;
1287:

Line 1284: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1280: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1281: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1282: OE_Order_Util.Get_Attribute_Name('demand_class_code'));
1283: OE_MSG_PUB.Add;
1284: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1285:
1286: END IF;
1287:
1288:

Line 1293: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1289: RETURN FALSE;
1290:
1291: WHEN OTHERS THEN
1292:
1293: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1294: THEN
1295: OE_MSG_PUB.Add_Exc_Msg
1296: ( G_PKG_NAME
1297: , 'Demand_Class'

Line 1295: OE_MSG_PUB.Add_Exc_Msg

1291: WHEN OTHERS THEN
1292:
1293: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1294: THEN
1295: OE_MSG_PUB.Add_Exc_Msg
1296: ( G_PKG_NAME
1297: , 'Demand_Class'
1298: );
1299: END IF;

Line 1339: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1335: EXCEPTION
1336:
1337: WHEN NO_DATA_FOUND THEN
1338:
1339: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1340: THEN
1341:
1342: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_LIST_ID');
1343:

Line 1342: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_LIST_ID');

1338:
1339: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1340: THEN
1341:
1342: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_LIST_ID');
1343:
1344: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1345: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1346: OE_Order_Util.Get_Attribute_Name('price_list_id'));

Line 1347: OE_MSG_PUB.Add;

1343:
1344: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1345: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1346: OE_Order_Util.Get_Attribute_Name('price_list_id'));
1347: OE_MSG_PUB.Add;
1348: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1349:
1350: END IF;
1351:

Line 1348: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1344: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1345: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1346: OE_Order_Util.Get_Attribute_Name('price_list_id'));
1347: OE_MSG_PUB.Add;
1348: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1349:
1350: END IF;
1351:
1352:

Line 1357: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1353: RETURN FALSE;
1354:
1355: WHEN OTHERS THEN
1356:
1357: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1358: THEN
1359: OE_MSG_PUB.Add_Exc_Msg
1360: ( G_PKG_NAME
1361: , 'Price_List'

Line 1359: OE_MSG_PUB.Add_Exc_Msg

1355: WHEN OTHERS THEN
1356:
1357: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1358: THEN
1359: OE_MSG_PUB.Add_Exc_Msg
1360: ( G_PKG_NAME
1361: , 'Price_List'
1362: );
1363: END IF;

Line 1405: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1401: EXCEPTION
1402:
1403: WHEN NO_DATA_FOUND THEN
1404:
1405: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1406: THEN
1407:
1408: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_FLAG');
1409:

Line 1408: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_FLAG');

1404:
1405: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1406: THEN
1407:
1408: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_FLAG');
1409:
1410: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1411: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1412: OE_Order_Util.Get_Attribute_Name('tax_exempt_flag'));

Line 1413: OE_MSG_PUB.Add;

1409:
1410: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1411: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1412: OE_Order_Util.Get_Attribute_Name('tax_exempt_flag'));
1413: OE_MSG_PUB.Add;
1414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1415:
1416: END IF;
1417:

Line 1414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1410: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1411: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1412: OE_Order_Util.Get_Attribute_Name('tax_exempt_flag'));
1413: OE_MSG_PUB.Add;
1414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1415:
1416: END IF;
1417:
1418:

Line 1423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1419: RETURN FALSE;
1420:
1421: WHEN OTHERS THEN
1422:
1423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1424: THEN
1425: OE_MSG_PUB.Add_Exc_Msg
1426: ( G_PKG_NAME
1427: , 'Tax_Exempt'

Line 1425: OE_MSG_PUB.Add_Exc_Msg

1421: WHEN OTHERS THEN
1422:
1423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1424: THEN
1425: OE_MSG_PUB.Add_Exc_Msg
1426: ( G_PKG_NAME
1427: , 'Tax_Exempt'
1428: );
1429: END IF;

Line 1460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1456: EXCEPTION
1457:
1458: WHEN NO_DATA_FOUND THEN
1459:
1460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1461: THEN
1462:
1463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_NUMBER');
1464:

Line 1463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_NUMBER');

1459:
1460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1461: THEN
1462:
1463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_NUMBER');
1464:
1465: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1466: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1467: OE_Order_Util.Get_Attribute_Name('tax_exempt_number'));

Line 1468: OE_MSG_PUB.Add;

1464:
1465: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1466: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1467: OE_Order_Util.Get_Attribute_Name('tax_exempt_number'));
1468: OE_MSG_PUB.Add;
1469: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1470:
1471: END IF;
1472:

Line 1469: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1465: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1466: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1467: OE_Order_Util.Get_Attribute_Name('tax_exempt_number'));
1468: OE_MSG_PUB.Add;
1469: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1470:
1471: END IF;
1472:
1473:

Line 1478: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1474: RETURN FALSE;
1475:
1476: WHEN OTHERS THEN
1477:
1478: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1479: THEN
1480: OE_MSG_PUB.Add_Exc_Msg
1481: ( G_PKG_NAME
1482: , 'Tax_Exempt_Number'

Line 1480: OE_MSG_PUB.Add_Exc_Msg

1476: WHEN OTHERS THEN
1477:
1478: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1479: THEN
1480: OE_MSG_PUB.Add_Exc_Msg
1481: ( G_PKG_NAME
1482: , 'Tax_Exempt_Number'
1483: );
1484: END IF;

Line 1526: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1522: EXCEPTION
1523:
1524: WHEN NO_DATA_FOUND THEN
1525:
1526: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1527: THEN
1528:
1529: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_REASON_CODE');
1530:

Line 1529: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_REASON_CODE');

1525:
1526: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1527: THEN
1528:
1529: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_EXEMPT_REASON_CODE');
1530:
1531: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1532: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1533: OE_Order_Util.Get_Attribute_Name('tax_exempt_reason_code'));

Line 1534: OE_MSG_PUB.Add;

1530:
1531: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1532: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1533: OE_Order_Util.Get_Attribute_Name('tax_exempt_reason_code'));
1534: OE_MSG_PUB.Add;
1535: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1536:
1537: END IF;
1538:

Line 1535: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1531: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1532: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1533: OE_Order_Util.Get_Attribute_Name('tax_exempt_reason_code'));
1534: OE_MSG_PUB.Add;
1535: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1536:
1537: END IF;
1538:
1539:

Line 1545: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1541: RETURN FALSE;
1542:
1543: WHEN OTHERS THEN
1544:
1545: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1546: THEN
1547: OE_MSG_PUB.Add_Exc_Msg
1548: ( G_PKG_NAME
1549: , 'Tax_Exempt_Reason'

Line 1547: OE_MSG_PUB.Add_Exc_Msg

1543: WHEN OTHERS THEN
1544:
1545: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1546: THEN
1547: OE_MSG_PUB.Add_Exc_Msg
1548: ( G_PKG_NAME
1549: , 'Tax_Exempt_Reason'
1550: );
1551: END IF;

Line 1584: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1580: EXCEPTION
1581:
1582: WHEN NO_DATA_FOUND THEN
1583:
1584: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1585: THEN
1586:
1587: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE');
1588:

Line 1587: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE');

1583:
1584: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1585: THEN
1586:
1587: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE');
1588:
1589: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1590: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1591: OE_Order_Util.Get_Attribute_Name('conversion_rate'));

Line 1592: OE_MSG_PUB.Add;

1588:
1589: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1590: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1591: OE_Order_Util.Get_Attribute_Name('conversion_rate'));
1592: OE_MSG_PUB.Add;
1593: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1594:
1595: END IF;
1596:

Line 1593: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1589: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1590: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1591: OE_Order_Util.Get_Attribute_Name('conversion_rate'));
1592: OE_MSG_PUB.Add;
1593: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1594:
1595: END IF;
1596:
1597:

Line 1602: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1598: RETURN FALSE;
1599:
1600: WHEN OTHERS THEN
1601:
1602: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1603: THEN
1604: OE_MSG_PUB.Add_Exc_Msg
1605: ( G_PKG_NAME
1606: , 'Conversion_Rate'

Line 1604: OE_MSG_PUB.Add_Exc_Msg

1600: WHEN OTHERS THEN
1601:
1602: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1603: THEN
1604: OE_MSG_PUB.Add_Exc_Msg
1605: ( G_PKG_NAME
1606: , 'Conversion_Rate'
1607: );
1608: END IF;

Line 1635: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1631: EXCEPTION
1632:
1633: WHEN NO_DATA_FOUND THEN
1634:
1635: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1636: THEN
1637:
1638: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PREFERENCE_SET_CODE');
1639:

Line 1638: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PREFERENCE_SET_CODE');

1634:
1635: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1636: THEN
1637:
1638: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PREFERENCE_SET_CODE');
1639:
1640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1641: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1642: OE_Order_Util.Get_Attribute_Name('CUSTOMER_PREFERENCE_SET_CODE'));

Line 1643: OE_MSG_PUB.Add;

1639:
1640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1641: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1642: OE_Order_Util.Get_Attribute_Name('CUSTOMER_PREFERENCE_SET_CODE'));
1643: OE_MSG_PUB.Add;
1644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1645:
1646: END IF;
1647:

Line 1644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1641: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1642: OE_Order_Util.Get_Attribute_Name('CUSTOMER_PREFERENCE_SET_CODE'));
1643: OE_MSG_PUB.Add;
1644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1645:
1646: END IF;
1647:
1648:

Line 1653: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1649: RETURN FALSE;
1650:
1651: WHEN OTHERS THEN
1652:
1653: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1654: THEN
1655: OE_MSG_PUB.Add_Exc_Msg
1656: ( G_PKG_NAME
1657: , 'CUSTOMER_PREFERENCE_SET'

Line 1655: OE_MSG_PUB.Add_Exc_Msg

1651: WHEN OTHERS THEN
1652:
1653: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1654: THEN
1655: OE_MSG_PUB.Add_Exc_Msg
1656: ( G_PKG_NAME
1657: , 'CUSTOMER_PREFERENCE_SET'
1658: );
1659: END IF;

Line 1690: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1686: EXCEPTION
1687:
1688: WHEN NO_DATA_FOUND THEN
1689:
1690: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1691: THEN
1692:
1693: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_TYPE_CODE');
1694:

Line 1693: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_TYPE_CODE');

1689:
1690: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1691: THEN
1692:
1693: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_TYPE_CODE');
1694:
1695: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1696: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1697: OE_Order_Util.Get_Attribute_Name('conversion_type_code'));

Line 1698: OE_MSG_PUB.Add;

1694:
1695: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1696: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1697: OE_Order_Util.Get_Attribute_Name('conversion_type_code'));
1698: OE_MSG_PUB.Add;
1699: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1700:
1701: END IF;
1702:

Line 1699: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1695: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1696: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1697: OE_Order_Util.Get_Attribute_Name('conversion_type_code'));
1698: OE_MSG_PUB.Add;
1699: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1700:
1701: END IF;
1702:
1703:

Line 1708: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1704: RETURN FALSE;
1705:
1706: WHEN OTHERS THEN
1707:
1708: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1709: THEN
1710: OE_MSG_PUB.Add_Exc_Msg
1711: ( G_PKG_NAME
1712: , 'Conversion_Type'

Line 1710: OE_MSG_PUB.Add_Exc_Msg

1706: WHEN OTHERS THEN
1707:
1708: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1709: THEN
1710: OE_MSG_PUB.Add_Exc_Msg
1711: ( G_PKG_NAME
1712: , 'Conversion_Type'
1713: );
1714: END IF;

Line 1744: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1740: EXCEPTION
1741:
1742: WHEN NO_DATA_FOUND THEN
1743:
1744: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1745: THEN
1746:
1747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE_DATE');
1748:

Line 1747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE_DATE');

1743:
1744: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1745: THEN
1746:
1747: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_RATE_DATE');
1748:
1749: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1750: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1751: OE_Order_Util.Get_Attribute_Name('conversion_rate_date'));

Line 1752: OE_MSG_PUB.Add;

1748:
1749: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1750: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1751: OE_Order_Util.Get_Attribute_Name('conversion_rate_date'));
1752: OE_MSG_PUB.Add;
1753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1754:
1755: END IF;
1756:

Line 1753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1749: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1750: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1751: OE_Order_Util.Get_Attribute_Name('conversion_rate_date'));
1752: OE_MSG_PUB.Add;
1753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1754:
1755: END IF;
1756:
1757:

Line 1762: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1758: RETURN FALSE;
1759:
1760: WHEN OTHERS THEN
1761:
1762: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1763: THEN
1764: OE_MSG_PUB.Add_Exc_Msg
1765: ( G_PKG_NAME
1766: , 'Conversion_Rate_Date'

Line 1764: OE_MSG_PUB.Add_Exc_Msg

1760: WHEN OTHERS THEN
1761:
1762: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1763: THEN
1764: OE_MSG_PUB.Add_Exc_Msg
1765: ( G_PKG_NAME
1766: , 'Conversion_Rate_Date'
1767: );
1768: END IF;

Line 1809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1805: EXCEPTION
1806:
1807: WHEN NO_DATA_FOUND THEN
1808:
1809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1810: THEN
1811:
1812: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARTIAL_SHIPMENTS_ALLOWED');
1813:

Line 1812: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARTIAL_SHIPMENTS_ALLOWED');

1808:
1809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1810: THEN
1811:
1812: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARTIAL_SHIPMENTS_ALLOWED');
1813:
1814: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1815: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1816: OE_Order_Util.Get_Attribute_Name('partial_shipments_allowed'));

Line 1817: OE_MSG_PUB.Add;

1813:
1814: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1815: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1816: OE_Order_Util.Get_Attribute_Name('partial_shipments_allowed'));
1817: OE_MSG_PUB.Add;
1818: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1819:
1820: END IF;
1821:

Line 1818: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1814: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1815: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1816: OE_Order_Util.Get_Attribute_Name('partial_shipments_allowed'));
1817: OE_MSG_PUB.Add;
1818: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1819:
1820: END IF;
1821:
1822:

Line 1827: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1823: RETURN FALSE;
1824:
1825: WHEN OTHERS THEN
1826:
1827: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1828: THEN
1829: OE_MSG_PUB.Add_Exc_Msg
1830: ( G_PKG_NAME
1831: , 'Partial_Shipments_Allowed'

Line 1829: OE_MSG_PUB.Add_Exc_Msg

1825: WHEN OTHERS THEN
1826:
1827: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1828: THEN
1829: OE_MSG_PUB.Add_Exc_Msg
1830: ( G_PKG_NAME
1831: , 'Partial_Shipments_Allowed'
1832: );
1833: END IF;

Line 1865: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1861: EXCEPTION
1862:
1863: WHEN NO_DATA_FOUND THEN
1864:
1865: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1866: THEN
1867:
1868: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_ABOVE');
1869:

Line 1868: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_ABOVE');

1864:
1865: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1866: THEN
1867:
1868: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_ABOVE');
1869:
1870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1871: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1872: OE_Order_Util.Get_Attribute_Name('ship_tolerance_above'));

Line 1873: OE_MSG_PUB.Add;

1869:
1870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1871: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1872: OE_Order_Util.Get_Attribute_Name('ship_tolerance_above'));
1873: OE_MSG_PUB.Add;
1874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1875:
1876: END IF;
1877:

Line 1874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1871: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1872: OE_Order_Util.Get_Attribute_Name('ship_tolerance_above'));
1873: OE_MSG_PUB.Add;
1874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1875:
1876: END IF;
1877:
1878:

Line 1883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1879: RETURN FALSE;
1880:
1881: WHEN OTHERS THEN
1882:
1883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1884: THEN
1885: OE_MSG_PUB.Add_Exc_Msg
1886: ( G_PKG_NAME
1887: , 'Ship_Tolerance_Above'

Line 1885: OE_MSG_PUB.Add_Exc_Msg

1881: WHEN OTHERS THEN
1882:
1883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1884: THEN
1885: OE_MSG_PUB.Add_Exc_Msg
1886: ( G_PKG_NAME
1887: , 'Ship_Tolerance_Above'
1888: );
1889: END IF;

Line 1921: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1917: EXCEPTION
1918:
1919: WHEN NO_DATA_FOUND THEN
1920:
1921: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1922: THEN
1923:
1924: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_BELOW');
1925:

Line 1924: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_BELOW');

1920:
1921: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1922: THEN
1923:
1924: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TOLERANCE_BELOW');
1925:
1926: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1927: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1928: OE_Order_Util.Get_Attribute_Name('ship_tolerance_below'));

Line 1929: OE_MSG_PUB.Add;

1925:
1926: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1927: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1928: OE_Order_Util.Get_Attribute_Name('ship_tolerance_below'));
1929: OE_MSG_PUB.Add;
1930: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1931:
1932: END IF;
1933:

Line 1930: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1926: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1927: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1928: OE_Order_Util.Get_Attribute_Name('ship_tolerance_below'));
1929: OE_MSG_PUB.Add;
1930: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1931:
1932: END IF;
1933:
1934:

Line 1939: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1935: RETURN FALSE;
1936:
1937: WHEN OTHERS THEN
1938:
1939: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1940: THEN
1941: OE_MSG_PUB.Add_Exc_Msg
1942: ( G_PKG_NAME
1943: , 'Ship_Tolerance_Below'

Line 1941: OE_MSG_PUB.Add_Exc_Msg

1937: WHEN OTHERS THEN
1938:
1939: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1940: THEN
1941: OE_MSG_PUB.Add_Exc_Msg
1942: ( G_PKG_NAME
1943: , 'Ship_Tolerance_Below'
1944: );
1945: END IF;

Line 1981: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

1977: EXCEPTION
1978:
1979: WHEN NO_DATA_FOUND THEN
1980:
1981: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1982: THEN
1983:
1984: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPABLE_FLAG');
1985:

Line 1984: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPABLE_FLAG');

1980:
1981: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
1982: THEN
1983:
1984: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPABLE_FLAG');
1985:
1986: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1987: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1988: OE_Order_Util.Get_Attribute_Name('shippable_flag'));

Line 1989: OE_MSG_PUB.Add;

1985:
1986: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1987: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1988: OE_Order_Util.Get_Attribute_Name('shippable_flag'));
1989: OE_MSG_PUB.Add;
1990: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1991:
1992: END IF;
1993:

Line 1990: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

1986: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
1987: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
1988: OE_Order_Util.Get_Attribute_Name('shippable_flag'));
1989: OE_MSG_PUB.Add;
1990: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
1991:
1992: END IF;
1993:
1994:

Line 1999: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1995: RETURN FALSE;
1996:
1997: WHEN OTHERS THEN
1998:
1999: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2000: THEN
2001: OE_MSG_PUB.Add_Exc_Msg
2002: ( G_PKG_NAME
2003: , 'Shippable'

Line 2001: OE_MSG_PUB.Add_Exc_Msg

1997: WHEN OTHERS THEN
1998:
1999: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2000: THEN
2001: OE_MSG_PUB.Add_Exc_Msg
2002: ( G_PKG_NAME
2003: , 'Shippable'
2004: );
2005: END IF;

Line 2041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2037: EXCEPTION
2038:
2039: WHEN NO_DATA_FOUND THEN
2040:
2041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2042: THEN
2043:
2044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INTERFACED_FLAG');
2045:

Line 2044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INTERFACED_FLAG');

2040:
2041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2042: THEN
2043:
2044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INTERFACED_FLAG');
2045:
2046: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2047: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2048: OE_Order_Util.Get_Attribute_Name('shipping_interfaced_flag'));

Line 2049: OE_MSG_PUB.Add;

2045:
2046: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2047: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2048: OE_Order_Util.Get_Attribute_Name('shipping_interfaced_flag'));
2049: OE_MSG_PUB.Add;
2050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2051:
2052: END IF;
2053:

Line 2050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2046: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2047: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2048: OE_Order_Util.Get_Attribute_Name('shipping_interfaced_flag'));
2049: OE_MSG_PUB.Add;
2050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2051:
2052: END IF;
2053:
2054:

Line 2059: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2055: RETURN FALSE;
2056:
2057: WHEN OTHERS THEN
2058:
2059: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2060: THEN
2061: OE_MSG_PUB.Add_Exc_Msg
2062: ( G_PKG_NAME
2063: , 'Shipping_Interfaced'

Line 2061: OE_MSG_PUB.Add_Exc_Msg

2057: WHEN OTHERS THEN
2058:
2059: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2060: THEN
2061: OE_MSG_PUB.Add_Exc_Msg
2062: ( G_PKG_NAME
2063: , 'Shipping_Interfaced'
2064: );
2065: END IF;

Line 2097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2093: EXCEPTION
2094:
2095: WHEN NO_DATA_FOUND THEN
2096:
2097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2098: THEN
2099:
2100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INSTRUCTIONS');
2101:

Line 2100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INSTRUCTIONS');

2096:
2097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2098: THEN
2099:
2100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_INSTRUCTIONS');
2101:
2102: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2103: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2104: OE_Order_Util.Get_Attribute_Name('shipping_instructions'));

Line 2105: OE_MSG_PUB.Add;

2101:
2102: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2103: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2104: OE_Order_Util.Get_Attribute_Name('shipping_instructions'));
2105: OE_MSG_PUB.Add;
2106: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2107:
2108: END IF;
2109:

Line 2106: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2102: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2103: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2104: OE_Order_Util.Get_Attribute_Name('shipping_instructions'));
2105: OE_MSG_PUB.Add;
2106: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2107:
2108: END IF;
2109:
2110:

Line 2115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2111: RETURN FALSE;
2112:
2113: WHEN OTHERS THEN
2114:
2115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2116: THEN
2117: OE_MSG_PUB.Add_Exc_Msg
2118: ( G_PKG_NAME
2119: , 'Shipping_Instructions'

Line 2117: OE_MSG_PUB.Add_Exc_Msg

2113: WHEN OTHERS THEN
2114:
2115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2116: THEN
2117: OE_MSG_PUB.Add_Exc_Msg
2118: ( G_PKG_NAME
2119: , 'Shipping_Instructions'
2120: );
2121: END IF;

Line 2154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2150: EXCEPTION
2151:
2152: WHEN NO_DATA_FOUND THEN
2153:
2154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2155: THEN
2156:
2157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAQCKING_INSTRUCTIONS');
2158:

Line 2157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAQCKING_INSTRUCTIONS');

2153:
2154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2155: THEN
2156:
2157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAQCKING_INSTRUCTIONS');
2158:
2159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2161: OE_Order_Util.Get_Attribute_Name('packing_instructions'));

Line 2162: OE_MSG_PUB.Add;

2158:
2159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2161: OE_Order_Util.Get_Attribute_Name('packing_instructions'));
2162: OE_MSG_PUB.Add;
2163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2164:
2165: END IF;
2166:

Line 2163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2161: OE_Order_Util.Get_Attribute_Name('packing_instructions'));
2162: OE_MSG_PUB.Add;
2163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2164:
2165: END IF;
2166:
2167:

Line 2172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2168: RETURN FALSE;
2169:
2170: WHEN OTHERS THEN
2171:
2172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2173: THEN
2174: OE_MSG_PUB.Add_Exc_Msg
2175: ( G_PKG_NAME
2176: , 'Packing_Instructions'

Line 2174: OE_MSG_PUB.Add_Exc_Msg

2170: WHEN OTHERS THEN
2171:
2172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2173: THEN
2174: OE_MSG_PUB.Add_Exc_Msg
2175: ( G_PKG_NAME
2176: , 'Packing_Instructions'
2177: );
2178: END IF;

Line 2211: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2207: EXCEPTION
2208:
2209: WHEN NO_DATA_FOUND THEN
2210:
2211: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2212: THEN
2213:
2214: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_SHIPMENT_TOLERANCE');
2215:

Line 2214: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_SHIPMENT_TOLERANCE');

2210:
2211: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2212: THEN
2213:
2214: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_SHIPMENT_TOLERANCE');
2215:
2216: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2217: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2218: OE_Order_Util.Get_Attribute_Name('under_shipment_tolerance'));

Line 2219: OE_MSG_PUB.Add;

2215:
2216: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2217: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2218: OE_Order_Util.Get_Attribute_Name('under_shipment_tolerance'));
2219: OE_MSG_PUB.Add;
2220: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2221:
2222: END IF;
2223:

Line 2220: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2216: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2217: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2218: OE_Order_Util.Get_Attribute_Name('under_shipment_tolerance'));
2219: OE_MSG_PUB.Add;
2220: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2221:
2222: END IF;
2223:
2224:

Line 2229: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2225: RETURN FALSE;
2226:
2227: WHEN OTHERS THEN
2228:
2229: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2230: THEN
2231: OE_MSG_PUB.Add_Exc_Msg
2232: ( G_PKG_NAME
2233: , 'under_shipment_tolerance'

Line 2231: OE_MSG_PUB.Add_Exc_Msg

2227: WHEN OTHERS THEN
2228:
2229: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2230: THEN
2231: OE_MSG_PUB.Add_Exc_Msg
2232: ( G_PKG_NAME
2233: , 'under_shipment_tolerance'
2234: );
2235: END IF;

Line 2266: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2262: EXCEPTION
2263:
2264: WHEN NO_DATA_FOUND THEN
2265:
2266: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2267: THEN
2268:
2269: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIPMENT_TOLERANCE');
2270:

Line 2269: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIPMENT_TOLERANCE');

2265:
2266: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2267: THEN
2268:
2269: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIPMENT_TOLERANCE');
2270:
2271: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2272: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2273: OE_Order_Util.Get_Attribute_Name('over_shipment_tolerance'));

Line 2274: OE_MSG_PUB.Add;

2270:
2271: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2272: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2273: OE_Order_Util.Get_Attribute_Name('over_shipment_tolerance'));
2274: OE_MSG_PUB.Add;
2275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2276:
2277: END IF;
2278:

Line 2275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2271: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2272: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2273: OE_Order_Util.Get_Attribute_Name('over_shipment_tolerance'));
2274: OE_MSG_PUB.Add;
2275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2276:
2277: END IF;
2278:
2279:

Line 2284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2280: RETURN FALSE;
2281:
2282: WHEN OTHERS THEN
2283:
2284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2285: THEN
2286: OE_MSG_PUB.Add_Exc_Msg
2287: ( G_PKG_NAME
2288: , 'over_shipment_tolerance'

Line 2286: OE_MSG_PUB.Add_Exc_Msg

2282: WHEN OTHERS THEN
2283:
2284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2285: THEN
2286: OE_MSG_PUB.Add_Exc_Msg
2287: ( G_PKG_NAME
2288: , 'over_shipment_tolerance'
2289: );
2290: END IF;

Line 2321: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2317: EXCEPTION
2318:
2319: WHEN NO_DATA_FOUND THEN
2320:
2321: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2322: THEN
2323:
2324: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_RETURN_TOLERANCE');
2325:

Line 2324: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_RETURN_TOLERANCE');

2320:
2321: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2322: THEN
2323:
2324: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_RETURN_TOLERANCE');
2325:
2326: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2327: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2328: OE_Order_Util.Get_Attribute_Name('over_return_tolerance'));

Line 2329: OE_MSG_PUB.Add;

2325:
2326: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2327: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2328: OE_Order_Util.Get_Attribute_Name('over_return_tolerance'));
2329: OE_MSG_PUB.Add;
2330: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2331:
2332: END IF;
2333:

Line 2330: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2326: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2327: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2328: OE_Order_Util.Get_Attribute_Name('over_return_tolerance'));
2329: OE_MSG_PUB.Add;
2330: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2331:
2332: END IF;
2333:
2334:

Line 2339: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2335: RETURN FALSE;
2336:
2337: WHEN OTHERS THEN
2338:
2339: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2340: THEN
2341: OE_MSG_PUB.Add_Exc_Msg
2342: ( G_PKG_NAME
2343: , 'over_return_tolerance'

Line 2341: OE_MSG_PUB.Add_Exc_Msg

2337: WHEN OTHERS THEN
2338:
2339: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2340: THEN
2341: OE_MSG_PUB.Add_Exc_Msg
2342: ( G_PKG_NAME
2343: , 'over_return_tolerance'
2344: );
2345: END IF;

Line 2376: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2372: EXCEPTION
2373:
2374: WHEN NO_DATA_FOUND THEN
2375:
2376: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2377: THEN
2378:
2379: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_RETURN_TOLERANCE');
2380:

Line 2379: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_RETURN_TOLERANCE');

2375:
2376: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2377: THEN
2378:
2379: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNDER_RETURN_TOLERANCE');
2380:
2381: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2382: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2383: OE_Order_Util.Get_Attribute_Name('under_return_tolerance'));

Line 2384: OE_MSG_PUB.Add;

2380:
2381: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2382: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2383: OE_Order_Util.Get_Attribute_Name('under_return_tolerance'));
2384: OE_MSG_PUB.Add;
2385: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2386:
2387: END IF;
2388:

Line 2385: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2381: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2382: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2383: OE_Order_Util.Get_Attribute_Name('under_return_tolerance'));
2384: OE_MSG_PUB.Add;
2385: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2386:
2387: END IF;
2388:
2389:

Line 2394: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2390: RETURN FALSE;
2391:
2392: WHEN OTHERS THEN
2393:
2394: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2395: THEN
2396: OE_MSG_PUB.Add_Exc_Msg
2397: ( G_PKG_NAME
2398: , 'under_return_tolerance'

Line 2396: OE_MSG_PUB.Add_Exc_Msg

2392: WHEN OTHERS THEN
2393:
2394: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2395: THEN
2396: OE_MSG_PUB.Add_Exc_Msg
2397: ( G_PKG_NAME
2398: , 'under_return_tolerance'
2399: );
2400: END IF;

Line 2443: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2439: EXCEPTION
2440:
2441: WHEN NO_DATA_FOUND THEN
2442:
2443: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2444: THEN
2445:
2446: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRANSACTIONAL_CURR_CODE');
2447:

Line 2446: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRANSACTIONAL_CURR_CODE');

2442:
2443: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2444: THEN
2445:
2446: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TRANSACTIONAL_CURR_CODE');
2447:
2448: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2449: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2450: OE_Order_Util.Get_Attribute_Name('transactional_curr_code'));

Line 2451: OE_MSG_PUB.Add;

2447:
2448: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2449: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2450: OE_Order_Util.Get_Attribute_Name('transactional_curr_code'));
2451: OE_MSG_PUB.Add;
2452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2453:
2454: END IF;
2455:

Line 2452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2448: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2449: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2450: OE_Order_Util.Get_Attribute_Name('transactional_curr_code'));
2451: OE_MSG_PUB.Add;
2452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2453:
2454: END IF;
2455:
2456:

Line 2461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2457: RETURN FALSE;
2458:
2459: WHEN OTHERS THEN
2460:
2461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2462: THEN
2463: OE_MSG_PUB.Add_Exc_Msg
2464: ( G_PKG_NAME
2465: , 'Transactional_Curr'

Line 2463: OE_MSG_PUB.Add_Exc_Msg

2459: WHEN OTHERS THEN
2460:
2461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2462: THEN
2463: OE_MSG_PUB.Add_Exc_Msg
2464: ( G_PKG_NAME
2465: , 'Transactional_Curr'
2466: );
2467: END IF;

Line 2507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2503: EXCEPTION
2504:
2505: WHEN NO_DATA_FOUND THEN
2506:
2507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2508: THEN
2509:
2510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AGREEMENT_ID');
2511:

Line 2510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AGREEMENT_ID');

2506:
2507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2508: THEN
2509:
2510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AGREEMENT_ID');
2511:
2512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2514: OE_Order_Util.Get_Attribute_Name('agreement_id'));

Line 2515: OE_MSG_PUB.Add;

2511:
2512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2514: OE_Order_Util.Get_Attribute_Name('agreement_id'));
2515: OE_MSG_PUB.Add;
2516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2517:
2518: END IF;
2519:

Line 2516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2514: OE_Order_Util.Get_Attribute_Name('agreement_id'));
2515: OE_MSG_PUB.Add;
2516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2517:
2518: END IF;
2519:
2520:

Line 2526: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2522: RETURN FALSE;
2523:
2524: WHEN OTHERS THEN
2525:
2526: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2527: THEN
2528: OE_MSG_PUB.Add_Exc_Msg
2529: ( G_PKG_NAME
2530: , 'Agreement'

Line 2528: OE_MSG_PUB.Add_Exc_Msg

2524: WHEN OTHERS THEN
2525:
2526: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2527: THEN
2528: OE_MSG_PUB.Add_Exc_Msg
2529: ( G_PKG_NAME
2530: , 'Agreement'
2531: );
2532: END IF;

Line 2574: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2570: EXCEPTION
2571:
2572: WHEN NO_DATA_FOUND THEN
2573:
2574: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2575: THEN
2576:
2577: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_POINT_CODE');
2578:

Line 2577: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_POINT_CODE');

2573:
2574: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2575: THEN
2576:
2577: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_POINT_CODE');
2578:
2579: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2580: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2581: OE_Order_Util.Get_Attribute_Name('tax_point_code'));

Line 2582: OE_MSG_PUB.Add;

2578:
2579: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2580: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2581: OE_Order_Util.Get_Attribute_Name('tax_point_code'));
2582: OE_MSG_PUB.Add;
2583: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2584:
2585: END IF;
2586:

Line 2583: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2579: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2580: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2581: OE_Order_Util.Get_Attribute_Name('tax_point_code'));
2582: OE_MSG_PUB.Add;
2583: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2584:
2585: END IF;
2586:
2587:

Line 2592: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2588: RETURN FALSE;
2589:
2590: WHEN OTHERS THEN
2591:
2592: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2593: THEN
2594: OE_MSG_PUB.Add_Exc_Msg
2595: ( G_PKG_NAME
2596: , 'Tax_Point'

Line 2594: OE_MSG_PUB.Add_Exc_Msg

2590: WHEN OTHERS THEN
2591:
2592: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2593: THEN
2594: OE_MSG_PUB.Add_Exc_Msg
2595: ( G_PKG_NAME
2596: , 'Tax_Point'
2597: );
2598: END IF;

Line 2631: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2627: EXCEPTION
2628:
2629: WHEN NO_DATA_FOUND THEN
2630:
2631: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2632: THEN
2633:
2634: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PO_NUMBER');
2635:

Line 2634: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PO_NUMBER');

2630:
2631: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2632: THEN
2633:
2634: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PO_NUMBER');
2635:
2636: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2637: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2638: OE_Order_Util.Get_Attribute_Name('cust_po_number'));

Line 2639: OE_MSG_PUB.Add;

2635:
2636: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2637: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2638: OE_Order_Util.Get_Attribute_Name('cust_po_number'));
2639: OE_MSG_PUB.Add;
2640: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2641:
2642: END IF;
2643:

Line 2640: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2636: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2637: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2638: OE_Order_Util.Get_Attribute_Name('cust_po_number'));
2639: OE_MSG_PUB.Add;
2640: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2641:
2642: END IF;
2643:
2644:

Line 2649: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2645: RETURN FALSE;
2646:
2647: WHEN OTHERS THEN
2648:
2649: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2650: THEN
2651: OE_MSG_PUB.Add_Exc_Msg
2652: ( G_PKG_NAME
2653: , 'Cust_Po_Number'

Line 2651: OE_MSG_PUB.Add_Exc_Msg

2647: WHEN OTHERS THEN
2648:
2649: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2650: THEN
2651: OE_MSG_PUB.Add_Exc_Msg
2652: ( G_PKG_NAME
2653: , 'Cust_Po_Number'
2654: );
2655: END IF;

Line 2695: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2691: EXCEPTION
2692:
2693: WHEN NO_DATA_FOUND THEN
2694:
2695: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2696: THEN
2697:
2698: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICING_RULE_ID');
2699:

Line 2698: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICING_RULE_ID');

2694:
2695: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2696: THEN
2697:
2698: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICING_RULE_ID');
2699:
2700: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2701: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2702: OE_Order_Util.Get_Attribute_Name('invoicing_rule_id'));

Line 2703: OE_MSG_PUB.Add;

2699:
2700: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2701: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2702: OE_Order_Util.Get_Attribute_Name('invoicing_rule_id'));
2703: OE_MSG_PUB.Add;
2704: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2705:
2706: END IF;
2707:

Line 2704: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2700: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2701: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2702: OE_Order_Util.Get_Attribute_Name('invoicing_rule_id'));
2703: OE_MSG_PUB.Add;
2704: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2705:
2706: END IF;
2707:
2708:

Line 2713: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2709: RETURN FALSE;
2710:
2711: WHEN OTHERS THEN
2712:
2713: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2714: THEN
2715: OE_MSG_PUB.Add_Exc_Msg
2716: ( G_PKG_NAME
2717: , 'Invoicing_Rule'

Line 2715: OE_MSG_PUB.Add_Exc_Msg

2711: WHEN OTHERS THEN
2712:
2713: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2714: THEN
2715: OE_MSG_PUB.Add_Exc_Msg
2716: ( G_PKG_NAME
2717: , 'Invoicing_Rule'
2718: );
2719: END IF;

Line 2760: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2756: EXCEPTION
2757:
2758: WHEN NO_DATA_FOUND THEN
2759:
2760: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2761: THEN
2762:
2763: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TERM_ID');
2764:

Line 2763: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TERM_ID');

2759:
2760: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2761: THEN
2762:
2763: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TERM_ID');
2764:
2765: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2766: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2767: OE_Order_Util.Get_Attribute_Name('payment_term_id'));

Line 2768: OE_MSG_PUB.Add;

2764:
2765: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2766: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2767: OE_Order_Util.Get_Attribute_Name('payment_term_id'));
2768: OE_MSG_PUB.Add;
2769: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2770:
2771: END IF;
2772:

Line 2769: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2765: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2766: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2767: OE_Order_Util.Get_Attribute_Name('payment_term_id'));
2768: OE_MSG_PUB.Add;
2769: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2770:
2771: END IF;
2772:
2773:

Line 2778: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2774: RETURN FALSE;
2775:
2776: WHEN OTHERS THEN
2777:
2778: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2779: THEN
2780: OE_MSG_PUB.Add_Exc_Msg
2781: ( G_PKG_NAME
2782: , 'Payment_Term'

Line 2780: OE_MSG_PUB.Add_Exc_Msg

2776: WHEN OTHERS THEN
2777:
2778: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2779: THEN
2780: OE_MSG_PUB.Add_Exc_Msg
2781: ( G_PKG_NAME
2782: , 'Payment_Term'
2783: );
2784: END IF;

Line 2816: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2812: EXCEPTION
2813:
2814: WHEN NO_DATA_FOUND THEN
2815:
2816: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2817: THEN
2818:
2819: OE_MSG_PUB.Update_Msg_Context
2820: (p_attribute_code => 'PLANNING_PRIORITY');

Line 2819: OE_MSG_PUB.Update_Msg_Context

2815:
2816: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2817: THEN
2818:
2819: OE_MSG_PUB.Update_Msg_Context
2820: (p_attribute_code => 'PLANNING_PRIORITY');
2821: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2822: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2823: OE_Order_Util.Get_Attribute_Name('planning_priority'));

Line 2824: OE_MSG_PUB.Add;

2820: (p_attribute_code => 'PLANNING_PRIORITY');
2821: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2822: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2823: OE_Order_Util.Get_Attribute_Name('planning_priority'));
2824: OE_MSG_PUB.Add;
2825: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2826:
2827: END IF;
2828:

Line 2825: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2821: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2822: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2823: OE_Order_Util.Get_Attribute_Name('planning_priority'));
2824: OE_MSG_PUB.Add;
2825: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2826:
2827: END IF;
2828:
2829:

Line 2834: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2830: RETURN FALSE;
2831:
2832: WHEN OTHERS THEN
2833:
2834: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2835: THEN
2836: OE_MSG_PUB.Add_Exc_Msg
2837: ( G_PKG_NAME
2838: , 'Planning_Priority'

Line 2836: OE_MSG_PUB.Add_Exc_Msg

2832: WHEN OTHERS THEN
2833:
2834: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2835: THEN
2836: OE_MSG_PUB.Add_Exc_Msg
2837: ( G_PKG_NAME
2838: , 'Planning_Priority'
2839: );
2840: END IF;

Line 2880: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2876: EXCEPTION
2877:
2878: WHEN NO_DATA_FOUND THEN
2879:
2880: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2881: THEN
2882:
2883: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_METHOD_CODE');
2884:

Line 2883: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_METHOD_CODE');

2879:
2880: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2881: THEN
2882:
2883: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_METHOD_CODE');
2884:
2885: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2886: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2887: OE_Order_Util.Get_Attribute_Name('shipping_method_code'));

Line 2888: OE_MSG_PUB.Add;

2884:
2885: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2886: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2887: OE_Order_Util.Get_Attribute_Name('shipping_method_code'));
2888: OE_MSG_PUB.Add;
2889: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2890:
2891: END IF;
2892:

Line 2889: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2885: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2886: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2887: OE_Order_Util.Get_Attribute_Name('shipping_method_code'));
2888: OE_MSG_PUB.Add;
2889: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2890:
2891: END IF;
2892:
2893:

Line 2898: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2894: RETURN FALSE;
2895:
2896: WHEN OTHERS THEN
2897:
2898: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2899: THEN
2900: OE_MSG_PUB.Add_Exc_Msg
2901: ( G_PKG_NAME
2902: , 'Shipping_Method'

Line 2900: OE_MSG_PUB.Add_Exc_Msg

2896: WHEN OTHERS THEN
2897:
2898: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2899: THEN
2900: OE_MSG_PUB.Add_Exc_Msg
2901: ( G_PKG_NAME
2902: , 'Shipping_Method'
2903: );
2904: END IF;

Line 2937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

2933: EXCEPTION
2934:
2935: WHEN NO_DATA_FOUND THEN
2936:
2937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2938: THEN
2939:
2940: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_CARRIER_CODE');
2941:

Line 2940: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_CARRIER_CODE');

2936:
2937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
2938: THEN
2939:
2940: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_CARRIER_CODE');
2941:
2942: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2943: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2944: OE_Order_Util.Get_Attribute_Name('freight_carrier_code'));

Line 2945: OE_MSG_PUB.Add;

2941:
2942: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2943: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2944: OE_Order_Util.Get_Attribute_Name('freight_carrier_code'));
2945: OE_MSG_PUB.Add;
2946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2947:
2948: END IF;
2949:

Line 2946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

2942: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
2943: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
2944: OE_Order_Util.Get_Attribute_Name('freight_carrier_code'));
2945: OE_MSG_PUB.Add;
2946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
2947:
2948: END IF;
2949:
2950:

Line 2955: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

2951: RETURN FALSE;
2952:
2953: WHEN OTHERS THEN
2954:
2955: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2956: THEN
2957: OE_MSG_PUB.Add_Exc_Msg
2958: ( G_PKG_NAME
2959: , 'Freight_Carrier'

Line 2957: OE_MSG_PUB.Add_Exc_Msg

2953: WHEN OTHERS THEN
2954:
2955: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
2956: THEN
2957: OE_MSG_PUB.Add_Exc_Msg
2958: ( G_PKG_NAME
2959: , 'Freight_Carrier'
2960: );
2961: END IF;

Line 3005: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3001: EXCEPTION
3002:
3003: WHEN NO_DATA_FOUND THEN
3004:
3005: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3006: THEN
3007:
3008: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FOB_POINT_CODE');
3009:

Line 3008: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FOB_POINT_CODE');

3004:
3005: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3006: THEN
3007:
3008: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FOB_POINT_CODE');
3009:
3010: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3011: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3012: OE_Order_Util.Get_Attribute_Name('fob_point_code'));

Line 3013: OE_MSG_PUB.Add;

3009:
3010: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3011: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3012: OE_Order_Util.Get_Attribute_Name('fob_point_code'));
3013: OE_MSG_PUB.Add;
3014: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3015:
3016: END IF;
3017:

Line 3014: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3010: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3011: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3012: OE_Order_Util.Get_Attribute_Name('fob_point_code'));
3013: OE_MSG_PUB.Add;
3014: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3015:
3016: END IF;
3017:
3018:

Line 3023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3019: RETURN FALSE;
3020:
3021: WHEN OTHERS THEN
3022:
3023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3024: THEN
3025: OE_MSG_PUB.Add_Exc_Msg
3026: ( G_PKG_NAME
3027: , 'Fob_Point'

Line 3025: OE_MSG_PUB.Add_Exc_Msg

3021: WHEN OTHERS THEN
3022:
3023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3024: THEN
3025: OE_MSG_PUB.Add_Exc_Msg
3026: ( G_PKG_NAME
3027: , 'Fob_Point'
3028: );
3029: END IF;

Line 3075: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3071: EXCEPTION
3072:
3073: WHEN NO_DATA_FOUND THEN
3074:
3075: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3076: THEN
3077:
3078: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_TERMS_CODE');
3079:

Line 3078: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_TERMS_CODE');

3074:
3075: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3076: THEN
3077:
3078: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FREIGHT_TERMS_CODE');
3079:
3080:
3081: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3082: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 3084: OE_MSG_PUB.Add;

3080:
3081: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3082: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3083: OE_Order_Util.Get_Attribute_Name('freight_terms_code'));
3084: OE_MSG_PUB.Add;
3085: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3086:
3087: END IF;
3088:

Line 3085: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3081: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3082: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3083: OE_Order_Util.Get_Attribute_Name('freight_terms_code'));
3084: OE_MSG_PUB.Add;
3085: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3086:
3087: END IF;
3088:
3089:

Line 3094: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3090: RETURN FALSE;
3091:
3092: WHEN OTHERS THEN
3093:
3094: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3095: THEN
3096: OE_MSG_PUB.Add_Exc_Msg
3097: ( G_PKG_NAME
3098: , 'Freight_Terms'

Line 3096: OE_MSG_PUB.Add_Exc_Msg

3092: WHEN OTHERS THEN
3093:
3094: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3095: THEN
3096: OE_MSG_PUB.Add_Exc_Msg
3097: ( G_PKG_NAME
3098: , 'Freight_Terms'
3099: );
3100: END IF;

Line 3142: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3138: EXCEPTION
3139:
3140: WHEN NO_DATA_FOUND THEN
3141:
3142: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3143: THEN
3144:
3145: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_ORG_ID');
3146:

Line 3145: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_ORG_ID');

3141:
3142: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3143: THEN
3144:
3145: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_ORG_ID');
3146:
3147: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3148: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3149: OE_Order_Util.Get_Attribute_Name('sold_to_org_id'));

Line 3150: OE_MSG_PUB.Add;

3146:
3147: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3148: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3149: OE_Order_Util.Get_Attribute_Name('sold_to_org_id'));
3150: OE_MSG_PUB.Add;
3151: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3152:
3153: END IF;
3154:

Line 3151: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3147: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3148: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3149: OE_Order_Util.Get_Attribute_Name('sold_to_org_id'));
3150: OE_MSG_PUB.Add;
3151: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3152:
3153: END IF;
3154:
3155:

Line 3160: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3156: RETURN FALSE;
3157:
3158: WHEN OTHERS THEN
3159:
3160: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3161: THEN
3162: OE_MSG_PUB.Add_Exc_Msg
3163: ( G_PKG_NAME
3164: , 'Sold_To_Org'

Line 3162: OE_MSG_PUB.Add_Exc_Msg

3158: WHEN OTHERS THEN
3159:
3160: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3161: THEN
3162: OE_MSG_PUB.Add_Exc_Msg
3163: ( G_PKG_NAME
3164: , 'Sold_To_Org'
3165: );
3166: END IF;

Line 3207: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3203: EXCEPTION
3204:
3205: WHEN NO_DATA_FOUND THEN
3206:
3207: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3208: THEN
3209:
3210: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_ID');
3211:

Line 3210: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_ID');

3206:
3207: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3208: THEN
3209:
3210: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_ID');
3211:
3212: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3213: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3214: OE_Order_Util.Get_Attribute_Name('Customer_id'));

Line 3215: OE_MSG_PUB.Add;

3211:
3212: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3213: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3214: OE_Order_Util.Get_Attribute_Name('Customer_id'));
3215: OE_MSG_PUB.Add;
3216: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3217:
3218: END IF;
3219:

Line 3216: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3212: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3213: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3214: OE_Order_Util.Get_Attribute_Name('Customer_id'));
3215: OE_MSG_PUB.Add;
3216: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3217:
3218: END IF;
3219:
3220:

Line 3225: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3221: RETURN FALSE;
3222:
3223: WHEN OTHERS THEN
3224:
3225: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3226: THEN
3227: OE_MSG_PUB.Add_Exc_Msg
3228: ( G_PKG_NAME
3229: , 'Customer'

Line 3227: OE_MSG_PUB.Add_Exc_Msg

3223: WHEN OTHERS THEN
3224:
3225: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3226: THEN
3227: OE_MSG_PUB.Add_Exc_Msg
3228: ( G_PKG_NAME
3229: , 'Customer'
3230: );
3231: END IF;

Line 3264: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3260: EXCEPTION
3261:
3262: WHEN NO_DATA_FOUND THEN
3263:
3264: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3265: THEN
3266:
3267: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERNAL_ITEM_ID');
3268:

Line 3267: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERNAL_ITEM_ID');

3263:
3264: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3265: THEN
3266:
3267: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERNAL_ITEM_ID');
3268:
3269:
3270: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3271: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 3273: OE_MSG_PUB.Add;

3269:
3270: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3271: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3272: OE_Order_Util.Get_Attribute_Name('internal_item_id'));
3273: OE_MSG_PUB.Add;
3274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3275:
3276: END IF;
3277:

Line 3274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3270: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3271: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3272: OE_Order_Util.Get_Attribute_Name('internal_item_id'));
3273: OE_MSG_PUB.Add;
3274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3275:
3276: END IF;
3277:
3278:

Line 3283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3279: RETURN FALSE;
3280:
3281: WHEN OTHERS THEN
3282:
3283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3284: THEN
3285: OE_MSG_PUB.Add_Exc_Msg
3286: ( G_PKG_NAME
3287: , 'internal_item'

Line 3285: OE_MSG_PUB.Add_Exc_Msg

3281: WHEN OTHERS THEN
3282:
3283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3284: THEN
3285: OE_MSG_PUB.Add_Exc_Msg
3286: ( G_PKG_NAME
3287: , 'internal_item'
3288: );
3289: END IF;

Line 3322: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3318: EXCEPTION
3319:
3320: WHEN NO_DATA_FOUND THEN
3321:
3322: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3323: THEN
3324:
3325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_ITEM_SETTING_ID');
3326:

Line 3325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_ITEM_SETTING_ID');

3321:
3322: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3323: THEN
3324:
3325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_ITEM_SETTING_ID');
3326:
3327: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3328: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3329: OE_Order_Util.Get_Attribute_Name('cust_item_setting_id'));

Line 3330: OE_MSG_PUB.Add;

3326:
3327: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3328: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3329: OE_Order_Util.Get_Attribute_Name('cust_item_setting_id'));
3330: OE_MSG_PUB.Add;
3331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3332:
3333: END IF;
3334:

Line 3331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3327: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3328: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3329: OE_Order_Util.Get_Attribute_Name('cust_item_setting_id'));
3330: OE_MSG_PUB.Add;
3331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3332:
3333: END IF;
3334:
3335:

Line 3340: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3336: RETURN FALSE;
3337:
3338: WHEN OTHERS THEN
3339:
3340: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3341: THEN
3342: OE_MSG_PUB.Add_Exc_Msg
3343: ( G_PKG_NAME
3344: , 'cust_item_setting'

Line 3342: OE_MSG_PUB.Add_Exc_Msg

3338: WHEN OTHERS THEN
3339:
3340: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3341: THEN
3342: OE_MSG_PUB.Add_Exc_Msg
3343: ( G_PKG_NAME
3344: , 'cust_item_setting'
3345: );
3346: END IF;

Line 3381: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3377: EXCEPTION
3378:
3379: WHEN NO_DATA_FOUND THEN
3380:
3381: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3382: THEN
3383:
3384: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_FROM_ORG_ID');
3385:

Line 3384: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_FROM_ORG_ID');

3380:
3381: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3382: THEN
3383:
3384: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_FROM_ORG_ID');
3385:
3386: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3387: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3388: OE_Order_Util.Get_Attribute_Name('ship_from_org_id'));

Line 3389: OE_MSG_PUB.Add;

3385:
3386: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3387: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3388: OE_Order_Util.Get_Attribute_Name('ship_from_org_id'));
3389: OE_MSG_PUB.Add;
3390: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3391:
3392: END IF;
3393:

Line 3390: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3386: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3387: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3388: OE_Order_Util.Get_Attribute_Name('ship_from_org_id'));
3389: OE_MSG_PUB.Add;
3390: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3391:
3392: END IF;
3393:
3394:

Line 3399: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3395: RETURN FALSE;
3396:
3397: WHEN OTHERS THEN
3398:
3399: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3400: THEN
3401: OE_MSG_PUB.Add_Exc_Msg
3402: ( G_PKG_NAME
3403: , 'Ship_From_Org'

Line 3401: OE_MSG_PUB.Add_Exc_Msg

3397: WHEN OTHERS THEN
3398:
3399: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3400: THEN
3401: OE_MSG_PUB.Add_Exc_Msg
3402: ( G_PKG_NAME
3403: , 'Ship_From_Org'
3404: );
3405: END IF;

Line 3436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3432: EXCEPTION
3433:
3434: WHEN NO_DATA_FOUND THEN
3435:
3436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3437: THEN
3438:
3439: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBINVENTORY');
3440:

Line 3439: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBINVENTORY');

3435:
3436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3437: THEN
3438:
3439: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBINVENTORY');
3440:
3441: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3442: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3443: OE_Order_Util.Get_Attribute_Name('subinventory'));

Line 3444: OE_MSG_PUB.Add;

3440:
3441: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3442: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3443: OE_Order_Util.Get_Attribute_Name('subinventory'));
3444: OE_MSG_PUB.Add;
3445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3446:
3447: END IF;
3448:

Line 3445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3441: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3442: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3443: OE_Order_Util.Get_Attribute_Name('subinventory'));
3444: OE_MSG_PUB.Add;
3445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3446:
3447: END IF;
3448:
3449:

Line 3454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3450: RETURN FALSE;
3451:
3452: WHEN OTHERS THEN
3453:
3454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3455: THEN
3456: OE_MSG_PUB.Add_Exc_Msg
3457: ( G_PKG_NAME
3458: , 'Subinventory'

Line 3456: OE_MSG_PUB.Add_Exc_Msg

3452: WHEN OTHERS THEN
3453:
3454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3455: THEN
3456: OE_MSG_PUB.Add_Exc_Msg
3457: ( G_PKG_NAME
3458: , 'Subinventory'
3459: );
3460: END IF;

Line 3493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3489: EXCEPTION
3490:
3491: WHEN NO_DATA_FOUND THEN
3492:
3493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3494: THEN
3495:
3496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ORG_ID');
3497:

Line 3496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ORG_ID');

3492:
3493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3494: THEN
3495:
3496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ORG_ID');
3497:
3498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3500: OE_Order_Util.Get_Attribute_Name('inventory_org_id'));

Line 3501: OE_MSG_PUB.Add;

3497:
3498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3500: OE_Order_Util.Get_Attribute_Name('inventory_org_id'));
3501: OE_MSG_PUB.Add;
3502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3503:
3504: END IF;
3505:

Line 3502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3500: OE_Order_Util.Get_Attribute_Name('inventory_org_id'));
3501: OE_MSG_PUB.Add;
3502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3503:
3504: END IF;
3505:
3506:

Line 3511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3507: RETURN FALSE;
3508:
3509: WHEN OTHERS THEN
3510:
3511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3512: THEN
3513: OE_MSG_PUB.Add_Exc_Msg
3514: ( G_PKG_NAME
3515: , 'inventory_org'

Line 3513: OE_MSG_PUB.Add_Exc_Msg

3509: WHEN OTHERS THEN
3510:
3511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3512: THEN
3513: OE_MSG_PUB.Add_Exc_Msg
3514: ( G_PKG_NAME
3515: , 'inventory_org'
3516: );
3517: END IF;

Line 3548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3544: EXCEPTION
3545:
3546: WHEN NO_DATA_FOUND THEN
3547:
3548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3549: THEN
3550:
3551: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_ORG_ID');
3552:

Line 3551: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_ORG_ID');

3547:
3548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3549: THEN
3550:
3551: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_ORG_ID');
3552:
3553: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3554: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3555: OE_Order_Util.Get_Attribute_Name('ship_to_org_id'));

Line 3556: OE_MSG_PUB.Add;

3552:
3553: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3554: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3555: OE_Order_Util.Get_Attribute_Name('ship_to_org_id'));
3556: OE_MSG_PUB.Add;
3557: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3558:
3559: END IF;
3560:

Line 3557: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3553: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3554: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3555: OE_Order_Util.Get_Attribute_Name('ship_to_org_id'));
3556: OE_MSG_PUB.Add;
3557: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3558:
3559: END IF;
3560:
3561:

Line 3566: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3562: RETURN FALSE;
3563:
3564: WHEN OTHERS THEN
3565:
3566: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3567: THEN
3568: OE_MSG_PUB.Add_Exc_Msg
3569: ( G_PKG_NAME
3570: , 'Ship_To_Org'

Line 3568: OE_MSG_PUB.Add_Exc_Msg

3564: WHEN OTHERS THEN
3565:
3566: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3567: THEN
3568: OE_MSG_PUB.Add_Exc_Msg
3569: ( G_PKG_NAME
3570: , 'Ship_To_Org'
3571: );
3572: END IF;

Line 3605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3601: EXCEPTION
3602:
3603: WHEN NO_DATA_FOUND THEN
3604:
3605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3606: THEN
3607:
3608: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SITE_USE_ID');
3609:

Line 3608: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SITE_USE_ID');

3604:
3605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3606: THEN
3607:
3608: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SITE_USE_ID');
3609:
3610: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3611: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3612: OE_Order_Util.Get_Attribute_Name('site_use_id'));

Line 3613: OE_MSG_PUB.Add;

3609:
3610: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3611: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3612: OE_Order_Util.Get_Attribute_Name('site_use_id'));
3613: OE_MSG_PUB.Add;
3614: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3615:
3616: END IF;
3617:

Line 3614: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3610: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3611: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3612: OE_Order_Util.Get_Attribute_Name('site_use_id'));
3613: OE_MSG_PUB.Add;
3614: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3615:
3616: END IF;
3617:
3618:

Line 3623: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3619: RETURN FALSE;
3620:
3621: WHEN OTHERS THEN
3622:
3623: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3624: THEN
3625: OE_MSG_PUB.Add_Exc_Msg
3626: ( G_PKG_NAME
3627: , 'Site_Use'

Line 3625: OE_MSG_PUB.Add_Exc_Msg

3621: WHEN OTHERS THEN
3622:
3623: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3624: THEN
3625: OE_MSG_PUB.Add_Exc_Msg
3626: ( G_PKG_NAME
3627: , 'Site_Use'
3628: );
3629: END IF;

Line 3651: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3647: EXCEPTION
3648:
3649: WHEN NO_DATA_FOUND THEN
3650:
3651: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3652: THEN
3653:
3654: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_ORG_ID');
3655:

Line 3654: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_ORG_ID');

3650:
3651: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3652: THEN
3653:
3654: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_ORG_ID');
3655:
3656: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3657: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3658: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_org_id'));

Line 3659: OE_MSG_PUB.Add;

3655:
3656: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3657: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3658: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_org_id'));
3659: OE_MSG_PUB.Add;
3660: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3661:
3662: END IF;
3663:

Line 3660: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3656: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3657: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3658: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_org_id'));
3659: OE_MSG_PUB.Add;
3660: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3661:
3662: END IF;
3663:
3664:

Line 3669: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3665: RETURN FALSE;
3666:
3667: WHEN OTHERS THEN
3668:
3669: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3670: THEN
3671: OE_MSG_PUB.Add_Exc_Msg
3672: ( G_PKG_NAME
3673: , 'Intermed_Ship_To_Org'

Line 3671: OE_MSG_PUB.Add_Exc_Msg

3667: WHEN OTHERS THEN
3668:
3669: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3670: THEN
3671: OE_MSG_PUB.Add_Exc_Msg
3672: ( G_PKG_NAME
3673: , 'Intermed_Ship_To_Org'
3674: );
3675: END IF;

Line 3715: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3711: EXCEPTION
3712:
3713: WHEN NO_DATA_FOUND THEN
3714:
3715: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3716: THEN
3717:
3718: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_ORG_ID');
3719:

Line 3718: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_ORG_ID');

3714:
3715: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3716: THEN
3717:
3718: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_ORG_ID');
3719:
3720: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3721: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3722: OE_Order_Util.Get_Attribute_Name('invoice_to_org_id'));

Line 3723: OE_MSG_PUB.Add;

3719:
3720: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3721: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3722: OE_Order_Util.Get_Attribute_Name('invoice_to_org_id'));
3723: OE_MSG_PUB.Add;
3724: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3725:
3726: END IF;
3727:

Line 3724: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3720: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3721: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3722: OE_Order_Util.Get_Attribute_Name('invoice_to_org_id'));
3723: OE_MSG_PUB.Add;
3724: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3725:
3726: END IF;
3727:
3728:

Line 3733: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3729: RETURN FALSE;
3730:
3731: WHEN OTHERS THEN
3732:
3733: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3734: THEN
3735: OE_MSG_PUB.Add_Exc_Msg
3736: ( G_PKG_NAME
3737: , 'Invoice_To_Org'

Line 3735: OE_MSG_PUB.Add_Exc_Msg

3731: WHEN OTHERS THEN
3732:
3733: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3734: THEN
3735: OE_MSG_PUB.Add_Exc_Msg
3736: ( G_PKG_NAME
3737: , 'Invoice_To_Org'
3738: );
3739: END IF;

Line 3779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3775: EXCEPTION
3776:
3777: WHEN NO_DATA_FOUND THEN
3778:
3779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3780: THEN
3781:
3782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_ORG_ID');
3783:

Line 3782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_ORG_ID');

3778:
3779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3780: THEN
3781:
3782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_ORG_ID');
3783:
3784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3786: OE_Order_Util.Get_Attribute_Name('deliver_to_org_id'));

Line 3787: OE_MSG_PUB.Add;

3783:
3784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3786: OE_Order_Util.Get_Attribute_Name('deliver_to_org_id'));
3787: OE_MSG_PUB.Add;
3788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3789:
3790: END IF;
3791:

Line 3788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3786: OE_Order_Util.Get_Attribute_Name('deliver_to_org_id'));
3787: OE_MSG_PUB.Add;
3788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3789:
3790: END IF;
3791:
3792:

Line 3797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3793: RETURN FALSE;
3794:
3795: WHEN OTHERS THEN
3796:
3797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3798: THEN
3799: OE_MSG_PUB.Add_Exc_Msg
3800: ( G_PKG_NAME
3801: , 'Deliver_To_Org'

Line 3799: OE_MSG_PUB.Add_Exc_Msg

3795: WHEN OTHERS THEN
3796:
3797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3798: THEN
3799: OE_MSG_PUB.Add_Exc_Msg
3800: ( G_PKG_NAME
3801: , 'Deliver_To_Org'
3802: );
3803: END IF;

Line 3842: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3838: EXCEPTION
3839:
3840: WHEN NO_DATA_FOUND THEN
3841:
3842: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3843: THEN
3844:
3845: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_CONTACT_ID');
3846:

Line 3845: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_CONTACT_ID');

3841:
3842: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3843: THEN
3844:
3845: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_CONTACT_ID');
3846:
3847: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3848: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3849: OE_Order_Util.Get_Attribute_Name('sold_to_contact_id'));

Line 3850: OE_MSG_PUB.Add;

3846:
3847: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3848: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3849: OE_Order_Util.Get_Attribute_Name('sold_to_contact_id'));
3850: OE_MSG_PUB.Add;
3851: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3852:
3853: END IF;
3854:

Line 3851: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3847: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3848: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3849: OE_Order_Util.Get_Attribute_Name('sold_to_contact_id'));
3850: OE_MSG_PUB.Add;
3851: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3852:
3853: END IF;
3854:
3855:

Line 3860: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3856: RETURN FALSE;
3857:
3858: WHEN OTHERS THEN
3859:
3860: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3861: THEN
3862: OE_MSG_PUB.Add_Exc_Msg
3863: ( G_PKG_NAME
3864: , 'Sold_To_Contact'

Line 3862: OE_MSG_PUB.Add_Exc_Msg

3858: WHEN OTHERS THEN
3859:
3860: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3861: THEN
3862: OE_MSG_PUB.Add_Exc_Msg
3863: ( G_PKG_NAME
3864: , 'Sold_To_Contact'
3865: );
3866: END IF;

Line 3909: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3905: EXCEPTION
3906:
3907: WHEN NO_DATA_FOUND THEN
3908:
3909: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3910: THEN
3911:
3912: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_CONTACT_ID');
3913:

Line 3912: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_CONTACT_ID');

3908:
3909: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3910: THEN
3911:
3912: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_TO_CONTACT_ID');
3913:
3914: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3915: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3916: OE_Order_Util.Get_Attribute_Name('ship_to_contact_id'));

Line 3917: OE_MSG_PUB.Add;

3913:
3914: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3915: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3916: OE_Order_Util.Get_Attribute_Name('ship_to_contact_id'));
3917: OE_MSG_PUB.Add;
3918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3919:
3920: END IF;
3921:

Line 3918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3914: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3915: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3916: OE_Order_Util.Get_Attribute_Name('ship_to_contact_id'));
3917: OE_MSG_PUB.Add;
3918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3919:
3920: END IF;
3921:
3922:

Line 3927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3923: RETURN FALSE;
3924:
3925: WHEN OTHERS THEN
3926:
3927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3928: THEN
3929: OE_MSG_PUB.Add_Exc_Msg
3930: ( G_PKG_NAME
3931: , 'Ship_To_Contact'

Line 3929: OE_MSG_PUB.Add_Exc_Msg

3925: WHEN OTHERS THEN
3926:
3927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3928: THEN
3929: OE_MSG_PUB.Add_Exc_Msg
3930: ( G_PKG_NAME
3931: , 'Ship_To_Contact'
3932: );
3933: END IF;

Line 3975: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

3971: EXCEPTION
3972:
3973: WHEN NO_DATA_FOUND THEN
3974:
3975: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3976: THEN
3977:
3978: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_CONTACT_ID');
3979:

Line 3978: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_CONTACT_ID');

3974:
3975: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
3976: THEN
3977:
3978: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INTERMED_SHIP_TO_CONTACT_ID');
3979:
3980: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3981: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3982: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_contact_id'));

Line 3983: OE_MSG_PUB.Add;

3979:
3980: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3981: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3982: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_contact_id'));
3983: OE_MSG_PUB.Add;
3984: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3985:
3986: END IF;
3987:

Line 3984: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

3980: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
3981: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
3982: OE_Order_Util.Get_Attribute_Name('intermed_ship_to_contact_id'));
3983: OE_MSG_PUB.Add;
3984: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
3985:
3986: END IF;
3987:
3988:

Line 3993: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

3989: RETURN FALSE;
3990:
3991: WHEN OTHERS THEN
3992:
3993: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3994:
3995: THEN
3996: OE_MSG_PUB.Add_Exc_Msg
3997: ( G_PKG_NAME

Line 3996: OE_MSG_PUB.Add_Exc_Msg

3992:
3993: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3994:
3995: THEN
3996: OE_MSG_PUB.Add_Exc_Msg
3997: ( G_PKG_NAME
3998: , 'Intermed_Ship_To_Contact'
3999: );
4000: END IF;

Line 4041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4037: EXCEPTION
4038:
4039: WHEN NO_DATA_FOUND THEN
4040:
4041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4042: THEN
4043:
4044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_CONTACT_ID');
4045:

Line 4044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_CONTACT_ID');

4040:
4041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4042: THEN
4043:
4044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_TO_CONTACT_ID');
4045:
4046: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4047: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4048: OE_Order_Util.Get_Attribute_Name('invoice_to_contact_id'));

Line 4049: OE_MSG_PUB.Add;

4045:
4046: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4047: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4048: OE_Order_Util.Get_Attribute_Name('invoice_to_contact_id'));
4049: OE_MSG_PUB.Add;
4050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4051:
4052: END IF;
4053:

Line 4050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4046: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4047: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4048: OE_Order_Util.Get_Attribute_Name('invoice_to_contact_id'));
4049: OE_MSG_PUB.Add;
4050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4051:
4052: END IF;
4053:
4054:

Line 4059: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4055: RETURN FALSE;
4056:
4057: WHEN OTHERS THEN
4058:
4059: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4060: THEN
4061: OE_MSG_PUB.Add_Exc_Msg
4062: ( G_PKG_NAME
4063: , 'Invoice_To_Contact'

Line 4061: OE_MSG_PUB.Add_Exc_Msg

4057: WHEN OTHERS THEN
4058:
4059: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4060: THEN
4061: OE_MSG_PUB.Add_Exc_Msg
4062: ( G_PKG_NAME
4063: , 'Invoice_To_Contact'
4064: );
4065: END IF;

Line 4106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4102: EXCEPTION
4103:
4104: WHEN NO_DATA_FOUND THEN
4105:
4106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4107: THEN
4108:
4109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_CONTACT_ID');
4110:

Line 4109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_CONTACT_ID');

4105:
4106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4107: THEN
4108:
4109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVER_TO_CONTACT_ID');
4110:
4111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4113: OE_Order_Util.Get_Attribute_Name('deliver_to_contact_id'));

Line 4114: OE_MSG_PUB.Add;

4110:
4111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4113: OE_Order_Util.Get_Attribute_Name('deliver_to_contact_id'));
4114: OE_MSG_PUB.Add;
4115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4116:
4117: END IF;
4118:

Line 4115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4113: OE_Order_Util.Get_Attribute_Name('deliver_to_contact_id'));
4114: OE_MSG_PUB.Add;
4115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4116:
4117: END IF;
4118:
4119:

Line 4124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4120: RETURN FALSE;
4121:
4122: WHEN OTHERS THEN
4123:
4124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4125: THEN
4126: OE_MSG_PUB.Add_Exc_Msg
4127: ( G_PKG_NAME
4128: , 'Deliver_To_Contact'

Line 4126: OE_MSG_PUB.Add_Exc_Msg

4122: WHEN OTHERS THEN
4123:
4124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4125: THEN
4126: OE_MSG_PUB.Add_Exc_Msg
4127: ( G_PKG_NAME
4128: , 'Deliver_To_Contact'
4129: );
4130: END IF;

Line 4165: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4161: EXCEPTION
4162:
4163: WHEN NO_DATA_FOUND THEN
4164:
4165: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4166: THEN
4167:
4168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATED_BY');
4169:

Line 4168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATED_BY');

4164:
4165: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4166: THEN
4167:
4168: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATED_BY');
4169:
4170: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4171: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4172: OE_Order_Util.Get_Attribute_Name('last_updated_by'));

Line 4173: OE_MSG_PUB.Add;

4169:
4170: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4171: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4172: OE_Order_Util.Get_Attribute_Name('last_updated_by'));
4173: OE_MSG_PUB.Add;
4174: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4175:
4176: END IF;
4177:

Line 4174: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4170: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4171: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4172: OE_Order_Util.Get_Attribute_Name('last_updated_by'));
4173: OE_MSG_PUB.Add;
4174: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4175:
4176: END IF;
4177:
4178:

Line 4183: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4179: RETURN FALSE;
4180:
4181: WHEN OTHERS THEN
4182:
4183: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4184: THEN
4185: OE_MSG_PUB.Add_Exc_Msg
4186: ( G_PKG_NAME
4187: , 'Last_Updated_By'

Line 4185: OE_MSG_PUB.Add_Exc_Msg

4181: WHEN OTHERS THEN
4182:
4183: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4184: THEN
4185: OE_MSG_PUB.Add_Exc_Msg
4186: ( G_PKG_NAME
4187: , 'Last_Updated_By'
4188: );
4189: END IF;

Line 4222: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4218: EXCEPTION
4219:
4220: WHEN NO_DATA_FOUND THEN
4221:
4222: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4223: THEN
4224:
4225: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_DATE');
4226:

Line 4225: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_DATE');

4221:
4222: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4223: THEN
4224:
4225: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_DATE');
4226:
4227: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4228: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4229: OE_Order_Util.Get_Attribute_Name('last_update_date'));

Line 4230: OE_MSG_PUB.Add;

4226:
4227: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4228: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4229: OE_Order_Util.Get_Attribute_Name('last_update_date'));
4230: OE_MSG_PUB.Add;
4231: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4232:
4233: END IF;
4234:

Line 4231: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4227: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4228: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4229: OE_Order_Util.Get_Attribute_Name('last_update_date'));
4230: OE_MSG_PUB.Add;
4231: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4232:
4233: END IF;
4234:
4235:

Line 4240: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4236: RETURN FALSE;
4237:
4238: WHEN OTHERS THEN
4239:
4240: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4241: THEN
4242: OE_MSG_PUB.Add_Exc_Msg
4243: ( G_PKG_NAME
4244: , 'Last_Update_Date'

Line 4242: OE_MSG_PUB.Add_Exc_Msg

4238: WHEN OTHERS THEN
4239:
4240: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4241: THEN
4242: OE_MSG_PUB.Add_Exc_Msg
4243: ( G_PKG_NAME
4244: , 'Last_Update_Date'
4245: );
4246: END IF;

Line 4279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4275: EXCEPTION
4276:
4277: WHEN NO_DATA_FOUND THEN
4278:
4279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4280: THEN
4281:
4282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_LOGIN');
4283:

Line 4282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_LOGIN');

4278:
4279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4280: THEN
4281:
4282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_UPDATE_LOGIN');
4283:
4284: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4285: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4286: OE_Order_Util.Get_Attribute_Name('last_update_login'));

Line 4287: OE_MSG_PUB.Add;

4283:
4284: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4285: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4286: OE_Order_Util.Get_Attribute_Name('last_update_login'));
4287: OE_MSG_PUB.Add;
4288: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4289:
4290: END IF;
4291:

Line 4288: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4284: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4285: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4286: OE_Order_Util.Get_Attribute_Name('last_update_login'));
4287: OE_MSG_PUB.Add;
4288: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4289:
4290: END IF;
4291:
4292:

Line 4297: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4293: RETURN FALSE;
4294:
4295: WHEN OTHERS THEN
4296:
4297: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4298: THEN
4299: OE_MSG_PUB.Add_Exc_Msg
4300: ( G_PKG_NAME
4301: , 'Last_Update_Login'

Line 4299: OE_MSG_PUB.Add_Exc_Msg

4295: WHEN OTHERS THEN
4296:
4297: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4298: THEN
4299: OE_MSG_PUB.Add_Exc_Msg
4300: ( G_PKG_NAME
4301: , 'Last_Update_Login'
4302: );
4303: END IF;

Line 4336: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4332: EXCEPTION
4333:
4334: WHEN NO_DATA_FOUND THEN
4335:
4336: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4337: THEN
4338:
4339: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_APPLICATION_ID');
4340:

Line 4339: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_APPLICATION_ID');

4335:
4336: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4337: THEN
4338:
4339: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_APPLICATION_ID');
4340:
4341: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4342: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4343: OE_Order_Util.Get_Attribute_Name('program_application_id'));

Line 4344: OE_MSG_PUB.Add;

4340:
4341: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4342: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4343: OE_Order_Util.Get_Attribute_Name('program_application_id'));
4344: OE_MSG_PUB.Add;
4345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4346:
4347: END IF;
4348:

Line 4345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4341: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4342: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4343: OE_Order_Util.Get_Attribute_Name('program_application_id'));
4344: OE_MSG_PUB.Add;
4345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4346:
4347: END IF;
4348:
4349:

Line 4354: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4350: RETURN FALSE;
4351:
4352: WHEN OTHERS THEN
4353:
4354: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4355: THEN
4356: OE_MSG_PUB.Add_Exc_Msg
4357: ( G_PKG_NAME
4358: , 'Program_Application'

Line 4356: OE_MSG_PUB.Add_Exc_Msg

4352: WHEN OTHERS THEN
4353:
4354: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4355: THEN
4356: OE_MSG_PUB.Add_Exc_Msg
4357: ( G_PKG_NAME
4358: , 'Program_Application'
4359: );
4360: END IF;

Line 4393: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4389: EXCEPTION
4390:
4391: WHEN NO_DATA_FOUND THEN
4392:
4393: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4394: THEN
4395:
4396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_ID');
4397:

Line 4396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_ID');

4392:
4393: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4394: THEN
4395:
4396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_ID');
4397:
4398: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4399: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4400: OE_Order_Util.Get_Attribute_Name('program_id'));

Line 4401: OE_MSG_PUB.Add;

4397:
4398: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4399: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4400: OE_Order_Util.Get_Attribute_Name('program_id'));
4401: OE_MSG_PUB.Add;
4402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4403:
4404: END IF;
4405:

Line 4402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4398: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4399: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4400: OE_Order_Util.Get_Attribute_Name('program_id'));
4401: OE_MSG_PUB.Add;
4402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4403:
4404: END IF;
4405:
4406:

Line 4411: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4407: RETURN FALSE;
4408:
4409: WHEN OTHERS THEN
4410:
4411: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4412: THEN
4413: OE_MSG_PUB.Add_Exc_Msg
4414: ( G_PKG_NAME
4415: , 'Program'

Line 4413: OE_MSG_PUB.Add_Exc_Msg

4409: WHEN OTHERS THEN
4410:
4411: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4412: THEN
4413: OE_MSG_PUB.Add_Exc_Msg
4414: ( G_PKG_NAME
4415: , 'Program'
4416: );
4417: END IF;

Line 4450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4446: EXCEPTION
4447:
4448: WHEN NO_DATA_FOUND THEN
4449:
4450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4451: THEN
4452:
4453: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_UPDATE_DATE');
4454:

Line 4453: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_UPDATE_DATE');

4449:
4450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4451: THEN
4452:
4453: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROGRAM_UPDATE_DATE');
4454:
4455: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4456: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4457: OE_Order_Util.Get_Attribute_Name('program_update_date'));

Line 4458: OE_MSG_PUB.Add;

4454:
4455: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4456: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4457: OE_Order_Util.Get_Attribute_Name('program_update_date'));
4458: OE_MSG_PUB.Add;
4459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4460:
4461: END IF;
4462:

Line 4459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4455: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4456: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4457: OE_Order_Util.Get_Attribute_Name('program_update_date'));
4458: OE_MSG_PUB.Add;
4459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4460:
4461: END IF;
4462:
4463:

Line 4468: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4464: RETURN FALSE;
4465:
4466: WHEN OTHERS THEN
4467:
4468: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4469: THEN
4470: OE_MSG_PUB.Add_Exc_Msg
4471: ( G_PKG_NAME
4472: , 'Program_Update_Date'

Line 4470: OE_MSG_PUB.Add_Exc_Msg

4466: WHEN OTHERS THEN
4467:
4468: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4469: THEN
4470: OE_MSG_PUB.Add_Exc_Msg
4471: ( G_PKG_NAME
4472: , 'Program_Update_Date'
4473: );
4474: END IF;

Line 4507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4503: EXCEPTION
4504:
4505: WHEN NO_DATA_FOUND THEN
4506:
4507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4508: THEN
4509:
4510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_ID');
4511:

Line 4510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_ID');

4506:
4507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4508: THEN
4509:
4510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_ID');
4511:
4512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4514: OE_Order_Util.Get_Attribute_Name('request_id'));

Line 4515: OE_MSG_PUB.Add;

4511:
4512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4514: OE_Order_Util.Get_Attribute_Name('request_id'));
4515: OE_MSG_PUB.Add;
4516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4517:
4518: END IF;
4519:

Line 4516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4514: OE_Order_Util.Get_Attribute_Name('request_id'));
4515: OE_MSG_PUB.Add;
4516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4517:
4518: END IF;
4519:
4520:

Line 4525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4521: RETURN FALSE;
4522:
4523: WHEN OTHERS THEN
4524:
4525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4526: THEN
4527: OE_MSG_PUB.Add_Exc_Msg
4528: ( G_PKG_NAME
4529: , 'Request'

Line 4527: OE_MSG_PUB.Add_Exc_Msg

4523: WHEN OTHERS THEN
4524:
4525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4526: THEN
4527: OE_MSG_PUB.Add_Exc_Msg
4528: ( G_PKG_NAME
4529: , 'Request'
4530: );
4531: END IF;

Line 4564: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4560: EXCEPTION
4561:
4562: WHEN NO_DATA_FOUND THEN
4563:
4564: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4565: THEN
4566:
4567: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE1');
4568:

Line 4567: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE1');

4563:
4564: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4565: THEN
4566:
4567: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE1');
4568:
4569: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4570: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4571: OE_Order_Util.Get_Attribute_Name('global_attribute1'));

Line 4572: OE_MSG_PUB.Add;

4568:
4569: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4570: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4571: OE_Order_Util.Get_Attribute_Name('global_attribute1'));
4572: OE_MSG_PUB.Add;
4573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4574:
4575: END IF;
4576:

Line 4573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4569: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4570: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4571: OE_Order_Util.Get_Attribute_Name('global_attribute1'));
4572: OE_MSG_PUB.Add;
4573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4574:
4575: END IF;
4576:
4577:

Line 4582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4578: RETURN FALSE;
4579:
4580: WHEN OTHERS THEN
4581:
4582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4583: THEN
4584: OE_MSG_PUB.Add_Exc_Msg
4585: ( G_PKG_NAME
4586: , 'Global_Attribute1'

Line 4584: OE_MSG_PUB.Add_Exc_Msg

4580: WHEN OTHERS THEN
4581:
4582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4583: THEN
4584: OE_MSG_PUB.Add_Exc_Msg
4585: ( G_PKG_NAME
4586: , 'Global_Attribute1'
4587: );
4588: END IF;

Line 4622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4618: EXCEPTION
4619:
4620: WHEN NO_DATA_FOUND THEN
4621:
4622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4623: THEN
4624:
4625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_ADJUSTMENT_ID');
4626:

Line 4625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_ADJUSTMENT_ID');

4621:
4622: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4623: THEN
4624:
4625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICE_ADJUSTMENT_ID');
4626:
4627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4629: OE_Order_Util.Get_Attribute_Name('price_adjustment_id'));

Line 4630: OE_MSG_PUB.Add;

4626:
4627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4629: OE_Order_Util.Get_Attribute_Name('price_adjustment_id'));
4630: OE_MSG_PUB.Add;
4631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4632:
4633: END IF;
4634:

Line 4631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4627: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4628: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4629: OE_Order_Util.Get_Attribute_Name('price_adjustment_id'));
4630: OE_MSG_PUB.Add;
4631: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4632:
4633: END IF;
4634:
4635:

Line 4640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4636: RETURN FALSE;
4637:
4638: WHEN OTHERS THEN
4639:
4640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4641: THEN
4642: OE_MSG_PUB.Add_Exc_Msg
4643: ( G_PKG_NAME
4644: , 'Price_Adjustment'

Line 4642: OE_MSG_PUB.Add_Exc_Msg

4638: WHEN OTHERS THEN
4639:
4640: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4641: THEN
4642: OE_MSG_PUB.Add_Exc_Msg
4643: ( G_PKG_NAME
4644: , 'Price_Adjustment'
4645: );
4646: END IF;

Line 4679: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4675: EXCEPTION
4676:
4677: WHEN NO_DATA_FOUND THEN
4678:
4679: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4680: THEN
4681:
4682: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_ID');
4683:

Line 4682: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_ID');

4678:
4679: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4680: THEN
4681:
4682: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_ID');
4683:
4684: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4685: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4686: OE_Order_Util.Get_Attribute_Name('discount_id'));

Line 4687: OE_MSG_PUB.Add;

4683:
4684: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4685: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4686: OE_Order_Util.Get_Attribute_Name('discount_id'));
4687: OE_MSG_PUB.Add;
4688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4689:
4690: END IF;
4691:

Line 4688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4684: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4685: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4686: OE_Order_Util.Get_Attribute_Name('discount_id'));
4687: OE_MSG_PUB.Add;
4688: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4689:
4690: END IF;
4691:
4692:

Line 4697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4693: RETURN FALSE;
4694:
4695: WHEN OTHERS THEN
4696:
4697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4698: THEN
4699: OE_MSG_PUB.Add_Exc_Msg
4700: ( G_PKG_NAME
4701: , 'Discount'

Line 4699: OE_MSG_PUB.Add_Exc_Msg

4695: WHEN OTHERS THEN
4696:
4697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4698: THEN
4699: OE_MSG_PUB.Add_Exc_Msg
4700: ( G_PKG_NAME
4701: , 'Discount'
4702: );
4703: END IF;

Line 4737: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4733: EXCEPTION
4734:
4735: WHEN NO_DATA_FOUND THEN
4736:
4737: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4738: THEN
4739:
4740: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_LINE_ID');
4741:

Line 4740: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_LINE_ID');

4736:
4737: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4738: THEN
4739:
4740: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DISCOUNT_LINE_ID');
4741:
4742: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4743: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4744: OE_Order_Util.Get_Attribute_Name('discount_line_id'));

Line 4745: OE_MSG_PUB.Add;

4741:
4742: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4743: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4744: OE_Order_Util.Get_Attribute_Name('discount_line_id'));
4745: OE_MSG_PUB.Add;
4746: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4747:
4748: END IF;
4749:

Line 4746: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4742: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4743: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4744: OE_Order_Util.Get_Attribute_Name('discount_line_id'));
4745: OE_MSG_PUB.Add;
4746: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4747:
4748: END IF;
4749:
4750:

Line 4755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4751: RETURN FALSE;
4752:
4753: WHEN OTHERS THEN
4754:
4755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4756: THEN
4757: OE_MSG_PUB.Add_Exc_Msg
4758: ( G_PKG_NAME
4759: , 'Discount_Line'

Line 4757: OE_MSG_PUB.Add_Exc_Msg

4753: WHEN OTHERS THEN
4754:
4755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4756: THEN
4757: OE_MSG_PUB.Add_Exc_Msg
4758: ( G_PKG_NAME
4759: , 'Discount_Line'
4760: );
4761: END IF;

Line 4794: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4790: EXCEPTION
4791:
4792: WHEN NO_DATA_FOUND THEN
4793:
4794: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4795: THEN
4796:
4797: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTOMATIC_FLAG');
4798:

Line 4797: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTOMATIC_FLAG');

4793:
4794: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4795: THEN
4796:
4797: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTOMATIC_FLAG');
4798:
4799: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4800: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4801: OE_Order_Util.Get_Attribute_Name('automatic_flag'));

Line 4802: OE_MSG_PUB.Add;

4798:
4799: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4800: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4801: OE_Order_Util.Get_Attribute_Name('automatic_flag'));
4802: OE_MSG_PUB.Add;
4803: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4804:
4805: END IF;
4806:

Line 4803: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4799: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4800: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4801: OE_Order_Util.Get_Attribute_Name('automatic_flag'));
4802: OE_MSG_PUB.Add;
4803: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4804:
4805: END IF;
4806:
4807:

Line 4812: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4808: RETURN FALSE;
4809:
4810: WHEN OTHERS THEN
4811:
4812: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4813: THEN
4814: OE_MSG_PUB.Add_Exc_Msg
4815: ( G_PKG_NAME
4816: , 'Automatic'

Line 4814: OE_MSG_PUB.Add_Exc_Msg

4810: WHEN OTHERS THEN
4811:
4812: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4813: THEN
4814: OE_MSG_PUB.Add_Exc_Msg
4815: ( G_PKG_NAME
4816: , 'Automatic'
4817: );
4818: END IF;

Line 4863: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4859: EXCEPTION
4860:
4861: WHEN NO_DATA_FOUND THEN
4862:
4863: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4864: THEN
4865:
4866: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');
4867:

Line 4866: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');

4862:
4863: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4864: THEN
4865:
4866: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');
4867:
4868: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4869: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4870: OE_Order_Util.Get_Attribute_Name('percent'));

Line 4871: OE_MSG_PUB.Add;

4867:
4868: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4869: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4870: OE_Order_Util.Get_Attribute_Name('percent'));
4871: OE_MSG_PUB.Add;
4872: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4873:
4874: END IF;
4875:

Line 4872: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4868: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4869: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4870: OE_Order_Util.Get_Attribute_Name('percent'));
4871: OE_MSG_PUB.Add;
4872: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4873:
4874: END IF;
4875:
4876:

Line 4881: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4877: RETURN FALSE;
4878:
4879: WHEN OTHERS THEN
4880:
4881: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4882: THEN
4883: OE_MSG_PUB.Add_Exc_Msg
4884: ( G_PKG_NAME
4885: , 'Percent'

Line 4883: OE_MSG_PUB.Add_Exc_Msg

4879: WHEN OTHERS THEN
4880:
4881: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4882: THEN
4883: OE_MSG_PUB.Add_Exc_Msg
4884: ( G_PKG_NAME
4885: , 'Percent'
4886: );
4887: END IF;

Line 4920: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4916: EXCEPTION
4917:
4918: WHEN NO_DATA_FOUND THEN
4919:
4920: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4921: THEN
4922:
4923: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_ID');
4924:

Line 4923: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_ID');

4919:
4920: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4921: THEN
4922:
4923: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_ID');
4924:
4925: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4926: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4927: OE_Order_Util.Get_Attribute_Name('line_id'));

Line 4928: OE_MSG_PUB.Add;

4924:
4925: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4926: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4927: OE_Order_Util.Get_Attribute_Name('line_id'));
4928: OE_MSG_PUB.Add;
4929: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4930:
4931: END IF;
4932:

Line 4929: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4925: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4926: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4927: OE_Order_Util.Get_Attribute_Name('line_id'));
4928: OE_MSG_PUB.Add;
4929: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4930:
4931: END IF;
4932:
4933:

Line 4938: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

4934: RETURN FALSE;
4935:
4936: WHEN OTHERS THEN
4937:
4938: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4939: THEN
4940: OE_MSG_PUB.Add_Exc_Msg
4941: ( G_PKG_NAME
4942: , 'Line'

Line 4940: OE_MSG_PUB.Add_Exc_Msg

4936: WHEN OTHERS THEN
4937:
4938: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
4939: THEN
4940: OE_MSG_PUB.Add_Exc_Msg
4941: ( G_PKG_NAME
4942: , 'Line'
4943: );
4944: END IF;

Line 4968: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4964: END IF;
4965:
4966: if p_applied_flag not in ('Y','N') then
4967:
4968: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4969: THEN
4970:
4971: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPLIED_FLAG');
4972:

Line 4971: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPLIED_FLAG');

4967:
4968: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4969: THEN
4970:
4971: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPLIED_FLAG');
4972:
4973: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4974: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4975: OE_Order_Util.Get_Attribute_Name('Applied_Flag'));

Line 4976: OE_MSG_PUB.Add;

4972:
4973: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4974: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4975: OE_Order_Util.Get_Attribute_Name('Applied_Flag'));
4976: OE_MSG_PUB.Add;
4977: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4978:
4979: END IF;
4980: RETURN FALSE;

Line 4977: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4973: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4974: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4975: OE_Order_Util.Get_Attribute_Name('Applied_Flag'));
4976: OE_MSG_PUB.Add;
4977: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4978:
4979: END IF;
4980: RETURN FALSE;
4981: End if;

Line 4989: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

4985: EXCEPTION
4986:
4987: WHEN NO_DATA_FOUND THEN
4988:
4989: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4990: THEN
4991:
4992: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPLIED_FLAG');
4993:

Line 4992: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPLIED_FLAG');

4988:
4989: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
4990: THEN
4991:
4992: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPLIED_FLAG');
4993:
4994: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4995: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4996: OE_Order_Util.Get_Attribute_Name('Applied_Flag'));

Line 4997: OE_MSG_PUB.Add;

4993:
4994: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4995: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4996: OE_Order_Util.Get_Attribute_Name('Applied_Flag'));
4997: OE_MSG_PUB.Add;
4998: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4999:
5000: END IF;
5001:

Line 4998: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

4994: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
4995: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
4996: OE_Order_Util.Get_Attribute_Name('Applied_Flag'));
4997: OE_MSG_PUB.Add;
4998: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
4999:
5000: END IF;
5001:
5002:

Line 5007: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5003: RETURN FALSE;
5004:
5005: WHEN OTHERS THEN
5006:
5007: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5008: THEN
5009: OE_MSG_PUB.Add_Exc_Msg
5010: ( G_PKG_NAME
5011: , 'Applied_Flag'

Line 5009: OE_MSG_PUB.Add_Exc_Msg

5005: WHEN OTHERS THEN
5006:
5007: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5008: THEN
5009: OE_MSG_PUB.Add_Exc_Msg
5010: ( G_PKG_NAME
5011: , 'Applied_Flag'
5012: );
5013: END IF;

Line 5043: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5039: EXCEPTION
5040:
5041: WHEN NO_DATA_FOUND THEN
5042:
5043: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5044: THEN
5045:
5046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_CODE');
5047:

Line 5046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_CODE');

5042:
5043: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5044: THEN
5045:
5046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_CODE');
5047:
5048: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5049: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5050: OE_Order_Util.Get_Attribute_Name('Change_Reason_Code'));

Line 5051: OE_MSG_PUB.Add;

5047:
5048: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5049: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5050: OE_Order_Util.Get_Attribute_Name('Change_Reason_Code'));
5051: OE_MSG_PUB.Add;
5052: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5053:
5054: END IF;
5055:

Line 5052: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5048: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5049: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5050: OE_Order_Util.Get_Attribute_Name('Change_Reason_Code'));
5051: OE_MSG_PUB.Add;
5052: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5053:
5054: END IF;
5055:
5056:

Line 5061: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5057: RETURN FALSE;
5058:
5059: WHEN OTHERS THEN
5060:
5061: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5062: THEN
5063: OE_MSG_PUB.Add_Exc_Msg
5064: ( G_PKG_NAME
5065: , 'Change_Reason_Code'

Line 5063: OE_MSG_PUB.Add_Exc_Msg

5059: WHEN OTHERS THEN
5060:
5061: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5062: THEN
5063: OE_MSG_PUB.Add_Exc_Msg
5064: ( G_PKG_NAME
5065: , 'Change_Reason_Code'
5066: );
5067: END IF;

Line 5096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5092: EXCEPTION
5093:
5094: WHEN NO_DATA_FOUND THEN
5095:
5096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5097: THEN
5098:
5099: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_TEXT');
5100:

Line 5099: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_TEXT');

5095:
5096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5097: THEN
5098:
5099: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHANGE_REASON_TEXT');
5100:
5101: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5102: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5103: OE_Order_Util.Get_Attribute_Name('Change_Reason_Text'));

Line 5104: OE_MSG_PUB.Add;

5100:
5101: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5102: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5103: OE_Order_Util.Get_Attribute_Name('Change_Reason_Text'));
5104: OE_MSG_PUB.Add;
5105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5106:
5107: END IF;
5108:

Line 5105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5101: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5102: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5103: OE_Order_Util.Get_Attribute_Name('Change_Reason_Text'));
5104: OE_MSG_PUB.Add;
5105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5106:
5107: END IF;
5108:
5109:

Line 5114: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5110: RETURN FALSE;
5111:
5112: WHEN OTHERS THEN
5113:
5114: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5115: THEN
5116: OE_MSG_PUB.Add_Exc_Msg
5117: ( G_PKG_NAME
5118: , 'Change_Reason_Text'

Line 5116: OE_MSG_PUB.Add_Exc_Msg

5112: WHEN OTHERS THEN
5113:
5114: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5115: THEN
5116: OE_MSG_PUB.Add_Exc_Msg
5117: ( G_PKG_NAME
5118: , 'Change_Reason_Text'
5119: );
5120: END IF;

Line 5154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5150: EXCEPTION
5151:
5152: WHEN NO_DATA_FOUND THEN
5153:
5154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5155: THEN
5156:
5157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_HEADER_ID');
5158:

Line 5157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_HEADER_ID');

5153:
5154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5155: THEN
5156:
5157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_HEADER_ID');
5158:
5159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5161: OE_Order_Util.Get_Attribute_Name('List_Header_id'));

Line 5162: OE_MSG_PUB.Add;

5158:
5159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5161: OE_Order_Util.Get_Attribute_Name('List_Header_id'));
5162: OE_MSG_PUB.Add;
5163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5164:
5165: END IF;
5166:

Line 5163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5161: OE_Order_Util.Get_Attribute_Name('List_Header_id'));
5162: OE_MSG_PUB.Add;
5163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5164:
5165: END IF;
5166:
5167:

Line 5172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5168: RETURN FALSE;
5169:
5170: WHEN OTHERS THEN
5171:
5172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5173: THEN
5174: OE_MSG_PUB.Add_Exc_Msg
5175: ( G_PKG_NAME
5176: , 'List_Header_id'

Line 5174: OE_MSG_PUB.Add_Exc_Msg

5170: WHEN OTHERS THEN
5171:
5172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5173: THEN
5174: OE_MSG_PUB.Add_Exc_Msg
5175: ( G_PKG_NAME
5176: , 'List_Header_id'
5177: );
5178: END IF;

Line 5212: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5208: EXCEPTION
5209:
5210: WHEN NO_DATA_FOUND THEN
5211:
5212: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5213: THEN
5214:
5215: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_ID');
5216:

Line 5215: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_ID');

5211:
5212: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5213: THEN
5214:
5215: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_ID');
5216:
5217: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5218: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5219: OE_Order_Util.Get_Attribute_Name('List_Line_id'));

Line 5220: OE_MSG_PUB.Add;

5216:
5217: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5218: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5219: OE_Order_Util.Get_Attribute_Name('List_Line_id'));
5220: OE_MSG_PUB.Add;
5221: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5222:
5223: END IF;
5224:

Line 5221: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5217: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5218: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5219: OE_Order_Util.Get_Attribute_Name('List_Line_id'));
5220: OE_MSG_PUB.Add;
5221: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5222:
5223: END IF;
5224:
5225:

Line 5230: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5226: RETURN FALSE;
5227:
5228: WHEN OTHERS THEN
5229:
5230: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5231: THEN
5232: OE_MSG_PUB.Add_Exc_Msg
5233: ( G_PKG_NAME
5234: , 'List_Line_id'

Line 5232: OE_MSG_PUB.Add_Exc_Msg

5228: WHEN OTHERS THEN
5229:
5230: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5231: THEN
5232: OE_MSG_PUB.Add_Exc_Msg
5233: ( G_PKG_NAME
5234: , 'List_Line_id'
5235: );
5236: END IF;

Line 5269: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5265: EXCEPTION
5266:
5267: WHEN NO_DATA_FOUND THEN
5268:
5269: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5270: THEN
5271:
5272: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_TYPE_CODE');
5273:

Line 5272: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_TYPE_CODE');

5268:
5269: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5270: THEN
5271:
5272: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LIST_LINE_TYPE_CODE');
5273:
5274: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5275: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5276: OE_Order_Util.Get_Attribute_Name('List_Line_Type_code'));

Line 5277: OE_MSG_PUB.Add;

5273:
5274: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5275: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5276: OE_Order_Util.Get_Attribute_Name('List_Line_Type_code'));
5277: OE_MSG_PUB.Add;
5278: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5279:
5280: END IF;
5281:

Line 5278: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5274: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5275: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5276: OE_Order_Util.Get_Attribute_Name('List_Line_Type_code'));
5277: OE_MSG_PUB.Add;
5278: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5279:
5280: END IF;
5281:
5282:

Line 5287: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5283: RETURN FALSE;
5284:
5285: WHEN OTHERS THEN
5286:
5287: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5288: THEN
5289: OE_MSG_PUB.Add_Exc_Msg
5290: ( G_PKG_NAME
5291: , 'List_Line_Type_code'

Line 5289: OE_MSG_PUB.Add_Exc_Msg

5285: WHEN OTHERS THEN
5286:
5287: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5288: THEN
5289: OE_MSG_PUB.Add_Exc_Msg
5290: ( G_PKG_NAME
5291: , 'List_Line_Type_code'
5292: );
5293: END IF;

Line 5327: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5323: EXCEPTION
5324:
5325: WHEN NO_DATA_FOUND THEN
5326:
5327: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5328: THEN
5329:
5330: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_FROM');
5331:

Line 5330: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_FROM');

5326:
5327: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5328: THEN
5329:
5330: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_FROM');
5331:
5332: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5333: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5334: OE_Order_Util.Get_Attribute_Name('Modified_From'));

Line 5335: OE_MSG_PUB.Add;

5331:
5332: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5333: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5334: OE_Order_Util.Get_Attribute_Name('Modified_From'));
5335: OE_MSG_PUB.Add;
5336: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5337:
5338: END IF;
5339:

Line 5336: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5332: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5333: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5334: OE_Order_Util.Get_Attribute_Name('Modified_From'));
5335: OE_MSG_PUB.Add;
5336: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5337:
5338: END IF;
5339:
5340:

Line 5345: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5341: RETURN FALSE;
5342:
5343: WHEN OTHERS THEN
5344:
5345: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5346: THEN
5347: OE_MSG_PUB.Add_Exc_Msg
5348: ( G_PKG_NAME
5349: , 'Modified_From'

Line 5347: OE_MSG_PUB.Add_Exc_Msg

5343: WHEN OTHERS THEN
5344:
5345: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5346: THEN
5347: OE_MSG_PUB.Add_Exc_Msg
5348: ( G_PKG_NAME
5349: , 'Modified_From'
5350: );
5351: END IF;

Line 5384: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5380: EXCEPTION
5381:
5382: WHEN NO_DATA_FOUND THEN
5383:
5384: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5385: THEN
5386:
5387: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_TO');
5388:

Line 5387: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_TO');

5383:
5384: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5385: THEN
5386:
5387: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIED_TO');
5388:
5389: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5390: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5391: OE_Order_Util.Get_Attribute_Name('Modified_To'));

Line 5392: OE_MSG_PUB.Add;

5388:
5389: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5390: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5391: OE_Order_Util.Get_Attribute_Name('Modified_To'));
5392: OE_MSG_PUB.Add;
5393: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5394:
5395: END IF;
5396:

Line 5393: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5389: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5390: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5391: OE_Order_Util.Get_Attribute_Name('Modified_To'));
5392: OE_MSG_PUB.Add;
5393: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5394:
5395: END IF;
5396:
5397:

Line 5402: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5398: RETURN FALSE;
5399:
5400: WHEN OTHERS THEN
5401:
5402: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5403: THEN
5404: OE_MSG_PUB.Add_Exc_Msg
5405: ( G_PKG_NAME
5406: , 'Modified_To'

Line 5404: OE_MSG_PUB.Add_Exc_Msg

5400: WHEN OTHERS THEN
5401:
5402: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5403: THEN
5404: OE_MSG_PUB.Add_Exc_Msg
5405: ( G_PKG_NAME
5406: , 'Modified_To'
5407: );
5408: END IF;

Line 5442: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5438: EXCEPTION
5439:
5440: WHEN NO_DATA_FOUND THEN
5441:
5442: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5443: THEN
5444:
5445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIER_MECHANISM_TYPE_CODE');
5446:

Line 5445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIER_MECHANISM_TYPE_CODE');

5441:
5442: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5443: THEN
5444:
5445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODIFIER_MECHANISM_TYPE_CODE');
5446:
5447: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5448: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5449: OE_Order_Util.Get_Attribute_Name('Modifier_mechanism_type_code'));

Line 5450: OE_MSG_PUB.Add;

5446:
5447: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5448: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5449: OE_Order_Util.Get_Attribute_Name('Modifier_mechanism_type_code'));
5450: OE_MSG_PUB.Add;
5451: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5452:
5453: END IF;
5454:

Line 5451: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5447: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5448: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5449: OE_Order_Util.Get_Attribute_Name('Modifier_mechanism_type_code'));
5450: OE_MSG_PUB.Add;
5451: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5452:
5453: END IF;
5454:
5455:

Line 5460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5456: RETURN FALSE;
5457:
5458: WHEN OTHERS THEN
5459:
5460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5461: THEN
5462: OE_MSG_PUB.Add_Exc_Msg
5463: ( G_PKG_NAME
5464: , 'Modifier_mechanism_type_code'

Line 5462: OE_MSG_PUB.Add_Exc_Msg

5458: WHEN OTHERS THEN
5459:
5460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5461: THEN
5462: OE_MSG_PUB.Add_Exc_Msg
5463: ( G_PKG_NAME
5464: , 'Modifier_mechanism_type_code'
5465: );
5466: END IF;

Line 5501: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5497: EXCEPTION
5498:
5499: WHEN NO_DATA_FOUND THEN
5500:
5501: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5502: THEN
5503:
5504: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATED_FLAG');
5505:

Line 5504: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATED_FLAG');

5500:
5501: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5502: THEN
5503:
5504: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATED_FLAG');
5505:
5506: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5507: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5508: OE_Order_Util.Get_Attribute_Name('Updated_Flag'));

Line 5509: OE_MSG_PUB.Add;

5505:
5506: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5507: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5508: OE_Order_Util.Get_Attribute_Name('Updated_Flag'));
5509: OE_MSG_PUB.Add;
5510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5511:
5512: END IF;
5513:

Line 5510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5506: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5507: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5508: OE_Order_Util.Get_Attribute_Name('Updated_Flag'));
5509: OE_MSG_PUB.Add;
5510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5511:
5512: END IF;
5513:
5514:

Line 5519: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5515: RETURN FALSE;
5516:
5517: WHEN OTHERS THEN
5518:
5519: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5520: THEN
5521: OE_MSG_PUB.Add_Exc_Msg
5522: ( G_PKG_NAME
5523: , 'Updated_Flag'

Line 5521: OE_MSG_PUB.Add_Exc_Msg

5517: WHEN OTHERS THEN
5518:
5519: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5520: THEN
5521: OE_MSG_PUB.Add_Exc_Msg
5522: ( G_PKG_NAME
5523: , 'Updated_Flag'
5524: );
5525: END IF;

Line 5559: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5555: EXCEPTION
5556:
5557: WHEN NO_DATA_FOUND THEN
5558:
5559: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5560: THEN
5561:
5562: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATE_ALLOWED');
5563:

Line 5562: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATE_ALLOWED');

5558:
5559: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5560: THEN
5561:
5562: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UPDATE_ALLOWED');
5563:
5564: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5565: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5566: OE_Order_Util.Get_Attribute_Name('Update_Allowed'));

Line 5567: OE_MSG_PUB.Add;

5563:
5564: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5565: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5566: OE_Order_Util.Get_Attribute_Name('Update_Allowed'));
5567: OE_MSG_PUB.Add;
5568: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5569:
5570: END IF;
5571:

Line 5568: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5564: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5565: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5566: OE_Order_Util.Get_Attribute_Name('Update_Allowed'));
5567: OE_MSG_PUB.Add;
5568: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5569:
5570: END IF;
5571:
5572:

Line 5577: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5573: RETURN FALSE;
5574:
5575: WHEN OTHERS THEN
5576:
5577: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5578: THEN
5579: OE_MSG_PUB.Add_Exc_Msg
5580: ( G_PKG_NAME
5581: , 'Update_Allowed'

Line 5579: OE_MSG_PUB.Add_Exc_Msg

5575: WHEN OTHERS THEN
5576:
5577: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5578: THEN
5579: OE_MSG_PUB.Add_Exc_Msg
5580: ( G_PKG_NAME
5581: , 'Update_Allowed'
5582: );
5583: END IF;

Line 5616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5612: EXCEPTION
5613:
5614: WHEN NO_DATA_FOUND THEN
5615:
5616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5617: THEN
5618:
5619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CREDIT_ID');
5620:

Line 5619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CREDIT_ID');

5615:
5616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5617: THEN
5618:
5619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CREDIT_ID');
5620:
5621: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5622: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5623: OE_Order_Util.Get_Attribute_Name('sales_credit_id'));

Line 5624: OE_MSG_PUB.Add;

5620:
5621: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5622: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5623: OE_Order_Util.Get_Attribute_Name('sales_credit_id'));
5624: OE_MSG_PUB.Add;
5625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5626:
5627: END IF;
5628:

Line 5625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5621: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5622: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5623: OE_Order_Util.Get_Attribute_Name('sales_credit_id'));
5624: OE_MSG_PUB.Add;
5625: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5626:
5627: END IF;
5628:
5629:

Line 5634: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5630: RETURN FALSE;
5631:
5632: WHEN OTHERS THEN
5633:
5634: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5635: THEN
5636: OE_MSG_PUB.Add_Exc_Msg
5637: ( G_PKG_NAME
5638: , 'Sales_Credit'

Line 5636: OE_MSG_PUB.Add_Exc_Msg

5632: WHEN OTHERS THEN
5633:
5634: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5635: THEN
5636: OE_MSG_PUB.Add_Exc_Msg
5637: ( G_PKG_NAME
5638: , 'Sales_Credit'
5639: );
5640: END IF;

Line 5672: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5668: IF l_dummy = 'VALID' then
5669:
5670: RETURN TRUE;
5671: ELSE
5672: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5673: THEN
5674:
5675: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Sales_credit_type_id');
5676:

Line 5675: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Sales_credit_type_id');

5671: ELSE
5672: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5673: THEN
5674:
5675: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Sales_credit_type_id');
5676:
5677: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5678: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5679: OE_Order_Util.Get_Attribute_Name('Sales_credit_type_id'));

Line 5680: OE_MSG_PUB.Add;

5676:
5677: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5678: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5679: OE_Order_Util.Get_Attribute_Name('Sales_credit_type_id'));
5680: OE_MSG_PUB.Add;
5681: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5682:
5683: END IF;
5684:

Line 5681: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5677: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5678: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5679: OE_Order_Util.Get_Attribute_Name('Sales_credit_type_id'));
5680: OE_MSG_PUB.Add;
5681: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5682:
5683: END IF;
5684:
5685: RETURN FALSE;

Line 5691: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5687: EXCEPTION
5688:
5689: WHEN OTHERS THEN
5690:
5691: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5692: THEN
5693: OE_MSG_PUB.Add_Exc_Msg
5694: ( G_PKG_NAME
5695: , 'Sales_credit_type'

Line 5693: OE_MSG_PUB.Add_Exc_Msg

5689: WHEN OTHERS THEN
5690:
5691: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5692: THEN
5693: OE_MSG_PUB.Add_Exc_Msg
5694: ( G_PKG_NAME
5695: , 'Sales_credit_type'
5696: );
5697: END IF;

Line 5735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5731: IF l_dummy = 'VALID' then
5732:
5733: RETURN TRUE;
5734: ELSE
5735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5736: THEN
5737:
5738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');
5739:

Line 5738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');

5734: ELSE
5735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5736: THEN
5737:
5738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALESREP_ID');
5739:
5740: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5741: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5742: OE_Order_Util.Get_Attribute_Name('salesrep_id'));

Line 5743: OE_MSG_PUB.Add;

5739:
5740: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5741: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5742: OE_Order_Util.Get_Attribute_Name('salesrep_id'));
5743: OE_MSG_PUB.Add;
5744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5745:
5746: END IF;
5747:

Line 5744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5740: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5741: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5742: OE_Order_Util.Get_Attribute_Name('salesrep_id'));
5743: OE_MSG_PUB.Add;
5744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5745:
5746: END IF;
5747:
5748: RETURN FALSE;

Line 5755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5751: EXCEPTION
5752:
5753: WHEN OTHERS THEN
5754:
5755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5756: THEN
5757: OE_MSG_PUB.Add_Exc_Msg
5758: ( G_PKG_NAME
5759: , 'Salesrep'

Line 5757: OE_MSG_PUB.Add_Exc_Msg

5753: WHEN OTHERS THEN
5754:
5755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5756: THEN
5757: OE_MSG_PUB.Add_Exc_Msg
5758: ( G_PKG_NAME
5759: , 'Salesrep'
5760: );
5761: END IF;

Line 5794: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5790: EXCEPTION
5791:
5792: WHEN NO_DATA_FOUND THEN
5793:
5794: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5795: THEN
5796:
5797: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DW_UPDATE_ADVICE_FLAG');
5798:

Line 5797: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DW_UPDATE_ADVICE_FLAG');

5793:
5794: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5795: THEN
5796:
5797: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DW_UPDATE_ADVICE_FLAG');
5798:
5799: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5800: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5801: OE_Order_Util.Get_Attribute_Name('dw_update_advice_flag'));

Line 5802: OE_MSG_PUB.Add;

5798:
5799: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5800: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5801: OE_Order_Util.Get_Attribute_Name('dw_update_advice_flag'));
5802: OE_MSG_PUB.Add;
5803: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5804:
5805: END IF;
5806:

Line 5803: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5799: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5800: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5801: OE_Order_Util.Get_Attribute_Name('dw_update_advice_flag'));
5802: OE_MSG_PUB.Add;
5803: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5804:
5805: END IF;
5806:
5807:

Line 5812: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5808: RETURN FALSE;
5809:
5810: WHEN OTHERS THEN
5811:
5812: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5813: THEN
5814: OE_MSG_PUB.Add_Exc_Msg
5815: ( G_PKG_NAME
5816: , 'Dw_Update_Advice'

Line 5814: OE_MSG_PUB.Add_Exc_Msg

5810: WHEN OTHERS THEN
5811:
5812: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5813: THEN
5814: OE_MSG_PUB.Add_Exc_Msg
5815: ( G_PKG_NAME
5816: , 'Dw_Update_Advice'
5817: );
5818: END IF;

Line 5851: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5847: EXCEPTION
5848:
5849: WHEN NO_DATA_FOUND THEN
5850:
5851: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5852: THEN
5853:
5854: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'WH_UPDATE_DATE');
5855:

Line 5854: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'WH_UPDATE_DATE');

5850:
5851: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5852: THEN
5853:
5854: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'WH_UPDATE_DATE');
5855:
5856: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5857: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5858: OE_Order_Util.Get_Attribute_Name('wh_update_date'));

Line 5859: OE_MSG_PUB.Add;

5855:
5856: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5857: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5858: OE_Order_Util.Get_Attribute_Name('wh_update_date'));
5859: OE_MSG_PUB.Add;
5860: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5861:
5862: END IF;
5863:

Line 5860: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5856: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5857: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5858: OE_Order_Util.Get_Attribute_Name('wh_update_date'));
5859: OE_MSG_PUB.Add;
5860: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5861:
5862: END IF;
5863:
5864:

Line 5869: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5865: RETURN FALSE;
5866:
5867: WHEN OTHERS THEN
5868:
5869: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5870: THEN
5871: OE_MSG_PUB.Add_Exc_Msg
5872: ( G_PKG_NAME
5873: , 'Wh_Update_Date'

Line 5871: OE_MSG_PUB.Add_Exc_Msg

5867: WHEN OTHERS THEN
5868:
5869: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5870: THEN
5871: OE_MSG_PUB.Add_Exc_Msg
5872: ( G_PKG_NAME
5873: , 'Wh_Update_Date'
5874: );
5875: END IF;

Line 5909: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5905: EXCEPTION
5906:
5907: WHEN NO_DATA_FOUND THEN
5908:
5909: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5910: THEN
5911:
5912: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_TYPE_ID');
5913:

Line 5912: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_TYPE_ID');

5908:
5909: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5910: THEN
5911:
5912: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_TYPE_ID');
5913:
5914: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5915: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5916: OE_Order_Util.Get_Attribute_Name('line_type_id'));

Line 5917: OE_MSG_PUB.Add;

5913:
5914: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5915: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5916: OE_Order_Util.Get_Attribute_Name('line_type_id'));
5917: OE_MSG_PUB.Add;
5918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5919:
5920: END IF;
5921:

Line 5918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5914: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5915: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5916: OE_Order_Util.Get_Attribute_Name('line_type_id'));
5917: OE_MSG_PUB.Add;
5918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5919:
5920: END IF;
5921:
5922:

Line 5927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5923: RETURN FALSE;
5924:
5925: WHEN OTHERS THEN
5926:
5927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5928: THEN
5929: OE_MSG_PUB.Add_Exc_Msg
5930: ( G_PKG_NAME
5931: , 'Line_Type'

Line 5929: OE_MSG_PUB.Add_Exc_Msg

5925: WHEN OTHERS THEN
5926:
5927: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5928: THEN
5929: OE_MSG_PUB.Add_Exc_Msg
5930: ( G_PKG_NAME
5931: , 'Line_Type'
5932: );
5933: END IF;

Line 5966: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

5962: EXCEPTION
5963:
5964: WHEN NO_DATA_FOUND THEN
5965:
5966: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5967: THEN
5968:
5969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_NUMBER');
5970:

Line 5969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_NUMBER');

5965:
5966: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
5967: THEN
5968:
5969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_NUMBER');
5970:
5971: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5972: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5973: OE_Order_Util.Get_Attribute_Name('line_number'));

Line 5974: OE_MSG_PUB.Add;

5970:
5971: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5972: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5973: OE_Order_Util.Get_Attribute_Name('line_number'));
5974: OE_MSG_PUB.Add;
5975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5976:
5977: END IF;
5978:

Line 5975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

5971: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
5972: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
5973: OE_Order_Util.Get_Attribute_Name('line_number'));
5974: OE_MSG_PUB.Add;
5975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
5976:
5977: END IF;
5978:
5979:

Line 5984: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

5980: RETURN FALSE;
5981:
5982: WHEN OTHERS THEN
5983:
5984: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5985: THEN
5986: OE_MSG_PUB.Add_Exc_Msg
5987: ( G_PKG_NAME
5988: , 'Line_Number'

Line 5986: OE_MSG_PUB.Add_Exc_Msg

5982: WHEN OTHERS THEN
5983:
5984: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
5985: THEN
5986: OE_MSG_PUB.Add_Exc_Msg
5987: ( G_PKG_NAME
5988: , 'Line_Number'
5989: );
5990: END IF;

Line 6023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6019: EXCEPTION
6020:
6021: WHEN NO_DATA_FOUND THEN
6022:
6023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6024: THEN
6025:
6026: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM_ID');
6027:

Line 6026: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM_ID');

6022:
6023: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6024: THEN
6025:
6026: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM_ID');
6027:
6028: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6029: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6030: OE_Order_Util.Get_Attribute_Name('ordered_item_id'));

Line 6031: OE_MSG_PUB.Add;

6027:
6028: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6029: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6030: OE_Order_Util.Get_Attribute_Name('ordered_item_id'));
6031: OE_MSG_PUB.Add;
6032: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6033:
6034: END IF;
6035:

Line 6032: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6028: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6029: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6030: OE_Order_Util.Get_Attribute_Name('ordered_item_id'));
6031: OE_MSG_PUB.Add;
6032: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6033:
6034: END IF;
6035:
6036:

Line 6041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6037: RETURN FALSE;
6038:
6039: WHEN OTHERS THEN
6040:
6041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6042: THEN
6043: OE_MSG_PUB.Add_Exc_Msg
6044: ( G_PKG_NAME
6045: , 'Ordered_Item_Id'

Line 6043: OE_MSG_PUB.Add_Exc_Msg

6039: WHEN OTHERS THEN
6040:
6041: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6042: THEN
6043: OE_MSG_PUB.Add_Exc_Msg
6044: ( G_PKG_NAME
6045: , 'Ordered_Item_Id'
6046: );
6047: END IF;

Line 6080: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6076: EXCEPTION
6077:
6078: WHEN NO_DATA_FOUND THEN
6079:
6080: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6081: THEN
6082:
6083: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_IDENTIFIER_TYPE');
6084:

Line 6083: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_IDENTIFIER_TYPE');

6079:
6080: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6081: THEN
6082:
6083: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_IDENTIFIER_TYPE');
6084:
6085: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6086: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6087: OE_Order_Util.Get_Attribute_Name('item_identifier_type'));

Line 6088: OE_MSG_PUB.Add;

6084:
6085: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6086: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6087: OE_Order_Util.Get_Attribute_Name('item_identifier_type'));
6088: OE_MSG_PUB.Add;
6089: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6090:
6091: END IF;
6092:

Line 6089: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6085: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6086: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6087: OE_Order_Util.Get_Attribute_Name('item_identifier_type'));
6088: OE_MSG_PUB.Add;
6089: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6090:
6091: END IF;
6092:
6093:

Line 6098: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6094: RETURN FALSE;
6095:
6096: WHEN OTHERS THEN
6097:
6098: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6099: THEN
6100: OE_MSG_PUB.Add_Exc_Msg
6101: ( G_PKG_NAME
6102: , 'Item_Identifier_Type'

Line 6100: OE_MSG_PUB.Add_Exc_Msg

6096: WHEN OTHERS THEN
6097:
6098: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6099: THEN
6100: OE_MSG_PUB.Add_Exc_Msg
6101: ( G_PKG_NAME
6102: , 'Item_Identifier_Type'
6103: );
6104: END IF;

Line 6137: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6133: EXCEPTION
6134:
6135: WHEN NO_DATA_FOUND THEN
6136:
6137: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6138: THEN
6139:
6140: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM');
6141:

Line 6140: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM');

6136:
6137: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6138: THEN
6139:
6140: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_ITEM');
6141:
6142: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6143: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6144: OE_Order_Util.Get_Attribute_Name('ordered_item'));

Line 6145: OE_MSG_PUB.Add;

6141:
6142: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6143: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6144: OE_Order_Util.Get_Attribute_Name('ordered_item'));
6145: OE_MSG_PUB.Add;
6146: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6147:
6148: END IF;
6149:

Line 6146: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6142: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6143: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6144: OE_Order_Util.Get_Attribute_Name('ordered_item'));
6145: OE_MSG_PUB.Add;
6146: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6147:
6148: END IF;
6149:
6150:

Line 6155: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6151: RETURN FALSE;
6152:
6153: WHEN OTHERS THEN
6154:
6155: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6156: THEN
6157: OE_MSG_PUB.Add_Exc_Msg
6158: ( G_PKG_NAME
6159: , 'Ordered_Item'

Line 6157: OE_MSG_PUB.Add_Exc_Msg

6153: WHEN OTHERS THEN
6154:
6155: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6156: THEN
6157: OE_MSG_PUB.Add_Exc_Msg
6158: ( G_PKG_NAME
6159: , 'Ordered_Item'
6160: );
6161: END IF;

Line 6194: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6190: EXCEPTION
6191:
6192: WHEN NO_DATA_FOUND THEN
6193:
6194: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6195: THEN
6196:
6197: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_REQUESTED');
6198:

Line 6197: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_REQUESTED');

6193:
6194: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6195: THEN
6196:
6197: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_REQUESTED');
6198:
6199: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6200: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6201: OE_Order_Util.Get_Attribute_Name('date_and_time_requested'));

Line 6202: OE_MSG_PUB.Add;

6198:
6199: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6200: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6201: OE_Order_Util.Get_Attribute_Name('date_and_time_requested'));
6202: OE_MSG_PUB.Add;
6203: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6204:
6205: END IF;
6206:

Line 6203: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6199: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6200: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6201: OE_Order_Util.Get_Attribute_Name('date_and_time_requested'));
6202: OE_MSG_PUB.Add;
6203: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6204:
6205: END IF;
6206:
6207:

Line 6212: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6208: RETURN FALSE;
6209:
6210: WHEN OTHERS THEN
6211:
6212: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6213: THEN
6214: OE_MSG_PUB.Add_Exc_Msg
6215: ( G_PKG_NAME
6216: , 'Date_And_Time_Requested'

Line 6214: OE_MSG_PUB.Add_Exc_Msg

6210: WHEN OTHERS THEN
6211:
6212: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6213: THEN
6214: OE_MSG_PUB.Add_Exc_Msg
6215: ( G_PKG_NAME
6216: , 'Date_And_Time_Requested'
6217: );
6218: END IF;

Line 6251: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6247: EXCEPTION
6248:
6249: WHEN NO_DATA_FOUND THEN
6250:
6251: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6252: THEN
6253:
6254: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_PROMISED');
6255:

Line 6254: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_PROMISED');

6250:
6251: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6252: THEN
6253:
6254: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_PROMISED');
6255:
6256: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6257: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6258: OE_Order_Util.Get_Attribute_Name('date_and_time_promised'));

Line 6259: OE_MSG_PUB.Add;

6255:
6256: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6257: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6258: OE_Order_Util.Get_Attribute_Name('date_and_time_promised'));
6259: OE_MSG_PUB.Add;
6260: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6261:
6262: END IF;
6263:

Line 6260: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6256: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6257: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6258: OE_Order_Util.Get_Attribute_Name('date_and_time_promised'));
6259: OE_MSG_PUB.Add;
6260: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6261:
6262: END IF;
6263:
6264:

Line 6269: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6265: RETURN FALSE;
6266:
6267: WHEN OTHERS THEN
6268:
6269: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6270: THEN
6271: OE_MSG_PUB.Add_Exc_Msg
6272: ( G_PKG_NAME
6273: , 'Date_And_Time_Promised'

Line 6271: OE_MSG_PUB.Add_Exc_Msg

6267: WHEN OTHERS THEN
6268:
6269: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6270: THEN
6271: OE_MSG_PUB.Add_Exc_Msg
6272: ( G_PKG_NAME
6273: , 'Date_And_Time_Promised'
6274: );
6275: END IF;

Line 6308: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6304: EXCEPTION
6305:
6306: WHEN NO_DATA_FOUND THEN
6307:
6308: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6309: THEN
6310:
6311: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_SCHEDULED');
6312:

Line 6311: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_SCHEDULED');

6307:
6308: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6309: THEN
6310:
6311: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DATE_AND_TIME_SCHEDULED');
6312:
6313: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6314: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6315: OE_Order_Util.Get_Attribute_Name('date_and_time_scheduled'));

Line 6316: OE_MSG_PUB.Add;

6312:
6313: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6314: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6315: OE_Order_Util.Get_Attribute_Name('date_and_time_scheduled'));
6316: OE_MSG_PUB.Add;
6317: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6318:
6319: END IF;
6320:

Line 6317: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6313: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6314: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6315: OE_Order_Util.Get_Attribute_Name('date_and_time_scheduled'));
6316: OE_MSG_PUB.Add;
6317: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6318:
6319: END IF;
6320:
6321:

Line 6326: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6322: RETURN FALSE;
6323:
6324: WHEN OTHERS THEN
6325:
6326: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6327: THEN
6328: OE_MSG_PUB.Add_Exc_Msg
6329: ( G_PKG_NAME
6330: , 'Date_And_Time_Scheduled'

Line 6328: OE_MSG_PUB.Add_Exc_Msg

6324: WHEN OTHERS THEN
6325:
6326: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6327: THEN
6328: OE_MSG_PUB.Add_Exc_Msg
6329: ( G_PKG_NAME
6330: , 'Date_And_Time_Scheduled'
6331: );
6332: END IF;

Line 6365: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6361: EXCEPTION
6362:
6363: WHEN NO_DATA_FOUND THEN
6364:
6365: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6366: THEN
6367:
6368: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_QUANTITY_UOM');
6369:

Line 6368: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_QUANTITY_UOM');

6364:
6365: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6366: THEN
6367:
6368: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_QUANTITY_UOM');
6369:
6370: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6371: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6372: OE_Order_Util.Get_Attribute_Name('order_quantity_uom'));

Line 6373: OE_MSG_PUB.Add;

6369:
6370: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6371: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6372: OE_Order_Util.Get_Attribute_Name('order_quantity_uom'));
6373: OE_MSG_PUB.Add;
6374: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6375:
6376: END IF;
6377:

Line 6374: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6370: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6371: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6372: OE_Order_Util.Get_Attribute_Name('order_quantity_uom'));
6373: OE_MSG_PUB.Add;
6374: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6375:
6376: END IF;
6377:
6378:

Line 6383: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6379: RETURN FALSE;
6380:
6381: WHEN OTHERS THEN
6382:
6383: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6384: THEN
6385: OE_MSG_PUB.Add_Exc_Msg
6386: ( G_PKG_NAME
6387: , 'Order_Quantity_Uom'

Line 6385: OE_MSG_PUB.Add_Exc_Msg

6381: WHEN OTHERS THEN
6382:
6383: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6384: THEN
6385: OE_MSG_PUB.Add_Exc_Msg
6386: ( G_PKG_NAME
6387: , 'Order_Quantity_Uom'
6388: );
6389: END IF;

Line 6418: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6414: EXCEPTION
6415:
6416: WHEN NO_DATA_FOUND THEN
6417:
6418: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6419: THEN
6420:
6421: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY_UOM2');
6422:

Line 6421: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY_UOM2');

6417:
6418: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6419: THEN
6420:
6421: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY_UOM2');
6422:
6423: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6424: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6425: OE_Order_Util.Get_Attribute_Name('ordered_quantity_uom2'));

Line 6426: OE_MSG_PUB.Add;

6422:
6423: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6424: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6425: OE_Order_Util.Get_Attribute_Name('ordered_quantity_uom2'));
6426: OE_MSG_PUB.Add;
6427: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6428:
6429: END IF;
6430:

Line 6427: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6423: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6424: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6425: OE_Order_Util.Get_Attribute_Name('ordered_quantity_uom2'));
6426: OE_MSG_PUB.Add;
6427: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6428:
6429: END IF;
6430:
6431:

Line 6436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6432: RETURN FALSE;
6433:
6434: WHEN OTHERS THEN
6435:
6436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6437: THEN
6438: OE_MSG_PUB.Add_Exc_Msg
6439: ( G_PKG_NAME
6440: , 'Ordered_Quantity_Uom2'

Line 6438: OE_MSG_PUB.Add_Exc_Msg

6434: WHEN OTHERS THEN
6435:
6436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6437: THEN
6438: OE_MSG_PUB.Add_Exc_Msg
6439: ( G_PKG_NAME
6440: , 'Ordered_Quantity_Uom2'
6441: );
6442: END IF;

Line 6469: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6465: EXCEPTION
6466:
6467: WHEN NO_DATA_FOUND THEN
6468:
6469: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6470: THEN
6471:
6472: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PREFERRED_GRADE');
6473:

Line 6472: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PREFERRED_GRADE');

6468:
6469: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6470: THEN
6471:
6472: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PREFERRED_GRADE');
6473:
6474: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6475: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6476: OE_Order_Util.Get_Attribute_Name('preferred_grade'));

Line 6477: OE_MSG_PUB.Add;

6473:
6474: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6475: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6476: OE_Order_Util.Get_Attribute_Name('preferred_grade'));
6477: OE_MSG_PUB.Add;
6478: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6479:
6480: END IF;
6481:

Line 6478: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6474: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6475: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6476: OE_Order_Util.Get_Attribute_Name('preferred_grade'));
6477: OE_MSG_PUB.Add;
6478: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6479:
6480: END IF;
6481:
6482:

Line 6487: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6483: RETURN FALSE;
6484:
6485: WHEN OTHERS THEN
6486:
6487: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6488: THEN
6489: oe_debug_pub.add('OPM preferred_grade exception in VATB', 1);
6490: OE_MSG_PUB.Add_Exc_Msg
6491: ( G_PKG_NAME

Line 6490: OE_MSG_PUB.Add_Exc_Msg

6486:
6487: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6488: THEN
6489: oe_debug_pub.add('OPM preferred_grade exception in VATB', 1);
6490: OE_MSG_PUB.Add_Exc_Msg
6491: ( G_PKG_NAME
6492: , 'Preferred_Grade'
6493: );
6494: END IF;

Line 6530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6526: EXCEPTION
6527:
6528: WHEN NO_DATA_FOUND THEN
6529:
6530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6531: THEN
6532:
6533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY');
6534:

Line 6533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY');

6529:
6530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6531: THEN
6532:
6533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY');
6534:
6535: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6536: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6537: OE_Order_Util.Get_Attribute_Name('pricing_quantity'));

Line 6538: OE_MSG_PUB.Add;

6534:
6535: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6536: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6537: OE_Order_Util.Get_Attribute_Name('pricing_quantity'));
6538: OE_MSG_PUB.Add;
6539: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6540:
6541: END IF;
6542:

Line 6539: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6535: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6536: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6537: OE_Order_Util.Get_Attribute_Name('pricing_quantity'));
6538: OE_MSG_PUB.Add;
6539: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6540:
6541: END IF;
6542:
6543:

Line 6548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6544: RETURN FALSE;
6545:
6546: WHEN OTHERS THEN
6547:
6548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6549: THEN
6550: OE_MSG_PUB.Add_Exc_Msg
6551: ( G_PKG_NAME
6552: , 'Pricing_Quantity'

Line 6550: OE_MSG_PUB.Add_Exc_Msg

6546: WHEN OTHERS THEN
6547:
6548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6549: THEN
6550: OE_MSG_PUB.Add_Exc_Msg
6551: ( G_PKG_NAME
6552: , 'Pricing_Quantity'
6553: );
6554: END IF;

Line 6587: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6583: EXCEPTION
6584:
6585: WHEN NO_DATA_FOUND THEN
6586:
6587: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6588: THEN
6589:
6590: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY_UOM');
6591:

Line 6590: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY_UOM');

6586:
6587: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6588: THEN
6589:
6590: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_QUANTITY_UOM');
6591:
6592: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6593: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6594: OE_Order_Util.Get_Attribute_Name('pricing_quantity_uom'));

Line 6595: OE_MSG_PUB.Add;

6591:
6592: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6593: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6594: OE_Order_Util.Get_Attribute_Name('pricing_quantity_uom'));
6595: OE_MSG_PUB.Add;
6596: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6597:
6598: END IF;
6599:

Line 6596: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6592: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6593: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6594: OE_Order_Util.Get_Attribute_Name('pricing_quantity_uom'));
6595: OE_MSG_PUB.Add;
6596: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6597:
6598: END IF;
6599:
6600:

Line 6605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6601: RETURN FALSE;
6602:
6603: WHEN OTHERS THEN
6604:
6605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6606: THEN
6607: OE_MSG_PUB.Add_Exc_Msg
6608: ( G_PKG_NAME
6609: , 'Pricing_Quantity_Uom'

Line 6607: OE_MSG_PUB.Add_Exc_Msg

6603: WHEN OTHERS THEN
6604:
6605: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6606: THEN
6607: OE_MSG_PUB.Add_Exc_Msg
6608: ( G_PKG_NAME
6609: , 'Pricing_Quantity_Uom'
6610: );
6611: END IF;

Line 6644: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6640: EXCEPTION
6641:
6642: WHEN NO_DATA_FOUND THEN
6643:
6644: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6645: THEN
6646:
6647: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_CANCELLED');
6648:

Line 6647: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_CANCELLED');

6643:
6644: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6645: THEN
6646:
6647: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_CANCELLED');
6648:
6649: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6650: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6651: OE_Order_Util.Get_Attribute_Name('quantity_cancelled'));

Line 6652: OE_MSG_PUB.Add;

6648:
6649: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6650: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6651: OE_Order_Util.Get_Attribute_Name('quantity_cancelled'));
6652: OE_MSG_PUB.Add;
6653: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6654:
6655: END IF;
6656:

Line 6653: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6649: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6650: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6651: OE_Order_Util.Get_Attribute_Name('quantity_cancelled'));
6652: OE_MSG_PUB.Add;
6653: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6654:
6655: END IF;
6656:
6657:

Line 6662: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6658: RETURN FALSE;
6659:
6660: WHEN OTHERS THEN
6661:
6662: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6663: THEN
6664: OE_MSG_PUB.Add_Exc_Msg
6665: ( G_PKG_NAME
6666: , 'Quantity_Cancelled'

Line 6664: OE_MSG_PUB.Add_Exc_Msg

6660: WHEN OTHERS THEN
6661:
6662: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6663: THEN
6664: OE_MSG_PUB.Add_Exc_Msg
6665: ( G_PKG_NAME
6666: , 'Quantity_Cancelled'
6667: );
6668: END IF;

Line 6701: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6697: EXCEPTION
6698:
6699: WHEN NO_DATA_FOUND THEN
6700:
6701: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6702: THEN
6703:
6704: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_SHIPPED');
6705:

Line 6704: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_SHIPPED');

6700:
6701: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6702: THEN
6703:
6704: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_SHIPPED');
6705:
6706: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6707: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6708: OE_Order_Util.Get_Attribute_Name('quantity_shipped'));

Line 6709: OE_MSG_PUB.Add;

6705:
6706: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6707: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6708: OE_Order_Util.Get_Attribute_Name('quantity_shipped'));
6709: OE_MSG_PUB.Add;
6710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6711:
6712: END IF;
6713:

Line 6710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6706: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6707: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6708: OE_Order_Util.Get_Attribute_Name('quantity_shipped'));
6709: OE_MSG_PUB.Add;
6710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6711:
6712: END IF;
6713:
6714:

Line 6719: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6715: RETURN FALSE;
6716:
6717: WHEN OTHERS THEN
6718:
6719: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6720: THEN
6721: OE_MSG_PUB.Add_Exc_Msg
6722: ( G_PKG_NAME
6723: , 'Quantity_Shipped'

Line 6721: OE_MSG_PUB.Add_Exc_Msg

6717: WHEN OTHERS THEN
6718:
6719: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6720: THEN
6721: OE_MSG_PUB.Add_Exc_Msg
6722: ( G_PKG_NAME
6723: , 'Quantity_Shipped'
6724: );
6725: END IF;

Line 6758: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6754: EXCEPTION
6755:
6756: WHEN NO_DATA_FOUND THEN
6757:
6758: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6759: THEN
6760:
6761: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_ORDERED');
6762:

Line 6761: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_ORDERED');

6757:
6758: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6759: THEN
6760:
6761: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_ORDERED');
6762:
6763: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6764: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6765: OE_Order_Util.Get_Attribute_Name('quantity_ordered'));

Line 6766: OE_MSG_PUB.Add;

6762:
6763: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6764: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6765: OE_Order_Util.Get_Attribute_Name('quantity_ordered'));
6766: OE_MSG_PUB.Add;
6767: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6768:
6769: END IF;
6770:

Line 6767: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6763: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6764: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6765: OE_Order_Util.Get_Attribute_Name('quantity_ordered'));
6766: OE_MSG_PUB.Add;
6767: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6768:
6769: END IF;
6770:
6771:

Line 6776: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6772: RETURN FALSE;
6773:
6774: WHEN OTHERS THEN
6775:
6776: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6777: THEN
6778: OE_MSG_PUB.Add_Exc_Msg
6779: ( G_PKG_NAME
6780: , 'Quantity_Ordered'

Line 6778: OE_MSG_PUB.Add_Exc_Msg

6774: WHEN OTHERS THEN
6775:
6776: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6777: THEN
6778: OE_MSG_PUB.Add_Exc_Msg
6779: ( G_PKG_NAME
6780: , 'Quantity_Ordered'
6781: );
6782: END IF;

Line 6815: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6811: EXCEPTION
6812:
6813: WHEN NO_DATA_FOUND THEN
6814:
6815: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6816: THEN
6817:
6818: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_FULFILLED');
6819:

Line 6818: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_FULFILLED');

6814:
6815: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6816: THEN
6817:
6818: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY_FULFILLED');
6819:
6820: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6821: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6822: OE_Order_Util.Get_Attribute_Name('quantity_fulfilled'));

Line 6823: OE_MSG_PUB.Add;

6819:
6820: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6821: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6822: OE_Order_Util.Get_Attribute_Name('quantity_fulfilled'));
6823: OE_MSG_PUB.Add;
6824: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6825:
6826: END IF;
6827:

Line 6824: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6820: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6821: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6822: OE_Order_Util.Get_Attribute_Name('quantity_fulfilled'));
6823: OE_MSG_PUB.Add;
6824: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6825:
6826: END IF;
6827:
6828:

Line 6833: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6829: RETURN FALSE;
6830:
6831: WHEN OTHERS THEN
6832:
6833: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6834: THEN
6835: OE_MSG_PUB.Add_Exc_Msg
6836: ( G_PKG_NAME
6837: , 'Quantity_Fulfilled'

Line 6835: OE_MSG_PUB.Add_Exc_Msg

6831: WHEN OTHERS THEN
6832:
6833: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6834: THEN
6835: OE_MSG_PUB.Add_Exc_Msg
6836: ( G_PKG_NAME
6837: , 'Quantity_Fulfilled'
6838: );
6839: END IF;

Line 6874: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6870: EXCEPTION
6871:
6872: WHEN NO_DATA_FOUND THEN
6873:
6874: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6875: THEN
6876:
6877: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_FLAG');
6878:

Line 6877: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_FLAG');

6873:
6874: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6875: THEN
6876:
6877: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_FLAG');
6878:
6879: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6880: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6881: OE_Order_Util.Get_Attribute_Name('fulfilled_flag'));

Line 6882: OE_MSG_PUB.Add;

6878:
6879: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6880: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6881: OE_Order_Util.Get_Attribute_Name('fulfilled_flag'));
6882: OE_MSG_PUB.Add;
6883: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6884:
6885: END IF;
6886:

Line 6883: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6879: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6880: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6881: OE_Order_Util.Get_Attribute_Name('fulfilled_flag'));
6882: OE_MSG_PUB.Add;
6883: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6884:
6885: END IF;
6886:
6887:

Line 6892: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6888: RETURN FALSE;
6889:
6890: WHEN OTHERS THEN
6891:
6892: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6893: THEN
6894: OE_MSG_PUB.Add_Exc_Msg
6895: ( G_PKG_NAME
6896: , 'Fulfilled'

Line 6894: OE_MSG_PUB.Add_Exc_Msg

6890: WHEN OTHERS THEN
6891:
6892: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6893: THEN
6894: OE_MSG_PUB.Add_Exc_Msg
6895: ( G_PKG_NAME
6896: , 'Fulfilled'
6897: );
6898: END IF;

Line 6936: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6932: EXCEPTION
6933:
6934: WHEN NO_DATA_FOUND THEN
6935:
6936: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6937: THEN
6938:
6939: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CALCULATE_PRICE_FLAG');
6940:

Line 6939: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CALCULATE_PRICE_FLAG');

6935:
6936: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6937: THEN
6938:
6939: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CALCULATE_PRICE_FLAG');
6940:
6941: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6942: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6943: OE_Order_Util.Get_Attribute_Name('calculate_price_flag'));

Line 6944: OE_MSG_PUB.Add;

6940:
6941: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6942: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6943: OE_Order_Util.Get_Attribute_Name('calculate_price_flag'));
6944: OE_MSG_PUB.Add;
6945: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6946:
6947: END IF;
6948:

Line 6945: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6941: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6942: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
6943: OE_Order_Util.Get_Attribute_Name('calculate_price_flag'));
6944: OE_MSG_PUB.Add;
6945: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
6946:
6947: END IF;
6948:
6949:

Line 6954: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

6950: RETURN FALSE;
6951:
6952: WHEN OTHERS THEN
6953:
6954: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6955: THEN
6956: OE_MSG_PUB.Add_Exc_Msg
6957: ( G_PKG_NAME
6958: , 'Calculate_Price_Flag'

Line 6956: OE_MSG_PUB.Add_Exc_Msg

6952: WHEN OTHERS THEN
6953:
6954: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
6955: THEN
6956: OE_MSG_PUB.Add_Exc_Msg
6957: ( G_PKG_NAME
6958: , 'Calculate_Price_Flag'
6959: );
6960: END IF;

Line 6993: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

6989: EXCEPTION
6990:
6991: WHEN NO_DATA_FOUND THEN
6992:
6993: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6994: THEN
6995:
6996: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_METHOD_CODE');
6997:

Line 6996: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_METHOD_CODE');

6992:
6993: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
6994: THEN
6995:
6996: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_METHOD_CODE');
6997:
6998: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6999: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7000: OE_Order_Util.Get_Attribute_Name('fulfillment_method_code'));

Line 7001: OE_MSG_PUB.Add;

6997:
6998: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6999: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7000: OE_Order_Util.Get_Attribute_Name('fulfillment_method_code'));
7001: OE_MSG_PUB.Add;
7002: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7003:
7004: END IF;
7005:

Line 7002: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

6998: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
6999: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7000: OE_Order_Util.Get_Attribute_Name('fulfillment_method_code'));
7001: OE_MSG_PUB.Add;
7002: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7003:
7004: END IF;
7005:
7006:

Line 7011: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7007: RETURN FALSE;
7008:
7009: WHEN OTHERS THEN
7010:
7011: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7012: THEN
7013: OE_MSG_PUB.Add_Exc_Msg
7014: ( G_PKG_NAME
7015: , 'Fulfillment_Method'

Line 7013: OE_MSG_PUB.Add_Exc_Msg

7009: WHEN OTHERS THEN
7010:
7011: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7012: THEN
7013: OE_MSG_PUB.Add_Exc_Msg
7014: ( G_PKG_NAME
7015: , 'Fulfillment_Method'
7016: );
7017: END IF;

Line 7049: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7045: EXCEPTION
7046:
7047: WHEN NO_DATA_FOUND THEN
7048:
7049: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7050: THEN
7051:
7052: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_DATE');
7053:

Line 7052: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_DATE');

7048:
7049: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7050: THEN
7051:
7052: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLMENT_DATE');
7053:
7054: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7055: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7056: OE_Order_Util.Get_Attribute_Name('fulfillment_date'));

Line 7057: OE_MSG_PUB.Add;

7053:
7054: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7055: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7056: OE_Order_Util.Get_Attribute_Name('fulfillment_date'));
7057: OE_MSG_PUB.Add;
7058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7059:
7060: END IF;
7061:

Line 7058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7054: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7055: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7056: OE_Order_Util.Get_Attribute_Name('fulfillment_date'));
7057: OE_MSG_PUB.Add;
7058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7059:
7060: END IF;
7061:
7062:

Line 7067: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7063: RETURN FALSE;
7064:
7065: WHEN OTHERS THEN
7066:
7067: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7068: THEN
7069: OE_MSG_PUB.Add_Exc_Msg
7070: ( G_PKG_NAME
7071: , 'Fulfillment_Date'

Line 7069: OE_MSG_PUB.Add_Exc_Msg

7065: WHEN OTHERS THEN
7066:
7067: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7068: THEN
7069: OE_MSG_PUB.Add_Exc_Msg
7070: ( G_PKG_NAME
7071: , 'Fulfillment_Date'
7072: );
7073: END IF;

Line 7106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7102: EXCEPTION
7103:
7104: WHEN NO_DATA_FOUND THEN
7105:
7106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7107: THEN
7108:
7109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY');
7110:

Line 7109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY');

7105:
7106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7107: THEN
7108:
7109: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY');
7110:
7111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7113: OE_Order_Util.Get_Attribute_Name('shipping_quantity'));

Line 7114: OE_MSG_PUB.Add;

7110:
7111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7113: OE_Order_Util.Get_Attribute_Name('shipping_quantity'));
7114: OE_MSG_PUB.Add;
7115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7116:
7117: END IF;
7118:

Line 7115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7111: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7112: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7113: OE_Order_Util.Get_Attribute_Name('shipping_quantity'));
7114: OE_MSG_PUB.Add;
7115: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7116:
7117: END IF;
7118:
7119:

Line 7124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7120: RETURN FALSE;
7121:
7122: WHEN OTHERS THEN
7123:
7124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7125: THEN
7126: OE_MSG_PUB.Add_Exc_Msg
7127: ( G_PKG_NAME
7128: , 'Shipping_Quantity'

Line 7126: OE_MSG_PUB.Add_Exc_Msg

7122: WHEN OTHERS THEN
7123:
7124: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7125: THEN
7126: OE_MSG_PUB.Add_Exc_Msg
7127: ( G_PKG_NAME
7128: , 'Shipping_Quantity'
7129: );
7130: END IF;

Line 7163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7159: EXCEPTION
7160:
7161: WHEN NO_DATA_FOUND THEN
7162:
7163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7164: THEN
7165:
7166: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM');
7167:

Line 7166: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM');

7162:
7163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7164: THEN
7165:
7166: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM');
7167:
7168: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7169: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7170: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom'));

Line 7171: OE_MSG_PUB.Add;

7167:
7168: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7169: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7170: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom'));
7171: OE_MSG_PUB.Add;
7172: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7173:
7174: END IF;
7175:

Line 7172: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7168: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7169: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7170: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom'));
7171: OE_MSG_PUB.Add;
7172: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7173:
7174: END IF;
7175:
7176:

Line 7181: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7177: RETURN FALSE;
7178:
7179: WHEN OTHERS THEN
7180:
7181: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7182: THEN
7183: OE_MSG_PUB.Add_Exc_Msg
7184: ( G_PKG_NAME
7185: , 'Shipping_Quantity_Uom'

Line 7183: OE_MSG_PUB.Add_Exc_Msg

7179: WHEN OTHERS THEN
7180:
7181: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7182: THEN
7183: OE_MSG_PUB.Add_Exc_Msg
7184: ( G_PKG_NAME
7185: , 'Shipping_Quantity_Uom'
7186: );
7187: END IF;

Line 7221: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7217: EXCEPTION
7218:
7219: WHEN NO_DATA_FOUND THEN
7220:
7221: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7222: THEN
7223:
7224: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY2');
7225:

Line 7224: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY2');

7220:
7221: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7222: THEN
7223:
7224: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY2');
7225:
7226: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7227: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7228: OE_Order_Util.Get_Attribute_Name('shipping_quantity2'));

Line 7229: OE_MSG_PUB.Add;

7225:
7226: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7227: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7228: OE_Order_Util.Get_Attribute_Name('shipping_quantity2'));
7229: OE_MSG_PUB.Add;
7230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7231:
7232: END IF;
7233:

Line 7230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7226: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7227: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7228: OE_Order_Util.Get_Attribute_Name('shipping_quantity2'));
7229: OE_MSG_PUB.Add;
7230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7231:
7232: END IF;
7233:
7234:

Line 7239: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7235: RETURN FALSE;
7236:
7237: WHEN OTHERS THEN
7238:
7239: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7240: THEN
7241: OE_MSG_PUB.Add_Exc_Msg
7242: ( G_PKG_NAME
7243: , 'Shipping_Quantity'

Line 7241: OE_MSG_PUB.Add_Exc_Msg

7237: WHEN OTHERS THEN
7238:
7239: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7240: THEN
7241: OE_MSG_PUB.Add_Exc_Msg
7242: ( G_PKG_NAME
7243: , 'Shipping_Quantity'
7244: );
7245: END IF;

Line 7278: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7274: EXCEPTION
7275:
7276: WHEN NO_DATA_FOUND THEN
7277:
7278: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7279: THEN
7280:
7281: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM2');
7282:

Line 7281: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM2');

7277:
7278: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7279: THEN
7280:
7281: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPING_QUANTITY_UOM2');
7282:
7283: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7284: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7285: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom2'));

Line 7286: OE_MSG_PUB.Add;

7282:
7283: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7284: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7285: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom2'));
7286: OE_MSG_PUB.Add;
7287: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7288:
7289: END IF;
7290:

Line 7287: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7283: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7284: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7285: OE_Order_Util.Get_Attribute_Name('shipping_quantity_uom2'));
7286: OE_MSG_PUB.Add;
7287: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7288:
7289: END IF;
7290:
7291:

Line 7296: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7292: RETURN FALSE;
7293:
7294: WHEN OTHERS THEN
7295:
7296: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7297: THEN
7298: OE_MSG_PUB.Add_Exc_Msg
7299: ( G_PKG_NAME
7300: , 'Shipping_Quantity_Uom2'

Line 7298: OE_MSG_PUB.Add_Exc_Msg

7294: WHEN OTHERS THEN
7295:
7296: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7297: THEN
7298: OE_MSG_PUB.Add_Exc_Msg
7299: ( G_PKG_NAME
7300: , 'Shipping_Quantity_Uom2'
7301: );
7302: END IF;

Line 7336: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7332: EXCEPTION
7333:
7334: WHEN NO_DATA_FOUND THEN
7335:
7336: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7337: THEN
7338:
7339: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVERY_LEAD_TIME');
7340:

Line 7339: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVERY_LEAD_TIME');

7335:
7336: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7337: THEN
7338:
7339: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DELIVERY_LEAD_TIME');
7340:
7341: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7342: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7343: OE_Order_Util.Get_Attribute_Name('delivery_lead_time'));

Line 7344: OE_MSG_PUB.Add;

7340:
7341: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7342: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7343: OE_Order_Util.Get_Attribute_Name('delivery_lead_time'));
7344: OE_MSG_PUB.Add;
7345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7346:
7347: END IF;
7348:

Line 7345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7341: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7342: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7343: OE_Order_Util.Get_Attribute_Name('delivery_lead_time'));
7344: OE_MSG_PUB.Add;
7345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7346:
7347: END IF;
7348:
7349:

Line 7354: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7350: RETURN FALSE;
7351:
7352: WHEN OTHERS THEN
7353:
7354: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7355: THEN
7356: OE_MSG_PUB.Add_Exc_Msg
7357: ( G_PKG_NAME
7358: , 'Delivery_Lead_Time'

Line 7356: OE_MSG_PUB.Add_Exc_Msg

7352: WHEN OTHERS THEN
7353:
7354: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7355: THEN
7356: OE_MSG_PUB.Add_Exc_Msg
7357: ( G_PKG_NAME
7358: , 'Delivery_Lead_Time'
7359: );
7360: END IF;

Line 7393: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7389: EXCEPTION
7390:
7391: WHEN NO_DATA_FOUND THEN
7392:
7393: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7394: THEN
7395:
7396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_BUCKET_TYPE');
7397:

Line 7396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_BUCKET_TYPE');

7392:
7393: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7394: THEN
7395:
7396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_BUCKET_TYPE');
7397:
7398: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7399: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7400: OE_Order_Util.Get_Attribute_Name('demand_bucket_type'));

Line 7401: OE_MSG_PUB.Add;

7397:
7398: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7399: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7400: OE_Order_Util.Get_Attribute_Name('demand_bucket_type'));
7401: OE_MSG_PUB.Add;
7402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7403:
7404: END IF;
7405:

Line 7402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7398: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7399: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7400: OE_Order_Util.Get_Attribute_Name('demand_bucket_type'));
7401: OE_MSG_PUB.Add;
7402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7403:
7404: END IF;
7405:
7406:

Line 7411: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7407: RETURN FALSE;
7408:
7409: WHEN OTHERS THEN
7410:
7411: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7412: THEN
7413: OE_MSG_PUB.Add_Exc_Msg
7414: ( G_PKG_NAME
7415: , 'Demand_Bucket_Type'

Line 7413: OE_MSG_PUB.Add_Exc_Msg

7409: WHEN OTHERS THEN
7410:
7411: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7412: THEN
7413: OE_MSG_PUB.Add_Exc_Msg
7414: ( G_PKG_NAME
7415: , 'Demand_Bucket_Type'
7416: );
7417: END IF;

Line 7450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7446: EXCEPTION
7447:
7448: WHEN NO_DATA_FOUND THEN
7449:
7450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7451: THEN
7452:
7453: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ITEM_DETAIL_ID');
7454:

Line 7453: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ITEM_DETAIL_ID');

7449:
7450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7451: THEN
7452:
7453: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ITEM_DETAIL_ID');
7454:
7455: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7456: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7457: OE_Order_Util.Get_Attribute_Name('schedule_item_detail_id'));

Line 7458: OE_MSG_PUB.Add;

7454:
7455: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7456: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7457: OE_Order_Util.Get_Attribute_Name('schedule_item_detail_id'));
7458: OE_MSG_PUB.Add;
7459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7460:
7461: END IF;
7462:

Line 7459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7455: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7456: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7457: OE_Order_Util.Get_Attribute_Name('schedule_item_detail_id'));
7458: OE_MSG_PUB.Add;
7459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7460:
7461: END IF;
7462:
7463:

Line 7468: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7464: RETURN FALSE;
7465:
7466: WHEN OTHERS THEN
7467:
7468: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7469: THEN
7470: OE_MSG_PUB.Add_Exc_Msg
7471: ( G_PKG_NAME
7472: , 'Schedule_Item_Detail'

Line 7470: OE_MSG_PUB.Add_Exc_Msg

7466: WHEN OTHERS THEN
7467:
7468: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7469: THEN
7470: OE_MSG_PUB.Add_Exc_Msg
7471: ( G_PKG_NAME
7472: , 'Schedule_Item_Detail'
7473: );
7474: END IF;

Line 7507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7503: EXCEPTION
7504:
7505: WHEN NO_DATA_FOUND THEN
7506:
7507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7508: THEN
7509:
7510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_STREAM_ID');
7511:

Line 7510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_STREAM_ID');

7506:
7507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7508: THEN
7509:
7510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEMAND_STREAM_ID');
7511:
7512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7514: OE_Order_Util.Get_Attribute_Name('demand_stream_id'));

Line 7515: OE_MSG_PUB.Add;

7511:
7512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7514: OE_Order_Util.Get_Attribute_Name('demand_stream_id'));
7515: OE_MSG_PUB.Add;
7516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7517:
7518: END IF;
7519:

Line 7516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7514: OE_Order_Util.Get_Attribute_Name('demand_stream_id'));
7515: OE_MSG_PUB.Add;
7516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7517:
7518: END IF;
7519:
7520:

Line 7525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7521: RETURN FALSE;
7522:
7523: WHEN OTHERS THEN
7524:
7525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7526: THEN
7527: OE_MSG_PUB.Add_Exc_Msg
7528: ( G_PKG_NAME
7529: , 'Demand_Stream'

Line 7527: OE_MSG_PUB.Add_Exc_Msg

7523: WHEN OTHERS THEN
7524:
7525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7526: THEN
7527: OE_MSG_PUB.Add_Exc_Msg
7528: ( G_PKG_NAME
7529: , 'Demand_Stream'
7530: );
7531: END IF;

Line 7564: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7560: EXCEPTION
7561:
7562: WHEN NO_DATA_FOUND THEN
7563:
7564: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7565: THEN
7566:
7567: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_DOCK_CODE');
7568:

Line 7567: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_DOCK_CODE');

7563:
7564: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7565: THEN
7566:
7567: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_DOCK_CODE');
7568:
7569: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7570: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7571: OE_Order_Util.Get_Attribute_Name('cust_dock_code'));

Line 7572: OE_MSG_PUB.Add;

7568:
7569: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7570: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7571: OE_Order_Util.Get_Attribute_Name('cust_dock_code'));
7572: OE_MSG_PUB.Add;
7573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7574:
7575: END IF;
7576:

Line 7573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7569: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7570: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7571: OE_Order_Util.Get_Attribute_Name('cust_dock_code'));
7572: OE_MSG_PUB.Add;
7573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7574:
7575: END IF;
7576:
7577:

Line 7582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7578: RETURN FALSE;
7579:
7580: WHEN OTHERS THEN
7581:
7582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7583: THEN
7584: OE_MSG_PUB.Add_Exc_Msg
7585: ( G_PKG_NAME
7586: , 'Cust_Dock'

Line 7584: OE_MSG_PUB.Add_Exc_Msg

7580: WHEN OTHERS THEN
7581:
7582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7583: THEN
7584: OE_MSG_PUB.Add_Exc_Msg
7585: ( G_PKG_NAME
7586: , 'Cust_Dock'
7587: );
7588: END IF;

Line 7621: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7617: EXCEPTION
7618:
7619: WHEN NO_DATA_FOUND THEN
7620:
7621: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7622: THEN
7623:
7624: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_JOB');
7625:

Line 7624: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_JOB');

7620:
7621: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7622: THEN
7623:
7624: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_JOB');
7625:
7626: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7627: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7628: OE_Order_Util.Get_Attribute_Name('cust_job'));

Line 7629: OE_MSG_PUB.Add;

7625:
7626: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7627: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7628: OE_Order_Util.Get_Attribute_Name('cust_job'));
7629: OE_MSG_PUB.Add;
7630: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7631:
7632: END IF;
7633:

Line 7630: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7626: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7627: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7628: OE_Order_Util.Get_Attribute_Name('cust_job'));
7629: OE_MSG_PUB.Add;
7630: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7631:
7632: END IF;
7633:
7634:

Line 7639: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7635: RETURN FALSE;
7636:
7637: WHEN OTHERS THEN
7638:
7639: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7640: THEN
7641: OE_MSG_PUB.Add_Exc_Msg
7642: ( G_PKG_NAME
7643: , 'Cust_Job'

Line 7641: OE_MSG_PUB.Add_Exc_Msg

7637: WHEN OTHERS THEN
7638:
7639: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7640: THEN
7641: OE_MSG_PUB.Add_Exc_Msg
7642: ( G_PKG_NAME
7643: , 'Cust_Job'
7644: );
7645: END IF;

Line 7678: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7674: EXCEPTION
7675:
7676: WHEN NO_DATA_FOUND THEN
7677:
7678: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7679: THEN
7680:
7681: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_LINE');
7682:

Line 7681: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_LINE');

7677:
7678: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7679: THEN
7680:
7681: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_LINE');
7682:
7683: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7684: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7685: OE_Order_Util.Get_Attribute_Name('cust_production_line'));

Line 7686: OE_MSG_PUB.Add;

7682:
7683: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7684: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7685: OE_Order_Util.Get_Attribute_Name('cust_production_line'));
7686: OE_MSG_PUB.Add;
7687: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7688:
7689: END IF;
7690:

Line 7687: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7683: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7684: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7685: OE_Order_Util.Get_Attribute_Name('cust_production_line'));
7686: OE_MSG_PUB.Add;
7687: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7688:
7689: END IF;
7690:
7691:

Line 7696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7692: RETURN FALSE;
7693:
7694: WHEN OTHERS THEN
7695:
7696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7697: THEN
7698: OE_MSG_PUB.Add_Exc_Msg
7699: ( G_PKG_NAME
7700: , 'Cust_Production_Line'

Line 7698: OE_MSG_PUB.Add_Exc_Msg

7694: WHEN OTHERS THEN
7695:
7696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7697: THEN
7698: OE_MSG_PUB.Add_Exc_Msg
7699: ( G_PKG_NAME
7700: , 'Cust_Production_Line'
7701: );
7702: END IF;

Line 7735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7731: EXCEPTION
7732:
7733: WHEN NO_DATA_FOUND THEN
7734:
7735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7736: THEN
7737:
7738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_MODEL_SERIAL_NUMBER');
7739:

Line 7738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_MODEL_SERIAL_NUMBER');

7734:
7735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7736: THEN
7737:
7738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_MODEL_SERIAL_NUMBER');
7739:
7740: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7741: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7742: OE_Order_Util.Get_Attribute_Name('cust_model_serial_number'));

Line 7743: OE_MSG_PUB.Add;

7739:
7740: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7741: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7742: OE_Order_Util.Get_Attribute_Name('cust_model_serial_number'));
7743: OE_MSG_PUB.Add;
7744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7745:
7746: END IF;
7747:

Line 7744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7740: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7741: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7742: OE_Order_Util.Get_Attribute_Name('cust_model_serial_number'));
7743: OE_MSG_PUB.Add;
7744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7745:
7746: END IF;
7747:
7748:

Line 7753: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7749: RETURN FALSE;
7750:
7751: WHEN OTHERS THEN
7752:
7753: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7754: THEN
7755: OE_MSG_PUB.Add_Exc_Msg
7756: ( G_PKG_NAME
7757: , 'Cust_Model_Serial_Number'

Line 7755: OE_MSG_PUB.Add_Exc_Msg

7751: WHEN OTHERS THEN
7752:
7753: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7754: THEN
7755: OE_MSG_PUB.Add_Exc_Msg
7756: ( G_PKG_NAME
7757: , 'Cust_Model_Serial_Number'
7758: );
7759: END IF;

Line 7791: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7787: EXCEPTION
7788:
7789: WHEN NO_DATA_FOUND THEN
7790:
7791: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7792: THEN
7793:
7794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PLANNING_PROD_SEQ_NO');
7795:

Line 7794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PLANNING_PROD_SEQ_NO');

7790:
7791: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7792: THEN
7793:
7794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PLANNING_PROD_SEQ_NO');
7795:
7796: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7797: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7798: OE_Order_Util.Get_Attribute_Name('planning_prod_seq_no'));

Line 7799: OE_MSG_PUB.Add;

7795:
7796: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7797: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7798: OE_Order_Util.Get_Attribute_Name('planning_prod_seq_no'));
7799: OE_MSG_PUB.Add;
7800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7801:
7802: END IF;
7803:

Line 7800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7796: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7797: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7798: OE_Order_Util.Get_Attribute_Name('planning_prod_seq_no'));
7799: OE_MSG_PUB.Add;
7800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7801:
7802: END IF;
7803:
7804:

Line 7809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7805: RETURN FALSE;
7806:
7807: WHEN OTHERS THEN
7808:
7809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7810: THEN
7811: OE_MSG_PUB.Add_Exc_Msg
7812: ( G_PKG_NAME
7813: , 'Planning_Prod_Seq_No'

Line 7811: OE_MSG_PUB.Add_Exc_Msg

7807: WHEN OTHERS THEN
7808:
7809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7810: THEN
7811: OE_MSG_PUB.Add_Exc_Msg
7812: ( G_PKG_NAME
7813: , 'Planning_Prod_Seq_No'
7814: );
7815: END IF;

Line 7857: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7853: EXCEPTION
7854:
7855: WHEN NO_DATA_FOUND THEN
7856:
7857: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7858: THEN
7859:
7860: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROJECT_ID');
7861:

Line 7860: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROJECT_ID');

7856:
7857: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7858: THEN
7859:
7860: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROJECT_ID');
7861:
7862: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7863: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7864: OE_Order_Util.Get_Attribute_Name('project_id'));

Line 7865: OE_MSG_PUB.Add;

7861:
7862: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7863: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7864: OE_Order_Util.Get_Attribute_Name('project_id'));
7865: OE_MSG_PUB.Add;
7866: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7867:
7868: END IF;
7869:

Line 7866: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7862: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7863: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7864: OE_Order_Util.Get_Attribute_Name('project_id'));
7865: OE_MSG_PUB.Add;
7866: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7867:
7868: END IF;
7869:
7870:

Line 7875: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7871: RETURN FALSE;
7872:
7873: WHEN OTHERS THEN
7874:
7875: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7876: THEN
7877: OE_MSG_PUB.Add_Exc_Msg
7878: ( G_PKG_NAME
7879: , 'Project'

Line 7877: OE_MSG_PUB.Add_Exc_Msg

7873: WHEN OTHERS THEN
7874:
7875: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7876: THEN
7877: OE_MSG_PUB.Add_Exc_Msg
7878: ( G_PKG_NAME
7879: , 'Project'
7880: );
7881: END IF;

Line 7915: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7911: EXCEPTION
7912:
7913: WHEN NO_DATA_FOUND THEN
7914:
7915: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7916: THEN
7917:
7918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TASK_ID');
7919:

Line 7918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TASK_ID');

7914:
7915: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7916: THEN
7917:
7918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TASK_ID');
7919:
7920: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7921: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7922: OE_Order_Util.Get_Attribute_Name('task_id'));

Line 7923: OE_MSG_PUB.Add;

7919:
7920: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7921: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7922: OE_Order_Util.Get_Attribute_Name('task_id'));
7923: OE_MSG_PUB.Add;
7924: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7925:
7926: END IF;
7927:

Line 7924: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7920: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7921: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7922: OE_Order_Util.Get_Attribute_Name('task_id'));
7923: OE_MSG_PUB.Add;
7924: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7925:
7926: END IF;
7927:
7928:

Line 7933: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7929: RETURN FALSE;
7930:
7931: WHEN OTHERS THEN
7932:
7933: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7934: THEN
7935: OE_MSG_PUB.Add_Exc_Msg
7936: ( G_PKG_NAME
7937: , 'Task'

Line 7935: OE_MSG_PUB.Add_Exc_Msg

7931: WHEN OTHERS THEN
7932:
7933: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7934: THEN
7935: OE_MSG_PUB.Add_Exc_Msg
7936: ( G_PKG_NAME
7937: , 'Task'
7938: );
7939: END IF;

Line 7972: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

7968: EXCEPTION
7969:
7970: WHEN NO_DATA_FOUND THEN
7971:
7972: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7973: THEN
7974:
7975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ITEM_ID');
7976:

Line 7975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ITEM_ID');

7971:
7972: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
7973: THEN
7974:
7975: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVENTORY_ITEM_ID');
7976:
7977: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7978: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7979: OE_Order_Util.Get_Attribute_Name('inventory_item_id'));

Line 7980: OE_MSG_PUB.Add;

7976:
7977: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7978: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7979: OE_Order_Util.Get_Attribute_Name('inventory_item_id'));
7980: OE_MSG_PUB.Add;
7981: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7982:
7983: END IF;
7984:

Line 7981: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

7977: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
7978: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
7979: OE_Order_Util.Get_Attribute_Name('inventory_item_id'));
7980: OE_MSG_PUB.Add;
7981: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
7982:
7983: END IF;
7984:
7985:

Line 7990: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

7986: RETURN FALSE;
7987:
7988: WHEN OTHERS THEN
7989:
7990: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7991: THEN
7992: OE_MSG_PUB.Add_Exc_Msg
7993: ( G_PKG_NAME
7994: , 'Inventory_Item'

Line 7992: OE_MSG_PUB.Add_Exc_Msg

7988: WHEN OTHERS THEN
7989:
7990: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
7991: THEN
7992: OE_MSG_PUB.Add_Exc_Msg
7993: ( G_PKG_NAME
7994: , 'Inventory_Item'
7995: );
7996: END IF;

Line 8030: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8026: EXCEPTION
8027:
8028: WHEN NO_DATA_FOUND THEN
8029:
8030: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8031: THEN
8032:
8033: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_DATE');
8034:

Line 8033: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_DATE');

8029:
8030: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8031: THEN
8032:
8033: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_DATE');
8034:
8035: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8036: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8037: OE_Order_Util.Get_Attribute_Name('tax_date'));

Line 8038: OE_MSG_PUB.Add;

8034:
8035: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8036: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8037: OE_Order_Util.Get_Attribute_Name('tax_date'));
8038: OE_MSG_PUB.Add;
8039: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8040:
8041: END IF;
8042:

Line 8039: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8035: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8036: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8037: OE_Order_Util.Get_Attribute_Name('tax_date'));
8038: OE_MSG_PUB.Add;
8039: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8040:
8041: END IF;
8042:
8043:

Line 8048: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8044: RETURN FALSE;
8045:
8046: WHEN OTHERS THEN
8047:
8048: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8049: THEN
8050: OE_MSG_PUB.Add_Exc_Msg
8051: ( G_PKG_NAME
8052: , 'Tax_Date'

Line 8050: OE_MSG_PUB.Add_Exc_Msg

8046: WHEN OTHERS THEN
8047:
8048: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8049: THEN
8050: OE_MSG_PUB.Add_Exc_Msg
8051: ( G_PKG_NAME
8052: , 'Tax_Date'
8053: );
8054: END IF;

Line 8088: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8084: EXCEPTION
8085:
8086: WHEN NO_DATA_FOUND THEN
8087:
8088: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8089: THEN
8090:
8091: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_DATE');
8092:

Line 8091: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_DATE');

8087:
8088: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8089: THEN
8090:
8091: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_DATE');
8092:
8093: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8094: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8095: OE_Order_Util.Get_Attribute_Name('pricing_date'));

Line 8096: OE_MSG_PUB.Add;

8092:
8093: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8094: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8095: OE_Order_Util.Get_Attribute_Name('pricing_date'));
8096: OE_MSG_PUB.Add;
8097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8098:
8099: END IF;
8100:

Line 8097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8093: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8094: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8095: OE_Order_Util.Get_Attribute_Name('pricing_date'));
8096: OE_MSG_PUB.Add;
8097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8098:
8099: END IF;
8100:
8101:

Line 8106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8102: RETURN FALSE;
8103:
8104: WHEN OTHERS THEN
8105:
8106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8107: THEN
8108: OE_MSG_PUB.Add_Exc_Msg
8109: ( G_PKG_NAME
8110: , 'Pricing_Date'

Line 8108: OE_MSG_PUB.Add_Exc_Msg

8104: WHEN OTHERS THEN
8105:
8106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8107: THEN
8108: OE_MSG_PUB.Add_Exc_Msg
8109: ( G_PKG_NAME
8110: , 'Pricing_Date'
8111: );
8112: END IF;

Line 8145: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8141: EXCEPTION
8142:
8143: WHEN NO_DATA_FOUND THEN
8144:
8145: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8146: THEN
8147:
8148: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_NUMBER');
8149:

Line 8148: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_NUMBER');

8144:
8145: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8146: THEN
8147:
8148: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPMENT_NUMBER');
8149:
8150: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8151: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8152: OE_Order_Util.Get_Attribute_Name('shipment_number'));

Line 8153: OE_MSG_PUB.Add;

8149:
8150: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8151: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8152: OE_Order_Util.Get_Attribute_Name('shipment_number'));
8153: OE_MSG_PUB.Add;
8154: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8155:
8156: END IF;
8157:

Line 8154: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8150: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8151: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8152: OE_Order_Util.Get_Attribute_Name('shipment_number'));
8153: OE_MSG_PUB.Add;
8154: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8155:
8156: END IF;
8157:
8158:

Line 8163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8159: RETURN FALSE;
8160:
8161: WHEN OTHERS THEN
8162:
8163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8164: THEN
8165: OE_MSG_PUB.Add_Exc_Msg
8166: ( G_PKG_NAME
8167: , 'Shipment_Number'

Line 8165: OE_MSG_PUB.Add_Exc_Msg

8161: WHEN OTHERS THEN
8162:
8163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8164: THEN
8165: OE_MSG_PUB.Add_Exc_Msg
8166: ( G_PKG_NAME
8167: , 'Shipment_Number'
8168: );
8169: END IF;

Line 8202: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8198: EXCEPTION
8199:
8200: WHEN NO_DATA_FOUND THEN
8201:
8202: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8203: THEN
8204:
8205: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_LINE_REF');
8206:

Line 8205: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_LINE_REF');

8201:
8202: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8203: THEN
8204:
8205: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORIG_SYS_LINE_REF');
8206:
8207: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8208: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8209: OE_Order_Util.Get_Attribute_Name('orig_sys_line_ref'));

Line 8210: OE_MSG_PUB.Add;

8206:
8207: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8208: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8209: OE_Order_Util.Get_Attribute_Name('orig_sys_line_ref'));
8210: OE_MSG_PUB.Add;
8211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8212:
8213: END IF;
8214:

Line 8211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8207: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8208: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8209: OE_Order_Util.Get_Attribute_Name('orig_sys_line_ref'));
8210: OE_MSG_PUB.Add;
8211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8212:
8213: END IF;
8214:
8215:

Line 8220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8216: RETURN FALSE;
8217:
8218: WHEN OTHERS THEN
8219:
8220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8221: THEN
8222: OE_MSG_PUB.Add_Exc_Msg
8223: ( G_PKG_NAME
8224: , 'Orig_Sys_Line_ref'

Line 8222: OE_MSG_PUB.Add_Exc_Msg

8218: WHEN OTHERS THEN
8219:
8220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8221: THEN
8222: OE_MSG_PUB.Add_Exc_Msg
8223: ( G_PKG_NAME
8224: , 'Orig_Sys_Line_ref'
8225: );
8226: END IF;

Line 8259: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8255: EXCEPTION
8256:
8257: WHEN NO_DATA_FOUND THEN
8258:
8259: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8260: THEN
8261:
8262: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_LINE_ID');
8263:

Line 8262: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_LINE_ID');

8258:
8259: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8260: THEN
8261:
8262: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOURCE_DOCUMENT_LINE_ID');
8263:
8264: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8265: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8266: OE_Order_Util.Get_Attribute_Name('source_document_line_id'));

Line 8267: OE_MSG_PUB.Add;

8263:
8264: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8265: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8266: OE_Order_Util.Get_Attribute_Name('source_document_line_id'));
8267: OE_MSG_PUB.Add;
8268: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8269:
8270: END IF;
8271:

Line 8268: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8264: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8265: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8266: OE_Order_Util.Get_Attribute_Name('source_document_line_id'));
8267: OE_MSG_PUB.Add;
8268: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8269:
8270: END IF;
8271:
8272:

Line 8277: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8273: RETURN FALSE;
8274:
8275: WHEN OTHERS THEN
8276:
8277: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8278: THEN
8279: OE_MSG_PUB.Add_Exc_Msg
8280: ( G_PKG_NAME
8281: , 'Source_Document_Line'

Line 8279: OE_MSG_PUB.Add_Exc_Msg

8275: WHEN OTHERS THEN
8276:
8277: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8278: THEN
8279: OE_MSG_PUB.Add_Exc_Msg
8280: ( G_PKG_NAME
8281: , 'Source_Document_Line'
8282: );
8283: END IF;

Line 8316: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8312: EXCEPTION
8313:
8314: WHEN NO_DATA_FOUND THEN
8315:
8316: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8317: THEN
8318:
8319: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_LINE_ID');
8320:

Line 8319: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_LINE_ID');

8315:
8316: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8317: THEN
8318:
8319: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_LINE_ID');
8320:
8321: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8322: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8323: OE_Order_Util.Get_Attribute_Name('reference_line_id'));

Line 8324: OE_MSG_PUB.Add;

8320:
8321: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8322: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8323: OE_Order_Util.Get_Attribute_Name('reference_line_id'));
8324: OE_MSG_PUB.Add;
8325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8326:
8327: END IF;
8328:

Line 8325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8321: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8322: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8323: OE_Order_Util.Get_Attribute_Name('reference_line_id'));
8324: OE_MSG_PUB.Add;
8325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8326:
8327: END IF;
8328:
8329:

Line 8334: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8330: RETURN FALSE;
8331:
8332: WHEN OTHERS THEN
8333:
8334: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8335: THEN
8336: OE_MSG_PUB.Add_Exc_Msg
8337: ( G_PKG_NAME
8338: , 'Reference_Line'

Line 8336: OE_MSG_PUB.Add_Exc_Msg

8332: WHEN OTHERS THEN
8333:
8334: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8335: THEN
8336: OE_MSG_PUB.Add_Exc_Msg
8337: ( G_PKG_NAME
8338: , 'Reference_Line'
8339: );
8340: END IF;

Line 8374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8370: EXCEPTION
8371:
8372: WHEN NO_DATA_FOUND THEN
8373:
8374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8375: THEN
8376:
8377: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_TYPE');
8378:

Line 8377: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_TYPE');

8373:
8374: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8375: THEN
8376:
8377: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_TYPE');
8378:
8379: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8380: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8381: OE_Order_Util.Get_Attribute_Name('reference_type'));

Line 8382: OE_MSG_PUB.Add;

8378:
8379: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8380: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8381: OE_Order_Util.Get_Attribute_Name('reference_type'));
8382: OE_MSG_PUB.Add;
8383: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8384:
8385: END IF;
8386:

Line 8383: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8379: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8380: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8381: OE_Order_Util.Get_Attribute_Name('reference_type'));
8382: OE_MSG_PUB.Add;
8383: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8384:
8385: END IF;
8386:
8387:

Line 8392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8388: RETURN FALSE;
8389:
8390: WHEN OTHERS THEN
8391:
8392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8393: THEN
8394: OE_MSG_PUB.Add_Exc_Msg
8395: ( G_PKG_NAME
8396: , 'Reference_Type'

Line 8394: OE_MSG_PUB.Add_Exc_Msg

8390: WHEN OTHERS THEN
8391:
8392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8393: THEN
8394: OE_MSG_PUB.Add_Exc_Msg
8395: ( G_PKG_NAME
8396: , 'Reference_Type'
8397: );
8398: END IF;

Line 8431: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8427: EXCEPTION
8428:
8429: WHEN NO_DATA_FOUND THEN
8430:
8431: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8432: THEN
8433:
8434: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_HEADER_ID');
8435:

Line 8434: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_HEADER_ID');

8430:
8431: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8432: THEN
8433:
8434: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REFERENCE_HEADER_ID');
8435:
8436: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8437: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8438: OE_Order_Util.Get_Attribute_Name('reference_header_id'));

Line 8439: OE_MSG_PUB.Add;

8435:
8436: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8437: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8438: OE_Order_Util.Get_Attribute_Name('reference_header_id'));
8439: OE_MSG_PUB.Add;
8440: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8441:
8442: END IF;
8443:

Line 8440: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8436: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8437: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8438: OE_Order_Util.Get_Attribute_Name('reference_header_id'));
8439: OE_MSG_PUB.Add;
8440: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8441:
8442: END IF;
8443:
8444:

Line 8449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8445: RETURN FALSE;
8446:
8447: WHEN OTHERS THEN
8448:
8449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8450: THEN
8451: OE_MSG_PUB.Add_Exc_Msg
8452: ( G_PKG_NAME
8453: , 'Reference_Header'

Line 8451: OE_MSG_PUB.Add_Exc_Msg

8447: WHEN OTHERS THEN
8448:
8449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8450: THEN
8451: OE_MSG_PUB.Add_Exc_Msg
8452: ( G_PKG_NAME
8453: , 'Reference_Header'
8454: );
8455: END IF;

Line 8490: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8486: EXCEPTION
8487:
8488: WHEN NO_DATA_FOUND THEN
8489:
8490: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8491: THEN
8492:
8493: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REVISION');
8494:

Line 8493: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REVISION');

8489:
8490: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8491: THEN
8492:
8493: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REVISION');
8494:
8495: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8496: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8497: OE_Order_Util.Get_Attribute_Name('revision'));

Line 8498: OE_MSG_PUB.Add;

8494:
8495: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8496: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8497: OE_Order_Util.Get_Attribute_Name('revision'));
8498: OE_MSG_PUB.Add;
8499: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8500:
8501: END IF;
8502:

Line 8499: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8495: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8496: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8497: OE_Order_Util.Get_Attribute_Name('revision'));
8498: OE_MSG_PUB.Add;
8499: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8500:
8501: END IF;
8502:
8503:

Line 8508: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8504: RETURN FALSE;
8505:
8506: WHEN OTHERS THEN
8507:
8508: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8509: THEN
8510: OE_MSG_PUB.Add_Exc_Msg
8511: ( G_PKG_NAME
8512: , 'Revision'

Line 8510: OE_MSG_PUB.Add_Exc_Msg

8506: WHEN OTHERS THEN
8507:
8508: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8509: THEN
8510: OE_MSG_PUB.Add_Exc_Msg
8511: ( G_PKG_NAME
8512: , 'Revision'
8513: );
8514: END IF;

Line 8547: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8543: EXCEPTION
8544:
8545: WHEN NO_DATA_FOUND THEN
8546:
8547: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8548: THEN
8549:
8550: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_SELLING_PRICE');
8551:

Line 8550: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_SELLING_PRICE');

8546:
8547: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8548: THEN
8549:
8550: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_SELLING_PRICE');
8551:
8552: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8553: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8554: OE_Order_Util.Get_Attribute_Name('unit_selling_price'));

Line 8555: OE_MSG_PUB.Add;

8551:
8552: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8553: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8554: OE_Order_Util.Get_Attribute_Name('unit_selling_price'));
8555: OE_MSG_PUB.Add;
8556: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8557:
8558: END IF;
8559:

Line 8556: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8552: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8553: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8554: OE_Order_Util.Get_Attribute_Name('unit_selling_price'));
8555: OE_MSG_PUB.Add;
8556: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8557:
8558: END IF;
8559:
8560:

Line 8565: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8561: RETURN FALSE;
8562:
8563: WHEN OTHERS THEN
8564:
8565: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8566: THEN
8567: OE_MSG_PUB.Add_Exc_Msg
8568: ( G_PKG_NAME
8569: , 'Unit_Selling_Price'

Line 8567: OE_MSG_PUB.Add_Exc_Msg

8563: WHEN OTHERS THEN
8564:
8565: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8566: THEN
8567: OE_MSG_PUB.Add_Exc_Msg
8568: ( G_PKG_NAME
8569: , 'Unit_Selling_Price'
8570: );
8571: END IF;

Line 8606: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8602: EXCEPTION
8603:
8604: WHEN NO_DATA_FOUND THEN
8605:
8606: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8607: THEN
8608:
8609: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_LIST_PRICE');
8610:

Line 8609: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_LIST_PRICE');

8605:
8606: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8607: THEN
8608:
8609: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'UNIT_LIST_PRICE');
8610:
8611: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8612: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8613: OE_Order_Util.Get_Attribute_Name('unit_list_price'));

Line 8614: OE_MSG_PUB.Add;

8610:
8611: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8612: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8613: OE_Order_Util.Get_Attribute_Name('unit_list_price'));
8614: OE_MSG_PUB.Add;
8615: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8616:
8617: END IF;
8618:

Line 8615: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8611: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8612: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8613: OE_Order_Util.Get_Attribute_Name('unit_list_price'));
8614: OE_MSG_PUB.Add;
8615: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8616:
8617: END IF;
8618:
8619:

Line 8624: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8620: RETURN FALSE;
8621:
8622: WHEN OTHERS THEN
8623:
8624: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8625: THEN
8626: OE_MSG_PUB.Add_Exc_Msg
8627: ( G_PKG_NAME
8628: , 'Unit_List_Price'

Line 8626: OE_MSG_PUB.Add_Exc_Msg

8622: WHEN OTHERS THEN
8623:
8624: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8625: THEN
8626: OE_MSG_PUB.Add_Exc_Msg
8627: ( G_PKG_NAME
8628: , 'Unit_List_Price'
8629: );
8630: END IF;

Line 8663: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8659: EXCEPTION
8660:
8661: WHEN NO_DATA_FOUND THEN
8662:
8663: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8664: THEN
8665:
8666: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_VALUE');
8667:

Line 8666: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_VALUE');

8662:
8663: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8664: THEN
8665:
8666: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_VALUE');
8667:
8668: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8669: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8670: OE_Order_Util.Get_Attribute_Name('tax_value'));

Line 8671: OE_MSG_PUB.Add;

8667:
8668: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8669: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8670: OE_Order_Util.Get_Attribute_Name('tax_value'));
8671: OE_MSG_PUB.Add;
8672: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8673:
8674: END IF;
8675:

Line 8672: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8668: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8669: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8670: OE_Order_Util.Get_Attribute_Name('tax_value'));
8671: OE_MSG_PUB.Add;
8672: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8673:
8674: END IF;
8675:
8676:

Line 8681: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8677: RETURN FALSE;
8678:
8679: WHEN OTHERS THEN
8680:
8681: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8682: THEN
8683: OE_MSG_PUB.Add_Exc_Msg
8684: ( G_PKG_NAME
8685: , 'Tax_Value'

Line 8683: OE_MSG_PUB.Add_Exc_Msg

8679: WHEN OTHERS THEN
8680:
8681: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8682: THEN
8683: OE_MSG_PUB.Add_Exc_Msg
8684: ( G_PKG_NAME
8685: , 'Tax_Value'
8686: );
8687: END IF;

Line 8723: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8719: EXCEPTION
8720:
8721: WHEN NO_DATA_FOUND THEN
8722:
8723: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8724: THEN
8725:
8726: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER_SOURCE_ID');
8727:

Line 8726: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER_SOURCE_ID');

8722:
8723: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8724: THEN
8725:
8726: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_NUMBER_SOURCE_ID');
8727:
8728: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8729: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8730: OE_Order_Util.Get_Attribute_Name('order_number_source_id'));

Line 8731: OE_MSG_PUB.Add;

8727:
8728: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8729: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8730: OE_Order_Util.Get_Attribute_Name('order_number_source_id'));
8731: OE_MSG_PUB.Add;
8732: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8733:
8734: END IF;
8735:

Line 8732: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8728: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8729: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8730: OE_Order_Util.Get_Attribute_Name('order_number_source_id'));
8731: OE_MSG_PUB.Add;
8732: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8733:
8734: END IF;
8735:
8736:

Line 8741: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8737: RETURN FALSE;
8738:
8739: WHEN OTHERS THEN
8740:
8741: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8742: THEN
8743: OE_MSG_PUB.Add_Exc_Msg
8744: ( G_PKG_NAME
8745: , 'Order_Number_Source'

Line 8743: OE_MSG_PUB.Add_Exc_Msg

8739: WHEN OTHERS THEN
8740:
8741: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8742: THEN
8743: OE_MSG_PUB.Add_Exc_Msg
8744: ( G_PKG_NAME
8745: , 'Order_Number_Source'
8746: );
8747: END IF;

Line 8780: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8776: EXCEPTION
8777:
8778: WHEN NO_DATA_FOUND THEN
8779:
8780: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8781: THEN
8782:
8783: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'NAME');
8784:

Line 8783: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'NAME');

8779:
8780: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8781: THEN
8782:
8783: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'NAME');
8784:
8785: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8786: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8787: OE_Order_Util.Get_Attribute_Name('name'));

Line 8788: OE_MSG_PUB.Add;

8784:
8785: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8786: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8787: OE_Order_Util.Get_Attribute_Name('name'));
8788: OE_MSG_PUB.Add;
8789: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8790:
8791: END IF;
8792:

Line 8789: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8785: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8786: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8787: OE_Order_Util.Get_Attribute_Name('name'));
8788: OE_MSG_PUB.Add;
8789: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8790:
8791: END IF;
8792:
8793:

Line 8798: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8794: RETURN FALSE;
8795:
8796: WHEN OTHERS THEN
8797:
8798: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8799: THEN
8800: OE_MSG_PUB.Add_Exc_Msg
8801: ( G_PKG_NAME
8802: , 'Name'

Line 8800: OE_MSG_PUB.Add_Exc_Msg

8796: WHEN OTHERS THEN
8797:
8798: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8799: THEN
8800: OE_MSG_PUB.Add_Exc_Msg
8801: ( G_PKG_NAME
8802: , 'Name'
8803: );
8804: END IF;

Line 8837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8833: EXCEPTION
8834:
8835: WHEN NO_DATA_FOUND THEN
8836:
8837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8838: THEN
8839:
8840: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SEQUENCE_STARTING_POINT');
8841:

Line 8840: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SEQUENCE_STARTING_POINT');

8836:
8837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8838: THEN
8839:
8840: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SEQUENCE_STARTING_POINT');
8841:
8842: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8843: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8844: OE_Order_Util.Get_Attribute_Name('sequence_starting_point'));

Line 8845: OE_MSG_PUB.Add;

8841:
8842: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8843: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8844: OE_Order_Util.Get_Attribute_Name('sequence_starting_point'));
8845: OE_MSG_PUB.Add;
8846: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8847:
8848: END IF;
8849:

Line 8846: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8842: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8843: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8844: OE_Order_Util.Get_Attribute_Name('sequence_starting_point'));
8845: OE_MSG_PUB.Add;
8846: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8847:
8848: END IF;
8849:
8850:

Line 8855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8851: RETURN FALSE;
8852:
8853: WHEN OTHERS THEN
8854:
8855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8856: THEN
8857: OE_MSG_PUB.Add_Exc_Msg
8858: ( G_PKG_NAME
8859: , 'Sequence_Starting_Point'

Line 8857: OE_MSG_PUB.Add_Exc_Msg

8853: WHEN OTHERS THEN
8854:
8855: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8856: THEN
8857: OE_MSG_PUB.Add_Exc_Msg
8858: ( G_PKG_NAME
8859: , 'Sequence_Starting_Point'
8860: );
8861: END IF;

Line 8895: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8891: EXCEPTION
8892:
8893: WHEN NO_DATA_FOUND THEN
8894:
8895: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8896: THEN
8897:
8898: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DESCRIPTION');
8899:

Line 8898: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DESCRIPTION');

8894:
8895: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8896: THEN
8897:
8898: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DESCRIPTION');
8899:
8900:
8901: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8902: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 8904: OE_MSG_PUB.Add;

8900:
8901: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8902: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8903: OE_Order_Util.Get_Attribute_Name('description'));
8904: OE_MSG_PUB.Add;
8905: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8906:
8907: END IF;
8908:

Line 8905: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8901: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8902: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8903: OE_Order_Util.Get_Attribute_Name('description'));
8904: OE_MSG_PUB.Add;
8905: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8906:
8907: END IF;
8908:
8909:

Line 8914: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8910: RETURN FALSE;
8911:
8912: WHEN OTHERS THEN
8913:
8914: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8915: THEN
8916: OE_MSG_PUB.Add_Exc_Msg
8917: ( G_PKG_NAME
8918: , 'Description'

Line 8916: OE_MSG_PUB.Add_Exc_Msg

8912: WHEN OTHERS THEN
8913:
8914: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8915: THEN
8916: OE_MSG_PUB.Add_Exc_Msg
8917: ( G_PKG_NAME
8918: , 'Description'
8919: );
8920: END IF;

Line 8953: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

8949: EXCEPTION
8950:
8951: WHEN NO_DATA_FOUND THEN
8952:
8953: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8954: THEN
8955:
8956: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'START_DATE_ACTIVE');
8957:

Line 8956: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'START_DATE_ACTIVE');

8952:
8953: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
8954: THEN
8955:
8956: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'START_DATE_ACTIVE');
8957:
8958: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8959: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8960: OE_Order_Util.Get_Attribute_Name('start_date_active'));

Line 8961: OE_MSG_PUB.Add;

8957:
8958: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8959: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8960: OE_Order_Util.Get_Attribute_Name('start_date_active'));
8961: OE_MSG_PUB.Add;
8962: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8963:
8964: END IF;
8965:

Line 8962: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

8958: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
8959: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
8960: OE_Order_Util.Get_Attribute_Name('start_date_active'));
8961: OE_MSG_PUB.Add;
8962: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
8963:
8964: END IF;
8965:
8966:

Line 8971: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

8967: RETURN FALSE;
8968:
8969: WHEN OTHERS THEN
8970:
8971: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8972: THEN
8973: OE_MSG_PUB.Add_Exc_Msg
8974: ( G_PKG_NAME
8975: , 'Start_Date_Active'

Line 8973: OE_MSG_PUB.Add_Exc_Msg

8969: WHEN OTHERS THEN
8970:
8971: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
8972: THEN
8973: OE_MSG_PUB.Add_Exc_Msg
8974: ( G_PKG_NAME
8975: , 'Start_Date_Active'
8976: );
8977: END IF;

Line 9010: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9006: EXCEPTION
9007:
9008: WHEN NO_DATA_FOUND THEN
9009:
9010: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9011: THEN
9012:
9013: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_DATE_ACTIVE');
9014:

Line 9013: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_DATE_ACTIVE');

9009:
9010: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9011: THEN
9012:
9013: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_DATE_ACTIVE');
9014:
9015: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9016: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9017: OE_Order_Util.Get_Attribute_Name('end_date_active'));

Line 9018: OE_MSG_PUB.Add;

9014:
9015: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9016: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9017: OE_Order_Util.Get_Attribute_Name('end_date_active'));
9018: OE_MSG_PUB.Add;
9019: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9020:
9021: END IF;
9022:

Line 9019: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9015: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9016: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9017: OE_Order_Util.Get_Attribute_Name('end_date_active'));
9018: OE_MSG_PUB.Add;
9019: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9020:
9021: END IF;
9022:
9023:

Line 9028: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9024: RETURN FALSE;
9025:
9026: WHEN OTHERS THEN
9027:
9028: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9029: THEN
9030: OE_MSG_PUB.Add_Exc_Msg
9031: ( G_PKG_NAME
9032: , 'End_Date_Active'

Line 9030: OE_MSG_PUB.Add_Exc_Msg

9026: WHEN OTHERS THEN
9027:
9028: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9029: THEN
9030: OE_MSG_PUB.Add_Exc_Msg
9031: ( G_PKG_NAME
9032: , 'End_Date_Active'
9033: );
9034: END IF;

Line 9046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');

9042: IS
9043: BEGIN
9044:
9045:
9046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PERCENT');
9047:
9048:
9049: IF p_percent = FND_API.G_MISS_NUM THEN
9050:

Line 9056: OE_MSG_PUB.Add;

9052: END IF;
9053:
9054: IF P_Percent < 0 OR P_Percent > 100 THEN
9055: fnd_message.set_name('ONT','OE_INVALID_CREDIT_PERCENT');
9056: OE_MSG_PUB.Add;
9057: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9058:
9059: RETURN FALSE;
9060: ELSE

Line 9057: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9053:
9054: IF P_Percent < 0 OR P_Percent > 100 THEN
9055: fnd_message.set_name('ONT','OE_INVALID_CREDIT_PERCENT');
9056: OE_MSG_PUB.Add;
9057: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9058:
9059: RETURN FALSE;
9060: ELSE
9061:

Line 9094: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9090: EXCEPTION
9091:
9092: WHEN NO_DATA_FOUND THEN
9093:
9094: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9095: THEN
9096:
9097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIGURATION_ID');
9098:

Line 9097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIGURATION_ID');

9093:
9094: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9095: THEN
9096:
9097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIGURATION_ID');
9098:
9099: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9100: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9101: OE_Order_Util.Get_Attribute_Name('configuration_id'));

Line 9102: OE_MSG_PUB.Add;

9098:
9099: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9100: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9101: OE_Order_Util.Get_Attribute_Name('configuration_id'));
9102: OE_MSG_PUB.Add;
9103: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9104:
9105: END IF;
9106:

Line 9103: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9099: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9100: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9101: OE_Order_Util.Get_Attribute_Name('configuration_id'));
9102: OE_MSG_PUB.Add;
9103: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9104:
9105: END IF;
9106:
9107:

Line 9112: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9108: RETURN FALSE;
9109:
9110: WHEN OTHERS THEN
9111:
9112: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9113: THEN
9114: OE_MSG_PUB.Add_Exc_Msg
9115: ( G_PKG_NAME
9116: , 'Configuration'

Line 9114: OE_MSG_PUB.Add_Exc_Msg

9110: WHEN OTHERS THEN
9111:
9112: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9113: THEN
9114: OE_MSG_PUB.Add_Exc_Msg
9115: ( G_PKG_NAME
9116: , 'Configuration'
9117: );
9118: END IF;

Line 9151: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9147: EXCEPTION
9148:
9149: WHEN NO_DATA_FOUND THEN
9150:
9151: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9152: THEN
9153:
9154: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TOP_MODEL_LINE_ID');
9155:

Line 9154: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TOP_MODEL_LINE_ID');

9150:
9151: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9152: THEN
9153:
9154: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TOP_MODEL_LINE_ID');
9155:
9156: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9157: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9158: OE_Order_Util.Get_Attribute_Name('top_model_line_id'));

Line 9159: OE_MSG_PUB.Add;

9155:
9156: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9157: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9158: OE_Order_Util.Get_Attribute_Name('top_model_line_id'));
9159: OE_MSG_PUB.Add;
9160: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9161:
9162: END IF;
9163:

Line 9160: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9156: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9157: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9158: OE_Order_Util.Get_Attribute_Name('top_model_line_id'));
9159: OE_MSG_PUB.Add;
9160: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9161:
9162: END IF;
9163:
9164:

Line 9169: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9165: RETURN FALSE;
9166:
9167: WHEN OTHERS THEN
9168:
9169: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9170: THEN
9171: OE_MSG_PUB.Add_Exc_Msg
9172: ( G_PKG_NAME
9173: , 'Top_Model_Line'

Line 9171: OE_MSG_PUB.Add_Exc_Msg

9167: WHEN OTHERS THEN
9168:
9169: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9170: THEN
9171: OE_MSG_PUB.Add_Exc_Msg
9172: ( G_PKG_NAME
9173: , 'Top_Model_Line'
9174: );
9175: END IF;

Line 9208: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9204: EXCEPTION
9205:
9206: WHEN NO_DATA_FOUND THEN
9207:
9208: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9209: THEN
9210:
9211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINK_TO_LINE_ID');
9212:

Line 9211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINK_TO_LINE_ID');

9207:
9208: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9209: THEN
9210:
9211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINK_TO_LINE_ID');
9212:
9213: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9214: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9215: OE_Order_Util.Get_Attribute_Name('LINK_TO_LINE_ID'));

Line 9216: OE_MSG_PUB.Add;

9212:
9213: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9214: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9215: OE_Order_Util.Get_Attribute_Name('LINK_TO_LINE_ID'));
9216: OE_MSG_PUB.Add;
9217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9218:
9219: END IF;
9220:

Line 9217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9213: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9214: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9215: OE_Order_Util.Get_Attribute_Name('LINK_TO_LINE_ID'));
9216: OE_MSG_PUB.Add;
9217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9218:
9219: END IF;
9220:
9221:

Line 9226: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9222: RETURN FALSE;
9223:
9224: WHEN OTHERS THEN
9225:
9226: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9227: THEN
9228: OE_MSG_PUB.Add_Exc_Msg
9229: ( G_PKG_NAME
9230: , 'Link_To_Line'

Line 9228: OE_MSG_PUB.Add_Exc_Msg

9224: WHEN OTHERS THEN
9225:
9226: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9227: THEN
9228: OE_MSG_PUB.Add_Exc_Msg
9229: ( G_PKG_NAME
9230: , 'Link_To_Line'
9231: );
9232: END IF;

Line 9265: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9261: EXCEPTION
9262:
9263: WHEN NO_DATA_FOUND THEN
9264:
9265: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9266: THEN
9267:
9268: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_SEQUENCE_ID');
9269:

Line 9268: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_SEQUENCE_ID');

9264:
9265: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9266: THEN
9267:
9268: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_SEQUENCE_ID');
9269:
9270: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9271: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9272: OE_Order_Util.Get_Attribute_Name('COMPONENT_SEQUENCE_ID'));

Line 9273: OE_MSG_PUB.Add;

9269:
9270: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9271: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9272: OE_Order_Util.Get_Attribute_Name('COMPONENT_SEQUENCE_ID'));
9273: OE_MSG_PUB.Add;
9274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9275:
9276: END IF;
9277:

Line 9274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9270: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9271: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9272: OE_Order_Util.Get_Attribute_Name('COMPONENT_SEQUENCE_ID'));
9273: OE_MSG_PUB.Add;
9274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9275:
9276: END IF;
9277:
9278:

Line 9283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9279: RETURN FALSE;
9280:
9281: WHEN OTHERS THEN
9282:
9283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9284: THEN
9285: OE_MSG_PUB.Add_Exc_Msg
9286: ( G_PKG_NAME
9287: , 'Component_Sequence'

Line 9285: OE_MSG_PUB.Add_Exc_Msg

9281: WHEN OTHERS THEN
9282:
9283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9284: THEN
9285: OE_MSG_PUB.Add_Exc_Msg
9286: ( G_PKG_NAME
9287: , 'Component_Sequence'
9288: );
9289: END IF;

Line 9322: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9318: EXCEPTION
9319:
9320: WHEN NO_DATA_FOUND THEN
9321:
9322: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9323: THEN
9324:
9325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_HEADER');
9326:

Line 9325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_HEADER');

9321:
9322: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9323: THEN
9324:
9325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_HEADER');
9326:
9327: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9328: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9329: OE_Order_Util.Get_Attribute_Name('CONFIG_HEADER_ID'));

Line 9330: OE_MSG_PUB.Add;

9326:
9327: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9328: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9329: OE_Order_Util.Get_Attribute_Name('CONFIG_HEADER_ID'));
9330: OE_MSG_PUB.Add;
9331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9332:
9333: END IF;
9334:

Line 9331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9327: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9328: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9329: OE_Order_Util.Get_Attribute_Name('CONFIG_HEADER_ID'));
9330: OE_MSG_PUB.Add;
9331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9332:
9333: END IF;
9334:
9335:

Line 9340: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9336: RETURN FALSE;
9337:
9338: WHEN OTHERS THEN
9339:
9340: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9341: THEN
9342: OE_MSG_PUB.Add_Exc_Msg
9343: ( G_PKG_NAME
9344: , 'Config_Header'

Line 9342: OE_MSG_PUB.Add_Exc_Msg

9338: WHEN OTHERS THEN
9339:
9340: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9341: THEN
9342: OE_MSG_PUB.Add_Exc_Msg
9343: ( G_PKG_NAME
9344: , 'Config_Header'
9345: );
9346: END IF;

Line 9379: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9375: EXCEPTION
9376:
9377: WHEN NO_DATA_FOUND THEN
9378:
9379: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9380: THEN
9381:
9382: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_REV_NBR');
9383:

Line 9382: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_REV_NBR');

9378:
9379: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9380: THEN
9381:
9382: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_REV_NBR');
9383:
9384: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9385: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9386: OE_Order_Util.Get_Attribute_Name('CONFIG_REV_NBR'));

Line 9387: OE_MSG_PUB.Add;

9383:
9384: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9385: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9386: OE_Order_Util.Get_Attribute_Name('CONFIG_REV_NBR'));
9387: OE_MSG_PUB.Add;
9388: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9389:
9390: END IF;
9391:

Line 9388: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9384: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9385: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9386: OE_Order_Util.Get_Attribute_Name('CONFIG_REV_NBR'));
9387: OE_MSG_PUB.Add;
9388: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9389:
9390: END IF;
9391:
9392:

Line 9397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9393: RETURN FALSE;
9394:
9395: WHEN OTHERS THEN
9396:
9397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9398: THEN
9399: OE_MSG_PUB.Add_Exc_Msg
9400: ( G_PKG_NAME
9401: , 'Config_Rev_Nbr'

Line 9399: OE_MSG_PUB.Add_Exc_Msg

9395: WHEN OTHERS THEN
9396:
9397: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9398: THEN
9399: OE_MSG_PUB.Add_Exc_Msg
9400: ( G_PKG_NAME
9401: , 'Config_Rev_Nbr'
9402: );
9403: END IF;

Line 9436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9432: EXCEPTION
9433:
9434: WHEN NO_DATA_FOUND THEN
9435:
9436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9437: THEN
9438:
9439: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_CODE');
9440:

Line 9439: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_CODE');

9435:
9436: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9437: THEN
9438:
9439: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_CODE');
9440:
9441: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9442: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9443: OE_Order_Util.Get_Attribute_Name('Component_Code'));

Line 9444: OE_MSG_PUB.Add;

9440:
9441: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9442: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9443: OE_Order_Util.Get_Attribute_Name('Component_Code'));
9444: OE_MSG_PUB.Add;
9445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9446:
9447: END IF;
9448:

Line 9445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9441: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9442: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9443: OE_Order_Util.Get_Attribute_Name('Component_Code'));
9444: OE_MSG_PUB.Add;
9445: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9446:
9447: END IF;
9448:
9449:

Line 9454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9450: RETURN FALSE;
9451:
9452: WHEN OTHERS THEN
9453:
9454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9455: THEN
9456: OE_MSG_PUB.Add_Exc_Msg
9457: ( G_PKG_NAME
9458: , 'Component'

Line 9456: OE_MSG_PUB.Add_Exc_Msg

9452: WHEN OTHERS THEN
9453:
9454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9455: THEN
9456: OE_MSG_PUB.Add_Exc_Msg
9457: ( G_PKG_NAME
9458: , 'Component'
9459: );
9460: END IF;

Line 9493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9489: EXCEPTION
9490:
9491: WHEN NO_DATA_FOUND THEN
9492:
9493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9494: THEN
9495:
9496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_DISPLAY_SEQUENCE');
9497:

Line 9496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_DISPLAY_SEQUENCE');

9492:
9493: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9494: THEN
9495:
9496: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONFIG_DISPLAY_SEQUENCE');
9497:
9498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9500: OE_Order_Util.Get_Attribute_Name('CONFIG_DISPLAY_SEQUENCE'));

Line 9501: OE_MSG_PUB.Add;

9497:
9498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9500: OE_Order_Util.Get_Attribute_Name('CONFIG_DISPLAY_SEQUENCE'));
9501: OE_MSG_PUB.Add;
9502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9503:
9504: END IF;
9505:

Line 9502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9498: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9499: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9500: OE_Order_Util.Get_Attribute_Name('CONFIG_DISPLAY_SEQUENCE'));
9501: OE_MSG_PUB.Add;
9502: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9503:
9504: END IF;
9505:
9506:

Line 9511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9507: RETURN FALSE;
9508:
9509: WHEN OTHERS THEN
9510:
9511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9512: THEN
9513: OE_MSG_PUB.Add_Exc_Msg
9514: ( G_PKG_NAME
9515: , 'Config_Display_Sequence'

Line 9513: OE_MSG_PUB.Add_Exc_Msg

9509: WHEN OTHERS THEN
9510:
9511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9512: THEN
9513: OE_MSG_PUB.Add_Exc_Msg
9514: ( G_PKG_NAME
9515: , 'Config_Display_Sequence'
9516: );
9517: END IF;

Line 9550: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9546: EXCEPTION
9547:
9548: WHEN NO_DATA_FOUND THEN
9549:
9550: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9551: THEN
9552:
9553: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SORT_ORDER');
9554:

Line 9553: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SORT_ORDER');

9549:
9550: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9551: THEN
9552:
9553: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SORT_ORDER');
9554:
9555: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9556: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9557: OE_Order_Util.Get_Attribute_Name('Sort_Order'));

Line 9558: OE_MSG_PUB.Add;

9554:
9555: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9556: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9557: OE_Order_Util.Get_Attribute_Name('Sort_Order'));
9558: OE_MSG_PUB.Add;
9559: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9560:
9561: END IF;
9562:

Line 9559: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9555: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9556: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9557: OE_Order_Util.Get_Attribute_Name('Sort_Order'));
9558: OE_MSG_PUB.Add;
9559: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9560:
9561: END IF;
9562:
9563:

Line 9568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9564: RETURN FALSE;
9565:
9566: WHEN OTHERS THEN
9567:
9568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9569: THEN
9570: OE_MSG_PUB.Add_Exc_Msg
9571: ( G_PKG_NAME
9572: , 'Sort_Order'

Line 9570: OE_MSG_PUB.Add_Exc_Msg

9566: WHEN OTHERS THEN
9567:
9568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9569: THEN
9570: OE_MSG_PUB.Add_Exc_Msg
9571: ( G_PKG_NAME
9572: , 'Sort_Order'
9573: );
9574: END IF;

Line 9607: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9603: EXCEPTION
9604:
9605: WHEN NO_DATA_FOUND THEN
9606:
9607: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9608: THEN
9609:
9610: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OE_ITEM_TYPE');
9611: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 9610: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OE_ITEM_TYPE');

9606:
9607: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9608: THEN
9609:
9610: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OE_ITEM_TYPE');
9611: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9612: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9613: OE_Order_Util.Get_Attribute_Name('Oe_Item_Type'));
9614: OE_MSG_PUB.Add;

Line 9614: OE_MSG_PUB.Add;

9610: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OE_ITEM_TYPE');
9611: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9612: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9613: OE_Order_Util.Get_Attribute_Name('Oe_Item_Type'));
9614: OE_MSG_PUB.Add;
9615: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9616:
9617: END IF;
9618:

Line 9615: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9611: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9612: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9613: OE_Order_Util.Get_Attribute_Name('Oe_Item_Type'));
9614: OE_MSG_PUB.Add;
9615: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9616:
9617: END IF;
9618:
9619:

Line 9624: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9620: RETURN FALSE;
9621:
9622: WHEN OTHERS THEN
9623:
9624: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9625: THEN
9626: OE_MSG_PUB.Add_Exc_Msg
9627: ( G_PKG_NAME
9628: , 'Item_Type'

Line 9626: OE_MSG_PUB.Add_Exc_Msg

9622: WHEN OTHERS THEN
9623:
9624: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9625: THEN
9626: OE_MSG_PUB.Add_Exc_Msg
9627: ( G_PKG_NAME
9628: , 'Item_Type'
9629: );
9630: END IF;

Line 9664: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9660: EXCEPTION
9661:
9662: WHEN NO_DATA_FOUND THEN
9663:
9664: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9665: THEN
9666:
9667: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_NUMBER');
9668:

Line 9667: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_NUMBER');

9663:
9664: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9665: THEN
9666:
9667: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_NUMBER');
9668:
9669: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9670: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9671: OE_Order_Util.Get_Attribute_Name('Option_Number'));

Line 9672: OE_MSG_PUB.Add;

9668:
9669: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9670: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9671: OE_Order_Util.Get_Attribute_Name('Option_Number'));
9672: OE_MSG_PUB.Add;
9673: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9674:
9675: END IF;
9676:

Line 9673: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9669: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9670: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9671: OE_Order_Util.Get_Attribute_Name('Option_Number'));
9672: OE_MSG_PUB.Add;
9673: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9674:
9675: END IF;
9676:
9677:

Line 9682: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9678: RETURN FALSE;
9679:
9680: WHEN OTHERS THEN
9681:
9682: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9683: THEN
9684: OE_MSG_PUB.Add_Exc_Msg
9685: ( G_PKG_NAME
9686: , 'Option_Number'

Line 9684: OE_MSG_PUB.Add_Exc_Msg

9680: WHEN OTHERS THEN
9681:
9682: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9683: THEN
9684: OE_MSG_PUB.Add_Exc_Msg
9685: ( G_PKG_NAME
9686: , 'Option_Number'
9687: );
9688: END IF;

Line 9721: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9717: EXCEPTION
9718:
9719: WHEN NO_DATA_FOUND THEN
9720:
9721: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9722: THEN
9723:
9724: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_NUMBER');
9725:

Line 9724: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_NUMBER');

9720:
9721: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9722: THEN
9723:
9724: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMPONENT_NUMBER');
9725:
9726: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9727: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9728: OE_Order_Util.Get_Attribute_Name('Component_Number'));

Line 9729: OE_MSG_PUB.Add;

9725:
9726: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9727: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9728: OE_Order_Util.Get_Attribute_Name('Component_Number'));
9729: OE_MSG_PUB.Add;
9730: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9731:
9732:
9733: END IF;

Line 9730: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9726: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9727: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9728: OE_Order_Util.Get_Attribute_Name('Component_Number'));
9729: OE_MSG_PUB.Add;
9730: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9731:
9732:
9733: END IF;
9734:

Line 9740: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9736: RETURN FALSE;
9737:
9738: WHEN OTHERS THEN
9739:
9740: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9741: THEN
9742: OE_MSG_PUB.Add_Exc_Msg
9743: ( G_PKG_NAME
9744: , 'Component_Number'

Line 9742: OE_MSG_PUB.Add_Exc_Msg

9738: WHEN OTHERS THEN
9739:
9740: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9741: THEN
9742: OE_MSG_PUB.Add_Exc_Msg
9743: ( G_PKG_NAME
9744: , 'Component_Number'
9745: );
9746: END IF;

Line 9760: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');

9756: IS
9757: l_dummy VARCHAR2(10);
9758: BEGIN
9759:
9760: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');
9761:
9762: IF p_explosion_date IS NULL OR
9763: p_explosion_date = FND_API.G_MISS_DATE
9764: THEN

Line 9781: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9777: EXCEPTION
9778:
9779: WHEN NO_DATA_FOUND THEN
9780:
9781: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9782: THEN
9783:
9784: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');
9785:

Line 9784: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');

9780:
9781: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9782: THEN
9783:
9784: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EXPLOSION_DATE');
9785:
9786: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9787: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9788: OE_Order_Util.Get_Attribute_Name('explosion_date'));

Line 9789: OE_MSG_PUB.Add;

9785:
9786: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9787: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9788: OE_Order_Util.Get_Attribute_Name('explosion_date'));
9789: OE_MSG_PUB.Add;
9790: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9791:
9792: END IF;
9793:

Line 9790: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9786: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9787: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9788: OE_Order_Util.Get_Attribute_Name('explosion_date'));
9789: OE_MSG_PUB.Add;
9790: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9791:
9792: END IF;
9793:
9794:

Line 9799: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9795: RETURN FALSE;
9796:
9797: WHEN OTHERS THEN
9798:
9799: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9800: THEN
9801: OE_MSG_PUB.Add_Exc_Msg
9802: ( G_PKG_NAME
9803: , 'Explosion_Date'

Line 9801: OE_MSG_PUB.Add_Exc_Msg

9797: WHEN OTHERS THEN
9798:
9799: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9800: THEN
9801: OE_MSG_PUB.Add_Exc_Msg
9802: ( G_PKG_NAME
9803: , 'Explosion_Date'
9804: );
9805: END IF;

Line 9937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9933: EXCEPTION
9934:
9935: WHEN NO_DATA_FOUND THEN
9936:
9937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9938: THEN
9939:
9940: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACCOUNTING_RULE_ID');
9941:

Line 9940: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACCOUNTING_RULE_ID');

9936:
9937: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9938: THEN
9939:
9940: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACCOUNTING_RULE_ID');
9941:
9942: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9943: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9944: OE_Order_Util.Get_Attribute_Name('accounting_rule_id'));

Line 9945: OE_MSG_PUB.Add;

9941:
9942: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9943: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9944: OE_Order_Util.Get_Attribute_Name('accounting_rule_id'));
9945: OE_MSG_PUB.Add;
9946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9947:
9948: END IF;
9949:

Line 9946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

9942: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
9943: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
9944: OE_Order_Util.Get_Attribute_Name('accounting_rule_id'));
9945: OE_MSG_PUB.Add;
9946: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
9947:
9948: END IF;
9949:
9950:

Line 9955: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

9951: RETURN FALSE;
9952:
9953: WHEN OTHERS THEN
9954:
9955: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9956: THEN
9957: OE_MSG_PUB.Add_Exc_Msg
9958: ( G_PKG_NAME
9959: , 'Accounting_Rule'

Line 9957: OE_MSG_PUB.Add_Exc_Msg

9953: WHEN OTHERS THEN
9954:
9955: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
9956: THEN
9957: OE_MSG_PUB.Add_Exc_Msg
9958: ( G_PKG_NAME
9959: , 'Accounting_Rule'
9960: );
9961: END IF;

Line 9996: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

9992: EXCEPTION
9993:
9994: WHEN NO_DATA_FOUND THEN
9995:
9996: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9997: THEN
9998:
9999: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATED_BY');
10000:

Line 9999: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATED_BY');

9995:
9996: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
9997: THEN
9998:
9999: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATED_BY');
10000:
10001: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10002: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10003: OE_Order_Util.Get_Attribute_Name('created_by'));

Line 10004: OE_MSG_PUB.Add;

10000:
10001: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10002: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10003: OE_Order_Util.Get_Attribute_Name('created_by'));
10004: OE_MSG_PUB.Add;
10005: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10006:
10007: END IF;
10008:

Line 10005: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10001: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10002: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10003: OE_Order_Util.Get_Attribute_Name('created_by'));
10004: OE_MSG_PUB.Add;
10005: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10006:
10007: END IF;
10008:
10009:

Line 10014: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10010: RETURN FALSE;
10011:
10012: WHEN OTHERS THEN
10013:
10014: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10015: THEN
10016: OE_MSG_PUB.Add_Exc_Msg
10017: ( G_PKG_NAME
10018: , 'Created_By'

Line 10016: OE_MSG_PUB.Add_Exc_Msg

10012: WHEN OTHERS THEN
10013:
10014: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10015: THEN
10016: OE_MSG_PUB.Add_Exc_Msg
10017: ( G_PKG_NAME
10018: , 'Created_By'
10019: );
10020: END IF;

Line 10053: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10049: EXCEPTION
10050:
10051: WHEN NO_DATA_FOUND THEN
10052:
10053: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10054: THEN
10055:
10056: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATION_DATE');
10057:

Line 10056: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATION_DATE');

10052:
10053: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10054: THEN
10055:
10056: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREATION_DATE');
10057:
10058: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10059: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10060: OE_Order_Util.Get_Attribute_Name('creation_date'));

Line 10061: OE_MSG_PUB.Add;

10057:
10058: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10059: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10060: OE_Order_Util.Get_Attribute_Name('creation_date'));
10061: OE_MSG_PUB.Add;
10062: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10063:
10064: END IF;
10065:

Line 10062: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10058: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10059: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10060: OE_Order_Util.Get_Attribute_Name('creation_date'));
10061: OE_MSG_PUB.Add;
10062: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10063:
10064: END IF;
10065:
10066:

Line 10071: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10067: RETURN FALSE;
10068:
10069: WHEN OTHERS THEN
10070:
10071: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10072: THEN
10073: OE_MSG_PUB.Add_Exc_Msg
10074: ( G_PKG_NAME
10075: , 'Creation_Date'

Line 10073: OE_MSG_PUB.Add_Exc_Msg

10069: WHEN OTHERS THEN
10070:
10071: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10072: THEN
10073: OE_MSG_PUB.Add_Exc_Msg
10074: ( G_PKG_NAME
10075: , 'Creation_Date'
10076: );
10077: END IF;

Line 10111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10107: EXCEPTION
10108:
10109: WHEN NO_DATA_FOUND THEN
10110:
10111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10112: THEN
10113:
10114: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_DATE');
10115:

Line 10114: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_DATE');

10110:
10111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10112: THEN
10113:
10114: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_DATE');
10115:
10116: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10117: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10118: OE_Order_Util.Get_Attribute_Name('ordered_date'));

Line 10119: OE_MSG_PUB.Add;

10115:
10116: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10117: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10118: OE_Order_Util.Get_Attribute_Name('ordered_date'));
10119: OE_MSG_PUB.Add;
10120: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10121:
10122: END IF;
10123:

Line 10120: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10116: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10117: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10118: OE_Order_Util.Get_Attribute_Name('ordered_date'));
10119: OE_MSG_PUB.Add;
10120: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10121:
10122: END IF;
10123:
10124:

Line 10129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10125: RETURN FALSE;
10126:
10127: WHEN OTHERS THEN
10128:
10129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10130: THEN
10131: OE_MSG_PUB.Add_Exc_Msg
10132: ( G_PKG_NAME
10133: , 'Ordered_Date'

Line 10131: OE_MSG_PUB.Add_Exc_Msg

10127: WHEN OTHERS THEN
10128:
10129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10130: THEN
10131: OE_MSG_PUB.Add_Exc_Msg
10132: ( G_PKG_NAME
10133: , 'Ordered_Date'
10134: );
10135: END IF;

Line 10177: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10173: EXCEPTION
10174:
10175: WHEN NO_DATA_FOUND THEN
10176:
10177: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10178: THEN
10179:
10180: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_DATE_TYPE_CODE');
10181:

Line 10180: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_DATE_TYPE_CODE');

10176:
10177: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10178: THEN
10179:
10180: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDER_DATE_TYPE_CODE');
10181:
10182: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10183: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10184: OE_Order_Util.Get_Attribute_Name('order_date_type_code'));

Line 10185: OE_MSG_PUB.Add;

10181:
10182: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10183: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10184: OE_Order_Util.Get_Attribute_Name('order_date_type_code'));
10185: OE_MSG_PUB.Add;
10186: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10187:
10188:
10189: END IF;

Line 10186: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10182: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10183: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10184: OE_Order_Util.Get_Attribute_Name('order_date_type_code'));
10185: OE_MSG_PUB.Add;
10186: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10187:
10188:
10189: END IF;
10190:

Line 10196: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10192: RETURN FALSE;
10193:
10194: WHEN OTHERS THEN
10195:
10196: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10197: THEN
10198: OE_MSG_PUB.Add_Exc_Msg
10199: ( G_PKG_NAME
10200: , 'Order_Date_Type_Code'

Line 10198: OE_MSG_PUB.Add_Exc_Msg

10194: WHEN OTHERS THEN
10195:
10196: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10197: THEN
10198: OE_MSG_PUB.Add_Exc_Msg
10199: ( G_PKG_NAME
10200: , 'Order_Date_Type_Code'
10201: );
10202: END IF;

Line 10237: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10233: EXCEPTION
10234:
10235: WHEN NO_DATA_FOUND THEN
10236:
10237: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10238: THEN
10239:
10240: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_DATE');
10241:

Line 10240: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_DATE');

10236:
10237: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10238: THEN
10239:
10240: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'REQUEST_DATE');
10241:
10242: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10243: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10244: OE_Order_Util.Get_Attribute_Name('request_date'));

Line 10245: OE_MSG_PUB.Add;

10241:
10242: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10243: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10244: OE_Order_Util.Get_Attribute_Name('request_date'));
10245: OE_MSG_PUB.Add;
10246: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10247:
10248: END IF;
10249:

Line 10246: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10242: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10243: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10244: OE_Order_Util.Get_Attribute_Name('request_date'));
10245: OE_MSG_PUB.Add;
10246: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10247:
10248: END IF;
10249:
10250:

Line 10255: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10251: RETURN FALSE;
10252:
10253: WHEN OTHERS THEN
10254:
10255: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10256: THEN
10257: OE_MSG_PUB.Add_Exc_Msg
10258: ( G_PKG_NAME
10259: , 'Request_Date'

Line 10257: OE_MSG_PUB.Add_Exc_Msg

10253: WHEN OTHERS THEN
10254:
10255: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10256: THEN
10257: OE_MSG_PUB.Add_Exc_Msg
10258: ( G_PKG_NAME
10259: , 'Request_Date'
10260: );
10261: END IF;

Line 10294: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10290: EXCEPTION
10291:
10292: WHEN NO_DATA_FOUND THEN
10293:
10294: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10295: THEN
10296:
10297: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RESERVED_QUANTITY');
10298:

Line 10297: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RESERVED_QUANTITY');

10293:
10294: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10295: THEN
10296:
10297: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RESERVED_QUANTITY');
10298:
10299: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10300: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10301: OE_Order_Util.Get_Attribute_Name('reserved_quantity'));

Line 10302: OE_MSG_PUB.Add;

10298:
10299: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10300: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10301: OE_Order_Util.Get_Attribute_Name('reserved_quantity'));
10302: OE_MSG_PUB.Add;
10303: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10304:
10305: END IF;
10306:

Line 10303: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10299: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10300: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10301: OE_Order_Util.Get_Attribute_Name('reserved_quantity'));
10302: OE_MSG_PUB.Add;
10303: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10304:
10305: END IF;
10306:
10307:

Line 10312: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10308: RETURN FALSE;
10309:
10310: WHEN OTHERS THEN
10311:
10312: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10313: THEN
10314: OE_MSG_PUB.Add_Exc_Msg
10315: ( G_PKG_NAME
10316: , 'Reserved_Quantity'

Line 10314: OE_MSG_PUB.Add_Exc_Msg

10310: WHEN OTHERS THEN
10311:
10312: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10313: THEN
10314: OE_MSG_PUB.Add_Exc_Msg
10315: ( G_PKG_NAME
10316: , 'Reserved_Quantity'
10317: );
10318: END IF;

Line 10351: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10347: EXCEPTION
10348:
10349: WHEN NO_DATA_FOUND THEN
10350:
10351: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10352: THEN
10353:
10354: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_ARRIVAL_DATE');
10355:

Line 10354: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_ARRIVAL_DATE');

10350:
10351: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10352: THEN
10353:
10354: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_ARRIVAL_DATE');
10355:
10356: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10357: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10358: OE_Order_Util.Get_Attribute_Name('actual_arrival_date'));

Line 10359: OE_MSG_PUB.Add;

10355:
10356: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10357: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10358: OE_Order_Util.Get_Attribute_Name('actual_arrival_date'));
10359: OE_MSG_PUB.Add;
10360: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10361:
10362: END IF;
10363:

Line 10360: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10356: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10357: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10358: OE_Order_Util.Get_Attribute_Name('actual_arrival_date'));
10359: OE_MSG_PUB.Add;
10360: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10361:
10362: END IF;
10363:
10364:

Line 10369: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10365: RETURN FALSE;
10366:
10367: WHEN OTHERS THEN
10368:
10369: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10370: THEN
10371: OE_MSG_PUB.Add_Exc_Msg
10372: ( G_PKG_NAME
10373: , 'Actual_Arrival_Date'

Line 10371: OE_MSG_PUB.Add_Exc_Msg

10367: WHEN OTHERS THEN
10368:
10369: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10370: THEN
10371: OE_MSG_PUB.Add_Exc_Msg
10372: ( G_PKG_NAME
10373: , 'Actual_Arrival_Date'
10374: );
10375: END IF;

Line 10409: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10405: EXCEPTION
10406:
10407: WHEN NO_DATA_FOUND THEN
10408:
10409: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10410: THEN
10411:
10412: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_SHIPMENT_DATE');
10413:

Line 10412: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_SHIPMENT_DATE');

10408:
10409: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10410: THEN
10411:
10412: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ACTUAL_SHIPMENT_DATE');
10413:
10414: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10415: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10416: OE_Order_Util.Get_Attribute_Name('actual_shipment_date'));

Line 10417: OE_MSG_PUB.Add;

10413:
10414: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10415: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10416: OE_Order_Util.Get_Attribute_Name('actual_shipment_date'));
10417: OE_MSG_PUB.Add;
10418: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10419:
10420: END IF;
10421:

Line 10418: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10414: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10415: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10416: OE_Order_Util.Get_Attribute_Name('actual_shipment_date'));
10417: OE_MSG_PUB.Add;
10418: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10419:
10420: END IF;
10421:
10422:

Line 10427: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10423: RETURN FALSE;
10424:
10425: WHEN OTHERS THEN
10426:
10427: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10428: THEN
10429: OE_MSG_PUB.Add_Exc_Msg
10430: ( G_PKG_NAME
10431: , 'Actual_Shipment_Date'

Line 10429: OE_MSG_PUB.Add_Exc_Msg

10425: WHEN OTHERS THEN
10426:
10427: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10428: THEN
10429: OE_MSG_PUB.Add_Exc_Msg
10430: ( G_PKG_NAME
10431: , 'Actual_Shipment_Date'
10432: );
10433: END IF;

Line 10467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10463: EXCEPTION
10464:
10465: WHEN NO_DATA_FOUND THEN
10466:
10467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10468: THEN
10469:
10470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ATO_LINE_ID');
10471:

Line 10470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ATO_LINE_ID');

10466:
10467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10468: THEN
10469:
10470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ATO_LINE_ID');
10471:
10472: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10473: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10474: OE_Order_Util.Get_Attribute_Name('ato_line_id'));

Line 10475: OE_MSG_PUB.Add;

10471:
10472: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10473: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10474: OE_Order_Util.Get_Attribute_Name('ato_line_id'));
10475: OE_MSG_PUB.Add;
10476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10477:
10478: END IF;
10479:

Line 10476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10472: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10473: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10474: OE_Order_Util.Get_Attribute_Name('ato_line_id'));
10475: OE_MSG_PUB.Add;
10476: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10477:
10478: END IF;
10479:
10480:

Line 10485: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10481: RETURN FALSE;
10482:
10483: WHEN OTHERS THEN
10484:
10485: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10486: THEN
10487: OE_MSG_PUB.Add_Exc_Msg
10488: ( G_PKG_NAME
10489: , 'Ato_Line_Id'

Line 10487: OE_MSG_PUB.Add_Exc_Msg

10483: WHEN OTHERS THEN
10484:
10485: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10486: THEN
10487: OE_MSG_PUB.Add_Exc_Msg
10488: ( G_PKG_NAME
10489: , 'Ato_Line_Id'
10490: );
10491: END IF;

Line 10525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10521: EXCEPTION
10522:
10523: WHEN NO_DATA_FOUND THEN
10524:
10525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10526: THEN
10527:
10528: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTO_SELECTED_QUANTITY');
10529:

Line 10528: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTO_SELECTED_QUANTITY');

10524:
10525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10526: THEN
10527:
10528: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTO_SELECTED_QUANTITY');
10529:
10530: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10531: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10532: OE_Order_Util.Get_Attribute_Name('auto_selected_quantity'));

Line 10533: OE_MSG_PUB.Add;

10529:
10530: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10531: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10532: OE_Order_Util.Get_Attribute_Name('auto_selected_quantity'));
10533: OE_MSG_PUB.Add;
10534: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10535:
10536: END IF;
10537:

Line 10534: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10530: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10531: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10532: OE_Order_Util.Get_Attribute_Name('auto_selected_quantity'));
10533: OE_MSG_PUB.Add;
10534: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10535:
10536: END IF;
10537:
10538:

Line 10543: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10539: RETURN FALSE;
10540:
10541: WHEN OTHERS THEN
10542:
10543: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10544: THEN
10545: OE_MSG_PUB.Add_Exc_Msg
10546: ( G_PKG_NAME
10547: , 'Auto_Selected_Quantity'

Line 10545: OE_MSG_PUB.Add_Exc_Msg

10541: WHEN OTHERS THEN
10542:
10543: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10544: THEN
10545: OE_MSG_PUB.Add_Exc_Msg
10546: ( G_PKG_NAME
10547: , 'Auto_Selected_Quantity'
10548: );
10549: END IF;

Line 10582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10578: EXCEPTION
10579:
10580: WHEN NO_DATA_FOUND THEN
10581:
10582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10583: THEN
10584:
10585: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'BOOKED_FLAG');
10586:

Line 10585: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'BOOKED_FLAG');

10581:
10582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10583: THEN
10584:
10585: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'BOOKED_FLAG');
10586:
10587: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10588: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10589: OE_Order_Util.Get_Attribute_Name('booked_flag'));

Line 10590: OE_MSG_PUB.Add;

10586:
10587: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10588: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10589: OE_Order_Util.Get_Attribute_Name('booked_flag'));
10590: OE_MSG_PUB.Add;
10591: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10592:
10593: END IF;
10594:

Line 10591: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10587: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10588: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10589: OE_Order_Util.Get_Attribute_Name('booked_flag'));
10590: OE_MSG_PUB.Add;
10591: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10592:
10593: END IF;
10594:
10595:

Line 10600: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10596: RETURN FALSE;
10597:
10598: WHEN OTHERS THEN
10599:
10600: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10601: THEN
10602: OE_MSG_PUB.Add_Exc_Msg
10603: ( G_PKG_NAME
10604: , 'Booked'

Line 10602: OE_MSG_PUB.Add_Exc_Msg

10598: WHEN OTHERS THEN
10599:
10600: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10601: THEN
10602: OE_MSG_PUB.Add_Exc_Msg
10603: ( G_PKG_NAME
10604: , 'Booked'
10605: );
10606: END IF;

Line 10639: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10635: EXCEPTION
10636:
10637: WHEN NO_DATA_FOUND THEN
10638:
10639: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10640: THEN
10641:
10642: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_FLAG');
10643:

Line 10642: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_FLAG');

10638:
10639: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10640: THEN
10641:
10642: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_FLAG');
10643:
10644: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10645: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10646: OE_Order_Util.Get_Attribute_Name('cancelled_flag'));

Line 10647: OE_MSG_PUB.Add;

10643:
10644: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10645: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10646: OE_Order_Util.Get_Attribute_Name('cancelled_flag'));
10647: OE_MSG_PUB.Add;
10648: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10649:
10650: END IF;
10651:

Line 10648: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10644: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10645: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10646: OE_Order_Util.Get_Attribute_Name('cancelled_flag'));
10647: OE_MSG_PUB.Add;
10648: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10649:
10650: END IF;
10651:
10652:

Line 10657: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10653: RETURN FALSE;
10654:
10655: WHEN OTHERS THEN
10656:
10657: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10658: THEN
10659: OE_MSG_PUB.Add_Exc_Msg
10660: ( G_PKG_NAME
10661: , 'Cancelled'

Line 10659: OE_MSG_PUB.Add_Exc_Msg

10655: WHEN OTHERS THEN
10656:
10657: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10658: THEN
10659: OE_MSG_PUB.Add_Exc_Msg
10660: ( G_PKG_NAME
10661: , 'Cancelled'
10662: );
10663: END IF;

Line 10697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10693: EXCEPTION
10694:
10695: WHEN NO_DATA_FOUND THEN
10696:
10697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10698: THEN
10699:
10700: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_QUANTITY');
10701:

Line 10700: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_QUANTITY');

10696:
10697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10698: THEN
10699:
10700: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CANCELLED_QUANTITY');
10701:
10702: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10703: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10704: OE_Order_Util.Get_Attribute_Name('cancelled_quantity'));

Line 10705: OE_MSG_PUB.Add;

10701:
10702: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10703: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10704: OE_Order_Util.Get_Attribute_Name('cancelled_quantity'));
10705: OE_MSG_PUB.Add;
10706: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10707:
10708: END IF;
10709:

Line 10706: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10702: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10703: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10704: OE_Order_Util.Get_Attribute_Name('cancelled_quantity'));
10705: OE_MSG_PUB.Add;
10706: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10707:
10708: END IF;
10709:
10710:

Line 10715: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10711: RETURN FALSE;
10712:
10713: WHEN OTHERS THEN
10714:
10715: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10716: THEN
10717: OE_MSG_PUB.Add_Exc_Msg
10718: ( G_PKG_NAME
10719: , 'Cancelled_Quantity'

Line 10717: OE_MSG_PUB.Add_Exc_Msg

10713: WHEN OTHERS THEN
10714:
10715: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10716: THEN
10717: OE_MSG_PUB.Add_Exc_Msg
10718: ( G_PKG_NAME
10719: , 'Cancelled_Quantity'
10720: );
10721: END IF;

Line 10755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10751: EXCEPTION
10752:
10753: WHEN NO_DATA_FOUND THEN
10754:
10755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10756: THEN
10757:
10758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_INVOICE_LINE_ID');
10759:

Line 10758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_INVOICE_LINE_ID');

10754:
10755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10756: THEN
10757:
10758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_INVOICE_LINE_ID');
10759:
10760: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10761: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10762: OE_Order_Util.Get_Attribute_Name('credit_invoice_line'));

Line 10763: OE_MSG_PUB.Add;

10759:
10760: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10761: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10762: OE_Order_Util.Get_Attribute_Name('credit_invoice_line'));
10763: OE_MSG_PUB.Add;
10764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10765:
10766: END IF;
10767:

Line 10764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10760: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10761: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10762: OE_Order_Util.Get_Attribute_Name('credit_invoice_line'));
10763: OE_MSG_PUB.Add;
10764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10765:
10766: END IF;
10767:
10768:

Line 10773: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10769: RETURN FALSE;
10770:
10771: WHEN OTHERS THEN
10772:
10773: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10774: THEN
10775: OE_MSG_PUB.Add_Exc_Msg
10776: ( G_PKG_NAME
10777: , 'Credit_Invoice_Line'

Line 10775: OE_MSG_PUB.Add_Exc_Msg

10771: WHEN OTHERS THEN
10772:
10773: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10774: THEN
10775: OE_MSG_PUB.Add_Exc_Msg
10776: ( G_PKG_NAME
10777: , 'Credit_Invoice_Line'
10778: );
10779: END IF;

Line 10813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10809: EXCEPTION
10810:
10811: WHEN NO_DATA_FOUND THEN
10812:
10813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10814: THEN
10815:
10816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_DOCK_CODE');
10817:

Line 10816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_DOCK_CODE');

10812:
10813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10814: THEN
10815:
10816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_DOCK_CODE');
10817:
10818: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10819: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10820: OE_Order_Util.Get_Attribute_Name('customer_dock_code'));

Line 10821: OE_MSG_PUB.Add;

10817:
10818: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10819: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10820: OE_Order_Util.Get_Attribute_Name('customer_dock_code'));
10821: OE_MSG_PUB.Add;
10822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10823:
10824:
10825: END IF;

Line 10822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10818: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10819: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10820: OE_Order_Util.Get_Attribute_Name('customer_dock_code'));
10821: OE_MSG_PUB.Add;
10822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10823:
10824:
10825: END IF;
10826:

Line 10832: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10828: RETURN FALSE;
10829:
10830: WHEN OTHERS THEN
10831:
10832: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10833: THEN
10834: OE_MSG_PUB.Add_Exc_Msg
10835: ( G_PKG_NAME
10836: , 'Customer_Dock'

Line 10834: OE_MSG_PUB.Add_Exc_Msg

10830: WHEN OTHERS THEN
10831:
10832: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10833: THEN
10834: OE_MSG_PUB.Add_Exc_Msg
10835: ( G_PKG_NAME
10836: , 'Customer_Dock'
10837: );
10838: END IF;

Line 10873: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10869: EXCEPTION
10870:
10871: WHEN NO_DATA_FOUND THEN
10872:
10873: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10874: THEN
10875:
10876: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_JOB');
10877:

Line 10876: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_JOB');

10872:
10873: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10874: THEN
10875:
10876: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_JOB');
10877:
10878: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10879: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10880: OE_Order_Util.Get_Attribute_Name('customer_job'));

Line 10881: OE_MSG_PUB.Add;

10877:
10878: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10879: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10880: OE_Order_Util.Get_Attribute_Name('customer_job'));
10881: OE_MSG_PUB.Add;
10882: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10883:
10884: END IF;
10885:

Line 10882: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10878: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10879: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10880: OE_Order_Util.Get_Attribute_Name('customer_job'));
10881: OE_MSG_PUB.Add;
10882: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10883:
10884: END IF;
10885:
10886: RETURN FALSE;

Line 10891: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10887:
10888:
10889: WHEN OTHERS THEN
10890:
10891: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10892: THEN
10893: OE_MSG_PUB.Add_Exc_Msg
10894: ( G_PKG_NAME
10895: , 'Customer_Job'

Line 10893: OE_MSG_PUB.Add_Exc_Msg

10889: WHEN OTHERS THEN
10890:
10891: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10892: THEN
10893: OE_MSG_PUB.Add_Exc_Msg
10894: ( G_PKG_NAME
10895: , 'Customer_Job'
10896: );
10897: END IF;

Line 10930: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10926: EXCEPTION
10927:
10928: WHEN NO_DATA_FOUND THEN
10929:
10930: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10931: THEN
10932:
10933: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PRODUCTION_LINE');
10934:

Line 10933: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PRODUCTION_LINE');

10929:
10930: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10931: THEN
10932:
10933: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_PRODUCTION_LINE');
10934:
10935: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10936: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10937: OE_Order_Util.Get_Attribute_Name('customer_production_line'));

Line 10938: OE_MSG_PUB.Add;

10934:
10935: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10936: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10937: OE_Order_Util.Get_Attribute_Name('customer_production_line'));
10938: OE_MSG_PUB.Add;
10939: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10940:
10941: END IF;
10942:

Line 10939: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10935: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10936: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10937: OE_Order_Util.Get_Attribute_Name('customer_production_line'));
10938: OE_MSG_PUB.Add;
10939: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10940:
10941: END IF;
10942:
10943:

Line 10948: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

10944: RETURN FALSE;
10945:
10946: WHEN OTHERS THEN
10947:
10948: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10949: THEN
10950: OE_MSG_PUB.Add_Exc_Msg
10951: ( G_PKG_NAME
10952: , 'Customer_Production_Line'

Line 10950: OE_MSG_PUB.Add_Exc_Msg

10946: WHEN OTHERS THEN
10947:
10948: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
10949: THEN
10950: OE_MSG_PUB.Add_Exc_Msg
10951: ( G_PKG_NAME
10952: , 'Customer_Production_Line'
10953: );
10954: END IF;

Line 10987: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

10983: EXCEPTION
10984:
10985: WHEN NO_DATA_FOUND THEN
10986:
10987: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10988: THEN
10989:
10990: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_TRX_LINE_ID');
10991:

Line 10990: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_TRX_LINE_ID');

10986:
10987: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
10988: THEN
10989:
10990: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUSTOMER_TRX_LINE_ID');
10991:
10992: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10993: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10994: OE_Order_Util.Get_Attribute_Name('customer_trx_line_id'));

Line 10995: OE_MSG_PUB.Add;

10991:
10992: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10993: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10994: OE_Order_Util.Get_Attribute_Name('customer_trx_line_id'));
10995: OE_MSG_PUB.Add;
10996: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10997:
10998: END IF;
10999:

Line 10996: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

10992: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
10993: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
10994: OE_Order_Util.Get_Attribute_Name('customer_trx_line_id'));
10995: OE_MSG_PUB.Add;
10996: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
10997:
10998: END IF;
10999:
11000:

Line 11005: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11001: RETURN FALSE;
11002:
11003: WHEN OTHERS THEN
11004:
11005: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11006: THEN
11007: OE_MSG_PUB.Add_Exc_Msg
11008: ( G_PKG_NAME
11009: , 'Customer_Trx_Line'

Line 11007: OE_MSG_PUB.Add_Exc_Msg

11003: WHEN OTHERS THEN
11004:
11005: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11006: THEN
11007: OE_MSG_PUB.Add_Exc_Msg
11008: ( G_PKG_NAME
11009: , 'Customer_Trx_Line'
11010: );
11011: END IF;

Line 11046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11042: EXCEPTION
11043:
11044: WHEN NO_DATA_FOUND THEN
11045:
11046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11047: THEN
11048:
11049: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEP_PLAN_REQUIRED_FLAG');
11050:

Line 11049: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEP_PLAN_REQUIRED_FLAG');

11045:
11046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11047: THEN
11048:
11049: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEP_PLAN_REQUIRED_FLAG');
11050:
11051: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11052: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11053: OE_Order_Util.Get_Attribute_Name('dep_plan_required_flag'));

Line 11054: OE_MSG_PUB.Add;

11050:
11051: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11052: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11053: OE_Order_Util.Get_Attribute_Name('dep_plan_required_flag'));
11054: OE_MSG_PUB.Add;
11055: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11056:
11057: END IF;
11058:

Line 11055: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11051: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11052: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11053: OE_Order_Util.Get_Attribute_Name('dep_plan_required_flag'));
11054: OE_MSG_PUB.Add;
11055: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11056:
11057: END IF;
11058:
11059:

Line 11064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11060: RETURN FALSE;
11061:
11062: WHEN OTHERS THEN
11063:
11064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11065: THEN
11066: OE_MSG_PUB.Add_Exc_Msg
11067: ( G_PKG_NAME
11068: , 'Dep_Plan_Required'

Line 11066: OE_MSG_PUB.Add_Exc_Msg

11062: WHEN OTHERS THEN
11063:
11064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11065: THEN
11066: OE_MSG_PUB.Add_Exc_Msg
11067: ( G_PKG_NAME
11068: , 'Dep_Plan_Required'
11069: );
11070: END IF;

Line 11104: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11100: EXCEPTION
11101:
11102: WHEN NO_DATA_FOUND THEN
11103:
11104: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11105: THEN
11106:
11107: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY');
11108:

Line 11107: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY');

11103:
11104: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11105: THEN
11106:
11107: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY');
11108:
11109: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11110: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11111: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity'));

Line 11112: OE_MSG_PUB.Add;

11108:
11109: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11110: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11111: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity'));
11112: OE_MSG_PUB.Add;
11113: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11114:
11115: END IF;
11116:

Line 11113: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11109: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11110: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11111: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity'));
11112: OE_MSG_PUB.Add;
11113: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11114:
11115: END IF;
11116:
11117:

Line 11122: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11118: RETURN FALSE;
11119:
11120: WHEN OTHERS THEN
11121:
11122: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11123: THEN
11124: OE_MSG_PUB.Add_Exc_Msg
11125: ( G_PKG_NAME
11126: , 'Fulfilled_Quantity'

Line 11124: OE_MSG_PUB.Add_Exc_Msg

11120: WHEN OTHERS THEN
11121:
11122: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11123: THEN
11124: OE_MSG_PUB.Add_Exc_Msg
11125: ( G_PKG_NAME
11126: , 'Fulfilled_Quantity'
11127: );
11128: END IF;

Line 11161: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11157: EXCEPTION
11158:
11159: WHEN NO_DATA_FOUND THEN
11160:
11161: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11162: THEN
11163:
11164: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY2');
11165:

Line 11164: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY2');

11160:
11161: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11162: THEN
11163:
11164: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FULFILLED_QUANTITY2');
11165:
11166: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11167: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11168: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity2'));

Line 11169: OE_MSG_PUB.Add;

11165:
11166: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11167: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11168: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity2'));
11169: OE_MSG_PUB.Add;
11170: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11171:
11172: END IF;
11173:

Line 11170: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11166: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11167: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11168: OE_Order_Util.Get_Attribute_Name('fulfilled_quantity2'));
11169: OE_MSG_PUB.Add;
11170: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11171:
11172: END IF;
11173:
11174:

Line 11179: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11175: RETURN FALSE;
11176:
11177: WHEN OTHERS THEN
11178:
11179: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11180: THEN
11181: OE_MSG_PUB.Add_Exc_Msg
11182: ( G_PKG_NAME
11183: , 'Fulfilled_Quantity'

Line 11181: OE_MSG_PUB.Add_Exc_Msg

11177: WHEN OTHERS THEN
11178:
11179: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11180: THEN
11181: OE_MSG_PUB.Add_Exc_Msg
11182: ( G_PKG_NAME
11183: , 'Fulfilled_Quantity'
11184: );
11185: END IF;

Line 11220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11216: EXCEPTION
11217:
11218: WHEN NO_DATA_FOUND THEN
11219:
11220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11221: THEN
11222:
11223: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_INTERFACE_STATUS_CODE');
11224:

Line 11223: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_INTERFACE_STATUS_CODE');

11219:
11220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11221: THEN
11222:
11223: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICE_INTERFACE_STATUS_CODE');
11224:
11225: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11226: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11227: OE_Order_Util.Get_Attribute_Name('invoice_interface_status_code'));

Line 11228: OE_MSG_PUB.Add;

11224:
11225: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11226: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11227: OE_Order_Util.Get_Attribute_Name('invoice_interface_status_code'));
11228: OE_MSG_PUB.Add;
11229: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11230:
11231: END IF;
11232:

Line 11229: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11225: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11226: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11227: OE_Order_Util.Get_Attribute_Name('invoice_interface_status_code'));
11228: OE_MSG_PUB.Add;
11229: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11230:
11231: END IF;
11232:
11233:

Line 11238: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11234: RETURN FALSE;
11235:
11236: WHEN OTHERS THEN
11237:
11238: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11239: THEN
11240: OE_MSG_PUB.Add_Exc_Msg
11241: ( G_PKG_NAME
11242: , 'Invoice_Interface_Status'

Line 11240: OE_MSG_PUB.Add_Exc_Msg

11236: WHEN OTHERS THEN
11237:
11238: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11239: THEN
11240: OE_MSG_PUB.Add_Exc_Msg
11241: ( G_PKG_NAME
11242: , 'Invoice_Interface_Status'
11243: );
11244: END IF;

Line 11279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11275: EXCEPTION
11276:
11277: WHEN NO_DATA_FOUND THEN
11278:
11279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11280: THEN
11281:
11282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_REVISION');
11283:

Line 11282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_REVISION');

11278:
11279: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11280: THEN
11281:
11282: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_REVISION');
11283:
11284: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11285: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11286: OE_Order_Util.Get_Attribute_Name('item_revision'));

Line 11287: OE_MSG_PUB.Add;

11283:
11284: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11285: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11286: OE_Order_Util.Get_Attribute_Name('item_revision'));
11287: OE_MSG_PUB.Add;
11288: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11289:
11290: END IF;
11291:

Line 11288: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11284: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11285: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11286: OE_Order_Util.Get_Attribute_Name('item_revision'));
11287: OE_MSG_PUB.Add;
11288: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11289:
11290: END IF;
11291:
11292:

Line 11297: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11293: RETURN FALSE;
11294:
11295: WHEN OTHERS THEN
11296:
11297: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11298: THEN
11299: OE_MSG_PUB.Add_Exc_Msg
11300: ( G_PKG_NAME
11301: , 'Item_Revision'

Line 11299: OE_MSG_PUB.Add_Exc_Msg

11295: WHEN OTHERS THEN
11296:
11297: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11298: THEN
11299: OE_MSG_PUB.Add_Exc_Msg
11300: ( G_PKG_NAME
11301: , 'Item_Revision'
11302: );
11303: END IF;

Line 11348: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11344: EXCEPTION
11345:
11346: WHEN NO_DATA_FOUND THEN
11347:
11348: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11349: THEN
11350:
11351: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_TYPE_CODE');
11352:

Line 11351: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_TYPE_CODE');

11347:
11348: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11349: THEN
11350:
11351: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_TYPE_CODE');
11352:
11353: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11354: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11355: OE_Order_Util.Get_Attribute_Name('item_type_code'));

Line 11356: OE_MSG_PUB.Add;

11352:
11353: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11354: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11355: OE_Order_Util.Get_Attribute_Name('item_type_code'));
11356: OE_MSG_PUB.Add;
11357: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11358:
11359: END IF;
11360:

Line 11357: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11353: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11354: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11355: OE_Order_Util.Get_Attribute_Name('item_type_code'));
11356: OE_MSG_PUB.Add;
11357: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11358:
11359: END IF;
11360:
11361:

Line 11366: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11362: RETURN FALSE;
11363:
11364: WHEN OTHERS THEN
11365:
11366: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11367: THEN
11368: OE_MSG_PUB.Add_Exc_Msg
11369: ( G_PKG_NAME
11370: , 'Item_Type'

Line 11368: OE_MSG_PUB.Add_Exc_Msg

11364: WHEN OTHERS THEN
11365:
11366: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11367: THEN
11368: OE_MSG_PUB.Add_Exc_Msg
11369: ( G_PKG_NAME
11370: , 'Item_Type'
11371: );
11372: END IF;

Line 11405: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11401: EXCEPTION
11402:
11403: WHEN NO_DATA_FOUND THEN
11404:
11405: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11406: THEN
11407:
11408: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_CATEGORY_CODE');
11409:

Line 11408: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_CATEGORY_CODE');

11404:
11405: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11406: THEN
11407:
11408: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_CATEGORY_CODE');
11409:
11410: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11411: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11412: OE_Order_Util.Get_Attribute_Name('line_category_code'));

Line 11413: OE_MSG_PUB.Add;

11409:
11410: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11411: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11412: OE_Order_Util.Get_Attribute_Name('line_category_code'));
11413: OE_MSG_PUB.Add;
11414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11415:
11416: END IF;
11417:

Line 11414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11410: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11411: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11412: OE_Order_Util.Get_Attribute_Name('line_category_code'));
11413: OE_MSG_PUB.Add;
11414: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11415:
11416: END IF;
11417:
11418:

Line 11423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11419: RETURN FALSE;
11420:
11421: WHEN OTHERS THEN
11422:
11423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11424: THEN
11425: OE_MSG_PUB.Add_Exc_Msg
11426: ( G_PKG_NAME
11427: , 'Line_Category'

Line 11425: OE_MSG_PUB.Add_Exc_Msg

11421: WHEN OTHERS THEN
11422:
11423: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11424: THEN
11425: OE_MSG_PUB.Add_Exc_Msg
11426: ( G_PKG_NAME
11427: , 'Line_Category'
11428: );
11429: END IF;

Line 11462: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11458: EXCEPTION
11459:
11460: WHEN NO_DATA_FOUND THEN
11461:
11462: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11463: THEN
11464:
11465: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPEN_FLAG');
11466:

Line 11465: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPEN_FLAG');

11461:
11462: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11463: THEN
11464:
11465: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPEN_FLAG');
11466:
11467: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11468: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11469: OE_Order_Util.Get_Attribute_Name('open_flag'));

Line 11470: OE_MSG_PUB.Add;

11466:
11467: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11468: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11469: OE_Order_Util.Get_Attribute_Name('open_flag'));
11470: OE_MSG_PUB.Add;
11471: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11472:
11473: END IF;
11474:

Line 11471: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11467: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11468: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11469: OE_Order_Util.Get_Attribute_Name('open_flag'));
11470: OE_MSG_PUB.Add;
11471: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11472:
11473: END IF;
11474:
11475:

Line 11480: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11476: RETURN FALSE;
11477:
11478: WHEN OTHERS THEN
11479:
11480: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11481: THEN
11482: OE_MSG_PUB.Add_Exc_Msg
11483: ( G_PKG_NAME
11484: , 'Open'

Line 11482: OE_MSG_PUB.Add_Exc_Msg

11478: WHEN OTHERS THEN
11479:
11480: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11481: THEN
11482: OE_MSG_PUB.Add_Exc_Msg
11483: ( G_PKG_NAME
11484: , 'Open'
11485: );
11486: END IF;

Line 11520: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11516: EXCEPTION
11517:
11518: WHEN NO_DATA_FOUND THEN
11519:
11520: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11521: THEN
11522:
11523: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_FLAG');
11524:

Line 11523: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_FLAG');

11519:
11520: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11521: THEN
11522:
11523: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_FLAG');
11524:
11525: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11526: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11527: OE_Order_Util.Get_Attribute_Name('option_flag'));

Line 11528: OE_MSG_PUB.Add;

11524:
11525: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11526: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11527: OE_Order_Util.Get_Attribute_Name('option_flag'));
11528: OE_MSG_PUB.Add;
11529: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11530:
11531: END IF;
11532:

Line 11529: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11525: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11526: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11527: OE_Order_Util.Get_Attribute_Name('option_flag'));
11528: OE_MSG_PUB.Add;
11529: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11530:
11531: END IF;
11532:
11533:

Line 11538: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11534: RETURN FALSE;
11535:
11536: WHEN OTHERS THEN
11537:
11538: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11539: THEN
11540: OE_MSG_PUB.Add_Exc_Msg
11541: ( G_PKG_NAME
11542: , 'Option_Flag'

Line 11540: OE_MSG_PUB.Add_Exc_Msg

11536: WHEN OTHERS THEN
11537:
11538: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11539: THEN
11540: OE_MSG_PUB.Add_Exc_Msg
11541: ( G_PKG_NAME
11542: , 'Option_Flag'
11543: );
11544: END IF;

Line 11582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11578: EXCEPTION
11579:
11580: WHEN NO_DATA_FOUND THEN
11581:
11582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11583: THEN
11584:
11585: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY');
11586:

Line 11585: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY');

11581:
11582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11583: THEN
11584:
11585: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY');
11586:
11587: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11588: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11589: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));

Line 11590: OE_MSG_PUB.Add;

11586:
11587: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11588: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11589: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
11590: OE_MSG_PUB.Add;
11591: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11592:
11593: END IF;
11594:

Line 11591: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11587: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11588: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11589: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
11590: OE_MSG_PUB.Add;
11591: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11592:
11593: END IF;
11594:
11595:

Line 11600: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11596: RETURN FALSE;
11597:
11598: WHEN OTHERS THEN
11599:
11600: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11601: THEN
11602: OE_MSG_PUB.Add_Exc_Msg
11603: ( G_PKG_NAME
11604: , 'Ordered_Quantity'

Line 11602: OE_MSG_PUB.Add_Exc_Msg

11598: WHEN OTHERS THEN
11599:
11600: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11601: THEN
11602: OE_MSG_PUB.Add_Exc_Msg
11603: ( G_PKG_NAME
11604: , 'Ordered_Quantity'
11605: );
11606: END IF;

Line 11636: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11632: EXCEPTION
11633:
11634: WHEN NO_DATA_FOUND THEN
11635:
11636: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11637: THEN
11638:
11639: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');
11640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 11639: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');

11635:
11636: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11637: THEN
11638:
11639: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');
11640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11641: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11642: OE_Order_Util.Get_Attribute_Name('ordered_quantity2'));
11643: OE_MSG_PUB.Add;

Line 11643: OE_MSG_PUB.Add;

11639: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');
11640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11641: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11642: OE_Order_Util.Get_Attribute_Name('ordered_quantity2'));
11643: OE_MSG_PUB.Add;
11644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11645:
11646: END IF;
11647:

Line 11644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11641: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11642: OE_Order_Util.Get_Attribute_Name('ordered_quantity2'));
11643: OE_MSG_PUB.Add;
11644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11645:
11646: END IF;
11647:
11648:

Line 11653: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11649: RETURN FALSE;
11650:
11651: WHEN OTHERS THEN
11652:
11653: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11654: THEN
11655: OE_MSG_PUB.Add_Exc_Msg
11656: ( G_PKG_NAME
11657: , 'Ordered_Quantity2'

Line 11655: OE_MSG_PUB.Add_Exc_Msg

11651: WHEN OTHERS THEN
11652:
11653: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11654: THEN
11655: OE_MSG_PUB.Add_Exc_Msg
11656: ( G_PKG_NAME
11657: , 'Ordered_Quantity2'
11658: );
11659: END IF;

Line 11696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11692: EXCEPTION
11693:
11694: WHEN NO_DATA_FOUND THEN
11695:
11696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11697: THEN
11698:
11699: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROMISE_DATE');
11700:

Line 11699: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROMISE_DATE');

11695:
11696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11697: THEN
11698:
11699: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROMISE_DATE');
11700:
11701: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11702: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11703: OE_Order_Util.Get_Attribute_Name('promise_date'));

Line 11704: OE_MSG_PUB.Add;

11700:
11701: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11702: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11703: OE_Order_Util.Get_Attribute_Name('promise_date'));
11704: OE_MSG_PUB.Add;
11705: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11706:
11707: END IF;
11708:

Line 11705: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11701: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11702: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11703: OE_Order_Util.Get_Attribute_Name('promise_date'));
11704: OE_MSG_PUB.Add;
11705: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11706:
11707: END IF;
11708:
11709:

Line 11714: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11710: RETURN FALSE;
11711:
11712: WHEN OTHERS THEN
11713:
11714: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11715: THEN
11716: OE_MSG_PUB.Add_Exc_Msg
11717: ( G_PKG_NAME
11718: , 'Promise_Date'

Line 11716: OE_MSG_PUB.Add_Exc_Msg

11712: WHEN OTHERS THEN
11713:
11714: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11715: THEN
11716: OE_MSG_PUB.Add_Exc_Msg
11717: ( G_PKG_NAME
11718: , 'Promise_Date'
11719: );
11720: END IF;

Line 11755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11751: EXCEPTION
11752:
11753: WHEN NO_DATA_FOUND THEN
11754:
11755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11756: THEN
11757:
11758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RE_SOURCE_FLAG');
11759:

Line 11758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RE_SOURCE_FLAG');

11754:
11755: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11756: THEN
11757:
11758: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RE_SOURCE_FLAG');
11759:
11760: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11761: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11762: OE_Order_Util.Get_Attribute_Name('re_source_flag'));

Line 11763: OE_MSG_PUB.Add;

11759:
11760: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11761: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11762: OE_Order_Util.Get_Attribute_Name('re_source_flag'));
11763: OE_MSG_PUB.Add;
11764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11765:
11766: END IF;
11767:

Line 11764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11760: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11761: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11762: OE_Order_Util.Get_Attribute_Name('re_source_flag'));
11763: OE_MSG_PUB.Add;
11764: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11765:
11766: END IF;
11767:
11768:

Line 11773: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11769: RETURN FALSE;
11770:
11771: WHEN OTHERS THEN
11772:
11773: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11774: THEN
11775: OE_MSG_PUB.Add_Exc_Msg
11776: ( G_PKG_NAME
11777: , 'Re_Source_Flag'

Line 11775: OE_MSG_PUB.Add_Exc_Msg

11771: WHEN OTHERS THEN
11772:
11773: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11774: THEN
11775: OE_MSG_PUB.Add_Exc_Msg
11776: ( G_PKG_NAME
11777: , 'Re_Source_Flag'
11778: );
11779: END IF;

Line 11813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11809: EXCEPTION
11810:
11811: WHEN NO_DATA_FOUND THEN
11812:
11813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11814: THEN
11815:
11816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RLA_SCHEDULE_TYPE_CODE');
11817:

Line 11816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RLA_SCHEDULE_TYPE_CODE');

11812:
11813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11814: THEN
11815:
11816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RLA_SCHEDULE_TYPE_CODE');
11817:
11818: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11819: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11820: OE_Order_Util.Get_Attribute_Name('rla_schedule_type_code'));

Line 11821: OE_MSG_PUB.Add;

11817:
11818: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11819: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11820: OE_Order_Util.Get_Attribute_Name('rla_schedule_type_code'));
11821: OE_MSG_PUB.Add;
11822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11823:
11824: END IF;
11825:

Line 11822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11818: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11819: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11820: OE_Order_Util.Get_Attribute_Name('rla_schedule_type_code'));
11821: OE_MSG_PUB.Add;
11822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11823:
11824: END IF;
11825:
11826:

Line 11831: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11827: RETURN FALSE;
11828:
11829: WHEN OTHERS THEN
11830:
11831: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11832: THEN
11833: OE_MSG_PUB.Add_Exc_Msg
11834: ( G_PKG_NAME
11835: , 'Rla_Schedule_Type'

Line 11833: OE_MSG_PUB.Add_Exc_Msg

11829: WHEN OTHERS THEN
11830:
11831: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11832: THEN
11833: OE_MSG_PUB.Add_Exc_Msg
11834: ( G_PKG_NAME
11835: , 'Rla_Schedule_Type'
11836: );
11837: END IF;

Line 11870: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11866: EXCEPTION
11867:
11868: WHEN NO_DATA_FOUND THEN
11869:
11870: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11871: THEN
11872:
11873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_SHIP_DATE');
11874:

Line 11873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_SHIP_DATE');

11869:
11870: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11871: THEN
11872:
11873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_SHIP_DATE');
11874:
11875: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11876: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11877: OE_Order_Util.Get_Attribute_Name('schedule_ship_date'));

Line 11878: OE_MSG_PUB.Add;

11874:
11875: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11876: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11877: OE_Order_Util.Get_Attribute_Name('schedule_ship_date'));
11878: OE_MSG_PUB.Add;
11879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11880:
11881: END IF;
11882:

Line 11879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11875: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11876: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11877: OE_Order_Util.Get_Attribute_Name('schedule_ship_date'));
11878: OE_MSG_PUB.Add;
11879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11880:
11881: END IF;
11882:
11883:

Line 11888: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11884: RETURN FALSE;
11885:
11886: WHEN OTHERS THEN
11887:
11888: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11889: THEN
11890: OE_MSG_PUB.Add_Exc_Msg
11891: ( G_PKG_NAME
11892: , 'schedule_ship_date'

Line 11890: OE_MSG_PUB.Add_Exc_Msg

11886: WHEN OTHERS THEN
11887:
11888: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11889: THEN
11890: OE_MSG_PUB.Add_Exc_Msg
11891: ( G_PKG_NAME
11892: , 'schedule_ship_date'
11893: );
11894: END IF;

Line 11928: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11924: EXCEPTION
11925:
11926: WHEN NO_DATA_FOUND THEN
11927:
11928: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11929: THEN
11930:
11931: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_STATUS_CODE');
11932:

Line 11931: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_STATUS_CODE');

11927:
11928: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11929: THEN
11930:
11931: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_STATUS_CODE');
11932:
11933: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11934: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11935: OE_Order_Util.Get_Attribute_Name('schedule_status_code'));

Line 11936: OE_MSG_PUB.Add;

11932:
11933: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11934: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11935: OE_Order_Util.Get_Attribute_Name('schedule_status_code'));
11936: OE_MSG_PUB.Add;
11937: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11938:
11939: END IF;
11940:

Line 11937: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

11933: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11934: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11935: OE_Order_Util.Get_Attribute_Name('schedule_status_code'));
11936: OE_MSG_PUB.Add;
11937: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11938:
11939: END IF;
11940:
11941:

Line 11946: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

11942: RETURN FALSE;
11943:
11944: WHEN OTHERS THEN
11945:
11946: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11947: THEN
11948: OE_MSG_PUB.Add_Exc_Msg
11949: ( G_PKG_NAME
11950: , 'Schedule_Status'

Line 11948: OE_MSG_PUB.Add_Exc_Msg

11944: WHEN OTHERS THEN
11945:
11946: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11947: THEN
11948: OE_MSG_PUB.Add_Exc_Msg
11949: ( G_PKG_NAME
11950: , 'Schedule_Status'
11951: );
11952: END IF;

Line 11997: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11993: EXCEPTION
11994:
11995: WHEN NO_DATA_FOUND THEN
11996:
11997: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11998: THEN
11999:
12000: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_CODE');
12001:

Line 12000: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_CODE');

11996:
11997: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11998: THEN
11999:
12000: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_CODE');
12001:
12002: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12003: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12004: OE_Order_Util.Get_Attribute_Name('tax_code'));

Line 12005: OE_MSG_PUB.Add;

12001:
12002: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12003: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12004: OE_Order_Util.Get_Attribute_Name('tax_code'));
12005: OE_MSG_PUB.Add;
12006: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12007:
12008: END IF;
12009:

Line 12006: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12002: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12003: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12004: OE_Order_Util.Get_Attribute_Name('tax_code'));
12005: OE_MSG_PUB.Add;
12006: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12007:
12008: END IF;
12009:
12010:

Line 12015: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12011: RETURN FALSE;
12012:
12013: WHEN OTHERS THEN
12014:
12015: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12016: THEN
12017: OE_MSG_PUB.Add_Exc_Msg
12018: ( G_PKG_NAME
12019: , 'Tax'

Line 12017: OE_MSG_PUB.Add_Exc_Msg

12013: WHEN OTHERS THEN
12014:
12015: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12016: THEN
12017: OE_MSG_PUB.Add_Exc_Msg
12018: ( G_PKG_NAME
12019: , 'Tax'
12020: );
12021: END IF;

Line 12055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12051: EXCEPTION
12052:
12053: WHEN NO_DATA_FOUND THEN
12054:
12055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12056: THEN
12057: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE');
12058:
12059: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 12057: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE');

12053: WHEN NO_DATA_FOUND THEN
12054:
12055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12056: THEN
12057: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE');
12058:
12059: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12060: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12061: OE_Order_Util.Get_Attribute_Name('tax_rate'));

Line 12062: OE_MSG_PUB.Add;

12058:
12059: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12060: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12061: OE_Order_Util.Get_Attribute_Name('tax_rate'));
12062: OE_MSG_PUB.Add;
12063: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12064:
12065: END IF;
12066:

Line 12063: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12059: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12060: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12061: OE_Order_Util.Get_Attribute_Name('tax_rate'));
12062: OE_MSG_PUB.Add;
12063: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12064:
12065: END IF;
12066:
12067:

Line 12072: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12068: RETURN FALSE;
12069:
12070: WHEN OTHERS THEN
12071:
12072: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12073: THEN
12074: OE_MSG_PUB.Add_Exc_Msg
12075: ( G_PKG_NAME
12076: , 'Tax_Rate'

Line 12074: OE_MSG_PUB.Add_Exc_Msg

12070: WHEN OTHERS THEN
12071:
12072: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12073: THEN
12074: OE_MSG_PUB.Add_Exc_Msg
12075: ( G_PKG_NAME
12076: , 'Tax_Rate'
12077: );
12078: END IF;

Line 12114: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12110: EXCEPTION
12111:
12112: WHEN NO_DATA_FOUND THEN
12113:
12114: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12115: THEN
12116:
12117: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VISIBLE_DEMAND_FLAG');
12118:

Line 12117: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VISIBLE_DEMAND_FLAG');

12113:
12114: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12115: THEN
12116:
12117: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VISIBLE_DEMAND_FLAG');
12118:
12119: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12120: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12121: OE_Order_Util.Get_Attribute_Name('visible_demand_flag'));

Line 12122: OE_MSG_PUB.Add;

12118:
12119: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12120: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12121: OE_Order_Util.Get_Attribute_Name('visible_demand_flag'));
12122: OE_MSG_PUB.Add;
12123: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12124:
12125: END IF;
12126:

Line 12123: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12119: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12120: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12121: OE_Order_Util.Get_Attribute_Name('visible_demand_flag'));
12122: OE_MSG_PUB.Add;
12123: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12124:
12125: END IF;
12126:
12127:

Line 12132: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12128: RETURN FALSE;
12129:
12130: WHEN OTHERS THEN
12131:
12132: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12133: THEN
12134: OE_MSG_PUB.Add_Exc_Msg
12135: ( G_PKG_NAME
12136: , 'Visible_Demand'

Line 12134: OE_MSG_PUB.Add_Exc_Msg

12130: WHEN OTHERS THEN
12131:
12132: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12133: THEN
12134: OE_MSG_PUB.Add_Exc_Msg
12135: ( G_PKG_NAME
12136: , 'Visible_Demand'
12137: );
12138: END IF;

Line 12173: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12169: EXCEPTION
12170:
12171: WHEN NO_DATA_FOUND THEN
12172:
12173: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12174: THEN
12175:
12176: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY');
12177:

Line 12176: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY');

12172:
12173: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12174: THEN
12175:
12176: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY');
12177:
12178: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12179: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12180: OE_Order_Util.Get_Attribute_Name('shipped_quantity'));

Line 12181: OE_MSG_PUB.Add;

12177:
12178: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12179: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12180: OE_Order_Util.Get_Attribute_Name('shipped_quantity'));
12181: OE_MSG_PUB.Add;
12182: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12183:
12184: END IF;
12185:

Line 12182: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12178: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12179: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12180: OE_Order_Util.Get_Attribute_Name('shipped_quantity'));
12181: OE_MSG_PUB.Add;
12182: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12183:
12184: END IF;
12185:
12186:

Line 12191: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12187: RETURN FALSE;
12188:
12189: WHEN OTHERS THEN
12190:
12191: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12192: THEN
12193: OE_MSG_PUB.Add_Exc_Msg
12194: ( G_PKG_NAME
12195: , 'Shipped_Quantity'

Line 12193: OE_MSG_PUB.Add_Exc_Msg

12189: WHEN OTHERS THEN
12190:
12191: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12192: THEN
12193: OE_MSG_PUB.Add_Exc_Msg
12194: ( G_PKG_NAME
12195: , 'Shipped_Quantity'
12196: );
12197: END IF;

Line 12231: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12227: EXCEPTION
12228:
12229: WHEN NO_DATA_FOUND THEN
12230:
12231: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12232: THEN
12233:
12234: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY2');
12235:

Line 12234: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY2');

12230:
12231: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12232: THEN
12233:
12234: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY2');
12235:
12236: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12237: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12238: OE_Order_Util.Get_Attribute_Name('shipped_quantity2'));

Line 12239: OE_MSG_PUB.Add;

12235:
12236: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12237: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12238: OE_Order_Util.Get_Attribute_Name('shipped_quantity2'));
12239: OE_MSG_PUB.Add;
12240: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12241:
12242: END IF;
12243:

Line 12240: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12236: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12237: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12238: OE_Order_Util.Get_Attribute_Name('shipped_quantity2'));
12239: OE_MSG_PUB.Add;
12240: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12241:
12242: END IF;
12243:
12244:

Line 12249: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12245: RETURN FALSE;
12246:
12247: WHEN OTHERS THEN
12248:
12249: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12250: THEN
12251: OE_MSG_PUB.Add_Exc_Msg
12252: ( G_PKG_NAME
12253: , 'Shipped_Quantity2'

Line 12251: OE_MSG_PUB.Add_Exc_Msg

12247: WHEN OTHERS THEN
12248:
12249: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12250: THEN
12251: OE_MSG_PUB.Add_Exc_Msg
12252: ( G_PKG_NAME
12253: , 'Shipped_Quantity2'
12254: );
12255: END IF;

Line 12289: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12285: EXCEPTION
12286:
12287: WHEN NO_DATA_FOUND THEN
12288:
12289: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12290: THEN
12291:
12292: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_ACCEPTABLE_DATE');
12293:

Line 12292: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_ACCEPTABLE_DATE');

12288:
12289: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12290: THEN
12291:
12292: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_ACCEPTABLE_DATE');
12293:
12294: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12295: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12296: OE_Order_Util.Get_Attribute_Name('earliest_acceptable_date'));

Line 12297: OE_MSG_PUB.Add;

12293:
12294: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12295: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12296: OE_Order_Util.Get_Attribute_Name('earliest_acceptable_date'));
12297: OE_MSG_PUB.Add;
12298: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12299:
12300: END IF;
12301:

Line 12298: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12294: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12295: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12296: OE_Order_Util.Get_Attribute_Name('earliest_acceptable_date'));
12297: OE_MSG_PUB.Add;
12298: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12299:
12300: END IF;
12301:
12302:

Line 12307: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12303: RETURN FALSE;
12304:
12305: WHEN OTHERS THEN
12306:
12307: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12308: THEN
12309: OE_MSG_PUB.Add_Exc_Msg
12310: ( G_PKG_NAME
12311: , 'Earliest_Acceptable_Date'

Line 12309: OE_MSG_PUB.Add_Exc_Msg

12305: WHEN OTHERS THEN
12306:
12307: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12308: THEN
12309: OE_MSG_PUB.Add_Exc_Msg
12310: ( G_PKG_NAME
12311: , 'Earliest_Acceptable_Date'
12312: );
12313: END IF;

Line 12346: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12342: EXCEPTION
12343:
12344: WHEN NO_DATA_FOUND THEN
12345:
12346: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12347: THEN
12348: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_SCHEDULE_LIMIT');
12349:
12350: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 12348: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_SCHEDULE_LIMIT');

12344: WHEN NO_DATA_FOUND THEN
12345:
12346: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12347: THEN
12348: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_SCHEDULE_LIMIT');
12349:
12350: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12351: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12352: OE_Order_Util.Get_Attribute_Name('earliest_schedule_limit'));

Line 12353: OE_MSG_PUB.Add;

12349:
12350: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12351: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12352: OE_Order_Util.Get_Attribute_Name('earliest_schedule_limit'));
12353: OE_MSG_PUB.Add;
12354: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12355:
12356: END IF;
12357:

Line 12354: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12350: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12351: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12352: OE_Order_Util.Get_Attribute_Name('earliest_schedule_limit'));
12353: OE_MSG_PUB.Add;
12354: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12355:
12356: END IF;
12357:
12358:

Line 12363: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12359: RETURN FALSE;
12360:
12361: WHEN OTHERS THEN
12362:
12363: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12364: THEN
12365: OE_MSG_PUB.Add_Exc_Msg
12366: ( G_PKG_NAME
12367: , 'Earliest_Schedule_Limit'

Line 12365: OE_MSG_PUB.Add_Exc_Msg

12361: WHEN OTHERS THEN
12362:
12363: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12364: THEN
12365: OE_MSG_PUB.Add_Exc_Msg
12366: ( G_PKG_NAME
12367: , 'Earliest_Schedule_Limit'
12368: );
12369: END IF;

Line 12403: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12399: EXCEPTION
12400:
12401: WHEN NO_DATA_FOUND THEN
12402:
12403: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12404: THEN
12405: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_ACCEPTABLE_DATE');
12406:
12407:

Line 12405: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_ACCEPTABLE_DATE');

12401: WHEN NO_DATA_FOUND THEN
12402:
12403: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12404: THEN
12405: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_ACCEPTABLE_DATE');
12406:
12407:
12408: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12409: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 12411: OE_MSG_PUB.Add;

12407:
12408: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12409: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12410: OE_Order_Util.Get_Attribute_Name('latest_acceptable_date'));
12411: OE_MSG_PUB.Add;
12412: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12413:
12414: END IF;
12415:

Line 12412: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12408: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12409: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12410: OE_Order_Util.Get_Attribute_Name('latest_acceptable_date'));
12411: OE_MSG_PUB.Add;
12412: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12413:
12414: END IF;
12415:
12416:

Line 12421: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12417: RETURN FALSE;
12418:
12419: WHEN OTHERS THEN
12420:
12421: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12422: THEN
12423: OE_MSG_PUB.Add_Exc_Msg
12424: ( G_PKG_NAME
12425: , 'Latest_Acceptable_Date'

Line 12423: OE_MSG_PUB.Add_Exc_Msg

12419: WHEN OTHERS THEN
12420:
12421: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12422: THEN
12423: OE_MSG_PUB.Add_Exc_Msg
12424: ( G_PKG_NAME
12425: , 'Latest_Acceptable_Date'
12426: );
12427: END IF;

Line 12460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12456: EXCEPTION
12457:
12458: WHEN NO_DATA_FOUND THEN
12459:
12460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12461: THEN
12462:
12463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_SCHEDULE_LIMIT');
12464:

Line 12463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_SCHEDULE_LIMIT');

12459:
12460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12461: THEN
12462:
12463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_SCHEDULE_LIMIT');
12464:
12465: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12466: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12467: OE_Order_Util.Get_Attribute_Name('latest_schedule_limit'));

Line 12468: OE_MSG_PUB.Add;

12464:
12465: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12466: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12467: OE_Order_Util.Get_Attribute_Name('latest_schedule_limit'));
12468: OE_MSG_PUB.Add;
12469: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12470:
12471: END IF;
12472:

Line 12469: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12465: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12466: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12467: OE_Order_Util.Get_Attribute_Name('latest_schedule_limit'));
12468: OE_MSG_PUB.Add;
12469: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12470:
12471: END IF;
12472:
12473:

Line 12478: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12474: RETURN FALSE;
12475:
12476: WHEN OTHERS THEN
12477:
12478: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12479: THEN
12480: OE_MSG_PUB.Add_Exc_Msg
12481: ( G_PKG_NAME
12482: , 'Latest_Schedule_Limit'

Line 12480: OE_MSG_PUB.Add_Exc_Msg

12476: WHEN OTHERS THEN
12477:
12478: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12479: THEN
12480: OE_MSG_PUB.Add_Exc_Msg
12481: ( G_PKG_NAME
12482: , 'Latest_Schedule_Limit'
12483: );
12484: END IF;

Line 12517: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12513: EXCEPTION
12514:
12515: WHEN NO_DATA_FOUND THEN
12516:
12517: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12518: THEN
12519:
12520: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODEL_GROUP_NUMBER');
12521:

Line 12520: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODEL_GROUP_NUMBER');

12516:
12517: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12518: THEN
12519:
12520: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODEL_GROUP_NUMBER');
12521:
12522: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12523: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12524: OE_Order_Util.Get_Attribute_Name('model_group_number'));

Line 12525: OE_MSG_PUB.Add;

12521:
12522: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12523: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12524: OE_Order_Util.Get_Attribute_Name('model_group_number'));
12525: OE_MSG_PUB.Add;
12526: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12527:
12528: END IF;
12529:

Line 12526: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12522: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12523: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12524: OE_Order_Util.Get_Attribute_Name('model_group_number'));
12525: OE_MSG_PUB.Add;
12526: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12527:
12528: END IF;
12529:
12530:

Line 12535: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12531: RETURN FALSE;
12532:
12533: WHEN OTHERS THEN
12534:
12535: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12536: THEN
12537: OE_MSG_PUB.Add_Exc_Msg
12538: ( G_PKG_NAME
12539: , 'Model_Group_Number'

Line 12537: OE_MSG_PUB.Add_Exc_Msg

12533: WHEN OTHERS THEN
12534:
12535: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12536: THEN
12537: OE_MSG_PUB.Add_Exc_Msg
12538: ( G_PKG_NAME
12539: , 'Model_Group_Number'
12540: );
12541: END IF;

Line 12575: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12571: EXCEPTION
12572:
12573: WHEN NO_DATA_FOUND THEN
12574:
12575: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12576: THEN
12577:
12578: OE_MSG_PUB.Update_Msg_Context
12579: (p_attribute_code => 'MFG_COMPONENT_SEQUENCE_ID');

Line 12578: OE_MSG_PUB.Update_Msg_Context

12574:
12575: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12576: THEN
12577:
12578: OE_MSG_PUB.Update_Msg_Context
12579: (p_attribute_code => 'MFG_COMPONENT_SEQUENCE_ID');
12580:
12581: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12582: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 12585: OE_MSG_PUB.Add;

12581: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12582: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12583: OE_Order_Util.Get_Attribute_Name
12584: ('mfg_component_sequence_id'));
12585: OE_MSG_PUB.Add;
12586: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12587:
12588: END IF;
12589:

Line 12586: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12582: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12583: OE_Order_Util.Get_Attribute_Name
12584: ('mfg_component_sequence_id'));
12585: OE_MSG_PUB.Add;
12586: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12587:
12588: END IF;
12589:
12590:

Line 12595: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12591: RETURN FALSE;
12592:
12593: WHEN OTHERS THEN
12594:
12595: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12596: THEN
12597: OE_MSG_PUB.Add_Exc_Msg
12598: ( G_PKG_NAME
12599: , 'Mfg_Component_Sequence_Id'

Line 12597: OE_MSG_PUB.Add_Exc_Msg

12593: WHEN OTHERS THEN
12594:
12595: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12596: THEN
12597: OE_MSG_PUB.Add_Exc_Msg
12598: ( G_PKG_NAME
12599: , 'Mfg_Component_Sequence_Id'
12600: );
12601: END IF;

Line 12634: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12630: EXCEPTION
12631:
12632: WHEN NO_DATA_FOUND THEN
12633:
12634: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12635: THEN
12636:
12637: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ARRIVAL_DATE');
12638:

Line 12637: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ARRIVAL_DATE');

12633:
12634: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12635: THEN
12636:
12637: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ARRIVAL_DATE');
12638:
12639: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12640: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12641: OE_Order_Util.Get_Attribute_Name('schedule_arrival_date'));

Line 12642: OE_MSG_PUB.Add;

12638:
12639: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12640: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12641: OE_Order_Util.Get_Attribute_Name('schedule_arrival_date'));
12642: OE_MSG_PUB.Add;
12643: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12644:
12645: END IF;
12646:

Line 12643: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12639: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12640: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12641: OE_Order_Util.Get_Attribute_Name('schedule_arrival_date'));
12642: OE_MSG_PUB.Add;
12643: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12644:
12645: END IF;
12646:
12647:

Line 12652: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12648: RETURN FALSE;
12649:
12650: WHEN OTHERS THEN
12651:
12652: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12653: THEN
12654: OE_MSG_PUB.Add_Exc_Msg
12655: ( G_PKG_NAME
12656: , 'Schedule_Arrival_Date'

Line 12654: OE_MSG_PUB.Add_Exc_Msg

12650: WHEN OTHERS THEN
12651:
12652: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12653: THEN
12654: OE_MSG_PUB.Add_Exc_Msg
12655: ( G_PKG_NAME
12656: , 'Schedule_Arrival_Date'
12657: );
12658: END IF;

Line 12693: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12689: EXCEPTION
12690:
12691: WHEN NO_DATA_FOUND THEN
12692:
12693: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12694: THEN
12695:
12696: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_MODEL_COMPLETE_FLAG');
12697:

Line 12696: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_MODEL_COMPLETE_FLAG');

12692:
12693: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12694: THEN
12695:
12696: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_MODEL_COMPLETE_FLAG');
12697:
12698: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12699: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12700: OE_Order_Util.Get_Attribute_Name('ship_model_complete_flag'));

Line 12701: OE_MSG_PUB.Add;

12697:
12698: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12699: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12700: OE_Order_Util.Get_Attribute_Name('ship_model_complete_flag'));
12701: OE_MSG_PUB.Add;
12702: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12703:
12704: END IF;
12705:

Line 12702: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12698: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12699: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12700: OE_Order_Util.Get_Attribute_Name('ship_model_complete_flag'));
12701: OE_MSG_PUB.Add;
12702: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12703:
12704: END IF;
12705:
12706:

Line 12711: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12707: RETURN FALSE;
12708:
12709: WHEN OTHERS THEN
12710:
12711: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12712: THEN
12713: OE_MSG_PUB.Add_Exc_Msg
12714: ( G_PKG_NAME
12715: , 'Ship_Model_Complete_Flag'

Line 12713: OE_MSG_PUB.Add_Exc_Msg

12709: WHEN OTHERS THEN
12710:
12711: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12712: THEN
12713: OE_MSG_PUB.Add_Exc_Msg
12714: ( G_PKG_NAME
12715: , 'Ship_Model_Complete_Flag'
12716: );
12717: END IF;

Line 12750: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12746: EXCEPTION
12747:
12748: WHEN NO_DATA_FOUND THEN
12749:
12750: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12751: THEN
12752:
12753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FROM_SERIAL_NUMBER');
12754:

Line 12753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FROM_SERIAL_NUMBER');

12749:
12750: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12751: THEN
12752:
12753: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FROM_SERIAL_NUMBER');
12754:
12755: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12756: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12757: OE_Order_Util.Get_Attribute_Name('from_serial_number'));

Line 12758: OE_MSG_PUB.Add;

12754:
12755: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12756: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12757: OE_Order_Util.Get_Attribute_Name('from_serial_number'));
12758: OE_MSG_PUB.Add;
12759: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12760:
12761: END IF;
12762:

Line 12759: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12755: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12756: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12757: OE_Order_Util.Get_Attribute_Name('from_serial_number'));
12758: OE_MSG_PUB.Add;
12759: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12760:
12761: END IF;
12762:
12763:

Line 12768: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12764: RETURN FALSE;
12765:
12766: WHEN OTHERS THEN
12767:
12768: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12769: THEN
12770: OE_MSG_PUB.Add_Exc_Msg
12771: ( G_PKG_NAME
12772: , 'From_Serial_Number'

Line 12770: OE_MSG_PUB.Add_Exc_Msg

12766: WHEN OTHERS THEN
12767:
12768: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12769: THEN
12770: OE_MSG_PUB.Add_Exc_Msg
12771: ( G_PKG_NAME
12772: , 'From_Serial_Number'
12773: );
12774: END IF;

Line 12807: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12803: EXCEPTION
12804:
12805: WHEN NO_DATA_FOUND THEN
12806:
12807: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12808: THEN
12809:
12810: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_NUMBER');
12811:

Line 12810: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_NUMBER');

12806:
12807: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12808: THEN
12809:
12810: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_NUMBER');
12811:
12812: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12813: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12814: OE_Order_Util.Get_Attribute_Name('lot_number'));

Line 12815: OE_MSG_PUB.Add;

12811:
12812: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12813: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12814: OE_Order_Util.Get_Attribute_Name('lot_number'));
12815: OE_MSG_PUB.Add;
12816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12817:
12818: END IF;
12819:

Line 12816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12812: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12813: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12814: OE_Order_Util.Get_Attribute_Name('lot_number'));
12815: OE_MSG_PUB.Add;
12816: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12817:
12818: END IF;
12819:
12820:

Line 12825: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12821: RETURN FALSE;
12822:
12823: WHEN OTHERS THEN
12824:
12825: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12826: THEN
12827: OE_MSG_PUB.Add_Exc_Msg
12828: ( G_PKG_NAME
12829: , 'Lot_Number'

Line 12827: OE_MSG_PUB.Add_Exc_Msg

12823: WHEN OTHERS THEN
12824:
12825: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12826: THEN
12827: OE_MSG_PUB.Add_Exc_Msg
12828: ( G_PKG_NAME
12829: , 'Lot_Number'
12830: );
12831: END IF;

Line 12864: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12860: EXCEPTION
12861:
12862: WHEN NO_DATA_FOUND THEN
12863:
12864: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12865: THEN
12866:
12867: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBLOT_NUMBER');
12868:

Line 12867: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBLOT_NUMBER');

12863:
12864: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12865: THEN
12866:
12867: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBLOT_NUMBER');
12868:
12869: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12870: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12871: OE_Order_Util.Get_Attribute_Name('sublot_number'));

Line 12872: OE_MSG_PUB.Add;

12868:
12869: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12870: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12871: OE_Order_Util.Get_Attribute_Name('sublot_number'));
12872: OE_MSG_PUB.Add;
12873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12874:
12875: END IF;
12876:

Line 12873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12869: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12870: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12871: OE_Order_Util.Get_Attribute_Name('sublot_number'));
12872: OE_MSG_PUB.Add;
12873: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12874:
12875: END IF;
12876:
12877:

Line 12882: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12878: RETURN FALSE;
12879:
12880: WHEN OTHERS THEN
12881:
12882: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12883: THEN
12884: OE_MSG_PUB.Add_Exc_Msg
12885: ( G_PKG_NAME
12886: , 'Sublot_Number'

Line 12884: OE_MSG_PUB.Add_Exc_Msg

12880: WHEN OTHERS THEN
12881:
12882: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12883: THEN
12884: OE_MSG_PUB.Add_Exc_Msg
12885: ( G_PKG_NAME
12886: , 'Sublot_Number'
12887: );
12888: END IF;

Line 12923: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12919: EXCEPTION
12920:
12921: WHEN NO_DATA_FOUND THEN
12922:
12923: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12924: THEN
12925:
12926: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_SERIAL_ID');
12927:

Line 12926: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_SERIAL_ID');

12922:
12923: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12924: THEN
12925:
12926: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_SERIAL_ID');
12927:
12928: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12929: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12930: OE_Order_Util.Get_Attribute_Name('lot_serial_id'));

Line 12931: OE_MSG_PUB.Add;

12927:
12928: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12929: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12930: OE_Order_Util.Get_Attribute_Name('lot_serial_id'));
12931: OE_MSG_PUB.Add;
12932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12933:
12934: END IF;
12935:

Line 12932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12928: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12929: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12930: OE_Order_Util.Get_Attribute_Name('lot_serial_id'));
12931: OE_MSG_PUB.Add;
12932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12933:
12934: END IF;
12935:
12936:

Line 12941: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12937: RETURN FALSE;
12938:
12939: WHEN OTHERS THEN
12940:
12941: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12942: THEN
12943: OE_MSG_PUB.Add_Exc_Msg
12944: ( G_PKG_NAME
12945: , 'Lot_Serial'

Line 12943: OE_MSG_PUB.Add_Exc_Msg

12939: WHEN OTHERS THEN
12940:
12941: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12942: THEN
12943: OE_MSG_PUB.Add_Exc_Msg
12944: ( G_PKG_NAME
12945: , 'Lot_Serial'
12946: );
12947: END IF;

Line 12980: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

12976: EXCEPTION
12977:
12978: WHEN NO_DATA_FOUND THEN
12979:
12980: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12981: THEN
12982:
12983: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY');
12984:

Line 12983: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY');

12979:
12980: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12981: THEN
12982:
12983: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY');
12984:
12985: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12986: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12987: OE_Order_Util.Get_Attribute_Name('quantity'));

Line 12988: OE_MSG_PUB.Add;

12984:
12985: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12986: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12987: OE_Order_Util.Get_Attribute_Name('quantity'));
12988: OE_MSG_PUB.Add;
12989: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12990:
12991: END IF;
12992:

Line 12989: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

12985: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12986: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12987: OE_Order_Util.Get_Attribute_Name('quantity'));
12988: OE_MSG_PUB.Add;
12989: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12990:
12991: END IF;
12992:
12993:

Line 12998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

12994: RETURN FALSE;
12995:
12996: WHEN OTHERS THEN
12997:
12998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12999: THEN
13000: OE_MSG_PUB.Add_Exc_Msg
13001: ( G_PKG_NAME
13002: , 'Quantity'

Line 13000: OE_MSG_PUB.Add_Exc_Msg

12996: WHEN OTHERS THEN
12997:
12998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12999: THEN
13000: OE_MSG_PUB.Add_Exc_Msg
13001: ( G_PKG_NAME
13002: , 'Quantity'
13003: );
13004: END IF;

Line 13037: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13033: EXCEPTION
13034:
13035: WHEN NO_DATA_FOUND THEN
13036:
13037: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13038: THEN
13039:
13040: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY2');
13041:

Line 13040: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY2');

13036:
13037: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13038: THEN
13039:
13040: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY2');
13041:
13042: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13043: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13044: OE_Order_Util.Get_Attribute_Name('quantity2'));

Line 13045: OE_MSG_PUB.Add;

13041:
13042: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13043: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13044: OE_Order_Util.Get_Attribute_Name('quantity2'));
13045: OE_MSG_PUB.Add;
13046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13047:
13048: END IF;
13049:

Line 13046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13042: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13043: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13044: OE_Order_Util.Get_Attribute_Name('quantity2'));
13045: OE_MSG_PUB.Add;
13046: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13047:
13048: END IF;
13049:
13050:

Line 13055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13051: RETURN FALSE;
13052:
13053: WHEN OTHERS THEN
13054:
13055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13056: THEN
13057: OE_MSG_PUB.Add_Exc_Msg
13058: ( G_PKG_NAME
13059: , 'Quantity2'

Line 13057: OE_MSG_PUB.Add_Exc_Msg

13053: WHEN OTHERS THEN
13054:
13055: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13056: THEN
13057: OE_MSG_PUB.Add_Exc_Msg
13058: ( G_PKG_NAME
13059: , 'Quantity2'
13060: );
13061: END IF;

Line 13096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13092: EXCEPTION
13093:
13094: WHEN NO_DATA_FOUND THEN
13095:
13096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13097: THEN
13098:
13099: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TO_SERIAL_NUMBER');
13100:

Line 13099: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TO_SERIAL_NUMBER');

13095:
13096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13097: THEN
13098:
13099: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TO_SERIAL_NUMBER');
13100:
13101: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13102: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13103: OE_Order_Util.Get_Attribute_Name('to_serial_number'));

Line 13104: OE_MSG_PUB.Add;

13100:
13101: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13102: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13103: OE_Order_Util.Get_Attribute_Name('to_serial_number'));
13104: OE_MSG_PUB.Add;
13105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13106:
13107: END IF;
13108:

Line 13105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13101: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13102: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13103: OE_Order_Util.Get_Attribute_Name('to_serial_number'));
13104: OE_MSG_PUB.Add;
13105: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13106:
13107: END IF;
13108:
13109:

Line 13114: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13110: RETURN FALSE;
13111:
13112: WHEN OTHERS THEN
13113:
13114: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13115: THEN
13116: OE_MSG_PUB.Add_Exc_Msg
13117: ( G_PKG_NAME
13118: , 'To_Serial_Number'

Line 13116: OE_MSG_PUB.Add_Exc_Msg

13112: WHEN OTHERS THEN
13113:
13114: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13115: THEN
13116: OE_MSG_PUB.Add_Exc_Msg
13117: ( G_PKG_NAME
13118: , 'To_Serial_Number'
13119: );
13120: END IF;

Line 13153: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13149: EXCEPTION
13150:
13151: WHEN NO_DATA_FOUND THEN
13152:
13153: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13154: THEN
13155:
13156: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_ID');
13157:

Line 13156: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_ID');

13152:
13153: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13154: THEN
13155:
13156: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_ID');
13157:
13158: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13159: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13160: OE_Order_Util.Get_Attribute_Name('Line_Set_ID'));

Line 13161: OE_MSG_PUB.Add;

13157:
13158: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13159: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13160: OE_Order_Util.Get_Attribute_Name('Line_Set_ID'));
13161: OE_MSG_PUB.Add;
13162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13163:
13164: END IF;
13165:

Line 13162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13158: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13159: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13160: OE_Order_Util.Get_Attribute_Name('Line_Set_ID'));
13161: OE_MSG_PUB.Add;
13162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13163:
13164: END IF;
13165:
13166:

Line 13171: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13167: RETURN FALSE;
13168:
13169: WHEN OTHERS THEN
13170:
13171: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13172: THEN
13173: OE_MSG_PUB.Add_Exc_Msg
13174: ( G_PKG_NAME
13175: , 'Line_Set'

Line 13173: OE_MSG_PUB.Add_Exc_Msg

13169: WHEN OTHERS THEN
13170:
13171: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13172: THEN
13173: OE_MSG_PUB.Add_Exc_Msg
13174: ( G_PKG_NAME
13175: , 'Line_Set'
13176: );
13177: END IF;

Line 13210: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13206: EXCEPTION
13207:
13208: WHEN NO_DATA_FOUND THEN
13209:
13210: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13211: THEN
13212:
13213: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AMOUNT');
13214:

Line 13213: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AMOUNT');

13209:
13210: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13211: THEN
13212:
13213: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AMOUNT');
13214:
13215: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13216: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13217: OE_Order_Util.Get_Attribute_Name('amount'));

Line 13218: OE_MSG_PUB.Add;

13214:
13215: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13216: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13217: OE_Order_Util.Get_Attribute_Name('amount'));
13218: OE_MSG_PUB.Add;
13219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13220:
13221: END IF;
13222:

Line 13219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13215: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13216: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13217: OE_Order_Util.Get_Attribute_Name('amount'));
13218: OE_MSG_PUB.Add;
13219: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13220:
13221: END IF;
13222:
13223:

Line 13228: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13224: RETURN FALSE;
13225:
13226: WHEN OTHERS THEN
13227:
13228: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13229: THEN
13230: OE_MSG_PUB.Add_Exc_Msg
13231: ( G_PKG_NAME
13232: , 'Amount'

Line 13230: OE_MSG_PUB.Add_Exc_Msg

13226: WHEN OTHERS THEN
13227:
13228: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13229: THEN
13230: OE_MSG_PUB.Add_Exc_Msg
13231: ( G_PKG_NAME
13232: , 'Amount'
13233: );
13234: END IF;

Line 13267: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13263: EXCEPTION
13264:
13265: WHEN NO_DATA_FOUND THEN
13266:
13267: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13268: THEN
13269:
13270: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_ACK_FLAG');
13271:

Line 13270: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_ACK_FLAG');

13266:
13267: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13268: THEN
13269:
13270: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_ACK_FLAG');
13271:
13272: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13273: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13274: OE_Order_Util.Get_Attribute_Name('appear_on_ack_flag'));

Line 13275: OE_MSG_PUB.Add;

13271:
13272: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13273: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13274: OE_Order_Util.Get_Attribute_Name('appear_on_ack_flag'));
13275: OE_MSG_PUB.Add;
13276: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13277:
13278: END IF;
13279:

Line 13276: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13272: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13273: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13274: OE_Order_Util.Get_Attribute_Name('appear_on_ack_flag'));
13275: OE_MSG_PUB.Add;
13276: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13277:
13278: END IF;
13279:
13280:

Line 13285: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13281: RETURN FALSE;
13282:
13283: WHEN OTHERS THEN
13284:
13285: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13286: THEN
13287: OE_MSG_PUB.Add_Exc_Msg
13288: ( G_PKG_NAME
13289: , 'Appear_On_Ack'

Line 13287: OE_MSG_PUB.Add_Exc_Msg

13283: WHEN OTHERS THEN
13284:
13285: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13286: THEN
13287: OE_MSG_PUB.Add_Exc_Msg
13288: ( G_PKG_NAME
13289: , 'Appear_On_Ack'
13290: );
13291: END IF;

Line 13324: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13320: EXCEPTION
13321:
13322: WHEN NO_DATA_FOUND THEN
13323:
13324: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13325: THEN
13326:
13327: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_INVOICE_FLAG');
13328:

Line 13327: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_INVOICE_FLAG');

13323:
13324: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13325: THEN
13326:
13327: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_INVOICE_FLAG');
13328:
13329: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13330: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13331: OE_Order_Util.Get_Attribute_Name('appear_on_invoice_flag'));

Line 13332: OE_MSG_PUB.Add;

13328:
13329: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13330: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13331: OE_Order_Util.Get_Attribute_Name('appear_on_invoice_flag'));
13332: OE_MSG_PUB.Add;
13333: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13334:
13335: END IF;
13336:

Line 13333: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13329: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13330: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13331: OE_Order_Util.Get_Attribute_Name('appear_on_invoice_flag'));
13332: OE_MSG_PUB.Add;
13333: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13334:
13335: END IF;
13336:
13337:

Line 13342: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13338: RETURN FALSE;
13339:
13340: WHEN OTHERS THEN
13341:
13342: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13343: THEN
13344: OE_MSG_PUB.Add_Exc_Msg
13345: ( G_PKG_NAME
13346: , 'Appear_On_Invoice'

Line 13344: OE_MSG_PUB.Add_Exc_Msg

13340: WHEN OTHERS THEN
13341:
13342: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13343: THEN
13344: OE_MSG_PUB.Add_Exc_Msg
13345: ( G_PKG_NAME
13346: , 'Appear_On_Invoice'
13347: );
13348: END IF;

Line 13381: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13377: EXCEPTION
13378:
13379: WHEN NO_DATA_FOUND THEN
13380:
13381: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13382: THEN
13383:
13384: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_ID');
13385:

Line 13384: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_ID');

13380:
13381: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13382: THEN
13383:
13384: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_ID');
13385:
13386: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13387: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13388: OE_Order_Util.Get_Attribute_Name('charge_id'));

Line 13389: OE_MSG_PUB.Add;

13385:
13386: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13387: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13388: OE_Order_Util.Get_Attribute_Name('charge_id'));
13389: OE_MSG_PUB.Add;
13390: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13391:
13392:
13393: END IF;

Line 13390: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13386: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13387: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13388: OE_Order_Util.Get_Attribute_Name('charge_id'));
13389: OE_MSG_PUB.Add;
13390: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13391:
13392:
13393: END IF;
13394:

Line 13399: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13395: RETURN FALSE;
13396:
13397: WHEN OTHERS THEN
13398:
13399: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13400: THEN
13401: OE_MSG_PUB.Add_Exc_Msg
13402: ( G_PKG_NAME
13403: , 'Charge'

Line 13401: OE_MSG_PUB.Add_Exc_Msg

13397: WHEN OTHERS THEN
13398:
13399: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13400: THEN
13401: OE_MSG_PUB.Add_Exc_Msg
13402: ( G_PKG_NAME
13403: , 'Charge'
13404: );
13405: END IF;

Line 13438: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13434: EXCEPTION
13435:
13436: WHEN NO_DATA_FOUND THEN
13437:
13438: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13439: THEN
13440:
13441: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_ID');
13442:

Line 13441: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_ID');

13437:
13438: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13439: THEN
13440:
13441: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_ID');
13442:
13443: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13444: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13445: OE_Order_Util.Get_Attribute_Name('charge_type_id'));

Line 13446: OE_MSG_PUB.Add;

13442:
13443: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13444: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13445: OE_Order_Util.Get_Attribute_Name('charge_type_id'));
13446: OE_MSG_PUB.Add;
13447: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13448:
13449: END IF;
13450:

Line 13447: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13443: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13444: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13445: OE_Order_Util.Get_Attribute_Name('charge_type_id'));
13446: OE_MSG_PUB.Add;
13447: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13448:
13449: END IF;
13450:
13451:

Line 13456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13452: RETURN FALSE;
13453:
13454: WHEN OTHERS THEN
13455:
13456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13457: THEN
13458: OE_MSG_PUB.Add_Exc_Msg
13459: ( G_PKG_NAME
13460: , 'Charge_Type'

Line 13458: OE_MSG_PUB.Add_Exc_Msg

13454: WHEN OTHERS THEN
13455:
13456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13457: THEN
13458: OE_MSG_PUB.Add_Exc_Msg
13459: ( G_PKG_NAME
13460: , 'Charge_Type'
13461: );
13462: END IF;

Line 13495: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13491: EXCEPTION
13492:
13493: WHEN NO_DATA_FOUND THEN
13494:
13495: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13496: THEN
13497:
13498: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_DATE');
13499:

Line 13498: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_DATE');

13494:
13495: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13496: THEN
13497:
13498: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_DATE');
13499:
13500: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13501: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13502: OE_Order_Util.Get_Attribute_Name('conversion_date'));

Line 13504: OE_MSG_PUB.Add;

13500: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13501: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13502: OE_Order_Util.Get_Attribute_Name('conversion_date'));
13503:
13504: OE_MSG_PUB.Add;
13505: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13506:
13507:
13508: END IF;

Line 13505: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13501: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13502: OE_Order_Util.Get_Attribute_Name('conversion_date'));
13503:
13504: OE_MSG_PUB.Add;
13505: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13506:
13507:
13508: END IF;
13509:

Line 13515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13511: RETURN FALSE;
13512:
13513: WHEN OTHERS THEN
13514:
13515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13516: THEN
13517: OE_MSG_PUB.Add_Exc_Msg
13518: ( G_PKG_NAME
13519: , 'Conversion_Date'

Line 13517: OE_MSG_PUB.Add_Exc_Msg

13513: WHEN OTHERS THEN
13514:
13515: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13516: THEN
13517: OE_MSG_PUB.Add_Exc_Msg
13518: ( G_PKG_NAME
13519: , 'Conversion_Date'
13520: );
13521: END IF;

Line 13554: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13550: EXCEPTION
13551:
13552: WHEN NO_DATA_FOUND THEN
13553:
13554: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13555: THEN
13556:
13557: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_OR_CHARGE_FLAG');
13558:

Line 13557: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_OR_CHARGE_FLAG');

13553:
13554: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13555: THEN
13556:
13557: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_OR_CHARGE_FLAG');
13558:
13559: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13560: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13561: OE_Order_Util.Get_Attribute_Name('cost_or_charge_flag'));

Line 13562: OE_MSG_PUB.Add;

13558:
13559: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13560: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13561: OE_Order_Util.Get_Attribute_Name('cost_or_charge_flag'));
13562: OE_MSG_PUB.Add;
13563: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13564:
13565: END IF;
13566:

Line 13563: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13559: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13560: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13561: OE_Order_Util.Get_Attribute_Name('cost_or_charge_flag'));
13562: OE_MSG_PUB.Add;
13563: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13564:
13565: END IF;
13566:
13567:

Line 13572: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13568: RETURN FALSE;
13569:
13570: WHEN OTHERS THEN
13571:
13572: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13573: THEN
13574: OE_MSG_PUB.Add_Exc_Msg
13575: ( G_PKG_NAME
13576: , 'Cost_Or_Charge'

Line 13574: OE_MSG_PUB.Add_Exc_Msg

13570: WHEN OTHERS THEN
13571:
13572: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13573: THEN
13574: OE_MSG_PUB.Add_Exc_Msg
13575: ( G_PKG_NAME
13576: , 'Cost_Or_Charge'
13577: );
13578: END IF;

Line 13611: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13607: EXCEPTION
13608:
13609: WHEN NO_DATA_FOUND THEN
13610:
13611: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13612: THEN
13613:
13614: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CURRENCY_CODE');
13615:

Line 13614: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CURRENCY_CODE');

13610:
13611: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13612: THEN
13613:
13614: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CURRENCY_CODE');
13615:
13616: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13617: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13618: OE_Order_Util.Get_Attribute_Name('currency_code'));

Line 13619: OE_MSG_PUB.Add;

13615:
13616: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13617: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13618: OE_Order_Util.Get_Attribute_Name('currency_code'));
13619: OE_MSG_PUB.Add;
13620: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13621:
13622: END IF;
13623:

Line 13620: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13616: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13617: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13618: OE_Order_Util.Get_Attribute_Name('currency_code'));
13619: OE_MSG_PUB.Add;
13620: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13621:
13622: END IF;
13623:
13624:

Line 13629: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13625: RETURN FALSE;
13626:
13627: WHEN OTHERS THEN
13628:
13629: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13630: THEN
13631: OE_MSG_PUB.Add_Exc_Msg
13632: ( G_PKG_NAME
13633: , 'Currency'

Line 13631: OE_MSG_PUB.Add_Exc_Msg

13627: WHEN OTHERS THEN
13628:
13629: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13630: THEN
13631: OE_MSG_PUB.Add_Exc_Msg
13632: ( G_PKG_NAME
13633: , 'Currency'
13634: );
13635: END IF;

Line 13668: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13664: EXCEPTION
13665:
13666: WHEN NO_DATA_FOUND THEN
13667:
13668: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13669: THEN
13670:
13671: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEPARTURE_ID');
13672:

Line 13671: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEPARTURE_ID');

13667:
13668: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13669: THEN
13670:
13671: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEPARTURE_ID');
13672:
13673: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13674: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13675: OE_Order_Util.Get_Attribute_Name('departure_id'));

Line 13676: OE_MSG_PUB.Add;

13672:
13673: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13674: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13675: OE_Order_Util.Get_Attribute_Name('departure_id'));
13676: OE_MSG_PUB.Add;
13677: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13678:
13679: END IF;
13680:

Line 13677: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13673: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13674: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13675: OE_Order_Util.Get_Attribute_Name('departure_id'));
13676: OE_MSG_PUB.Add;
13677: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13678:
13679: END IF;
13680:
13681:

Line 13686: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13682: RETURN FALSE;
13683:
13684: WHEN OTHERS THEN
13685:
13686: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13687: THEN
13688: OE_MSG_PUB.Add_Exc_Msg
13689: ( G_PKG_NAME
13690: , 'Departure'

Line 13688: OE_MSG_PUB.Add_Exc_Msg

13684: WHEN OTHERS THEN
13685:
13686: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13687: THEN
13688: OE_MSG_PUB.Add_Exc_Msg
13689: ( G_PKG_NAME
13690: , 'Departure'
13691: );
13692: END IF;

Line 13728: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13724: EXCEPTION
13725:
13726: WHEN NO_DATA_FOUND THEN
13727:
13728: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13729: THEN
13730:
13731: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ESTIMATED_FLAG');
13732:

Line 13731: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ESTIMATED_FLAG');

13727:
13728: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13729: THEN
13730:
13731: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ESTIMATED_FLAG');
13732:
13733: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13734: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13735: OE_Order_Util.Get_Attribute_Name('estimated_flag'));

Line 13736: OE_MSG_PUB.Add;

13732:
13733: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13734: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13735: OE_Order_Util.Get_Attribute_Name('estimated_flag'));
13736: OE_MSG_PUB.Add;
13737: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13738:
13739: END IF;
13740:

Line 13737: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13733: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13734: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13735: OE_Order_Util.Get_Attribute_Name('estimated_flag'));
13736: OE_MSG_PUB.Add;
13737: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13738:
13739: END IF;
13740:
13741:

Line 13746: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13742: RETURN FALSE;
13743:
13744: WHEN OTHERS THEN
13745:
13746: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13747: THEN
13748: OE_MSG_PUB.Add_Exc_Msg
13749: ( G_PKG_NAME
13750: , 'Estimated'

Line 13748: OE_MSG_PUB.Add_Exc_Msg

13744: WHEN OTHERS THEN
13745:
13746: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13747: THEN
13748: OE_MSG_PUB.Add_Exc_Msg
13749: ( G_PKG_NAME
13750: , 'Estimated'
13751: );
13752: END IF;

Line 13785: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13781: EXCEPTION
13782:
13783: WHEN NO_DATA_FOUND THEN
13784:
13785: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13786: THEN
13787:
13788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INC_IN_SALES_PERFORMANCE');
13789:

Line 13788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INC_IN_SALES_PERFORMANCE');

13784:
13785: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13786: THEN
13787:
13788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INC_IN_SALES_PERFORMANCE');
13789:
13790: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13791: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13792: OE_Order_Util.Get_Attribute_Name('inc_in_sales_performance'));

Line 13793: OE_MSG_PUB.Add;

13789:
13790: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13791: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13792: OE_Order_Util.Get_Attribute_Name('inc_in_sales_performance'));
13793: OE_MSG_PUB.Add;
13794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13795:
13796:
13797: END IF;

Line 13794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13790: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13791: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13792: OE_Order_Util.Get_Attribute_Name('inc_in_sales_performance'));
13793: OE_MSG_PUB.Add;
13794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13795:
13796:
13797: END IF;
13798:

Line 13804: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13800: RETURN FALSE;
13801:
13802: WHEN OTHERS THEN
13803:
13804: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13805: THEN
13806: OE_MSG_PUB.Add_Exc_Msg
13807: ( G_PKG_NAME
13808: , 'Inc_In_Sales_Performance'

Line 13806: OE_MSG_PUB.Add_Exc_Msg

13802: WHEN OTHERS THEN
13803:
13804: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13805: THEN
13806: OE_MSG_PUB.Add_Exc_Msg
13807: ( G_PKG_NAME
13808: , 'Inc_In_Sales_Performance'
13809: );
13810: END IF;

Line 13846: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13842: EXCEPTION
13843:
13844: WHEN NO_DATA_FOUND THEN
13845:
13846: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13847: THEN
13848:
13849: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_FLAG');
13850:

Line 13849: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_FLAG');

13845:
13846: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13847: THEN
13848:
13849: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_FLAG');
13850:
13851: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13852: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13853: OE_Order_Util.Get_Attribute_Name('invoiced_flag'));

Line 13854: OE_MSG_PUB.Add;

13850:
13851: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13852: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13853: OE_Order_Util.Get_Attribute_Name('invoiced_flag'));
13854: OE_MSG_PUB.Add;
13855: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13856:
13857: END IF;
13858:

Line 13855: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13851: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13852: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13853: OE_Order_Util.Get_Attribute_Name('invoiced_flag'));
13854: OE_MSG_PUB.Add;
13855: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13856:
13857: END IF;
13858:
13859:

Line 13864: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13860: RETURN FALSE;
13861:
13862: WHEN OTHERS THEN
13863:
13864: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13865: THEN
13866: OE_MSG_PUB.Add_Exc_Msg
13867: ( G_PKG_NAME
13868: , 'Invoiced'

Line 13866: OE_MSG_PUB.Add_Exc_Msg

13862: WHEN OTHERS THEN
13863:
13864: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13865: THEN
13866: OE_MSG_PUB.Add_Exc_Msg
13867: ( G_PKG_NAME
13868: , 'Invoiced'
13869: );
13870: END IF;

Line 13903: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13899: EXCEPTION
13900:
13901: WHEN NO_DATA_FOUND THEN
13902:
13903: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13904: THEN
13905:
13906: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LPN');
13907:

Line 13906: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LPN');

13902:
13903: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13904: THEN
13905:
13906: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LPN');
13907:
13908: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13909: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13910: OE_Order_Util.Get_Attribute_Name('lpn'));

Line 13911: OE_MSG_PUB.Add;

13907:
13908: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13909: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13910: OE_Order_Util.Get_Attribute_Name('lpn'));
13911: OE_MSG_PUB.Add;
13912: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13913:
13914: END IF;
13915:

Line 13912: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13908: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13909: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13910: OE_Order_Util.Get_Attribute_Name('lpn'));
13911: OE_MSG_PUB.Add;
13912: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13913:
13914: END IF;
13915:
13916:

Line 13921: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13917: RETURN FALSE;
13918:
13919: WHEN OTHERS THEN
13920:
13921: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13922: THEN
13923: OE_MSG_PUB.Add_Exc_Msg
13924: ( G_PKG_NAME
13925: , 'Lpn'

Line 13923: OE_MSG_PUB.Add_Exc_Msg

13919: WHEN OTHERS THEN
13920:
13921: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13922: THEN
13923: OE_MSG_PUB.Add_Exc_Msg
13924: ( G_PKG_NAME
13925: , 'Lpn'
13926: );
13927: END IF;

Line 13960: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

13956: EXCEPTION
13957:
13958: WHEN NO_DATA_FOUND THEN
13959:
13960: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13961: THEN
13962:
13963: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARENT_CHARGE_ID');
13964:

Line 13963: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARENT_CHARGE_ID');

13959:
13960: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13961: THEN
13962:
13963: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARENT_CHARGE_ID');
13964:
13965: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13966: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13967: OE_Order_Util.Get_Attribute_Name('parent_charge_id'));

Line 13968: OE_MSG_PUB.Add;

13964:
13965: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13966: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13967: OE_Order_Util.Get_Attribute_Name('parent_charge_id'));
13968: OE_MSG_PUB.Add;
13969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13970:
13971: END IF;
13972:

Line 13969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

13965: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13966: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13967: OE_Order_Util.Get_Attribute_Name('parent_charge_id'));
13968: OE_MSG_PUB.Add;
13969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13970:
13971: END IF;
13972:
13973:

Line 13978: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

13974: RETURN FALSE;
13975:
13976: WHEN OTHERS THEN
13977:
13978: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13979: THEN
13980: OE_MSG_PUB.Add_Exc_Msg
13981: ( G_PKG_NAME
13982: , 'Parent_Charge'

Line 13980: OE_MSG_PUB.Add_Exc_Msg

13976: WHEN OTHERS THEN
13977:
13978: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13979: THEN
13980: OE_MSG_PUB.Add_Exc_Msg
13981: ( G_PKG_NAME
13982: , 'Parent_Charge'
13983: );
13984: END IF;

Line 14017: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14013: EXCEPTION
14014:
14015: WHEN NO_DATA_FOUND THEN
14016:
14017: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14018: THEN
14019:
14020: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURNABLE_FLAG');
14021:

Line 14020: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURNABLE_FLAG');

14016:
14017: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14018: THEN
14019:
14020: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURNABLE_FLAG');
14021:
14022: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14023: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14024: OE_Order_Util.Get_Attribute_Name('returnable_flag'));

Line 14025: OE_MSG_PUB.Add;

14021:
14022: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14023: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14024: OE_Order_Util.Get_Attribute_Name('returnable_flag'));
14025: OE_MSG_PUB.Add;
14026: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14027:
14028: END IF;
14029:

Line 14026: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14022: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14023: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14024: OE_Order_Util.Get_Attribute_Name('returnable_flag'));
14025: OE_MSG_PUB.Add;
14026: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14027:
14028: END IF;
14029:
14030:

Line 14035: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14031: RETURN FALSE;
14032:
14033: WHEN OTHERS THEN
14034:
14035: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14036: THEN
14037: OE_MSG_PUB.Add_Exc_Msg
14038: ( G_PKG_NAME
14039: , 'Returnable'

Line 14037: OE_MSG_PUB.Add_Exc_Msg

14033: WHEN OTHERS THEN
14034:
14035: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14036: THEN
14037: OE_MSG_PUB.Add_Exc_Msg
14038: ( G_PKG_NAME
14039: , 'Returnable'
14040: );
14041: END IF;

Line 14074: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

14070: EXCEPTION
14071:
14072: WHEN NO_DATA_FOUND THEN
14073:
14074: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14075: THEN
14076:
14077: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_GROUP_CODE');
14078:

Line 14077: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_GROUP_CODE');

14073:
14074: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14075: THEN
14076:
14077: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_GROUP_CODE');
14078:
14079: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14080: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14081: OE_Order_Util.Get_Attribute_Name('tax_group_code'));

Line 14082: OE_MSG_PUB.Add;

14078:
14079: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14080: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14081: OE_Order_Util.Get_Attribute_Name('tax_group_code'));
14082: OE_MSG_PUB.Add;
14083: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14084:
14085: END IF;
14086:

Line 14083: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

14079: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14080: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14081: OE_Order_Util.Get_Attribute_Name('tax_group_code'));
14082: OE_MSG_PUB.Add;
14083: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14084:
14085: END IF;
14086:
14087:

Line 14092: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14088: RETURN FALSE;
14089:
14090: WHEN OTHERS THEN
14091:
14092: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14093: THEN
14094: OE_MSG_PUB.Add_Exc_Msg
14095: ( G_PKG_NAME
14096: , 'Tax_Group'

Line 14094: OE_MSG_PUB.Add_Exc_Msg

14090: WHEN OTHERS THEN
14091:
14092: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14093: THEN
14094: OE_MSG_PUB.Add_Exc_Msg
14095: ( G_PKG_NAME
14096: , 'Tax_Group'
14097: );
14098: END IF;

Line 14141: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

14137: IS
14138: l_column_value VARCHAR2(240) := null;
14139: BEGIN
14140:
14141: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
14142:
14143:
14144: IF (p_attribute1 = FND_API.G_MISS_CHAR)
14145: AND (p_attribute2 = FND_API.G_MISS_CHAR)

Line 14460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14456:
14457: WHEN OTHERS THEN
14458:
14459:
14460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14461: THEN
14462:
14463: OE_MSG_PUB.Add_Exc_Msg
14464: ( G_PKG_NAME

Line 14463: OE_MSG_PUB.Add_Exc_Msg

14459:
14460: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14461: THEN
14462:
14463: OE_MSG_PUB.Add_Exc_Msg
14464: ( G_PKG_NAME
14465: , 'Header_Desc_Flex');
14466: END IF;
14467:

Line 14500: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');

14496: IS
14497: l_column_value VARCHAR2(240) := null;
14498: BEGIN
14499:
14500: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');
14501:
14502: IF (p_attribute1 = FND_API.G_MISS_CHAR)
14503: AND (p_attribute2 = FND_API.G_MISS_CHAR)
14504: AND (p_attribute3 = FND_API.G_MISS_CHAR)

Line 14817: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

14813:
14814: WHEN OTHERS THEN
14815:
14816:
14817: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14818: THEN
14819:
14820: OE_MSG_PUB.Add_Exc_Msg
14821: ( G_PKG_NAME

Line 14820: OE_MSG_PUB.Add_Exc_Msg

14816:
14817: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14818: THEN
14819:
14820: OE_MSG_PUB.Add_Exc_Msg
14821: ( G_PKG_NAME
14822: , 'G_Header_Desc_Flex');
14823: END IF;
14824:

Line 14849: --OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');

14845: IS
14846: l_column_value VARCHAR2(240) := null;
14847: BEGIN
14848:
14849: --OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');
14850:
14851: IF (p_attribute1 = FND_API.G_MISS_CHAR)
14852: AND (p_attribute2 = FND_API.G_MISS_CHAR)
14853: AND (p_attribute3 = FND_API.G_MISS_CHAR)

Line 15096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

15092:
15093: WHEN OTHERS THEN
15094:
15095:
15096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15097: THEN
15098:
15099: OE_MSG_PUB.Add_Exc_Msg
15100: ( G_PKG_NAME

Line 15099: OE_MSG_PUB.Add_Exc_Msg

15095:
15096: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15097: THEN
15098:
15099: OE_MSG_PUB.Add_Exc_Msg
15100: ( G_PKG_NAME
15101: , 'TP_Header_Desc_Flex');
15102: END IF;
15103:

Line 15136: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

15132: IS
15133: l_column_value VARCHAR2(240) := null;
15134: BEGIN
15135:
15136: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
15137:
15138:
15139: IF (p_attribute1 = FND_API.G_MISS_CHAR)
15140: AND (p_attribute2 = FND_API.G_MISS_CHAR)

Line 15455: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

15451:
15452: WHEN OTHERS THEN
15453:
15454:
15455: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15456: THEN
15457:
15458: OE_MSG_PUB.Add_Exc_Msg
15459: ( G_PKG_NAME

Line 15458: OE_MSG_PUB.Add_Exc_Msg

15454:
15455: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15456: THEN
15457:
15458: OE_MSG_PUB.Add_Exc_Msg
15459: ( G_PKG_NAME
15460: , 'Line_Desc_Flex');
15461: END IF;
15462:

Line 15494: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');

15490: IS
15491: l_column_value VARCHAR2(240) := null;
15492: BEGIN
15493:
15494: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');
15495:
15496:
15497: IF (p_attribute1 = FND_API.G_MISS_CHAR)
15498: AND (p_attribute2 = FND_API.G_MISS_CHAR)

Line 15813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

15809:
15810: WHEN OTHERS THEN
15811:
15812:
15813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15814: THEN
15815:
15816: OE_MSG_PUB.Add_Exc_Msg
15817: ( G_PKG_NAME

Line 15816: OE_MSG_PUB.Add_Exc_Msg

15812:
15813: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15814: THEN
15815:
15816: OE_MSG_PUB.Add_Exc_Msg
15817: ( G_PKG_NAME
15818: , 'G_Line_Desc_Flex');
15819: END IF;
15820:

Line 15841: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_CONTEXT');

15837: IS
15838: l_column_value VARCHAR2(240) := null;
15839: BEGIN
15840:
15841: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_CONTEXT');
15842:
15843: IF (p_attribute1 = FND_API.G_MISS_CHAR)
15844: AND (p_attribute2 = FND_API.G_MISS_CHAR)
15845: AND (p_attribute3 = FND_API.G_MISS_CHAR)

Line 16020: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

16016:
16017: WHEN OTHERS THEN
16018:
16019:
16020: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16021: THEN
16022:
16023: OE_MSG_PUB.Add_Exc_Msg
16024: ( G_PKG_NAME

Line 16023: OE_MSG_PUB.Add_Exc_Msg

16019:
16020: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16021: THEN
16022:
16023: OE_MSG_PUB.Add_Exc_Msg
16024: ( G_PKG_NAME
16025: , 'P_Line_Desc_Flex');
16026: END IF;
16027:

Line 16072: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INDUSTRY_CONTEXT');

16068: IS
16069: l_column_value VARCHAR2(240) := null;
16070: BEGIN
16071:
16072: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INDUSTRY_CONTEXT');
16073:
16074: IF (p_attribute1 = FND_API.G_MISS_CHAR)
16075: AND (p_attribute2 = FND_API.G_MISS_CHAR)
16076: AND (p_attribute3 = FND_API.G_MISS_CHAR)

Line 16531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

16527:
16528: WHEN OTHERS THEN
16529:
16530:
16531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16532: THEN
16533:
16534: OE_MSG_PUB.Add_Exc_Msg
16535: ( G_PKG_NAME

Line 16534: OE_MSG_PUB.Add_Exc_Msg

16530:
16531: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16532: THEN
16533:
16534: OE_MSG_PUB.Add_Exc_Msg
16535: ( G_PKG_NAME
16536: , 'I_Line_Desc_Flex');
16537: END IF;
16538:

Line 16568: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TP_CONTEXT');

16564: IS
16565: l_column_value VARCHAR2(240) := null;
16566: BEGIN
16567:
16568: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TP_CONTEXT');
16569:
16570: IF (p_attribute1 = FND_API.G_MISS_CHAR)
16571: AND (p_attribute2 = FND_API.G_MISS_CHAR)
16572: AND (p_attribute3 = FND_API.G_MISS_CHAR)

Line 16818: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

16814:
16815: WHEN OTHERS THEN
16816:
16817:
16818: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16819: THEN
16820:
16821: OE_MSG_PUB.Add_Exc_Msg
16822: ( G_PKG_NAME

Line 16821: OE_MSG_PUB.Add_Exc_Msg

16817:
16818: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16819: THEN
16820:
16821: OE_MSG_PUB.Add_Exc_Msg
16822: ( G_PKG_NAME
16823: , 'TP_Line_Desc_Flex');
16824: END IF;
16825:

Line 16854: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_CONTEXT');

16850: IS
16851: l_column_value VARCHAR2(240) := null;
16852: BEGIN
16853:
16854: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_CONTEXT');
16855:
16856: IF (p_attribute1 = FND_API.G_MISS_CHAR)
16857: AND (p_attribute2 = FND_API.G_MISS_CHAR)
16858: AND (p_attribute3 = FND_API.G_MISS_CHAR)

Line 17106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17102:
17103: WHEN OTHERS THEN
17104:
17105:
17106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17107: THEN
17108:
17109: OE_MSG_PUB.Add_Exc_Msg
17110: ( G_PKG_NAME

Line 17109: OE_MSG_PUB.Add_Exc_Msg

17105:
17106: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17107: THEN
17108:
17109: OE_MSG_PUB.Add_Exc_Msg
17110: ( G_PKG_NAME
17111: , 'R_Line_Desc_Flex');
17112: END IF;
17113:

Line 17142: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

17138: IS
17139: l_column_value VARCHAR2(240) := null;
17140: BEGIN
17141:
17142: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
17143:
17144: IF (p_attribute1 = FND_API.G_MISS_CHAR)
17145: AND (p_attribute2 = FND_API.G_MISS_CHAR)
17146: AND (p_attribute3 = FND_API.G_MISS_CHAR)

Line 17390: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17386:
17387: WHEN OTHERS THEN
17388:
17389:
17390: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17391: THEN
17392:
17393: OE_MSG_PUB.Add_Exc_Msg
17394: ( G_PKG_NAME

Line 17393: OE_MSG_PUB.Add_Exc_Msg

17389:
17390: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17391: THEN
17392:
17393: OE_MSG_PUB.Add_Exc_Msg
17394: ( G_PKG_NAME
17395: , 'Price_Adj_Desc_Flex');
17396: END IF;
17397:

Line 17426: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

17422: IS
17423: l_column_value VARCHAR2(240) := null;
17424: BEGIN
17425:
17426: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
17427:
17428: IF (p_attribute1 = FND_API.G_MISS_CHAR)
17429: AND (p_attribute2 = FND_API.G_MISS_CHAR)
17430: AND (p_attribute3 = FND_API.G_MISS_CHAR)

Line 17675: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17671:
17672: WHEN OTHERS THEN
17673:
17674:
17675: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17676: THEN
17677:
17678: OE_MSG_PUB.Add_Exc_Msg
17679: ( G_PKG_NAME

Line 17678: OE_MSG_PUB.Add_Exc_Msg

17674:
17675: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17676: THEN
17677:
17678: OE_MSG_PUB.Add_Exc_Msg
17679: ( G_PKG_NAME
17680: , 'Sales_Credits_Desc_Flex');
17681: END IF;
17682:

Line 17717: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

17713: EXCEPTION
17714:
17715: WHEN NO_DATA_FOUND THEN
17716:
17717: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17718: THEN
17719: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_REASON_CODE');
17720:
17721:

Line 17719: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_REASON_CODE');

17715: WHEN NO_DATA_FOUND THEN
17716:
17717: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17718: THEN
17719: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_REASON_CODE');
17720:
17721:
17722: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17723: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 17725: OE_MSG_PUB.Add;

17721:
17722: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17723: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17724: OE_Order_Util.Get_Attribute_Name('return_reason_code'));
17725: OE_MSG_PUB.Add;
17726: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17727:
17728: END IF;
17729:

Line 17726: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

17722: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17723: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17724: OE_Order_Util.Get_Attribute_Name('return_reason_code'));
17725: OE_MSG_PUB.Add;
17726: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17727:
17728: END IF;
17729:
17730:

Line 17737: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17733: RETURN FALSE;
17734:
17735: WHEN OTHERS THEN
17736:
17737: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17738: THEN
17739: OE_MSG_PUB.Add_Exc_Msg
17740: ( G_PKG_NAME
17741: , 'return_reason'

Line 17739: OE_MSG_PUB.Add_Exc_Msg

17735: WHEN OTHERS THEN
17736:
17737: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17738: THEN
17739: OE_MSG_PUB.Add_Exc_Msg
17740: ( G_PKG_NAME
17741: , 'return_reason'
17742: );
17743: END IF;

Line 17778: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

17774: EXCEPTION
17775:
17776: WHEN NO_DATA_FOUND THEN
17777:
17778: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17779: THEN
17780:
17781: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_FROM_LINE_ID');
17782:

Line 17781: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_FROM_LINE_ID');

17777:
17778: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17779: THEN
17780:
17781: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_FROM_LINE_ID');
17782:
17783: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17784: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17785: OE_Order_Util.Get_Attribute_Name('split_from_line_id'));

Line 17786: OE_MSG_PUB.Add;

17782:
17783: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17784: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17785: OE_Order_Util.Get_Attribute_Name('split_from_line_id'));
17786: OE_MSG_PUB.Add;
17787: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17788:
17789: END IF;
17790:

Line 17787: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

17783: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17784: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17785: OE_Order_Util.Get_Attribute_Name('split_from_line_id'));
17786: OE_MSG_PUB.Add;
17787: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17788:
17789: END IF;
17790:
17791:

Line 17797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17793: RETURN FALSE;
17794:
17795: WHEN OTHERS THEN
17796:
17797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17798: THEN
17799: OE_MSG_PUB.Add_Exc_Msg
17800: ( G_PKG_NAME
17801: , 'split_from_line'

Line 17799: OE_MSG_PUB.Add_Exc_Msg

17795: WHEN OTHERS THEN
17796:
17797: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17798: THEN
17799: OE_MSG_PUB.Add_Exc_Msg
17800: ( G_PKG_NAME
17801: , 'split_from_line'
17802: );
17803: END IF;

Line 17838: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

17834: EXCEPTION
17835:
17836: WHEN NO_DATA_FOUND THEN
17837:
17838: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17839: THEN
17840:
17841: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_SEQ_NUM');
17842:

Line 17841: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_SEQ_NUM');

17837:
17838: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17839: THEN
17840:
17841: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_SEQ_NUM');
17842:
17843: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17844: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17845: OE_Order_Util.Get_Attribute_Name('cust_production_seq_num'));

Line 17846: OE_MSG_PUB.Add;

17842:
17843: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17844: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17845: OE_Order_Util.Get_Attribute_Name('cust_production_seq_num'));
17846: OE_MSG_PUB.Add;
17847: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17848:
17849: END IF;
17850:

Line 17847: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

17843: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17844: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17845: OE_Order_Util.Get_Attribute_Name('cust_production_seq_num'));
17846: OE_MSG_PUB.Add;
17847: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17848:
17849: END IF;
17850:
17851:

Line 17857: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17853: RETURN FALSE;
17854:
17855: WHEN OTHERS THEN
17856:
17857: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17858: THEN
17859: OE_MSG_PUB.Add_Exc_Msg
17860: ( G_PKG_NAME
17861: , 'cust_production_seq_num'

Line 17859: OE_MSG_PUB.Add_Exc_Msg

17855: WHEN OTHERS THEN
17856:
17857: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17858: THEN
17859: OE_MSG_PUB.Add_Exc_Msg
17860: ( G_PKG_NAME
17861: , 'cust_production_seq_num'
17862: );
17863: END IF;

Line 17899: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

17895: EXCEPTION
17896:
17897: WHEN NO_DATA_FOUND THEN
17898:
17899: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17900: THEN
17901:
17902: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTHORIZED_TO_SHIP_FLAG');
17903:

Line 17902: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTHORIZED_TO_SHIP_FLAG');

17898:
17899: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17900: THEN
17901:
17902: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTHORIZED_TO_SHIP_FLAG');
17903:
17904: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17905: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17906: OE_Order_Util.Get_Attribute_Name('authorized_to_ship_flag'));

Line 17907: OE_MSG_PUB.Add;

17903:
17904: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17905: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17906: OE_Order_Util.Get_Attribute_Name('authorized_to_ship_flag'));
17907: OE_MSG_PUB.Add;
17908: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17909:
17910: END IF;
17911:

Line 17908: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

17904: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17905: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17906: OE_Order_Util.Get_Attribute_Name('authorized_to_ship_flag'));
17907: OE_MSG_PUB.Add;
17908: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17909:
17910: END IF;
17911:
17912:

Line 17918: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17914: RETURN FALSE;
17915:
17916: WHEN OTHERS THEN
17917:
17918: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17919: THEN
17920: OE_MSG_PUB.Add_Exc_Msg
17921: ( G_PKG_NAME
17922: , 'authorized_to_ship'

Line 17920: OE_MSG_PUB.Add_Exc_Msg

17916: WHEN OTHERS THEN
17917:
17918: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17919: THEN
17920: OE_MSG_PUB.Add_Exc_Msg
17921: ( G_PKG_NAME
17922: , 'authorized_to_ship'
17923: );
17924: END IF;

Line 17959: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

17955: EXCEPTION
17956:
17957: WHEN NO_DATA_FOUND THEN
17958:
17959: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17960: THEN
17961:
17962: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VEH_CUS_ITEM_CUM_KEY_ID');
17963:

Line 17962: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VEH_CUS_ITEM_CUM_KEY_ID');

17958:
17959: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17960: THEN
17961:
17962: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VEH_CUS_ITEM_CUM_KEY_ID');
17963:
17964: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17965: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17966: OE_Order_Util.Get_Attribute_Name('veh_cus_item_cum_key_id'));

Line 17967: OE_MSG_PUB.Add;

17963:
17964: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17965: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17966: OE_Order_Util.Get_Attribute_Name('veh_cus_item_cum_key_id'));
17967: OE_MSG_PUB.Add;
17968: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17969:
17970: END IF;
17971:

Line 17968: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

17964: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17965: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17966: OE_Order_Util.Get_Attribute_Name('veh_cus_item_cum_key_id'));
17967: OE_MSG_PUB.Add;
17968: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17969:
17970: END IF;
17971:
17972:

Line 17978: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

17974: RETURN FALSE;
17975:
17976: WHEN OTHERS THEN
17977:
17978: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17979: THEN
17980: OE_MSG_PUB.Add_Exc_Msg
17981: ( G_PKG_NAME
17982: , 'veh_cus_item_cum_key'

Line 17980: OE_MSG_PUB.Add_Exc_Msg

17976: WHEN OTHERS THEN
17977:
17978: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17979: THEN
17980: OE_MSG_PUB.Add_Exc_Msg
17981: ( G_PKG_NAME
17982: , 'veh_cus_item_cum_key'
17983: );
17984: END IF;

Line 18019: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18015: EXCEPTION
18016:
18017: WHEN NO_DATA_FOUND THEN
18018:
18019: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18020: THEN
18021:
18022: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ARRIVAL_SET_ID');
18023:

Line 18022: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ARRIVAL_SET_ID');

18018:
18019: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18020: THEN
18021:
18022: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ARRIVAL_SET_ID');
18023:
18024:
18025: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18026: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18028: OE_MSG_PUB.Add;

18024:
18025: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18026: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18027: OE_Order_Util.Get_Attribute_Name('arrival_set_id'));
18028: OE_MSG_PUB.Add;
18029: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18030:
18031: END IF;
18032:

Line 18029: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18025: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18026: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18027: OE_Order_Util.Get_Attribute_Name('arrival_set_id'));
18028: OE_MSG_PUB.Add;
18029: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18030:
18031: END IF;
18032:
18033:

Line 18039: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18035: RETURN FALSE;
18036:
18037: WHEN OTHERS THEN
18038:
18039: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18040: THEN
18041: OE_MSG_PUB.Add_Exc_Msg
18042: ( G_PKG_NAME
18043: , 'arrival_set'

Line 18041: OE_MSG_PUB.Add_Exc_Msg

18037: WHEN OTHERS THEN
18038:
18039: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18040: THEN
18041: OE_MSG_PUB.Add_Exc_Msg
18042: ( G_PKG_NAME
18043: , 'arrival_set'
18044: );
18045: END IF;

Line 18080: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18076: EXCEPTION
18077:
18078: WHEN NO_DATA_FOUND THEN
18079:
18080: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18081: THEN
18082:
18083: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_SET_ID');
18084:

Line 18083: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_SET_ID');

18079:
18080: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18081: THEN
18082:
18083: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_SET_ID');
18084:
18085: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18086: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18087: OE_Order_Util.Get_Attribute_Name('ship_set_id'));

Line 18088: OE_MSG_PUB.Add;

18084:
18085: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18086: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18087: OE_Order_Util.Get_Attribute_Name('ship_set_id'));
18088: OE_MSG_PUB.Add;
18089: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18090:
18091: END IF;
18092:

Line 18089: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18085: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18086: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18087: OE_Order_Util.Get_Attribute_Name('ship_set_id'));
18088: OE_MSG_PUB.Add;
18089: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18090:
18091: END IF;
18092:
18093:

Line 18099: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18095: RETURN FALSE;
18096:
18097: WHEN OTHERS THEN
18098:
18099: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18100: THEN
18101: OE_MSG_PUB.Add_Exc_Msg
18102: ( G_PKG_NAME
18103: , 'ship_set'

Line 18101: OE_MSG_PUB.Add_Exc_Msg

18097: WHEN OTHERS THEN
18098:
18099: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18100: THEN
18101: OE_MSG_PUB.Add_Exc_Msg
18102: ( G_PKG_NAME
18103: , 'ship_set'
18104: );
18105: END IF;

Line 18140: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18136: EXCEPTION
18137:
18138: WHEN NO_DATA_FOUND THEN
18139:
18140: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18141: THEN
18142:
18143: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_REASON_CODE');
18144:

Line 18143: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_REASON_CODE');

18139:
18140: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18141: THEN
18142:
18143: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_REASON_CODE');
18144:
18145: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18146: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18147: OE_Order_Util.Get_Attribute_Name('over_ship_reason_code'));

Line 18148: OE_MSG_PUB.Add;

18144:
18145: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18146: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18147: OE_Order_Util.Get_Attribute_Name('over_ship_reason_code'));
18148: OE_MSG_PUB.Add;
18149: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18150:
18151: END IF;
18152:

Line 18149: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18145: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18146: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18147: OE_Order_Util.Get_Attribute_Name('over_ship_reason_code'));
18148: OE_MSG_PUB.Add;
18149: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18150:
18151: END IF;
18152:
18153:

Line 18159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18155: RETURN FALSE;
18156:
18157: WHEN OTHERS THEN
18158:
18159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18160: THEN
18161: OE_MSG_PUB.Add_Exc_Msg
18162: ( G_PKG_NAME
18163: , 'over_ship_reason'

Line 18161: OE_MSG_PUB.Add_Exc_Msg

18157: WHEN OTHERS THEN
18158:
18159: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18160: THEN
18161: OE_MSG_PUB.Add_Exc_Msg
18162: ( G_PKG_NAME
18163: , 'over_ship_reason'
18164: );
18165: END IF;

Line 18201: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18197: EXCEPTION
18198:
18199: WHEN NO_DATA_FOUND THEN
18200:
18201: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18202: THEN
18203:
18204: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_RESOLVED_FLAG');
18205:

Line 18204: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_RESOLVED_FLAG');

18200:
18201: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18202: THEN
18203:
18204: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_RESOLVED_FLAG');
18205:
18206: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18207: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18208: OE_Order_Util.Get_Attribute_Name('over_ship_resolved_flag'));

Line 18209: OE_MSG_PUB.Add;

18205:
18206: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18207: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18208: OE_Order_Util.Get_Attribute_Name('over_ship_resolved_flag'));
18209: OE_MSG_PUB.Add;
18210: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18211:
18212: END IF;
18213:

Line 18210: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18206: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18207: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18208: OE_Order_Util.Get_Attribute_Name('over_ship_resolved_flag'));
18209: OE_MSG_PUB.Add;
18210: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18211:
18212: END IF;
18213:
18214:

Line 18220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18216: RETURN FALSE;
18217:
18218: WHEN OTHERS THEN
18219:
18220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18221: THEN
18222: OE_MSG_PUB.Add_Exc_Msg
18223: ( G_PKG_NAME
18224: , 'over_ship_resolved'

Line 18222: OE_MSG_PUB.Add_Exc_Msg

18218: WHEN OTHERS THEN
18219:
18220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18221: THEN
18222: OE_MSG_PUB.Add_Exc_Msg
18223: ( G_PKG_NAME
18224: , 'over_ship_resolved'
18225: );
18226: END IF;

Line 18270: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18266: EXCEPTION
18267:
18268: WHEN NO_DATA_FOUND THEN
18269:
18270: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18271: THEN
18272:
18273: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TYPE_CODE');
18274:

Line 18273: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TYPE_CODE');

18269:
18270: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18271: THEN
18272:
18273: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TYPE_CODE');
18274:
18275: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18276: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18277: OE_Order_Util.Get_Attribute_Name('payment_type_code'));

Line 18278: OE_MSG_PUB.Add;

18274:
18275: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18276: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18277: OE_Order_Util.Get_Attribute_Name('payment_type_code'));
18278: OE_MSG_PUB.Add;
18279: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18280:
18281: END IF;
18282:

Line 18279: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18275: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18276: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18277: OE_Order_Util.Get_Attribute_Name('payment_type_code'));
18278: OE_MSG_PUB.Add;
18279: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18280:
18281: END IF;
18282:
18283:

Line 18288: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18284: RETURN FALSE;
18285:
18286: WHEN OTHERS THEN
18287:
18288: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18289: THEN
18290: OE_MSG_PUB.Add_Exc_Msg
18291: ( G_PKG_NAME
18292: , 'Payment_Type'

Line 18290: OE_MSG_PUB.Add_Exc_Msg

18286: WHEN OTHERS THEN
18287:
18288: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18289: THEN
18290: OE_MSG_PUB.Add_Exc_Msg
18291: ( G_PKG_NAME
18292: , 'Payment_Type'
18293: );
18294: END IF;

Line 18328: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18324: EXCEPTION
18325:
18326: WHEN NO_DATA_FOUND THEN
18327:
18328: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18329: THEN
18330:
18331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_AMOUNT');
18332:

Line 18331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_AMOUNT');

18327:
18328: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18329: THEN
18330:
18331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_AMOUNT');
18332:
18333: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18334: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18335: OE_Order_Util.Get_Attribute_Name('payment_amount'));

Line 18336: OE_MSG_PUB.Add;

18332:
18333: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18334: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18335: OE_Order_Util.Get_Attribute_Name('payment_amount'));
18336: OE_MSG_PUB.Add;
18337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18338:
18339: END IF;
18340:

Line 18337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18333: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18334: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18335: OE_Order_Util.Get_Attribute_Name('payment_amount'));
18336: OE_MSG_PUB.Add;
18337: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18338:
18339: END IF;
18340:
18341:

Line 18347: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18343: RETURN FALSE;
18344:
18345: WHEN OTHERS THEN
18346:
18347: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18348: THEN
18349: OE_MSG_PUB.Add_Exc_Msg
18350: ( G_PKG_NAME
18351: , 'payment_amount'

Line 18349: OE_MSG_PUB.Add_Exc_Msg

18345: WHEN OTHERS THEN
18346:
18347: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18348: THEN
18349: OE_MSG_PUB.Add_Exc_Msg
18350: ( G_PKG_NAME
18351: , 'payment_amount'
18352: );
18353: END IF;

Line 18387: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18383: EXCEPTION
18384:
18385: WHEN NO_DATA_FOUND THEN
18386:
18387: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18388: THEN
18389:
18390: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHECK_NUMBER');
18391:

Line 18390: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHECK_NUMBER');

18386:
18387: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18388: THEN
18389:
18390: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHECK_NUMBER');
18391:
18392: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18393: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18394: OE_Order_Util.Get_Attribute_Name('check_number'));

Line 18395: OE_MSG_PUB.Add;

18391:
18392: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18393: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18394: OE_Order_Util.Get_Attribute_Name('check_number'));
18395: OE_MSG_PUB.Add;
18396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18397:
18398: END IF;
18399:

Line 18396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18392: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18393: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18394: OE_Order_Util.Get_Attribute_Name('check_number'));
18395: OE_MSG_PUB.Add;
18396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18397:
18398: END IF;
18399:
18400:

Line 18405: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18401: RETURN FALSE;
18402:
18403: WHEN OTHERS THEN
18404:
18405: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18406: THEN
18407: OE_MSG_PUB.Add_Exc_Msg
18408: ( G_PKG_NAME
18409: , 'Check_Number'

Line 18407: OE_MSG_PUB.Add_Exc_Msg

18403: WHEN OTHERS THEN
18404:
18405: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18406: THEN
18407: OE_MSG_PUB.Add_Exc_Msg
18408: ( G_PKG_NAME
18409: , 'Check_Number'
18410: );
18411: END IF;

Line 18454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18450: EXCEPTION
18451:
18452: WHEN NO_DATA_FOUND THEN
18453:
18454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18455: THEN
18456:
18457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_CODE');
18458:

Line 18457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_CODE');

18453:
18454: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18455: THEN
18456:
18457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_CODE');
18458:
18459: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18460: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18461: OE_Order_Util.Get_Attribute_Name('credit_card_code'));

Line 18462: OE_MSG_PUB.Add;

18458:
18459: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18460: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18461: OE_Order_Util.Get_Attribute_Name('credit_card_code'));
18462: OE_MSG_PUB.Add;
18463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18464:
18465: END IF;
18466:

Line 18463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18459: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18460: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18461: OE_Order_Util.Get_Attribute_Name('credit_card_code'));
18462: OE_MSG_PUB.Add;
18463: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18464:
18465: END IF;
18466:
18467:

Line 18472: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18468: RETURN FALSE;
18469:
18470: WHEN OTHERS THEN
18471:
18472: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18473: THEN
18474: OE_MSG_PUB.Add_Exc_Msg
18475: ( G_PKG_NAME
18476: , 'Credit_Card'

Line 18474: OE_MSG_PUB.Add_Exc_Msg

18470: WHEN OTHERS THEN
18471:
18472: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18473: THEN
18474: OE_MSG_PUB.Add_Exc_Msg
18475: ( G_PKG_NAME
18476: , 'Credit_Card'
18477: );
18478: END IF;

Line 18511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18507: EXCEPTION
18508:
18509: WHEN NO_DATA_FOUND THEN
18510:
18511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18512: THEN
18513:
18514: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_HOLDER_NAME');
18515:

Line 18514: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_HOLDER_NAME');

18510:
18511: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18512: THEN
18513:
18514: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_HOLDER_NAME');
18515:
18516: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18517: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18518: OE_Order_Util.Get_Attribute_Name('credit_card_holder_name'));

Line 18519: OE_MSG_PUB.Add;

18515:
18516: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18517: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18518: OE_Order_Util.Get_Attribute_Name('credit_card_holder_name'));
18519: OE_MSG_PUB.Add;
18520: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18521:
18522: END IF;
18523:

Line 18520: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18516: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18517: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18518: OE_Order_Util.Get_Attribute_Name('credit_card_holder_name'));
18519: OE_MSG_PUB.Add;
18520: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18521:
18522: END IF;
18523:
18524:

Line 18529: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18525: RETURN FALSE;
18526:
18527: WHEN OTHERS THEN
18528:
18529: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18530: THEN
18531: OE_MSG_PUB.Add_Exc_Msg
18532: ( G_PKG_NAME
18533: , 'Credit_Card_Holder_Name'

Line 18531: OE_MSG_PUB.Add_Exc_Msg

18527: WHEN OTHERS THEN
18528:
18529: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18530: THEN
18531: OE_MSG_PUB.Add_Exc_Msg
18532: ( G_PKG_NAME
18533: , 'Credit_Card_Holder_Name'
18534: );
18535: END IF;

Line 18568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18564: EXCEPTION
18565:
18566: WHEN NO_DATA_FOUND THEN
18567:
18568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18569: THEN
18570:
18571: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_NUMBER');
18572:

Line 18571: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_NUMBER');

18567:
18568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18569: THEN
18570:
18571: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_NUMBER');
18572:
18573: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18574: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18575: OE_Order_Util.Get_Attribute_Name('credit_card_number'));

Line 18576: OE_MSG_PUB.Add;

18572:
18573: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18574: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18575: OE_Order_Util.Get_Attribute_Name('credit_card_number'));
18576: OE_MSG_PUB.Add;
18577: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18578:
18579: END IF;
18580:

Line 18577: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18573: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18574: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18575: OE_Order_Util.Get_Attribute_Name('credit_card_number'));
18576: OE_MSG_PUB.Add;
18577: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18578:
18579: END IF;
18580:
18581:

Line 18586: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18582: RETURN FALSE;
18583:
18584: WHEN OTHERS THEN
18585:
18586: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18587: THEN
18588: OE_MSG_PUB.Add_Exc_Msg
18589: ( G_PKG_NAME
18590: , 'Credit_Card_Number'

Line 18588: OE_MSG_PUB.Add_Exc_Msg

18584: WHEN OTHERS THEN
18585:
18586: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18587: THEN
18588: OE_MSG_PUB.Add_Exc_Msg
18589: ( G_PKG_NAME
18590: , 'Credit_Card_Number'
18591: );
18592: END IF;

Line 18616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18612: -- WHERE DB_COLUMN = p_credit_card_approval_date;
18613: RETURN TRUE;
18614: EXCEPTION
18615: WHEN NO_DATA_FOUND THEN
18616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18617: THEN
18618: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');
18619: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18620: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18618: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');

18614: EXCEPTION
18615: WHEN NO_DATA_FOUND THEN
18616: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18617: THEN
18618: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');
18619: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18620: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18621: OE_Order_Util.Get_Attribute_Name('credit_card_approval_date'));
18622: OE_MSG_PUB.Add;

Line 18622: OE_MSG_PUB.Add;

18618: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');
18619: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18620: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18621: OE_Order_Util.Get_Attribute_Name('credit_card_approval_date'));
18622: OE_MSG_PUB.Add;
18623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18624: END IF;
18625: RETURN FALSE;
18626: WHEN OTHERS THEN

Line 18623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18619: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18620: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18621: OE_Order_Util.Get_Attribute_Name('credit_card_approval_date'));
18622: OE_MSG_PUB.Add;
18623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18624: END IF;
18625: RETURN FALSE;
18626: WHEN OTHERS THEN
18627: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 18627: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18624: END IF;
18625: RETURN FALSE;
18626: WHEN OTHERS THEN
18627: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18628: THEN
18629: OE_MSG_PUB.Add_Exc_Msg
18630: ( G_PKG_NAME
18631: , 'Credit_Card_Approval_Date'

Line 18629: OE_MSG_PUB.Add_Exc_Msg

18625: RETURN FALSE;
18626: WHEN OTHERS THEN
18627: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18628: THEN
18629: OE_MSG_PUB.Add_Exc_Msg
18630: ( G_PKG_NAME
18631: , 'Credit_Card_Approval_Date'
18632: );
18633: END IF;

Line 18654: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18650: -- WHERE DB_COLUMN = p_credit_card_expiration_date;
18651: RETURN TRUE;
18652: EXCEPTION
18653: WHEN NO_DATA_FOUND THEN
18654: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18655: THEN
18656: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');
18657: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18658: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18656: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');

18652: EXCEPTION
18653: WHEN NO_DATA_FOUND THEN
18654: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18655: THEN
18656: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');
18657: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18658: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18659: OE_Order_Util.Get_Attribute_Name('credit_card_expiration_date'));
18660: OE_MSG_PUB.Add;

Line 18660: OE_MSG_PUB.Add;

18656: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');
18657: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18658: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18659: OE_Order_Util.Get_Attribute_Name('credit_card_expiration_date'));
18660: OE_MSG_PUB.Add;
18661: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18662: END IF;
18663: RETURN FALSE;
18664: WHEN OTHERS THEN

Line 18661: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18657: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18658: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18659: OE_Order_Util.Get_Attribute_Name('credit_card_expiration_date'));
18660: OE_MSG_PUB.Add;
18661: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18662: END IF;
18663: RETURN FALSE;
18664: WHEN OTHERS THEN
18665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 18665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18661: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18662: END IF;
18663: RETURN FALSE;
18664: WHEN OTHERS THEN
18665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18666: THEN
18667: OE_MSG_PUB.Add_Exc_Msg
18668: ( G_PKG_NAME
18669: , 'Credit_Card_Expiration_Date'

Line 18667: OE_MSG_PUB.Add_Exc_Msg

18663: RETURN FALSE;
18664: WHEN OTHERS THEN
18665: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18666: THEN
18667: OE_MSG_PUB.Add_Exc_Msg
18668: ( G_PKG_NAME
18669: , 'Credit_Card_Expiration_Date'
18670: );
18671: END IF;

Line 18701: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18697: EXCEPTION
18698:
18699: WHEN NO_DATA_FOUND THEN
18700:
18701: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18702: THEN
18703:
18704: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_CODE');
18705:

Line 18704: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_CODE');

18700:
18701: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18702: THEN
18703:
18704: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_CODE');
18705:
18706: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18707: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18708: OE_Order_Util.Get_Attribute_Name('credit_card_approval_code'));

Line 18709: OE_MSG_PUB.Add;

18705:
18706: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18707: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18708: OE_Order_Util.Get_Attribute_Name('credit_card_approval_code'));
18709: OE_MSG_PUB.Add;
18710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18711:
18712: END IF;
18713:

Line 18710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18706: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18707: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18708: OE_Order_Util.Get_Attribute_Name('credit_card_approval_code'));
18709: OE_MSG_PUB.Add;
18710: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18711:
18712: END IF;
18713:
18714:

Line 18719: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18715: RETURN FALSE;
18716:
18717: WHEN OTHERS THEN
18718:
18719: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18720: THEN
18721: OE_MSG_PUB.Add_Exc_Msg
18722: ( G_PKG_NAME
18723: , 'Credit_Card_Approval'

Line 18721: OE_MSG_PUB.Add_Exc_Msg

18717: WHEN OTHERS THEN
18718:
18719: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18720: THEN
18721: OE_MSG_PUB.Add_Exc_Msg
18722: ( G_PKG_NAME
18723: , 'Credit_Card_Approval'
18724: );
18725: END IF;

Line 18759: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18755: EXCEPTION
18756:
18757: WHEN NO_DATA_FOUND THEN
18758:
18759: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18760: THEN
18761:
18762: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_CODE');
18763:

Line 18762: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_CODE');

18758:
18759: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18760: THEN
18761:
18762: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_CODE');
18763:
18764: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18765: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18766: OE_Order_Util.Get_Attribute_Name('first_ack_code'));

Line 18767: OE_MSG_PUB.Add;

18763:
18764: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18765: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18766: OE_Order_Util.Get_Attribute_Name('first_ack_code'));
18767: OE_MSG_PUB.Add;
18768:
18769: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18770:
18771: END IF;

Line 18769: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18765: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18766: OE_Order_Util.Get_Attribute_Name('first_ack_code'));
18767: OE_MSG_PUB.Add;
18768:
18769: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18770:
18771: END IF;
18772:
18773:

Line 18778: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18774: RETURN FALSE;
18775:
18776: WHEN OTHERS THEN
18777:
18778: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18779: THEN
18780: OE_MSG_PUB.Add_Exc_Msg
18781: ( G_PKG_NAME
18782: , 'First_Ack'

Line 18780: OE_MSG_PUB.Add_Exc_Msg

18776: WHEN OTHERS THEN
18777:
18778: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18779: THEN
18780: OE_MSG_PUB.Add_Exc_Msg
18781: ( G_PKG_NAME
18782: , 'First_Ack'
18783: );
18784: END IF;

Line 18818: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18814: EXCEPTION
18815:
18816: WHEN NO_DATA_FOUND THEN
18817:
18818: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18819: THEN
18820:
18821: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_DATE');
18822:

Line 18821: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_DATE');

18817:
18818: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18819: THEN
18820:
18821: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_DATE');
18822:
18823: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18824: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18825: OE_Order_Util.Get_Attribute_Name('first_ack_date'));

Line 18826: OE_MSG_PUB.Add;

18822:
18823: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18824: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18825: OE_Order_Util.Get_Attribute_Name('first_ack_date'));
18826: OE_MSG_PUB.Add;
18827: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18828:
18829: END IF;
18830:

Line 18827: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18823: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18824: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18825: OE_Order_Util.Get_Attribute_Name('first_ack_date'));
18826: OE_MSG_PUB.Add;
18827: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18828:
18829: END IF;
18830:
18831:

Line 18836: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18832: RETURN FALSE;
18833:
18834: WHEN OTHERS THEN
18835:
18836: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18837: THEN
18838: OE_MSG_PUB.Add_Exc_Msg
18839: ( G_PKG_NAME
18840: , 'First_Ack_Date'

Line 18838: OE_MSG_PUB.Add_Exc_Msg

18834: WHEN OTHERS THEN
18835:
18836: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18837: THEN
18838: OE_MSG_PUB.Add_Exc_Msg
18839: ( G_PKG_NAME
18840: , 'First_Ack_Date'
18841: );
18842: END IF;

Line 18875: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18871: EXCEPTION
18872:
18873: WHEN NO_DATA_FOUND THEN
18874:
18875: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18876: THEN
18877:
18878: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_CODE');
18879:

Line 18878: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_CODE');

18874:
18875: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18876: THEN
18877:
18878: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_CODE');
18879:
18880: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18881: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18882: OE_Order_Util.Get_Attribute_Name('last_ack_code'));

Line 18883: OE_MSG_PUB.Add;

18879:
18880: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18881: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18882: OE_Order_Util.Get_Attribute_Name('last_ack_code'));
18883: OE_MSG_PUB.Add;
18884: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18885:
18886: END IF;
18887:

Line 18884: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18880: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18881: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18882: OE_Order_Util.Get_Attribute_Name('last_ack_code'));
18883: OE_MSG_PUB.Add;
18884: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18885:
18886: END IF;
18887:
18888:

Line 18893: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18889: RETURN FALSE;
18890:
18891: WHEN OTHERS THEN
18892:
18893: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18894: THEN
18895: OE_MSG_PUB.Add_Exc_Msg
18896: ( G_PKG_NAME
18897: , 'Last_Ack'

Line 18895: OE_MSG_PUB.Add_Exc_Msg

18891: WHEN OTHERS THEN
18892:
18893: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18894: THEN
18895: OE_MSG_PUB.Add_Exc_Msg
18896: ( G_PKG_NAME
18897: , 'Last_Ack'
18898: );
18899: END IF;

Line 18933: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18929: EXCEPTION
18930:
18931: WHEN NO_DATA_FOUND THEN
18932:
18933: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18934: THEN
18935:
18936: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_DATE');
18937:

Line 18936: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_DATE');

18932:
18933: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18934: THEN
18935:
18936: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_DATE');
18937:
18938: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18939: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18940: OE_Order_Util.Get_Attribute_Name('last_ack_date'));

Line 18941: OE_MSG_PUB.Add;

18937:
18938: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18939: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18940: OE_Order_Util.Get_Attribute_Name('last_ack_date'));
18941: OE_MSG_PUB.Add;
18942: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18943:
18944: END IF;
18945:

Line 18942: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18938: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18939: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18940: OE_Order_Util.Get_Attribute_Name('last_ack_date'));
18941: OE_MSG_PUB.Add;
18942: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18943:
18944: END IF;
18945:
18946:

Line 18951: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

18947: RETURN FALSE;
18948:
18949: WHEN OTHERS THEN
18950:
18951: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18952: THEN
18953: OE_MSG_PUB.Add_Exc_Msg
18954: ( G_PKG_NAME
18955: , 'Last_Ack_Date'

Line 18953: OE_MSG_PUB.Add_Exc_Msg

18949: WHEN OTHERS THEN
18950:
18951: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18952: THEN
18953: OE_MSG_PUB.Add_Exc_Msg
18954: ( G_PKG_NAME
18955: , 'Last_Ack_Date'
18956: );
18957: END IF;

Line 18988: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

18984: EXCEPTION
18985:
18986: WHEN NO_DATA_FOUND THEN
18987:
18988: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18989: THEN
18990:
18991: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_ITEM_UNIT_NUMBER');
18992:

Line 18991: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_ITEM_UNIT_NUMBER');

18987:
18988: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18989: THEN
18990:
18991: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_ITEM_UNIT_NUMBER');
18992:
18993:
18994: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18995: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18997: OE_MSG_PUB.Add;

18993:
18994: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18995: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18996: OE_Order_Util.Get_Attribute_Name('end_item_unit_number'));
18997: OE_MSG_PUB.Add;
18998: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18999:
19000: END IF;
19001:

Line 18998: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

18994: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18995: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18996: OE_Order_Util.Get_Attribute_Name('end_item_unit_number'));
18997: OE_MSG_PUB.Add;
18998: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18999:
19000: END IF;
19001:
19002:

Line 19007: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19003: RETURN FALSE;
19004:
19005: WHEN OTHERS THEN
19006:
19007: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19008: THEN
19009: OE_MSG_PUB.Add_Exc_Msg
19010: ( G_PKG_NAME
19011: , 'end_item_unit_number'

Line 19009: OE_MSG_PUB.Add_Exc_Msg

19005: WHEN OTHERS THEN
19006:
19007: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19008: THEN
19009: OE_MSG_PUB.Add_Exc_Msg
19010: ( G_PKG_NAME
19011: , 'end_item_unit_number'
19012: );
19013: END IF;

Line 19046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19042: EXCEPTION
19043:
19044: WHEN NO_DATA_FOUND THEN
19045:
19046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19047: THEN
19048:
19049: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_QUANTITY');
19050:

Line 19049: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_QUANTITY');

19045:
19046: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19047: THEN
19048:
19049: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_QUANTITY');
19050:
19051: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19052: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19053: OE_Order_Util.Get_Attribute_Name('invoiced_quantity'));

Line 19054: OE_MSG_PUB.Add;

19050:
19051: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19052: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19053: OE_Order_Util.Get_Attribute_Name('invoiced_quantity'));
19054: OE_MSG_PUB.Add;
19055: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19056:
19057: END IF;
19058:

Line 19055: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19051: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19052: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19053: OE_Order_Util.Get_Attribute_Name('invoiced_quantity'));
19054: OE_MSG_PUB.Add;
19055: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19056:
19057: END IF;
19058:
19059:

Line 19064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19060: RETURN FALSE;
19061:
19062: WHEN OTHERS THEN
19063:
19064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19065: THEN
19066: OE_MSG_PUB.Add_Exc_Msg
19067: ( G_PKG_NAME
19068: , 'Invoiced_Quantity'

Line 19066: OE_MSG_PUB.Add_Exc_Msg

19062: WHEN OTHERS THEN
19063:
19064: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19065: THEN
19066: OE_MSG_PUB.Add_Exc_Msg
19067: ( G_PKG_NAME
19068: , 'Invoiced_Quantity'
19069: );
19070: END IF;

Line 19104: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19100: EXCEPTION
19101:
19102: WHEN NO_DATA_FOUND THEN
19103:
19104: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19105: THEN
19106:
19107: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_REASON');
19108:

Line 19107: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_REASON');

19103:
19104: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19105: THEN
19106:
19107: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_REASON');
19108:
19109: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19110: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19111: OE_Order_Util.Get_Attribute_Name('Service_Txn_Reason'));

Line 19112: OE_MSG_PUB.Add;

19108:
19109: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19110: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19111: OE_Order_Util.Get_Attribute_Name('Service_Txn_Reason'));
19112: OE_MSG_PUB.Add;
19113: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19114:
19115: END IF;
19116:

Line 19113: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19109: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19110: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19111: OE_Order_Util.Get_Attribute_Name('Service_Txn_Reason'));
19112: OE_MSG_PUB.Add;
19113: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19114:
19115: END IF;
19116:
19117:

Line 19122: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19118: RETURN FALSE;
19119:
19120: WHEN OTHERS THEN
19121:
19122: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19123: THEN
19124: OE_MSG_PUB.Add_Exc_Msg
19125: ( G_PKG_NAME
19126: , 'Service_Txn_Reason'

Line 19124: OE_MSG_PUB.Add_Exc_Msg

19120: WHEN OTHERS THEN
19121:
19122: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19123: THEN
19124: OE_MSG_PUB.Add_Exc_Msg
19125: ( G_PKG_NAME
19126: , 'Service_Txn_Reason'
19127: );
19128: END IF;

Line 19162: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19158: EXCEPTION
19159:
19160: WHEN NO_DATA_FOUND THEN
19161:
19162: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19163: THEN
19164:
19165: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_COMMENTS');
19166:

Line 19165: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_COMMENTS');

19161:
19162: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19163: THEN
19164:
19165: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_COMMENTS');
19166:
19167: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19168: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19169: OE_Order_Util.Get_Attribute_Name('Service_Txn_Comments'));

Line 19170: OE_MSG_PUB.Add;

19166:
19167: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19168: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19169: OE_Order_Util.Get_Attribute_Name('Service_Txn_Comments'));
19170: OE_MSG_PUB.Add;
19171: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19172:
19173: END IF;
19174:

Line 19171: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19167: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19168: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19169: OE_Order_Util.Get_Attribute_Name('Service_Txn_Comments'));
19170: OE_MSG_PUB.Add;
19171: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19172:
19173: END IF;
19174:
19175:

Line 19180: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19176: RETURN FALSE;
19177:
19178: WHEN OTHERS THEN
19179:
19180: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19181: THEN
19182: OE_MSG_PUB.Add_Exc_Msg
19183: ( G_PKG_NAME
19184: , 'Service_Txn_Comments'

Line 19182: OE_MSG_PUB.Add_Exc_Msg

19178: WHEN OTHERS THEN
19179:
19180: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19181: THEN
19182: OE_MSG_PUB.Add_Exc_Msg
19183: ( G_PKG_NAME
19184: , 'Service_Txn_Comments'
19185: );
19186: END IF;

Line 19220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19216: EXCEPTION
19217:
19218: WHEN NO_DATA_FOUND THEN
19219:
19220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19221: THEN
19222:
19223: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Serviced_Duration');
19224:

Line 19223: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Serviced_Duration');

19219:
19220: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19221: THEN
19222:
19223: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Serviced_Duration');
19224:
19225: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19226: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19227: OE_Order_Util.Get_Attribute_Name('Service_Duration'));

Line 19228: OE_MSG_PUB.Add;

19224:
19225: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19226: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19227: OE_Order_Util.Get_Attribute_Name('Service_Duration'));
19228: OE_MSG_PUB.Add;
19229: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19230:
19231: END IF;
19232:

Line 19229: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19225: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19226: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19227: OE_Order_Util.Get_Attribute_Name('Service_Duration'));
19228: OE_MSG_PUB.Add;
19229: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19230:
19231: END IF;
19232:
19233:

Line 19238: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19234: RETURN FALSE;
19235:
19236: WHEN OTHERS THEN
19237:
19238: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19239: THEN
19240: OE_MSG_PUB.Add_Exc_Msg
19241: ( G_PKG_NAME
19242: , 'Serviced_Duration'

Line 19240: OE_MSG_PUB.Add_Exc_Msg

19236: WHEN OTHERS THEN
19237:
19238: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19239: THEN
19240: OE_MSG_PUB.Add_Exc_Msg
19241: ( G_PKG_NAME
19242: , 'Serviced_Duration'
19243: );
19244: END IF;

Line 19277: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19273: EXCEPTION
19274:
19275: WHEN NO_DATA_FOUND THEN
19276:
19277: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19278: THEN
19279:
19280: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Period');
19281:

Line 19280: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Period');

19276:
19277: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19278: THEN
19279:
19280: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Period');
19281:
19282: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19283: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19284: OE_Order_Util.Get_Attribute_Name('Service_Period'));

Line 19285: OE_MSG_PUB.Add;

19281:
19282: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19283: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19284: OE_Order_Util.Get_Attribute_Name('Service_Period'));
19285: OE_MSG_PUB.Add;
19286: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19287:
19288: END IF;
19289:

Line 19286: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19282: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19283: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19284: OE_Order_Util.Get_Attribute_Name('Service_Period'));
19285: OE_MSG_PUB.Add;
19286: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19287:
19288: END IF;
19289:
19290:

Line 19295: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19291: RETURN FALSE;
19292:
19293: WHEN OTHERS THEN
19294:
19295: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19296: THEN
19297: OE_MSG_PUB.Add_Exc_Msg
19298: ( G_PKG_NAME
19299: , 'Service_Period'

Line 19297: OE_MSG_PUB.Add_Exc_Msg

19293: WHEN OTHERS THEN
19294:
19295: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19296: THEN
19297: OE_MSG_PUB.Add_Exc_Msg
19298: ( G_PKG_NAME
19299: , 'Service_Period'
19300: );
19301: END IF;

Line 19335: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19331: EXCEPTION
19332:
19333: WHEN NO_DATA_FOUND THEN
19334:
19335: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19336: THEN
19337:
19338: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Start_Date');
19339:

Line 19338: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Start_Date');

19334:
19335: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19336: THEN
19337:
19338: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Start_Date');
19339:
19340: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19341: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19342: OE_Order_Util.Get_Attribute_Name('Service_Start_Date'));

Line 19343: OE_MSG_PUB.Add;

19339:
19340: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19341: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19342: OE_Order_Util.Get_Attribute_Name('Service_Start_Date'));
19343: OE_MSG_PUB.Add;
19344: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19345:
19346: END IF;
19347:

Line 19344: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19340: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19341: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19342: OE_Order_Util.Get_Attribute_Name('Service_Start_Date'));
19343: OE_MSG_PUB.Add;
19344: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19345:
19346: END IF;
19347:
19348:

Line 19353: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19349: RETURN FALSE;
19350:
19351: WHEN OTHERS THEN
19352:
19353: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19354: THEN
19355: OE_MSG_PUB.Add_Exc_Msg
19356: ( G_PKG_NAME
19357: , 'Serviced_Start_Date'

Line 19355: OE_MSG_PUB.Add_Exc_Msg

19351: WHEN OTHERS THEN
19352:
19353: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19354: THEN
19355: OE_MSG_PUB.Add_Exc_Msg
19356: ( G_PKG_NAME
19357: , 'Serviced_Start_Date'
19358: );
19359: END IF;

Line 19392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19388: EXCEPTION
19389:
19390: WHEN NO_DATA_FOUND THEN
19391:
19392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19393: THEN
19394:
19395: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_End_Date');
19396:

Line 19395: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_End_Date');

19391:
19392: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19393: THEN
19394:
19395: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_End_Date');
19396:
19397: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19398: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19399: OE_Order_Util.Get_Attribute_Name('Service_End_Date'));

Line 19400: OE_MSG_PUB.Add;

19396:
19397: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19398: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19399: OE_Order_Util.Get_Attribute_Name('Service_End_Date'));
19400: OE_MSG_PUB.Add;
19401: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19402:
19403: END IF;
19404:

Line 19401: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19397: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19398: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19399: OE_Order_Util.Get_Attribute_Name('Service_End_Date'));
19400: OE_MSG_PUB.Add;
19401: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19402:
19403: END IF;
19404:
19405:

Line 19410: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19406: RETURN FALSE;
19407:
19408: WHEN OTHERS THEN
19409:
19410: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19411: THEN
19412: OE_MSG_PUB.Add_Exc_Msg
19413: ( G_PKG_NAME
19414: , 'Service_End_Date'

Line 19412: OE_MSG_PUB.Add_Exc_Msg

19408: WHEN OTHERS THEN
19409:
19410: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19411: THEN
19412: OE_MSG_PUB.Add_Exc_Msg
19413: ( G_PKG_NAME
19414: , 'Service_End_Date'
19415: );
19416: END IF;

Line 19449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19445: EXCEPTION
19446:
19447: WHEN NO_DATA_FOUND THEN
19448:
19449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19450: THEN
19451:
19452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Coterminate');
19453:

Line 19452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Coterminate');

19448:
19449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19450: THEN
19451:
19452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Coterminate');
19453:
19454: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19455: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19456: OE_Order_Util.Get_Attribute_Name('Service_Coterminate'));

Line 19457: OE_MSG_PUB.Add;

19453:
19454: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19455: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19456: OE_Order_Util.Get_Attribute_Name('Service_Coterminate'));
19457: OE_MSG_PUB.Add;
19458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19459:
19460: END IF;
19461:

Line 19458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19454: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19455: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19456: OE_Order_Util.Get_Attribute_Name('Service_Coterminate'));
19457: OE_MSG_PUB.Add;
19458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19459:
19460: END IF;
19461:
19462:

Line 19467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19463: RETURN FALSE;
19464:
19465: WHEN OTHERS THEN
19466:
19467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19468: THEN
19469: OE_MSG_PUB.Add_Exc_Msg
19470: ( G_PKG_NAME
19471: , 'Service_Coterminate'

Line 19469: OE_MSG_PUB.Add_Exc_Msg

19465: WHEN OTHERS THEN
19466:
19467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19468: THEN
19469: OE_MSG_PUB.Add_Exc_Msg
19470: ( G_PKG_NAME
19471: , 'Service_Coterminate'
19472: );
19473: END IF;

Line 19506: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19502: EXCEPTION
19503:
19504: WHEN NO_DATA_FOUND THEN
19505:
19506: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19507: THEN
19508:
19509: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_List_Percent');
19510:

Line 19509: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_List_Percent');

19505:
19506: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19507: THEN
19508:
19509: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_List_Percent');
19510:
19511: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19512: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19513: OE_Order_Util.Get_Attribute_Name('Unit_List_Percent'));

Line 19514: OE_MSG_PUB.Add;

19510:
19511: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19512: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19513: OE_Order_Util.Get_Attribute_Name('Unit_List_Percent'));
19514: OE_MSG_PUB.Add;
19515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19516:
19517: END IF;
19518:

Line 19515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19511: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19512: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19513: OE_Order_Util.Get_Attribute_Name('Unit_List_Percent'));
19514: OE_MSG_PUB.Add;
19515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19516:
19517: END IF;
19518:
19519:

Line 19524: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19520: RETURN FALSE;
19521:
19522: WHEN OTHERS THEN
19523:
19524: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19525: THEN
19526: OE_MSG_PUB.Add_Exc_Msg
19527: ( G_PKG_NAME
19528: , 'Unit_List_Percent'

Line 19526: OE_MSG_PUB.Add_Exc_Msg

19522: WHEN OTHERS THEN
19523:
19524: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19525: THEN
19526: OE_MSG_PUB.Add_Exc_Msg
19527: ( G_PKG_NAME
19528: , 'Unit_List_Percent'
19529: );
19530: END IF;

Line 19563: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19559: EXCEPTION
19560:
19561: WHEN NO_DATA_FOUND THEN
19562:
19563: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19564: THEN
19565:
19566: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Selling_Percent');
19567:

Line 19566: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Selling_Percent');

19562:
19563: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19564: THEN
19565:
19566: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Selling_Percent');
19567:
19568: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19569: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19570: OE_Order_Util.Get_Attribute_Name('Unit_Selling_Percent'));

Line 19571: OE_MSG_PUB.Add;

19567:
19568: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19569: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19570: OE_Order_Util.Get_Attribute_Name('Unit_Selling_Percent'));
19571: OE_MSG_PUB.Add;
19572: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19573:
19574: END IF;
19575:

Line 19572: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19568: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19569: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19570: OE_Order_Util.Get_Attribute_Name('Unit_Selling_Percent'));
19571: OE_MSG_PUB.Add;
19572: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19573:
19574: END IF;
19575:
19576:

Line 19581: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19577: RETURN FALSE;
19578:
19579: WHEN OTHERS THEN
19580:
19581: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19582: THEN
19583: OE_MSG_PUB.Add_Exc_Msg
19584: ( G_PKG_NAME
19585: , 'Unit_Selling_Percent'

Line 19583: OE_MSG_PUB.Add_Exc_Msg

19579: WHEN OTHERS THEN
19580:
19581: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19582: THEN
19583: OE_MSG_PUB.Add_Exc_Msg
19584: ( G_PKG_NAME
19585: , 'Unit_Selling_Percent'
19586: );
19587: END IF;

Line 19620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19616: EXCEPTION
19617:
19618: WHEN NO_DATA_FOUND THEN
19619:
19620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19621: THEN
19622:
19623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Percent_base_Price');
19624:

Line 19623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Percent_base_Price');

19619:
19620: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19621: THEN
19622:
19623: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Percent_base_Price');
19624:
19625: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19626: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19627: OE_Order_Util.Get_Attribute_Name('Unit_Percent_Base_Price'));

Line 19628: OE_MSG_PUB.Add;

19624:
19625: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19626: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19627: OE_Order_Util.Get_Attribute_Name('Unit_Percent_Base_Price'));
19628: OE_MSG_PUB.Add;
19629: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19630:
19631: END IF;
19632:

Line 19629: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19625: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19626: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19627: OE_Order_Util.Get_Attribute_Name('Unit_Percent_Base_Price'));
19628: OE_MSG_PUB.Add;
19629: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19630:
19631: END IF;
19632:
19633:

Line 19638: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19634: RETURN FALSE;
19635:
19636: WHEN OTHERS THEN
19637:
19638: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19639: THEN
19640: OE_MSG_PUB.Add_Exc_Msg
19641: ( G_PKG_NAME
19642: , 'Unit_Percent_Base_Price'

Line 19640: OE_MSG_PUB.Add_Exc_Msg

19636: WHEN OTHERS THEN
19637:
19638: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19639: THEN
19640: OE_MSG_PUB.Add_Exc_Msg
19641: ( G_PKG_NAME
19642: , 'Unit_Percent_Base_Price'
19643: );
19644: END IF;

Line 19677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19673: EXCEPTION
19674:
19675: WHEN NO_DATA_FOUND THEN
19676:
19677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19678: THEN
19679:
19680: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Number');
19681:

Line 19680: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Number');

19676:
19677: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19678: THEN
19679:
19680: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Number');
19681:
19682: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19683: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19684: OE_Order_Util.Get_Attribute_Name('Service_Number'));

Line 19685: OE_MSG_PUB.Add;

19681:
19682: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19683: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19684: OE_Order_Util.Get_Attribute_Name('Service_Number'));
19685: OE_MSG_PUB.Add;
19686: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19687:
19688: END IF;
19689:

Line 19686: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19682: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19683: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19684: OE_Order_Util.Get_Attribute_Name('Service_Number'));
19685: OE_MSG_PUB.Add;
19686: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19687:
19688: END IF;
19689:
19690:

Line 19695: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19691: RETURN FALSE;
19692:
19693: WHEN OTHERS THEN
19694:
19695: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19696: THEN
19697: OE_MSG_PUB.Add_Exc_Msg
19698: ( G_PKG_NAME
19699: , 'Service_Number'

Line 19697: OE_MSG_PUB.Add_Exc_Msg

19693: WHEN OTHERS THEN
19694:
19695: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19696: THEN
19697: OE_MSG_PUB.Add_Exc_Msg
19698: ( G_PKG_NAME
19699: , 'Service_Number'
19700: );
19701: END IF;

Line 19734: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19730: EXCEPTION
19731:
19732: WHEN NO_DATA_FOUND THEN
19733:
19734: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19735: THEN
19736:
19737: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Type_Code');
19738:

Line 19737: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Type_Code');

19733:
19734: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19735: THEN
19736:
19737: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Type_Code');
19738:
19739: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19740: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19741: OE_Order_Util.Get_Attribute_Name('Service_Reference_Type_Code'));

Line 19742: OE_MSG_PUB.Add;

19738:
19739: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19740: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19741: OE_Order_Util.Get_Attribute_Name('Service_Reference_Type_Code'));
19742: OE_MSG_PUB.Add;
19743: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19744:
19745: END IF;
19746:

Line 19743: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19739: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19740: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19741: OE_Order_Util.Get_Attribute_Name('Service_Reference_Type_Code'));
19742: OE_MSG_PUB.Add;
19743: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19744:
19745: END IF;
19746:
19747:

Line 19752: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19748: RETURN FALSE;
19749:
19750: WHEN OTHERS THEN
19751:
19752: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19753: THEN
19754: OE_MSG_PUB.Add_Exc_Msg
19755: ( G_PKG_NAME
19756: , 'Service_Reference_Type_Code'

Line 19754: OE_MSG_PUB.Add_Exc_Msg

19750: WHEN OTHERS THEN
19751:
19752: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19753: THEN
19754: OE_MSG_PUB.Add_Exc_Msg
19755: ( G_PKG_NAME
19756: , 'Service_Reference_Type_Code'
19757: );
19758: END IF;

Line 19791: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19787: EXCEPTION
19788:
19789: WHEN NO_DATA_FOUND THEN
19790:
19791: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19792: THEN
19793:
19794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Line_id');
19795:

Line 19794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Line_id');

19790:
19791: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19792: THEN
19793:
19794: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Line_id');
19795:
19796: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19797: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19798: OE_Order_Util.Get_Attribute_Name('Service_Reference_Line_Id'));

Line 19799: OE_MSG_PUB.Add;

19795:
19796: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19797: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19798: OE_Order_Util.Get_Attribute_Name('Service_Reference_Line_Id'));
19799: OE_MSG_PUB.Add;
19800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19801:
19802: END IF;
19803:

Line 19800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19796: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19797: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19798: OE_Order_Util.Get_Attribute_Name('Service_Reference_Line_Id'));
19799: OE_MSG_PUB.Add;
19800: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19801:
19802: END IF;
19803:
19804:

Line 19809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19805: RETURN FALSE;
19806:
19807: WHEN OTHERS THEN
19808:
19809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19810: THEN
19811: OE_MSG_PUB.Add_Exc_Msg
19812: ( G_PKG_NAME
19813: , 'Service_Reference_Line'

Line 19811: OE_MSG_PUB.Add_Exc_Msg

19807: WHEN OTHERS THEN
19808:
19809: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19810: THEN
19811: OE_MSG_PUB.Add_Exc_Msg
19812: ( G_PKG_NAME
19813: , 'Service_Reference_Line'
19814: );
19815: END IF;

Line 19848: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19844: EXCEPTION
19845:
19846: WHEN NO_DATA_FOUND THEN
19847:
19848: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19849: THEN
19850:
19851: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_System_id');
19852:

Line 19851: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_System_id');

19847:
19848: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19849: THEN
19850:
19851: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_System_id');
19852:
19853: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19854: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19855: OE_Order_Util.Get_Attribute_Name('Service_Reference_System_Id'));

Line 19856: OE_MSG_PUB.Add;

19852:
19853: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19854: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19855: OE_Order_Util.Get_Attribute_Name('Service_Reference_System_Id'));
19856: OE_MSG_PUB.Add;
19857: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19858:
19859: END IF;
19860:

Line 19857: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19853: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19854: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19855: OE_Order_Util.Get_Attribute_Name('Service_Reference_System_Id'));
19856: OE_MSG_PUB.Add;
19857: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19858:
19859: END IF;
19860:
19861:

Line 19866: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19862: RETURN FALSE;
19863:
19864: WHEN OTHERS THEN
19865:
19866: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19867: THEN
19868: OE_MSG_PUB.Add_Exc_Msg
19869: ( G_PKG_NAME
19870: , 'Service_Reference_System'

Line 19868: OE_MSG_PUB.Add_Exc_Msg

19864: WHEN OTHERS THEN
19865:
19866: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19867: THEN
19868: OE_MSG_PUB.Add_Exc_Msg
19869: ( G_PKG_NAME
19870: , 'Service_Reference_System'
19871: );
19872: END IF;

Line 19915: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19911: EXCEPTION
19912:
19913: WHEN NO_DATA_FOUND THEN
19914:
19915: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19916: THEN
19917:
19918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
19919:

Line 19918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');

19914:
19915: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19916: THEN
19917:
19918: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
19919:
19920: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19921: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19922: OE_Order_Util.Get_Attribute_Name('flow_status_code'));

Line 19923: OE_MSG_PUB.Add;

19919:
19920: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19921: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19922: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
19923: OE_MSG_PUB.Add;
19924: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19925:
19926: END IF;
19927:

Line 19924: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19920: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19921: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19922: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
19923: OE_MSG_PUB.Add;
19924: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19925:
19926: END IF;
19927:
19928:

Line 19933: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19929: RETURN FALSE;
19930:
19931: WHEN OTHERS THEN
19932:
19933: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19934: THEN
19935: OE_MSG_PUB.Add_Exc_Msg
19936: ( G_PKG_NAME
19937: , 'Line_Flow_Status'

Line 19935: OE_MSG_PUB.Add_Exc_Msg

19931: WHEN OTHERS THEN
19932:
19933: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19934: THEN
19935: OE_MSG_PUB.Add_Exc_Msg
19936: ( G_PKG_NAME
19937: , 'Line_Flow_Status'
19938: );
19939: END IF;

Line 19979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

19975: EXCEPTION
19976:
19977: WHEN NO_DATA_FOUND THEN
19978:
19979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19980: THEN
19981:
19982: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
19983:

Line 19982: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');

19978:
19979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19980: THEN
19981:
19982: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
19983:
19984: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19985: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19986: OE_Order_Util.Get_Attribute_Name('flow_status_code'));

Line 19987: OE_MSG_PUB.Add;

19983:
19984: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19985: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19986: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
19987: OE_MSG_PUB.Add;
19988: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19989:
19990: END IF;
19991:

Line 19988: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

19984: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19985: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19986: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
19987: OE_MSG_PUB.Add;
19988: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19989:
19990: END IF;
19991:
19992:

Line 19997: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

19993: RETURN FALSE;
19994:
19995: WHEN OTHERS THEN
19996:
19997: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19998: THEN
19999: OE_MSG_PUB.Add_Exc_Msg
20000: ( G_PKG_NAME
20001: , 'Flow_Status'

Line 19999: OE_MSG_PUB.Add_Exc_Msg

19995: WHEN OTHERS THEN
19996:
19997: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19998: THEN
19999: OE_MSG_PUB.Add_Exc_Msg
20000: ( G_PKG_NAME
20001: , 'Flow_Status'
20002: );
20003: END IF;

Line 20035: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20031:
20032: WHEN NO_DATA_FOUND THEN
20033:
20034:
20035: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20036: THEN
20037:
20038: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_ACTION_CODE');
20039:

Line 20038: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_ACTION_CODE');

20034:
20035: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20036: THEN
20037:
20038: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_ACTION_CODE');
20039:
20040: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20041: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20042: OE_Order_Util.Get_Attribute_Name('split_action_code'));

Line 20043: OE_MSG_PUB.Add;

20039:
20040: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20041: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20042: OE_Order_Util.Get_Attribute_Name('split_action_code'));
20043: OE_MSG_PUB.Add;
20044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20045:
20046: END IF;
20047:

Line 20044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20040: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20041: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20042: OE_Order_Util.Get_Attribute_Name('split_action_code'));
20043: OE_MSG_PUB.Add;
20044: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20045:
20046: END IF;
20047:
20048:

Line 20053: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20049: RETURN FALSE;
20050:
20051: WHEN OTHERS THEN
20052:
20053: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20054: THEN
20055: OE_MSG_PUB.Add_Exc_Msg
20056: ( G_PKG_NAME
20057: , 'Split Action'

Line 20055: OE_MSG_PUB.Add_Exc_Msg

20051: WHEN OTHERS THEN
20052:
20053: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20054: THEN
20055: OE_MSG_PUB.Add_Exc_Msg
20056: ( G_PKG_NAME
20057: , 'Split Action'
20058: );
20059: END IF;

Line 20093: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20089: EXCEPTION
20090:
20091: WHEN NO_DATA_FOUND THEN
20092:
20093: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20094: THEN
20095:
20096: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Marketing_Source_Code_id');
20097:

Line 20096: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Marketing_Source_Code_id');

20092:
20093: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20094: THEN
20095:
20096: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Marketing_Source_Code_id');
20097:
20098: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20099: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20100: OE_Order_Util.Get_Attribute_Name('Marketing_Source_Code_Id'));

Line 20101: OE_MSG_PUB.Add;

20097:
20098: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20099: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20100: OE_Order_Util.Get_Attribute_Name('Marketing_Source_Code_Id'));
20101: OE_MSG_PUB.Add;
20102: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20103:
20104: END IF;
20105:

Line 20102: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20098: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20099: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20100: OE_Order_Util.Get_Attribute_Name('Marketing_Source_Code_Id'));
20101: OE_MSG_PUB.Add;
20102: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20103:
20104: END IF;
20105:
20106:

Line 20111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20107: RETURN FALSE;
20108:
20109: WHEN OTHERS THEN
20110:
20111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20112: THEN
20113: OE_MSG_PUB.Add_Exc_Msg
20114: ( G_PKG_NAME
20115: , 'Marketing_Source_Code'

Line 20113: OE_MSG_PUB.Add_Exc_Msg

20109: WHEN OTHERS THEN
20110:
20111: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20112: THEN
20113: OE_MSG_PUB.Add_Exc_Msg
20114: ( G_PKG_NAME
20115: , 'Marketing_Source_Code'
20116: );
20117: END IF;

Line 20152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20148:
20149: WHEN NO_DATA_FOUND THEN
20150:
20151:
20152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20153: THEN
20154:
20155: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_ID');
20156:

Line 20155: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_ID');

20151:
20152: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20153: THEN
20154:
20155: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_ID');
20156:
20157: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20158: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20159: OE_Order_Util.Get_Attribute_Name('COST_ID'));

Line 20160: OE_MSG_PUB.Add;

20156:
20157: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20158: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20159: OE_Order_Util.Get_Attribute_Name('COST_ID'));
20160: OE_MSG_PUB.Add;
20161: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20162:
20163: END IF;
20164:

Line 20161: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20157: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20158: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20159: OE_Order_Util.Get_Attribute_Name('COST_ID'));
20160: OE_MSG_PUB.Add;
20161: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20162:
20163: END IF;
20164:
20165:

Line 20170: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20166: RETURN FALSE;
20167:
20168: WHEN OTHERS THEN
20169:
20170: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20171: THEN
20172: OE_MSG_PUB.Add_Exc_Msg
20173: ( G_PKG_NAME
20174: , 'Cost Id '

Line 20172: OE_MSG_PUB.Add_Exc_Msg

20168: WHEN OTHERS THEN
20169:
20170: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20171: THEN
20172: OE_MSG_PUB.Add_Exc_Msg
20173: ( G_PKG_NAME
20174: , 'Cost Id '
20175: );
20176: END IF;

Line 20208: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20204:
20205: WHEN NO_DATA_FOUND THEN
20206:
20207:
20208: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20209: THEN
20210:
20211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_CODE');
20212:

Line 20211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_CODE');

20207:
20208: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20209: THEN
20210:
20211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_CODE');
20212:
20213: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20214: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20215: OE_Order_Util.Get_Attribute_Name('CHARGE_TYPE_CODE'));

Line 20216: OE_MSG_PUB.Add;

20212:
20213: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20214: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20215: OE_Order_Util.Get_Attribute_Name('CHARGE_TYPE_CODE'));
20216: OE_MSG_PUB.Add;
20217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20218:
20219: END IF;
20220:

Line 20217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20213: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20214: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20215: OE_Order_Util.Get_Attribute_Name('CHARGE_TYPE_CODE'));
20216: OE_MSG_PUB.Add;
20217: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20218:
20219: END IF;
20220:
20221:

Line 20226: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20222: RETURN FALSE;
20223:
20224: WHEN OTHERS THEN
20225:
20226: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20227: THEN
20228: OE_MSG_PUB.Add_Exc_Msg
20229: ( G_PKG_NAME
20230: , 'Charge Type'

Line 20228: OE_MSG_PUB.Add_Exc_Msg

20224: WHEN OTHERS THEN
20225:
20226: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20227: THEN
20228: OE_MSG_PUB.Add_Exc_Msg
20229: ( G_PKG_NAME
20230: , 'Charge Type'
20231: );
20232: END IF;

Line 20265: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20261:
20262: WHEN NO_DATA_FOUND THEN
20263:
20264:
20265: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20266: THEN
20267:
20268: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_SUBTYPE_CODE');
20269:

Line 20268: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_SUBTYPE_CODE');

20264:
20265: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20266: THEN
20267:
20268: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_SUBTYPE_CODE');
20269:
20270: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20271: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20272: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));

Line 20273: OE_MSG_PUB.Add;

20269:
20270: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20271: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20272: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));
20273: OE_MSG_PUB.Add;
20274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20275:
20276: END IF;
20277:

Line 20274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20270: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20271: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20272: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));
20273: OE_MSG_PUB.Add;
20274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20275:
20276: END IF;
20277:
20278:

Line 20283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20279: RETURN FALSE;
20280:
20281: WHEN OTHERS THEN
20282:
20283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20284: THEN
20285: OE_MSG_PUB.Add_Exc_Msg
20286: ( G_PKG_NAME
20287: , 'Charge Sub Type'

Line 20285: OE_MSG_PUB.Add_Exc_Msg

20281: WHEN OTHERS THEN
20282:
20283: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20284: THEN
20285: OE_MSG_PUB.Add_Exc_Msg
20286: ( G_PKG_NAME
20287: , 'Charge Sub Type'
20288: );
20289: END IF;

Line 20322: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20318:
20319: WHEN NO_DATA_FOUND THEN
20320:
20321:
20322: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20323: THEN
20324:
20325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_ID');
20326:

Line 20325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_ID');

20321:
20322: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20323: THEN
20324:
20325: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_ID');
20326:
20327: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20328: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20329: OE_Order_Util.Get_Attribute_Name('COMMITMENT_ID'));

Line 20330: OE_MSG_PUB.Add;

20326:
20327: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20328: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20329: OE_Order_Util.Get_Attribute_Name('COMMITMENT_ID'));
20330: OE_MSG_PUB.Add;
20331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20332:
20333: END IF;
20334:

Line 20331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20327: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20328: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20329: OE_Order_Util.Get_Attribute_Name('COMMITMENT_ID'));
20330: OE_MSG_PUB.Add;
20331: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20332:
20333: END IF;
20334:
20335:

Line 20340: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20336: RETURN FALSE;
20337:
20338: WHEN OTHERS THEN
20339:
20340: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20341: THEN
20342: OE_MSG_PUB.Add_Exc_Msg
20343: ( G_PKG_NAME
20344: , 'Commitment'

Line 20342: OE_MSG_PUB.Add_Exc_Msg

20338: WHEN OTHERS THEN
20339:
20340: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20341: THEN
20342: OE_MSG_PUB.Add_Exc_Msg
20343: ( G_PKG_NAME
20344: , 'Commitment'
20345: );
20346: END IF;

Line 20385: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20381:
20382: WHEN NO_DATA_FOUND THEN
20383:
20384:
20385: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20386: THEN
20387:
20388: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_OR_CHARGE_FLAG');
20389:

Line 20388: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_OR_CHARGE_FLAG');

20384:
20385: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20386: THEN
20387:
20388: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_OR_CHARGE_FLAG');
20389:
20390: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20391: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20392: OE_Order_Util.Get_Attribute_Name('CREDIT_OR_CHARGE_FLAG'));

Line 20393: OE_MSG_PUB.Add;

20389:
20390: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20391: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20392: OE_Order_Util.Get_Attribute_Name('CREDIT_OR_CHARGE_FLAG'));
20393: OE_MSG_PUB.Add;
20394: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20395:
20396: END IF;
20397:

Line 20394: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20390: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20391: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20392: OE_Order_Util.Get_Attribute_Name('CREDIT_OR_CHARGE_FLAG'));
20393: OE_MSG_PUB.Add;
20394: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20395:
20396: END IF;
20397:
20398:

Line 20403: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20399: RETURN FALSE;
20400:
20401: WHEN OTHERS THEN
20402:
20403: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20404: THEN
20405: OE_MSG_PUB.Add_Exc_Msg
20406: ( G_PKG_NAME
20407: , 'Credit Or Charge Flag '

Line 20405: OE_MSG_PUB.Add_Exc_Msg

20401: WHEN OTHERS THEN
20402:
20403: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20404: THEN
20405: OE_MSG_PUB.Add_Exc_Msg
20406: ( G_PKG_NAME
20407: , 'Credit Or Charge Flag '
20408: );
20409: END IF;

Line 20448: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20444:
20445: WHEN NO_DATA_FOUND THEN
20446:
20447:
20448: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20449: THEN
20450:
20451: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INCLUDE_ON_RETURNS_FLAG');
20452:

Line 20451: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INCLUDE_ON_RETURNS_FLAG');

20447:
20448: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20449: THEN
20450:
20451: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INCLUDE_ON_RETURNS_FLAG');
20452:
20453: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20454: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20455: OE_Order_Util.Get_Attribute_Name('INCLUDE_ON_RETURNS_FLAG'));

Line 20456: OE_MSG_PUB.Add;

20452:
20453: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20454: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20455: OE_Order_Util.Get_Attribute_Name('INCLUDE_ON_RETURNS_FLAG'));
20456: OE_MSG_PUB.Add;
20457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20458:
20459: END IF;
20460:

Line 20457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20453: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20454: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20455: OE_Order_Util.Get_Attribute_Name('INCLUDE_ON_RETURNS_FLAG'));
20456: OE_MSG_PUB.Add;
20457: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20458:
20459: END IF;
20460:
20461:

Line 20466: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20462: RETURN FALSE;
20463:
20464: WHEN OTHERS THEN
20465:
20466: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20467: THEN
20468: OE_MSG_PUB.Add_Exc_Msg
20469: ( G_PKG_NAME
20470: , 'Include On Returns Flag'

Line 20468: OE_MSG_PUB.Add_Exc_Msg

20464: WHEN OTHERS THEN
20465:
20466: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20467: THEN
20468: OE_MSG_PUB.Add_Exc_Msg
20469: ( G_PKG_NAME
20470: , 'Include On Returns Flag'
20471: );
20472: END IF;

Line 20523: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20519:
20520: WHEN NO_DATA_FOUND THEN
20521:
20522:
20523: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20524: THEN
20525:
20526: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CHANNEL_CODE');
20527:

Line 20526: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CHANNEL_CODE');

20522:
20523: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20524: THEN
20525:
20526: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CHANNEL_CODE');
20527:
20528: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
20529: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20530: OE_Order_Util.Get_Attribute_Name('SALES_CHANNEL_CODE'));

Line 20531: OE_MSG_PUB.Add;

20527:
20528: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
20529: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20530: OE_Order_Util.Get_Attribute_Name('SALES_CHANNEL_CODE'));
20531: OE_MSG_PUB.Add;
20532:
20533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20534:
20535: END IF;

Line 20533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20529: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20530: OE_Order_Util.Get_Attribute_Name('SALES_CHANNEL_CODE'));
20531: OE_MSG_PUB.Add;
20532:
20533: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20534:
20535: END IF;
20536:
20537:

Line 20542: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20538: RETURN FALSE;
20539:
20540: WHEN OTHERS THEN
20541:
20542: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20543: THEN
20544: OE_MSG_PUB.Add_Exc_Msg
20545: ( G_PKG_NAME
20546: , 'Sales_Channel'

Line 20544: OE_MSG_PUB.Add_Exc_Msg

20540: WHEN OTHERS THEN
20541:
20542: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20543: THEN
20544: OE_MSG_PUB.Add_Exc_Msg
20545: ( G_PKG_NAME
20546: , 'Sales_Channel'
20547: );
20548: END IF;

Line 20579: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

20575: EXCEPTION
20576:
20577: WHEN NO_DATA_FOUND THEN
20578:
20579: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20580: THEN
20581:
20582: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_SITE_USE_ID');
20583:

Line 20582: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_SITE_USE_ID');

20578:
20579: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20580: THEN
20581:
20582: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_SITE_USE_ID');
20583:
20584: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20585: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20586: OE_Order_Util.Get_Attribute_Name('sold_to_site_use_id'));

Line 20587: OE_MSG_PUB.Add;

20583:
20584: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20585: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20586: OE_Order_Util.Get_Attribute_Name('sold_to_site_use_id'));
20587: OE_MSG_PUB.Add;
20588: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20589:
20590: END IF;
20591:

Line 20588: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);

20584: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20585: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20586: OE_Order_Util.Get_Attribute_Name('sold_to_site_use_id'));
20587: OE_MSG_PUB.Add;
20588: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20589:
20590: END IF;
20591:
20592:

Line 20597: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

20593: RETURN FALSE;
20594:
20595: WHEN OTHERS THEN
20596:
20597: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20598: THEN
20599: OE_MSG_PUB.Add_Exc_Msg
20600: ( G_PKG_NAME
20601: , 'Customer_Location'

Line 20599: OE_MSG_PUB.Add_Exc_Msg

20595: WHEN OTHERS THEN
20596:
20597: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20598: THEN
20599: OE_MSG_PUB.Add_Exc_Msg
20600: ( G_PKG_NAME
20601: , 'Customer_Location'
20602: );
20603: END IF;