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 11349: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)

11345: EXCEPTION
11346:
11347: WHEN NO_DATA_FOUND THEN
11348:
11349: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11350: THEN
11351:
11352: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_TYPE_CODE');
11353:

Line 11352: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_TYPE_CODE');

11348:
11349: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11350: THEN
11351:
11352: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ITEM_TYPE_CODE');
11353:
11354: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11355: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11356: OE_Order_Util.Get_Attribute_Name('item_type_code'));

Line 11357: OE_MSG_PUB.Add;

11353:
11354: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11355: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11356: OE_Order_Util.Get_Attribute_Name('item_type_code'));
11357: OE_MSG_PUB.Add;
11358: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11359:
11360: END IF;
11361:

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

11354: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11355: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11356: OE_Order_Util.Get_Attribute_Name('item_type_code'));
11357: OE_MSG_PUB.Add;
11358: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11359:
11360: END IF;
11361:
11362:

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

11363: RETURN FALSE;
11364:
11365: WHEN OTHERS THEN
11366:
11367: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11368: THEN
11369: OE_MSG_PUB.Add_Exc_Msg
11370: ( G_PKG_NAME
11371: , 'Item_Type'

Line 11369: OE_MSG_PUB.Add_Exc_Msg

11365: WHEN OTHERS THEN
11366:
11367: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11368: THEN
11369: OE_MSG_PUB.Add_Exc_Msg
11370: ( G_PKG_NAME
11371: , 'Item_Type'
11372: );
11373: END IF;

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

11402: EXCEPTION
11403:
11404: WHEN NO_DATA_FOUND THEN
11405:
11406: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11407: THEN
11408:
11409: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_CATEGORY_CODE');
11410:

Line 11409: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_CATEGORY_CODE');

11405:
11406: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11407: THEN
11408:
11409: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LINE_CATEGORY_CODE');
11410:
11411: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11412: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11413: OE_Order_Util.Get_Attribute_Name('line_category_code'));

Line 11414: OE_MSG_PUB.Add;

11410:
11411: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11412: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11413: OE_Order_Util.Get_Attribute_Name('line_category_code'));
11414: OE_MSG_PUB.Add;
11415: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11416:
11417: END IF;
11418:

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

11411: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11412: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11413: OE_Order_Util.Get_Attribute_Name('line_category_code'));
11414: OE_MSG_PUB.Add;
11415: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11416:
11417: END IF;
11418:
11419:

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

11420: RETURN FALSE;
11421:
11422: WHEN OTHERS THEN
11423:
11424: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11425: THEN
11426: OE_MSG_PUB.Add_Exc_Msg
11427: ( G_PKG_NAME
11428: , 'Line_Category'

Line 11426: OE_MSG_PUB.Add_Exc_Msg

11422: WHEN OTHERS THEN
11423:
11424: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11425: THEN
11426: OE_MSG_PUB.Add_Exc_Msg
11427: ( G_PKG_NAME
11428: , 'Line_Category'
11429: );
11430: END IF;

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

11459: EXCEPTION
11460:
11461: WHEN NO_DATA_FOUND THEN
11462:
11463: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11464: THEN
11465:
11466: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPEN_FLAG');
11467:

Line 11466: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPEN_FLAG');

11462:
11463: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11464: THEN
11465:
11466: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPEN_FLAG');
11467:
11468: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11469: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11470: OE_Order_Util.Get_Attribute_Name('open_flag'));

Line 11471: OE_MSG_PUB.Add;

11467:
11468: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11469: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11470: OE_Order_Util.Get_Attribute_Name('open_flag'));
11471: OE_MSG_PUB.Add;
11472: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11473:
11474: END IF;
11475:

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

11468: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11469: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11470: OE_Order_Util.Get_Attribute_Name('open_flag'));
11471: OE_MSG_PUB.Add;
11472: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11473:
11474: END IF;
11475:
11476:

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

11477: RETURN FALSE;
11478:
11479: WHEN OTHERS THEN
11480:
11481: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11482: THEN
11483: OE_MSG_PUB.Add_Exc_Msg
11484: ( G_PKG_NAME
11485: , 'Open'

Line 11483: OE_MSG_PUB.Add_Exc_Msg

11479: WHEN OTHERS THEN
11480:
11481: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11482: THEN
11483: OE_MSG_PUB.Add_Exc_Msg
11484: ( G_PKG_NAME
11485: , 'Open'
11486: );
11487: END IF;

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

11517: EXCEPTION
11518:
11519: WHEN NO_DATA_FOUND THEN
11520:
11521: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11522: THEN
11523:
11524: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_FLAG');
11525:

Line 11524: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_FLAG');

11520:
11521: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11522: THEN
11523:
11524: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OPTION_FLAG');
11525:
11526: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11527: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11528: OE_Order_Util.Get_Attribute_Name('option_flag'));

Line 11529: OE_MSG_PUB.Add;

11525:
11526: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11527: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11528: OE_Order_Util.Get_Attribute_Name('option_flag'));
11529: OE_MSG_PUB.Add;
11530: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11531:
11532: END IF;
11533:

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

11526: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11527: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11528: OE_Order_Util.Get_Attribute_Name('option_flag'));
11529: OE_MSG_PUB.Add;
11530: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11531:
11532: END IF;
11533:
11534:

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

11535: RETURN FALSE;
11536:
11537: WHEN OTHERS THEN
11538:
11539: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11540: THEN
11541: OE_MSG_PUB.Add_Exc_Msg
11542: ( G_PKG_NAME
11543: , 'Option_Flag'

Line 11541: OE_MSG_PUB.Add_Exc_Msg

11537: WHEN OTHERS THEN
11538:
11539: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11540: THEN
11541: OE_MSG_PUB.Add_Exc_Msg
11542: ( G_PKG_NAME
11543: , 'Option_Flag'
11544: );
11545: END IF;

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

11579: EXCEPTION
11580:
11581: WHEN NO_DATA_FOUND THEN
11582:
11583: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11584: THEN
11585:
11586: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY');
11587:

Line 11586: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY');

11582:
11583: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11584: THEN
11585:
11586: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ORDERED_QUANTITY');
11587:
11588: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11589: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11590: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));

Line 11591: OE_MSG_PUB.Add;

11587:
11588: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11589: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11590: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
11591: OE_MSG_PUB.Add;
11592: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11593:
11594: END IF;
11595:

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

11588: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11589: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11590: OE_Order_Util.Get_Attribute_Name('ordered_quantity'));
11591: OE_MSG_PUB.Add;
11592: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11593:
11594: END IF;
11595:
11596:

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

11597: RETURN FALSE;
11598:
11599: WHEN OTHERS THEN
11600:
11601: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11602: THEN
11603: OE_MSG_PUB.Add_Exc_Msg
11604: ( G_PKG_NAME
11605: , 'Ordered_Quantity'

Line 11603: OE_MSG_PUB.Add_Exc_Msg

11599: WHEN OTHERS THEN
11600:
11601: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11602: THEN
11603: OE_MSG_PUB.Add_Exc_Msg
11604: ( G_PKG_NAME
11605: , 'Ordered_Quantity'
11606: );
11607: END IF;

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

11633: EXCEPTION
11634:
11635: WHEN NO_DATA_FOUND THEN
11636:
11637: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11638: THEN
11639:
11640: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');
11641: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 11640: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');

11636:
11637: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11638: THEN
11639:
11640: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');
11641: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11642: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11643: OE_Order_Util.Get_Attribute_Name('ordered_quantity2'));
11644: OE_MSG_PUB.Add;

Line 11644: OE_MSG_PUB.Add;

11640: OE_MSG_PUB.Update_Msg_Context(p_attribute_code =>'ORDERED_QUANTITY2');
11641: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11642: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11643: OE_Order_Util.Get_Attribute_Name('ordered_quantity2'));
11644: OE_MSG_PUB.Add;
11645: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11646:
11647: END IF;
11648:

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

11641: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11642: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11643: OE_Order_Util.Get_Attribute_Name('ordered_quantity2'));
11644: OE_MSG_PUB.Add;
11645: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11646:
11647: END IF;
11648:
11649:

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

11650: RETURN FALSE;
11651:
11652: WHEN OTHERS THEN
11653:
11654: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11655: THEN
11656: OE_MSG_PUB.Add_Exc_Msg
11657: ( G_PKG_NAME
11658: , 'Ordered_Quantity2'

Line 11656: OE_MSG_PUB.Add_Exc_Msg

11652: WHEN OTHERS THEN
11653:
11654: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11655: THEN
11656: OE_MSG_PUB.Add_Exc_Msg
11657: ( G_PKG_NAME
11658: , 'Ordered_Quantity2'
11659: );
11660: END IF;

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

11693: EXCEPTION
11694:
11695: WHEN NO_DATA_FOUND THEN
11696:
11697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11698: THEN
11699:
11700: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROMISE_DATE');
11701:

Line 11700: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROMISE_DATE');

11696:
11697: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11698: THEN
11699:
11700: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PROMISE_DATE');
11701:
11702: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11703: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11704: OE_Order_Util.Get_Attribute_Name('promise_date'));

Line 11705: OE_MSG_PUB.Add;

11701:
11702: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11703: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11704: OE_Order_Util.Get_Attribute_Name('promise_date'));
11705: OE_MSG_PUB.Add;
11706: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11707:
11708: END IF;
11709:

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

11702: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11703: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11704: OE_Order_Util.Get_Attribute_Name('promise_date'));
11705: OE_MSG_PUB.Add;
11706: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11707:
11708: END IF;
11709:
11710:

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

11711: RETURN FALSE;
11712:
11713: WHEN OTHERS THEN
11714:
11715: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11716: THEN
11717: OE_MSG_PUB.Add_Exc_Msg
11718: ( G_PKG_NAME
11719: , 'Promise_Date'

Line 11717: OE_MSG_PUB.Add_Exc_Msg

11713: WHEN OTHERS THEN
11714:
11715: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11716: THEN
11717: OE_MSG_PUB.Add_Exc_Msg
11718: ( G_PKG_NAME
11719: , 'Promise_Date'
11720: );
11721: END IF;

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

11752: EXCEPTION
11753:
11754: WHEN NO_DATA_FOUND THEN
11755:
11756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11757: THEN
11758:
11759: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RE_SOURCE_FLAG');
11760:

Line 11759: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RE_SOURCE_FLAG');

11755:
11756: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11757: THEN
11758:
11759: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RE_SOURCE_FLAG');
11760:
11761: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11762: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11763: OE_Order_Util.Get_Attribute_Name('re_source_flag'));

Line 11764: OE_MSG_PUB.Add;

11760:
11761: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11762: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11763: OE_Order_Util.Get_Attribute_Name('re_source_flag'));
11764: OE_MSG_PUB.Add;
11765: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11766:
11767: END IF;
11768:

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

11761: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11762: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11763: OE_Order_Util.Get_Attribute_Name('re_source_flag'));
11764: OE_MSG_PUB.Add;
11765: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11766:
11767: END IF;
11768:
11769:

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

11770: RETURN FALSE;
11771:
11772: WHEN OTHERS THEN
11773:
11774: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11775: THEN
11776: OE_MSG_PUB.Add_Exc_Msg
11777: ( G_PKG_NAME
11778: , 'Re_Source_Flag'

Line 11776: OE_MSG_PUB.Add_Exc_Msg

11772: WHEN OTHERS THEN
11773:
11774: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11775: THEN
11776: OE_MSG_PUB.Add_Exc_Msg
11777: ( G_PKG_NAME
11778: , 'Re_Source_Flag'
11779: );
11780: END IF;

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

11810: EXCEPTION
11811:
11812: WHEN NO_DATA_FOUND THEN
11813:
11814: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11815: THEN
11816:
11817: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RLA_SCHEDULE_TYPE_CODE');
11818:

Line 11817: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RLA_SCHEDULE_TYPE_CODE');

11813:
11814: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11815: THEN
11816:
11817: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RLA_SCHEDULE_TYPE_CODE');
11818:
11819: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11820: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11821: OE_Order_Util.Get_Attribute_Name('rla_schedule_type_code'));

Line 11822: OE_MSG_PUB.Add;

11818:
11819: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11820: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11821: OE_Order_Util.Get_Attribute_Name('rla_schedule_type_code'));
11822: OE_MSG_PUB.Add;
11823: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11824:
11825: END IF;
11826:

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

11819: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11820: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11821: OE_Order_Util.Get_Attribute_Name('rla_schedule_type_code'));
11822: OE_MSG_PUB.Add;
11823: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11824:
11825: END IF;
11826:
11827:

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

11828: RETURN FALSE;
11829:
11830: WHEN OTHERS THEN
11831:
11832: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11833: THEN
11834: OE_MSG_PUB.Add_Exc_Msg
11835: ( G_PKG_NAME
11836: , 'Rla_Schedule_Type'

Line 11834: OE_MSG_PUB.Add_Exc_Msg

11830: WHEN OTHERS THEN
11831:
11832: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11833: THEN
11834: OE_MSG_PUB.Add_Exc_Msg
11835: ( G_PKG_NAME
11836: , 'Rla_Schedule_Type'
11837: );
11838: END IF;

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

11867: EXCEPTION
11868:
11869: WHEN NO_DATA_FOUND THEN
11870:
11871: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11872: THEN
11873:
11874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_SHIP_DATE');
11875:

Line 11874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_SHIP_DATE');

11870:
11871: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11872: THEN
11873:
11874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_SHIP_DATE');
11875:
11876: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11877: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11878: OE_Order_Util.Get_Attribute_Name('schedule_ship_date'));

Line 11879: OE_MSG_PUB.Add;

11875:
11876: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11877: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11878: OE_Order_Util.Get_Attribute_Name('schedule_ship_date'));
11879: OE_MSG_PUB.Add;
11880: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11881:
11882: END IF;
11883:

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

11876: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11877: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11878: OE_Order_Util.Get_Attribute_Name('schedule_ship_date'));
11879: OE_MSG_PUB.Add;
11880: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11881:
11882: END IF;
11883:
11884:

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

11885: RETURN FALSE;
11886:
11887: WHEN OTHERS THEN
11888:
11889: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11890: THEN
11891: OE_MSG_PUB.Add_Exc_Msg
11892: ( G_PKG_NAME
11893: , 'schedule_ship_date'

Line 11891: OE_MSG_PUB.Add_Exc_Msg

11887: WHEN OTHERS THEN
11888:
11889: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11890: THEN
11891: OE_MSG_PUB.Add_Exc_Msg
11892: ( G_PKG_NAME
11893: , 'schedule_ship_date'
11894: );
11895: END IF;

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

11925: EXCEPTION
11926:
11927: WHEN NO_DATA_FOUND THEN
11928:
11929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11930: THEN
11931:
11932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_STATUS_CODE');
11933:

Line 11932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_STATUS_CODE');

11928:
11929: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11930: THEN
11931:
11932: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_STATUS_CODE');
11933:
11934: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11935: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11936: OE_Order_Util.Get_Attribute_Name('schedule_status_code'));

Line 11937: OE_MSG_PUB.Add;

11933:
11934: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11935: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11936: OE_Order_Util.Get_Attribute_Name('schedule_status_code'));
11937: OE_MSG_PUB.Add;
11938: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11939:
11940: END IF;
11941:

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

11934: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
11935: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
11936: OE_Order_Util.Get_Attribute_Name('schedule_status_code'));
11937: OE_MSG_PUB.Add;
11938: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
11939:
11940: END IF;
11941:
11942:

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

11943: RETURN FALSE;
11944:
11945: WHEN OTHERS THEN
11946:
11947: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11948: THEN
11949: OE_MSG_PUB.Add_Exc_Msg
11950: ( G_PKG_NAME
11951: , 'Schedule_Status'

Line 11949: OE_MSG_PUB.Add_Exc_Msg

11945: WHEN OTHERS THEN
11946:
11947: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
11948: THEN
11949: OE_MSG_PUB.Add_Exc_Msg
11950: ( G_PKG_NAME
11951: , 'Schedule_Status'
11952: );
11953: END IF;

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

11994: EXCEPTION
11995:
11996: WHEN NO_DATA_FOUND THEN
11997:
11998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11999: THEN
12000:
12001: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_CODE');
12002:

Line 12001: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_CODE');

11997:
11998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
11999: THEN
12000:
12001: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_CODE');
12002:
12003: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12004: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12005: OE_Order_Util.Get_Attribute_Name('tax_code'));

Line 12006: OE_MSG_PUB.Add;

12002:
12003: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12004: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12005: OE_Order_Util.Get_Attribute_Name('tax_code'));
12006: OE_MSG_PUB.Add;
12007: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12008:
12009: END IF;
12010:

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

12003: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12004: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12005: OE_Order_Util.Get_Attribute_Name('tax_code'));
12006: OE_MSG_PUB.Add;
12007: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12008:
12009: END IF;
12010:
12011:

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

12012: RETURN FALSE;
12013:
12014: WHEN OTHERS THEN
12015:
12016: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12017: THEN
12018: OE_MSG_PUB.Add_Exc_Msg
12019: ( G_PKG_NAME
12020: , 'Tax'

Line 12018: OE_MSG_PUB.Add_Exc_Msg

12014: WHEN OTHERS THEN
12015:
12016: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12017: THEN
12018: OE_MSG_PUB.Add_Exc_Msg
12019: ( G_PKG_NAME
12020: , 'Tax'
12021: );
12022: END IF;

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

12052: EXCEPTION
12053:
12054: WHEN NO_DATA_FOUND THEN
12055:
12056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12057: THEN
12058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE');
12059:
12060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 12058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE');

12054: WHEN NO_DATA_FOUND THEN
12055:
12056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12057: THEN
12058: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_RATE');
12059:
12060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12061: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12062: OE_Order_Util.Get_Attribute_Name('tax_rate'));

Line 12063: OE_MSG_PUB.Add;

12059:
12060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12061: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12062: OE_Order_Util.Get_Attribute_Name('tax_rate'));
12063: OE_MSG_PUB.Add;
12064: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12065:
12066: END IF;
12067:

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

12060: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12061: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12062: OE_Order_Util.Get_Attribute_Name('tax_rate'));
12063: OE_MSG_PUB.Add;
12064: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12065:
12066: END IF;
12067:
12068:

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

12069: RETURN FALSE;
12070:
12071: WHEN OTHERS THEN
12072:
12073: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12074: THEN
12075: OE_MSG_PUB.Add_Exc_Msg
12076: ( G_PKG_NAME
12077: , 'Tax_Rate'

Line 12075: OE_MSG_PUB.Add_Exc_Msg

12071: WHEN OTHERS THEN
12072:
12073: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12074: THEN
12075: OE_MSG_PUB.Add_Exc_Msg
12076: ( G_PKG_NAME
12077: , 'Tax_Rate'
12078: );
12079: END IF;

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

12111: EXCEPTION
12112:
12113: WHEN NO_DATA_FOUND THEN
12114:
12115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12116: THEN
12117:
12118: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VISIBLE_DEMAND_FLAG');
12119:

Line 12118: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VISIBLE_DEMAND_FLAG');

12114:
12115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12116: THEN
12117:
12118: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VISIBLE_DEMAND_FLAG');
12119:
12120: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12121: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12122: OE_Order_Util.Get_Attribute_Name('visible_demand_flag'));

Line 12123: OE_MSG_PUB.Add;

12119:
12120: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12121: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12122: OE_Order_Util.Get_Attribute_Name('visible_demand_flag'));
12123: OE_MSG_PUB.Add;
12124: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12125:
12126: END IF;
12127:

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

12120: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12121: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12122: OE_Order_Util.Get_Attribute_Name('visible_demand_flag'));
12123: OE_MSG_PUB.Add;
12124: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12125:
12126: END IF;
12127:
12128:

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

12129: RETURN FALSE;
12130:
12131: WHEN OTHERS THEN
12132:
12133: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12134: THEN
12135: OE_MSG_PUB.Add_Exc_Msg
12136: ( G_PKG_NAME
12137: , 'Visible_Demand'

Line 12135: OE_MSG_PUB.Add_Exc_Msg

12131: WHEN OTHERS THEN
12132:
12133: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12134: THEN
12135: OE_MSG_PUB.Add_Exc_Msg
12136: ( G_PKG_NAME
12137: , 'Visible_Demand'
12138: );
12139: END IF;

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

12170: EXCEPTION
12171:
12172: WHEN NO_DATA_FOUND THEN
12173:
12174: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12175: THEN
12176:
12177: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY');
12178:

Line 12177: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY');

12173:
12174: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12175: THEN
12176:
12177: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY');
12178:
12179: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12180: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12181: OE_Order_Util.Get_Attribute_Name('shipped_quantity'));

Line 12182: OE_MSG_PUB.Add;

12178:
12179: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12180: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12181: OE_Order_Util.Get_Attribute_Name('shipped_quantity'));
12182: OE_MSG_PUB.Add;
12183: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12184:
12185: END IF;
12186:

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

12179: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12180: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12181: OE_Order_Util.Get_Attribute_Name('shipped_quantity'));
12182: OE_MSG_PUB.Add;
12183: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12184:
12185: END IF;
12186:
12187:

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

12188: RETURN FALSE;
12189:
12190: WHEN OTHERS THEN
12191:
12192: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12193: THEN
12194: OE_MSG_PUB.Add_Exc_Msg
12195: ( G_PKG_NAME
12196: , 'Shipped_Quantity'

Line 12194: OE_MSG_PUB.Add_Exc_Msg

12190: WHEN OTHERS THEN
12191:
12192: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12193: THEN
12194: OE_MSG_PUB.Add_Exc_Msg
12195: ( G_PKG_NAME
12196: , 'Shipped_Quantity'
12197: );
12198: END IF;

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

12228: EXCEPTION
12229:
12230: WHEN NO_DATA_FOUND THEN
12231:
12232: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12233: THEN
12234:
12235: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY2');
12236:

Line 12235: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY2');

12231:
12232: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12233: THEN
12234:
12235: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIPPED_QUANTITY2');
12236:
12237: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12238: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12239: OE_Order_Util.Get_Attribute_Name('shipped_quantity2'));

Line 12240: OE_MSG_PUB.Add;

12236:
12237: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12238: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12239: OE_Order_Util.Get_Attribute_Name('shipped_quantity2'));
12240: OE_MSG_PUB.Add;
12241: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12242:
12243: END IF;
12244:

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

12237: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12238: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12239: OE_Order_Util.Get_Attribute_Name('shipped_quantity2'));
12240: OE_MSG_PUB.Add;
12241: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12242:
12243: END IF;
12244:
12245:

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

12246: RETURN FALSE;
12247:
12248: WHEN OTHERS THEN
12249:
12250: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12251: THEN
12252: OE_MSG_PUB.Add_Exc_Msg
12253: ( G_PKG_NAME
12254: , 'Shipped_Quantity2'

Line 12252: OE_MSG_PUB.Add_Exc_Msg

12248: WHEN OTHERS THEN
12249:
12250: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12251: THEN
12252: OE_MSG_PUB.Add_Exc_Msg
12253: ( G_PKG_NAME
12254: , 'Shipped_Quantity2'
12255: );
12256: END IF;

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

12286: EXCEPTION
12287:
12288: WHEN NO_DATA_FOUND THEN
12289:
12290: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12291: THEN
12292:
12293: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_ACCEPTABLE_DATE');
12294:

Line 12293: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_ACCEPTABLE_DATE');

12289:
12290: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12291: THEN
12292:
12293: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_ACCEPTABLE_DATE');
12294:
12295: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12296: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12297: OE_Order_Util.Get_Attribute_Name('earliest_acceptable_date'));

Line 12298: OE_MSG_PUB.Add;

12294:
12295: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12296: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12297: OE_Order_Util.Get_Attribute_Name('earliest_acceptable_date'));
12298: OE_MSG_PUB.Add;
12299: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12300:
12301: END IF;
12302:

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

12295: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12296: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12297: OE_Order_Util.Get_Attribute_Name('earliest_acceptable_date'));
12298: OE_MSG_PUB.Add;
12299: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12300:
12301: END IF;
12302:
12303:

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

12304: RETURN FALSE;
12305:
12306: WHEN OTHERS THEN
12307:
12308: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12309: THEN
12310: OE_MSG_PUB.Add_Exc_Msg
12311: ( G_PKG_NAME
12312: , 'Earliest_Acceptable_Date'

Line 12310: OE_MSG_PUB.Add_Exc_Msg

12306: WHEN OTHERS THEN
12307:
12308: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12309: THEN
12310: OE_MSG_PUB.Add_Exc_Msg
12311: ( G_PKG_NAME
12312: , 'Earliest_Acceptable_Date'
12313: );
12314: END IF;

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

12343: EXCEPTION
12344:
12345: WHEN NO_DATA_FOUND THEN
12346:
12347: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12348: THEN
12349: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_SCHEDULE_LIMIT');
12350:
12351: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');

Line 12349: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_SCHEDULE_LIMIT');

12345: WHEN NO_DATA_FOUND THEN
12346:
12347: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12348: THEN
12349: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'EARLIEST_SCHEDULE_LIMIT');
12350:
12351: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12352: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12353: OE_Order_Util.Get_Attribute_Name('earliest_schedule_limit'));

Line 12354: OE_MSG_PUB.Add;

12350:
12351: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12352: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12353: OE_Order_Util.Get_Attribute_Name('earliest_schedule_limit'));
12354: OE_MSG_PUB.Add;
12355: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12356:
12357: END IF;
12358:

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

12351: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12352: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12353: OE_Order_Util.Get_Attribute_Name('earliest_schedule_limit'));
12354: OE_MSG_PUB.Add;
12355: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12356:
12357: END IF;
12358:
12359:

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

12360: RETURN FALSE;
12361:
12362: WHEN OTHERS THEN
12363:
12364: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12365: THEN
12366: OE_MSG_PUB.Add_Exc_Msg
12367: ( G_PKG_NAME
12368: , 'Earliest_Schedule_Limit'

Line 12366: OE_MSG_PUB.Add_Exc_Msg

12362: WHEN OTHERS THEN
12363:
12364: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12365: THEN
12366: OE_MSG_PUB.Add_Exc_Msg
12367: ( G_PKG_NAME
12368: , 'Earliest_Schedule_Limit'
12369: );
12370: END IF;

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

12400: EXCEPTION
12401:
12402: WHEN NO_DATA_FOUND THEN
12403:
12404: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12405: THEN
12406: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_ACCEPTABLE_DATE');
12407:
12408:

Line 12406: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_ACCEPTABLE_DATE');

12402: WHEN NO_DATA_FOUND THEN
12403:
12404: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12405: THEN
12406: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_ACCEPTABLE_DATE');
12407:
12408:
12409: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12410: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 12412: OE_MSG_PUB.Add;

12408:
12409: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12410: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12411: OE_Order_Util.Get_Attribute_Name('latest_acceptable_date'));
12412: OE_MSG_PUB.Add;
12413: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12414:
12415: END IF;
12416:

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

12409: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12410: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12411: OE_Order_Util.Get_Attribute_Name('latest_acceptable_date'));
12412: OE_MSG_PUB.Add;
12413: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12414:
12415: END IF;
12416:
12417:

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

12418: RETURN FALSE;
12419:
12420: WHEN OTHERS THEN
12421:
12422: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12423: THEN
12424: OE_MSG_PUB.Add_Exc_Msg
12425: ( G_PKG_NAME
12426: , 'Latest_Acceptable_Date'

Line 12424: OE_MSG_PUB.Add_Exc_Msg

12420: WHEN OTHERS THEN
12421:
12422: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12423: THEN
12424: OE_MSG_PUB.Add_Exc_Msg
12425: ( G_PKG_NAME
12426: , 'Latest_Acceptable_Date'
12427: );
12428: END IF;

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

12457: EXCEPTION
12458:
12459: WHEN NO_DATA_FOUND THEN
12460:
12461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12462: THEN
12463:
12464: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_SCHEDULE_LIMIT');
12465:

Line 12464: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_SCHEDULE_LIMIT');

12460:
12461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12462: THEN
12463:
12464: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LATEST_SCHEDULE_LIMIT');
12465:
12466: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12467: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12468: OE_Order_Util.Get_Attribute_Name('latest_schedule_limit'));

Line 12469: OE_MSG_PUB.Add;

12465:
12466: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12467: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12468: OE_Order_Util.Get_Attribute_Name('latest_schedule_limit'));
12469: OE_MSG_PUB.Add;
12470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12471:
12472: END IF;
12473:

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

12466: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12467: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12468: OE_Order_Util.Get_Attribute_Name('latest_schedule_limit'));
12469: OE_MSG_PUB.Add;
12470: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12471:
12472: END IF;
12473:
12474:

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

12475: RETURN FALSE;
12476:
12477: WHEN OTHERS THEN
12478:
12479: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12480: THEN
12481: OE_MSG_PUB.Add_Exc_Msg
12482: ( G_PKG_NAME
12483: , 'Latest_Schedule_Limit'

Line 12481: OE_MSG_PUB.Add_Exc_Msg

12477: WHEN OTHERS THEN
12478:
12479: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12480: THEN
12481: OE_MSG_PUB.Add_Exc_Msg
12482: ( G_PKG_NAME
12483: , 'Latest_Schedule_Limit'
12484: );
12485: END IF;

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

12514: EXCEPTION
12515:
12516: WHEN NO_DATA_FOUND THEN
12517:
12518: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12519: THEN
12520:
12521: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODEL_GROUP_NUMBER');
12522:

Line 12521: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODEL_GROUP_NUMBER');

12517:
12518: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12519: THEN
12520:
12521: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'MODEL_GROUP_NUMBER');
12522:
12523: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12524: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12525: OE_Order_Util.Get_Attribute_Name('model_group_number'));

Line 12526: OE_MSG_PUB.Add;

12522:
12523: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12524: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12525: OE_Order_Util.Get_Attribute_Name('model_group_number'));
12526: OE_MSG_PUB.Add;
12527: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12528:
12529: END IF;
12530:

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

12523: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12524: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12525: OE_Order_Util.Get_Attribute_Name('model_group_number'));
12526: OE_MSG_PUB.Add;
12527: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12528:
12529: END IF;
12530:
12531:

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

12532: RETURN FALSE;
12533:
12534: WHEN OTHERS THEN
12535:
12536: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12537: THEN
12538: OE_MSG_PUB.Add_Exc_Msg
12539: ( G_PKG_NAME
12540: , 'Model_Group_Number'

Line 12538: OE_MSG_PUB.Add_Exc_Msg

12534: WHEN OTHERS THEN
12535:
12536: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12537: THEN
12538: OE_MSG_PUB.Add_Exc_Msg
12539: ( G_PKG_NAME
12540: , 'Model_Group_Number'
12541: );
12542: END IF;

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

12572: EXCEPTION
12573:
12574: WHEN NO_DATA_FOUND THEN
12575:
12576: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12577: THEN
12578:
12579: OE_MSG_PUB.Update_Msg_Context
12580: (p_attribute_code => 'MFG_COMPONENT_SEQUENCE_ID');

Line 12579: OE_MSG_PUB.Update_Msg_Context

12575:
12576: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12577: THEN
12578:
12579: OE_MSG_PUB.Update_Msg_Context
12580: (p_attribute_code => 'MFG_COMPONENT_SEQUENCE_ID');
12581:
12582: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12583: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 12586: OE_MSG_PUB.Add;

12582: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12583: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12584: OE_Order_Util.Get_Attribute_Name
12585: ('mfg_component_sequence_id'));
12586: OE_MSG_PUB.Add;
12587: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12588:
12589: END IF;
12590:

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

12583: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12584: OE_Order_Util.Get_Attribute_Name
12585: ('mfg_component_sequence_id'));
12586: OE_MSG_PUB.Add;
12587: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12588:
12589: END IF;
12590:
12591:

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

12592: RETURN FALSE;
12593:
12594: WHEN OTHERS THEN
12595:
12596: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12597: THEN
12598: OE_MSG_PUB.Add_Exc_Msg
12599: ( G_PKG_NAME
12600: , 'Mfg_Component_Sequence_Id'

Line 12598: OE_MSG_PUB.Add_Exc_Msg

12594: WHEN OTHERS THEN
12595:
12596: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12597: THEN
12598: OE_MSG_PUB.Add_Exc_Msg
12599: ( G_PKG_NAME
12600: , 'Mfg_Component_Sequence_Id'
12601: );
12602: END IF;

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

12631: EXCEPTION
12632:
12633: WHEN NO_DATA_FOUND THEN
12634:
12635: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12636: THEN
12637:
12638: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ARRIVAL_DATE');
12639:

Line 12638: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ARRIVAL_DATE');

12634:
12635: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12636: THEN
12637:
12638: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SCHEDULE_ARRIVAL_DATE');
12639:
12640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12641: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12642: OE_Order_Util.Get_Attribute_Name('schedule_arrival_date'));

Line 12643: OE_MSG_PUB.Add;

12639:
12640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12641: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12642: OE_Order_Util.Get_Attribute_Name('schedule_arrival_date'));
12643: OE_MSG_PUB.Add;
12644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12645:
12646: END IF;
12647:

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

12640: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12641: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12642: OE_Order_Util.Get_Attribute_Name('schedule_arrival_date'));
12643: OE_MSG_PUB.Add;
12644: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12645:
12646: END IF;
12647:
12648:

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

12649: RETURN FALSE;
12650:
12651: WHEN OTHERS THEN
12652:
12653: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12654: THEN
12655: OE_MSG_PUB.Add_Exc_Msg
12656: ( G_PKG_NAME
12657: , 'Schedule_Arrival_Date'

Line 12655: OE_MSG_PUB.Add_Exc_Msg

12651: WHEN OTHERS THEN
12652:
12653: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12654: THEN
12655: OE_MSG_PUB.Add_Exc_Msg
12656: ( G_PKG_NAME
12657: , 'Schedule_Arrival_Date'
12658: );
12659: END IF;

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

12690: EXCEPTION
12691:
12692: WHEN NO_DATA_FOUND THEN
12693:
12694: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12695: THEN
12696:
12697: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_MODEL_COMPLETE_FLAG');
12698:

Line 12697: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_MODEL_COMPLETE_FLAG');

12693:
12694: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12695: THEN
12696:
12697: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_MODEL_COMPLETE_FLAG');
12698:
12699: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12700: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12701: OE_Order_Util.Get_Attribute_Name('ship_model_complete_flag'));

Line 12702: OE_MSG_PUB.Add;

12698:
12699: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12700: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12701: OE_Order_Util.Get_Attribute_Name('ship_model_complete_flag'));
12702: OE_MSG_PUB.Add;
12703: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12704:
12705: END IF;
12706:

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

12699: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12700: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12701: OE_Order_Util.Get_Attribute_Name('ship_model_complete_flag'));
12702: OE_MSG_PUB.Add;
12703: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12704:
12705: END IF;
12706:
12707:

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

12708: RETURN FALSE;
12709:
12710: WHEN OTHERS THEN
12711:
12712: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12713: THEN
12714: OE_MSG_PUB.Add_Exc_Msg
12715: ( G_PKG_NAME
12716: , 'Ship_Model_Complete_Flag'

Line 12714: OE_MSG_PUB.Add_Exc_Msg

12710: WHEN OTHERS THEN
12711:
12712: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12713: THEN
12714: OE_MSG_PUB.Add_Exc_Msg
12715: ( G_PKG_NAME
12716: , 'Ship_Model_Complete_Flag'
12717: );
12718: END IF;

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

12747: EXCEPTION
12748:
12749: WHEN NO_DATA_FOUND THEN
12750:
12751: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12752: THEN
12753:
12754: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FROM_SERIAL_NUMBER');
12755:

Line 12754: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FROM_SERIAL_NUMBER');

12750:
12751: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12752: THEN
12753:
12754: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FROM_SERIAL_NUMBER');
12755:
12756: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12757: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12758: OE_Order_Util.Get_Attribute_Name('from_serial_number'));

Line 12759: OE_MSG_PUB.Add;

12755:
12756: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12757: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12758: OE_Order_Util.Get_Attribute_Name('from_serial_number'));
12759: OE_MSG_PUB.Add;
12760: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12761:
12762: END IF;
12763:

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

12756: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12757: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12758: OE_Order_Util.Get_Attribute_Name('from_serial_number'));
12759: OE_MSG_PUB.Add;
12760: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12761:
12762: END IF;
12763:
12764:

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

12765: RETURN FALSE;
12766:
12767: WHEN OTHERS THEN
12768:
12769: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12770: THEN
12771: OE_MSG_PUB.Add_Exc_Msg
12772: ( G_PKG_NAME
12773: , 'From_Serial_Number'

Line 12771: OE_MSG_PUB.Add_Exc_Msg

12767: WHEN OTHERS THEN
12768:
12769: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12770: THEN
12771: OE_MSG_PUB.Add_Exc_Msg
12772: ( G_PKG_NAME
12773: , 'From_Serial_Number'
12774: );
12775: END IF;

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

12804: EXCEPTION
12805:
12806: WHEN NO_DATA_FOUND THEN
12807:
12808: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12809: THEN
12810:
12811: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_NUMBER');
12812:

Line 12811: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_NUMBER');

12807:
12808: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12809: THEN
12810:
12811: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_NUMBER');
12812:
12813: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12814: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12815: OE_Order_Util.Get_Attribute_Name('lot_number'));

Line 12816: OE_MSG_PUB.Add;

12812:
12813: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12814: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12815: OE_Order_Util.Get_Attribute_Name('lot_number'));
12816: OE_MSG_PUB.Add;
12817: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12818:
12819: END IF;
12820:

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

12813: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12814: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12815: OE_Order_Util.Get_Attribute_Name('lot_number'));
12816: OE_MSG_PUB.Add;
12817: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12818:
12819: END IF;
12820:
12821:

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

12822: RETURN FALSE;
12823:
12824: WHEN OTHERS THEN
12825:
12826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12827: THEN
12828: OE_MSG_PUB.Add_Exc_Msg
12829: ( G_PKG_NAME
12830: , 'Lot_Number'

Line 12828: OE_MSG_PUB.Add_Exc_Msg

12824: WHEN OTHERS THEN
12825:
12826: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12827: THEN
12828: OE_MSG_PUB.Add_Exc_Msg
12829: ( G_PKG_NAME
12830: , 'Lot_Number'
12831: );
12832: END IF;

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

12861: EXCEPTION
12862:
12863: WHEN NO_DATA_FOUND THEN
12864:
12865: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12866: THEN
12867:
12868: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBLOT_NUMBER');
12869:

Line 12868: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBLOT_NUMBER');

12864:
12865: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12866: THEN
12867:
12868: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SUBLOT_NUMBER');
12869:
12870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12871: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12872: OE_Order_Util.Get_Attribute_Name('sublot_number'));

Line 12873: OE_MSG_PUB.Add;

12869:
12870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12871: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12872: OE_Order_Util.Get_Attribute_Name('sublot_number'));
12873: OE_MSG_PUB.Add;
12874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12875:
12876: END IF;
12877:

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

12870: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12871: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12872: OE_Order_Util.Get_Attribute_Name('sublot_number'));
12873: OE_MSG_PUB.Add;
12874: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12875:
12876: END IF;
12877:
12878:

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

12879: RETURN FALSE;
12880:
12881: WHEN OTHERS THEN
12882:
12883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12884: THEN
12885: OE_MSG_PUB.Add_Exc_Msg
12886: ( G_PKG_NAME
12887: , 'Sublot_Number'

Line 12885: OE_MSG_PUB.Add_Exc_Msg

12881: WHEN OTHERS THEN
12882:
12883: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12884: THEN
12885: OE_MSG_PUB.Add_Exc_Msg
12886: ( G_PKG_NAME
12887: , 'Sublot_Number'
12888: );
12889: END IF;

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

12920: EXCEPTION
12921:
12922: WHEN NO_DATA_FOUND THEN
12923:
12924: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12925: THEN
12926:
12927: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_SERIAL_ID');
12928:

Line 12927: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_SERIAL_ID');

12923:
12924: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12925: THEN
12926:
12927: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LOT_SERIAL_ID');
12928:
12929: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12930: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12931: OE_Order_Util.Get_Attribute_Name('lot_serial_id'));

Line 12932: OE_MSG_PUB.Add;

12928:
12929: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12930: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12931: OE_Order_Util.Get_Attribute_Name('lot_serial_id'));
12932: OE_MSG_PUB.Add;
12933: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12934:
12935: END IF;
12936:

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

12929: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12930: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12931: OE_Order_Util.Get_Attribute_Name('lot_serial_id'));
12932: OE_MSG_PUB.Add;
12933: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12934:
12935: END IF;
12936:
12937:

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

12938: RETURN FALSE;
12939:
12940: WHEN OTHERS THEN
12941:
12942: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12943: THEN
12944: OE_MSG_PUB.Add_Exc_Msg
12945: ( G_PKG_NAME
12946: , 'Lot_Serial'

Line 12944: OE_MSG_PUB.Add_Exc_Msg

12940: WHEN OTHERS THEN
12941:
12942: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
12943: THEN
12944: OE_MSG_PUB.Add_Exc_Msg
12945: ( G_PKG_NAME
12946: , 'Lot_Serial'
12947: );
12948: END IF;

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

12977: EXCEPTION
12978:
12979: WHEN NO_DATA_FOUND THEN
12980:
12981: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12982: THEN
12983:
12984: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY');
12985:

Line 12984: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY');

12980:
12981: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
12982: THEN
12983:
12984: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY');
12985:
12986: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12987: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12988: OE_Order_Util.Get_Attribute_Name('quantity'));

Line 12989: OE_MSG_PUB.Add;

12985:
12986: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12987: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12988: OE_Order_Util.Get_Attribute_Name('quantity'));
12989: OE_MSG_PUB.Add;
12990: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12991:
12992: END IF;
12993:

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

12986: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
12987: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
12988: OE_Order_Util.Get_Attribute_Name('quantity'));
12989: OE_MSG_PUB.Add;
12990: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
12991:
12992: END IF;
12993:
12994:

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

12995: RETURN FALSE;
12996:
12997: WHEN OTHERS THEN
12998:
12999: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13000: THEN
13001: OE_MSG_PUB.Add_Exc_Msg
13002: ( G_PKG_NAME
13003: , 'Quantity'

Line 13001: OE_MSG_PUB.Add_Exc_Msg

12997: WHEN OTHERS THEN
12998:
12999: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13000: THEN
13001: OE_MSG_PUB.Add_Exc_Msg
13002: ( G_PKG_NAME
13003: , 'Quantity'
13004: );
13005: END IF;

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

13034: EXCEPTION
13035:
13036: WHEN NO_DATA_FOUND THEN
13037:
13038: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13039: THEN
13040:
13041: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY2');
13042:

Line 13041: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY2');

13037:
13038: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13039: THEN
13040:
13041: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'QUANTITY2');
13042:
13043: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13044: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13045: OE_Order_Util.Get_Attribute_Name('quantity2'));

Line 13046: OE_MSG_PUB.Add;

13042:
13043: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13044: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13045: OE_Order_Util.Get_Attribute_Name('quantity2'));
13046: OE_MSG_PUB.Add;
13047: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13048:
13049: END IF;
13050:

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

13043: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13044: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13045: OE_Order_Util.Get_Attribute_Name('quantity2'));
13046: OE_MSG_PUB.Add;
13047: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13048:
13049: END IF;
13050:
13051:

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

13052: RETURN FALSE;
13053:
13054: WHEN OTHERS THEN
13055:
13056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13057: THEN
13058: OE_MSG_PUB.Add_Exc_Msg
13059: ( G_PKG_NAME
13060: , 'Quantity2'

Line 13058: OE_MSG_PUB.Add_Exc_Msg

13054: WHEN OTHERS THEN
13055:
13056: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13057: THEN
13058: OE_MSG_PUB.Add_Exc_Msg
13059: ( G_PKG_NAME
13060: , 'Quantity2'
13061: );
13062: END IF;

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

13093: EXCEPTION
13094:
13095: WHEN NO_DATA_FOUND THEN
13096:
13097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13098: THEN
13099:
13100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TO_SERIAL_NUMBER');
13101:

Line 13100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TO_SERIAL_NUMBER');

13096:
13097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13098: THEN
13099:
13100: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TO_SERIAL_NUMBER');
13101:
13102: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13103: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13104: OE_Order_Util.Get_Attribute_Name('to_serial_number'));

Line 13105: OE_MSG_PUB.Add;

13101:
13102: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13103: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13104: OE_Order_Util.Get_Attribute_Name('to_serial_number'));
13105: OE_MSG_PUB.Add;
13106: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13107:
13108: END IF;
13109:

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

13102: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13103: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13104: OE_Order_Util.Get_Attribute_Name('to_serial_number'));
13105: OE_MSG_PUB.Add;
13106: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13107:
13108: END IF;
13109:
13110:

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

13111: RETURN FALSE;
13112:
13113: WHEN OTHERS THEN
13114:
13115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13116: THEN
13117: OE_MSG_PUB.Add_Exc_Msg
13118: ( G_PKG_NAME
13119: , 'To_Serial_Number'

Line 13117: OE_MSG_PUB.Add_Exc_Msg

13113: WHEN OTHERS THEN
13114:
13115: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13116: THEN
13117: OE_MSG_PUB.Add_Exc_Msg
13118: ( G_PKG_NAME
13119: , 'To_Serial_Number'
13120: );
13121: END IF;

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

13150: EXCEPTION
13151:
13152: WHEN NO_DATA_FOUND THEN
13153:
13154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13155: THEN
13156:
13157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_ID');
13158:

Line 13157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_ID');

13153:
13154: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13155: THEN
13156:
13157: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Line_Set_ID');
13158:
13159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13161: OE_Order_Util.Get_Attribute_Name('Line_Set_ID'));

Line 13162: OE_MSG_PUB.Add;

13158:
13159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13161: OE_Order_Util.Get_Attribute_Name('Line_Set_ID'));
13162: OE_MSG_PUB.Add;
13163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13164:
13165: END IF;
13166:

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

13159: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13160: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13161: OE_Order_Util.Get_Attribute_Name('Line_Set_ID'));
13162: OE_MSG_PUB.Add;
13163: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13164:
13165: END IF;
13166:
13167:

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

13168: RETURN FALSE;
13169:
13170: WHEN OTHERS THEN
13171:
13172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13173: THEN
13174: OE_MSG_PUB.Add_Exc_Msg
13175: ( G_PKG_NAME
13176: , 'Line_Set'

Line 13174: OE_MSG_PUB.Add_Exc_Msg

13170: WHEN OTHERS THEN
13171:
13172: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13173: THEN
13174: OE_MSG_PUB.Add_Exc_Msg
13175: ( G_PKG_NAME
13176: , 'Line_Set'
13177: );
13178: END IF;

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

13207: EXCEPTION
13208:
13209: WHEN NO_DATA_FOUND THEN
13210:
13211: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13212: THEN
13213:
13214: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AMOUNT');
13215:

Line 13214: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AMOUNT');

13210:
13211: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13212: THEN
13213:
13214: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AMOUNT');
13215:
13216: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13217: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13218: OE_Order_Util.Get_Attribute_Name('amount'));

Line 13219: OE_MSG_PUB.Add;

13215:
13216: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13217: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13218: OE_Order_Util.Get_Attribute_Name('amount'));
13219: OE_MSG_PUB.Add;
13220: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13221:
13222: END IF;
13223:

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

13216: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13217: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13218: OE_Order_Util.Get_Attribute_Name('amount'));
13219: OE_MSG_PUB.Add;
13220: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13221:
13222: END IF;
13223:
13224:

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

13225: RETURN FALSE;
13226:
13227: WHEN OTHERS THEN
13228:
13229: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13230: THEN
13231: OE_MSG_PUB.Add_Exc_Msg
13232: ( G_PKG_NAME
13233: , 'Amount'

Line 13231: OE_MSG_PUB.Add_Exc_Msg

13227: WHEN OTHERS THEN
13228:
13229: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13230: THEN
13231: OE_MSG_PUB.Add_Exc_Msg
13232: ( G_PKG_NAME
13233: , 'Amount'
13234: );
13235: END IF;

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

13264: EXCEPTION
13265:
13266: WHEN NO_DATA_FOUND THEN
13267:
13268: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13269: THEN
13270:
13271: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_ACK_FLAG');
13272:

Line 13271: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_ACK_FLAG');

13267:
13268: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13269: THEN
13270:
13271: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_ACK_FLAG');
13272:
13273: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13274: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13275: OE_Order_Util.Get_Attribute_Name('appear_on_ack_flag'));

Line 13276: OE_MSG_PUB.Add;

13272:
13273: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13274: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13275: OE_Order_Util.Get_Attribute_Name('appear_on_ack_flag'));
13276: OE_MSG_PUB.Add;
13277: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13278:
13279: END IF;
13280:

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

13273: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13274: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13275: OE_Order_Util.Get_Attribute_Name('appear_on_ack_flag'));
13276: OE_MSG_PUB.Add;
13277: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13278:
13279: END IF;
13280:
13281:

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

13282: RETURN FALSE;
13283:
13284: WHEN OTHERS THEN
13285:
13286: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13287: THEN
13288: OE_MSG_PUB.Add_Exc_Msg
13289: ( G_PKG_NAME
13290: , 'Appear_On_Ack'

Line 13288: OE_MSG_PUB.Add_Exc_Msg

13284: WHEN OTHERS THEN
13285:
13286: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13287: THEN
13288: OE_MSG_PUB.Add_Exc_Msg
13289: ( G_PKG_NAME
13290: , 'Appear_On_Ack'
13291: );
13292: END IF;

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

13321: EXCEPTION
13322:
13323: WHEN NO_DATA_FOUND THEN
13324:
13325: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13326: THEN
13327:
13328: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_INVOICE_FLAG');
13329:

Line 13328: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_INVOICE_FLAG');

13324:
13325: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13326: THEN
13327:
13328: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'APPEAR_ON_INVOICE_FLAG');
13329:
13330: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13331: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13332: OE_Order_Util.Get_Attribute_Name('appear_on_invoice_flag'));

Line 13333: OE_MSG_PUB.Add;

13329:
13330: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13331: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13332: OE_Order_Util.Get_Attribute_Name('appear_on_invoice_flag'));
13333: OE_MSG_PUB.Add;
13334: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13335:
13336: END IF;
13337:

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

13330: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13331: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13332: OE_Order_Util.Get_Attribute_Name('appear_on_invoice_flag'));
13333: OE_MSG_PUB.Add;
13334: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13335:
13336: END IF;
13337:
13338:

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

13339: RETURN FALSE;
13340:
13341: WHEN OTHERS THEN
13342:
13343: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13344: THEN
13345: OE_MSG_PUB.Add_Exc_Msg
13346: ( G_PKG_NAME
13347: , 'Appear_On_Invoice'

Line 13345: OE_MSG_PUB.Add_Exc_Msg

13341: WHEN OTHERS THEN
13342:
13343: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13344: THEN
13345: OE_MSG_PUB.Add_Exc_Msg
13346: ( G_PKG_NAME
13347: , 'Appear_On_Invoice'
13348: );
13349: END IF;

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

13378: EXCEPTION
13379:
13380: WHEN NO_DATA_FOUND THEN
13381:
13382: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13383: THEN
13384:
13385: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_ID');
13386:

Line 13385: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_ID');

13381:
13382: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13383: THEN
13384:
13385: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_ID');
13386:
13387: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13388: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13389: OE_Order_Util.Get_Attribute_Name('charge_id'));

Line 13390: OE_MSG_PUB.Add;

13386:
13387: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13388: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13389: OE_Order_Util.Get_Attribute_Name('charge_id'));
13390: OE_MSG_PUB.Add;
13391: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13392:
13393:
13394: END IF;

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

13387: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13388: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13389: OE_Order_Util.Get_Attribute_Name('charge_id'));
13390: OE_MSG_PUB.Add;
13391: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13392:
13393:
13394: END IF;
13395:

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

13396: RETURN FALSE;
13397:
13398: WHEN OTHERS THEN
13399:
13400: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13401: THEN
13402: OE_MSG_PUB.Add_Exc_Msg
13403: ( G_PKG_NAME
13404: , 'Charge'

Line 13402: OE_MSG_PUB.Add_Exc_Msg

13398: WHEN OTHERS THEN
13399:
13400: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13401: THEN
13402: OE_MSG_PUB.Add_Exc_Msg
13403: ( G_PKG_NAME
13404: , 'Charge'
13405: );
13406: END IF;

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

13435: EXCEPTION
13436:
13437: WHEN NO_DATA_FOUND THEN
13438:
13439: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13440: THEN
13441:
13442: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_ID');
13443:

Line 13442: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_ID');

13438:
13439: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13440: THEN
13441:
13442: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_ID');
13443:
13444: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13445: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13446: OE_Order_Util.Get_Attribute_Name('charge_type_id'));

Line 13447: OE_MSG_PUB.Add;

13443:
13444: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13445: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13446: OE_Order_Util.Get_Attribute_Name('charge_type_id'));
13447: OE_MSG_PUB.Add;
13448: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13449:
13450: END IF;
13451:

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

13444: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13445: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13446: OE_Order_Util.Get_Attribute_Name('charge_type_id'));
13447: OE_MSG_PUB.Add;
13448: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13449:
13450: END IF;
13451:
13452:

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

13453: RETURN FALSE;
13454:
13455: WHEN OTHERS THEN
13456:
13457: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13458: THEN
13459: OE_MSG_PUB.Add_Exc_Msg
13460: ( G_PKG_NAME
13461: , 'Charge_Type'

Line 13459: OE_MSG_PUB.Add_Exc_Msg

13455: WHEN OTHERS THEN
13456:
13457: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13458: THEN
13459: OE_MSG_PUB.Add_Exc_Msg
13460: ( G_PKG_NAME
13461: , 'Charge_Type'
13462: );
13463: END IF;

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

13492: EXCEPTION
13493:
13494: WHEN NO_DATA_FOUND THEN
13495:
13496: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13497: THEN
13498:
13499: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_DATE');
13500:

Line 13499: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_DATE');

13495:
13496: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13497: THEN
13498:
13499: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONVERSION_DATE');
13500:
13501: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13502: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13503: OE_Order_Util.Get_Attribute_Name('conversion_date'));

Line 13505: OE_MSG_PUB.Add;

13501: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13502: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13503: OE_Order_Util.Get_Attribute_Name('conversion_date'));
13504:
13505: OE_MSG_PUB.Add;
13506: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13507:
13508:
13509: END IF;

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

13502: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13503: OE_Order_Util.Get_Attribute_Name('conversion_date'));
13504:
13505: OE_MSG_PUB.Add;
13506: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13507:
13508:
13509: END IF;
13510:

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

13512: RETURN FALSE;
13513:
13514: WHEN OTHERS THEN
13515:
13516: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13517: THEN
13518: OE_MSG_PUB.Add_Exc_Msg
13519: ( G_PKG_NAME
13520: , 'Conversion_Date'

Line 13518: OE_MSG_PUB.Add_Exc_Msg

13514: WHEN OTHERS THEN
13515:
13516: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13517: THEN
13518: OE_MSG_PUB.Add_Exc_Msg
13519: ( G_PKG_NAME
13520: , 'Conversion_Date'
13521: );
13522: END IF;

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

13551: EXCEPTION
13552:
13553: WHEN NO_DATA_FOUND THEN
13554:
13555: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13556: THEN
13557:
13558: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_OR_CHARGE_FLAG');
13559:

Line 13558: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_OR_CHARGE_FLAG');

13554:
13555: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13556: THEN
13557:
13558: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_OR_CHARGE_FLAG');
13559:
13560: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13561: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13562: OE_Order_Util.Get_Attribute_Name('cost_or_charge_flag'));

Line 13563: OE_MSG_PUB.Add;

13559:
13560: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13561: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13562: OE_Order_Util.Get_Attribute_Name('cost_or_charge_flag'));
13563: OE_MSG_PUB.Add;
13564: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13565:
13566: END IF;
13567:

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

13560: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13561: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13562: OE_Order_Util.Get_Attribute_Name('cost_or_charge_flag'));
13563: OE_MSG_PUB.Add;
13564: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13565:
13566: END IF;
13567:
13568:

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

13569: RETURN FALSE;
13570:
13571: WHEN OTHERS THEN
13572:
13573: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13574: THEN
13575: OE_MSG_PUB.Add_Exc_Msg
13576: ( G_PKG_NAME
13577: , 'Cost_Or_Charge'

Line 13575: OE_MSG_PUB.Add_Exc_Msg

13571: WHEN OTHERS THEN
13572:
13573: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13574: THEN
13575: OE_MSG_PUB.Add_Exc_Msg
13576: ( G_PKG_NAME
13577: , 'Cost_Or_Charge'
13578: );
13579: END IF;

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

13608: EXCEPTION
13609:
13610: WHEN NO_DATA_FOUND THEN
13611:
13612: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13613: THEN
13614:
13615: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CURRENCY_CODE');
13616:

Line 13615: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CURRENCY_CODE');

13611:
13612: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13613: THEN
13614:
13615: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CURRENCY_CODE');
13616:
13617: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13618: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13619: OE_Order_Util.Get_Attribute_Name('currency_code'));

Line 13620: OE_MSG_PUB.Add;

13616:
13617: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13618: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13619: OE_Order_Util.Get_Attribute_Name('currency_code'));
13620: OE_MSG_PUB.Add;
13621: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13622:
13623: END IF;
13624:

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

13617: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13618: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13619: OE_Order_Util.Get_Attribute_Name('currency_code'));
13620: OE_MSG_PUB.Add;
13621: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13622:
13623: END IF;
13624:
13625:

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

13626: RETURN FALSE;
13627:
13628: WHEN OTHERS THEN
13629:
13630: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13631: THEN
13632: OE_MSG_PUB.Add_Exc_Msg
13633: ( G_PKG_NAME
13634: , 'Currency'

Line 13632: OE_MSG_PUB.Add_Exc_Msg

13628: WHEN OTHERS THEN
13629:
13630: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13631: THEN
13632: OE_MSG_PUB.Add_Exc_Msg
13633: ( G_PKG_NAME
13634: , 'Currency'
13635: );
13636: END IF;

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

13665: EXCEPTION
13666:
13667: WHEN NO_DATA_FOUND THEN
13668:
13669: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13670: THEN
13671:
13672: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEPARTURE_ID');
13673:

Line 13672: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEPARTURE_ID');

13668:
13669: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13670: THEN
13671:
13672: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'DEPARTURE_ID');
13673:
13674: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13675: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13676: OE_Order_Util.Get_Attribute_Name('departure_id'));

Line 13677: OE_MSG_PUB.Add;

13673:
13674: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13675: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13676: OE_Order_Util.Get_Attribute_Name('departure_id'));
13677: OE_MSG_PUB.Add;
13678: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13679:
13680: END IF;
13681:

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

13674: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13675: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13676: OE_Order_Util.Get_Attribute_Name('departure_id'));
13677: OE_MSG_PUB.Add;
13678: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13679:
13680: END IF;
13681:
13682:

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

13683: RETURN FALSE;
13684:
13685: WHEN OTHERS THEN
13686:
13687: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13688: THEN
13689: OE_MSG_PUB.Add_Exc_Msg
13690: ( G_PKG_NAME
13691: , 'Departure'

Line 13689: OE_MSG_PUB.Add_Exc_Msg

13685: WHEN OTHERS THEN
13686:
13687: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13688: THEN
13689: OE_MSG_PUB.Add_Exc_Msg
13690: ( G_PKG_NAME
13691: , 'Departure'
13692: );
13693: END IF;

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

13725: EXCEPTION
13726:
13727: WHEN NO_DATA_FOUND THEN
13728:
13729: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13730: THEN
13731:
13732: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ESTIMATED_FLAG');
13733:

Line 13732: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ESTIMATED_FLAG');

13728:
13729: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13730: THEN
13731:
13732: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ESTIMATED_FLAG');
13733:
13734: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13735: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13736: OE_Order_Util.Get_Attribute_Name('estimated_flag'));

Line 13737: OE_MSG_PUB.Add;

13733:
13734: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13735: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13736: OE_Order_Util.Get_Attribute_Name('estimated_flag'));
13737: OE_MSG_PUB.Add;
13738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13739:
13740: END IF;
13741:

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

13734: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13735: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13736: OE_Order_Util.Get_Attribute_Name('estimated_flag'));
13737: OE_MSG_PUB.Add;
13738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13739:
13740: END IF;
13741:
13742:

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

13743: RETURN FALSE;
13744:
13745: WHEN OTHERS THEN
13746:
13747: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13748: THEN
13749: OE_MSG_PUB.Add_Exc_Msg
13750: ( G_PKG_NAME
13751: , 'Estimated'

Line 13749: OE_MSG_PUB.Add_Exc_Msg

13745: WHEN OTHERS THEN
13746:
13747: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13748: THEN
13749: OE_MSG_PUB.Add_Exc_Msg
13750: ( G_PKG_NAME
13751: , 'Estimated'
13752: );
13753: END IF;

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

13782: EXCEPTION
13783:
13784: WHEN NO_DATA_FOUND THEN
13785:
13786: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13787: THEN
13788:
13789: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INC_IN_SALES_PERFORMANCE');
13790:

Line 13789: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INC_IN_SALES_PERFORMANCE');

13785:
13786: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13787: THEN
13788:
13789: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INC_IN_SALES_PERFORMANCE');
13790:
13791: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13792: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13793: OE_Order_Util.Get_Attribute_Name('inc_in_sales_performance'));

Line 13794: OE_MSG_PUB.Add;

13790:
13791: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13792: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13793: OE_Order_Util.Get_Attribute_Name('inc_in_sales_performance'));
13794: OE_MSG_PUB.Add;
13795: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13796:
13797:
13798: END IF;

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

13791: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13792: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13793: OE_Order_Util.Get_Attribute_Name('inc_in_sales_performance'));
13794: OE_MSG_PUB.Add;
13795: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13796:
13797:
13798: END IF;
13799:

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

13801: RETURN FALSE;
13802:
13803: WHEN OTHERS THEN
13804:
13805: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13806: THEN
13807: OE_MSG_PUB.Add_Exc_Msg
13808: ( G_PKG_NAME
13809: , 'Inc_In_Sales_Performance'

Line 13807: OE_MSG_PUB.Add_Exc_Msg

13803: WHEN OTHERS THEN
13804:
13805: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13806: THEN
13807: OE_MSG_PUB.Add_Exc_Msg
13808: ( G_PKG_NAME
13809: , 'Inc_In_Sales_Performance'
13810: );
13811: END IF;

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

13843: EXCEPTION
13844:
13845: WHEN NO_DATA_FOUND THEN
13846:
13847: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13848: THEN
13849:
13850: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_FLAG');
13851:

Line 13850: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_FLAG');

13846:
13847: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13848: THEN
13849:
13850: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_FLAG');
13851:
13852: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13853: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13854: OE_Order_Util.Get_Attribute_Name('invoiced_flag'));

Line 13855: OE_MSG_PUB.Add;

13851:
13852: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13853: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13854: OE_Order_Util.Get_Attribute_Name('invoiced_flag'));
13855: OE_MSG_PUB.Add;
13856: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13857:
13858: END IF;
13859:

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

13852: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13853: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13854: OE_Order_Util.Get_Attribute_Name('invoiced_flag'));
13855: OE_MSG_PUB.Add;
13856: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13857:
13858: END IF;
13859:
13860:

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

13861: RETURN FALSE;
13862:
13863: WHEN OTHERS THEN
13864:
13865: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13866: THEN
13867: OE_MSG_PUB.Add_Exc_Msg
13868: ( G_PKG_NAME
13869: , 'Invoiced'

Line 13867: OE_MSG_PUB.Add_Exc_Msg

13863: WHEN OTHERS THEN
13864:
13865: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13866: THEN
13867: OE_MSG_PUB.Add_Exc_Msg
13868: ( G_PKG_NAME
13869: , 'Invoiced'
13870: );
13871: END IF;

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

13900: EXCEPTION
13901:
13902: WHEN NO_DATA_FOUND THEN
13903:
13904: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13905: THEN
13906:
13907: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LPN');
13908:

Line 13907: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LPN');

13903:
13904: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13905: THEN
13906:
13907: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LPN');
13908:
13909: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13910: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13911: OE_Order_Util.Get_Attribute_Name('lpn'));

Line 13912: OE_MSG_PUB.Add;

13908:
13909: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13910: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13911: OE_Order_Util.Get_Attribute_Name('lpn'));
13912: OE_MSG_PUB.Add;
13913: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13914:
13915: END IF;
13916:

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

13909: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13910: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13911: OE_Order_Util.Get_Attribute_Name('lpn'));
13912: OE_MSG_PUB.Add;
13913: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13914:
13915: END IF;
13916:
13917:

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

13918: RETURN FALSE;
13919:
13920: WHEN OTHERS THEN
13921:
13922: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13923: THEN
13924: OE_MSG_PUB.Add_Exc_Msg
13925: ( G_PKG_NAME
13926: , 'Lpn'

Line 13924: OE_MSG_PUB.Add_Exc_Msg

13920: WHEN OTHERS THEN
13921:
13922: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13923: THEN
13924: OE_MSG_PUB.Add_Exc_Msg
13925: ( G_PKG_NAME
13926: , 'Lpn'
13927: );
13928: END IF;

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

13957: EXCEPTION
13958:
13959: WHEN NO_DATA_FOUND THEN
13960:
13961: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13962: THEN
13963:
13964: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARENT_CHARGE_ID');
13965:

Line 13964: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARENT_CHARGE_ID');

13960:
13961: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
13962: THEN
13963:
13964: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PARENT_CHARGE_ID');
13965:
13966: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13967: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13968: OE_Order_Util.Get_Attribute_Name('parent_charge_id'));

Line 13969: OE_MSG_PUB.Add;

13965:
13966: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13967: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13968: OE_Order_Util.Get_Attribute_Name('parent_charge_id'));
13969: OE_MSG_PUB.Add;
13970: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13971:
13972: END IF;
13973:

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

13966: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
13967: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
13968: OE_Order_Util.Get_Attribute_Name('parent_charge_id'));
13969: OE_MSG_PUB.Add;
13970: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
13971:
13972: END IF;
13973:
13974:

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

13975: RETURN FALSE;
13976:
13977: WHEN OTHERS THEN
13978:
13979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13980: THEN
13981: OE_MSG_PUB.Add_Exc_Msg
13982: ( G_PKG_NAME
13983: , 'Parent_Charge'

Line 13981: OE_MSG_PUB.Add_Exc_Msg

13977: WHEN OTHERS THEN
13978:
13979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
13980: THEN
13981: OE_MSG_PUB.Add_Exc_Msg
13982: ( G_PKG_NAME
13983: , 'Parent_Charge'
13984: );
13985: END IF;

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

14014: EXCEPTION
14015:
14016: WHEN NO_DATA_FOUND THEN
14017:
14018: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14019: THEN
14020:
14021: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURNABLE_FLAG');
14022:

Line 14021: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURNABLE_FLAG');

14017:
14018: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14019: THEN
14020:
14021: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURNABLE_FLAG');
14022:
14023: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14024: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14025: OE_Order_Util.Get_Attribute_Name('returnable_flag'));

Line 14026: OE_MSG_PUB.Add;

14022:
14023: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14024: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14025: OE_Order_Util.Get_Attribute_Name('returnable_flag'));
14026: OE_MSG_PUB.Add;
14027: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14028:
14029: END IF;
14030:

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

14023: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14024: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14025: OE_Order_Util.Get_Attribute_Name('returnable_flag'));
14026: OE_MSG_PUB.Add;
14027: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14028:
14029: END IF;
14030:
14031:

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

14032: RETURN FALSE;
14033:
14034: WHEN OTHERS THEN
14035:
14036: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14037: THEN
14038: OE_MSG_PUB.Add_Exc_Msg
14039: ( G_PKG_NAME
14040: , 'Returnable'

Line 14038: OE_MSG_PUB.Add_Exc_Msg

14034: WHEN OTHERS THEN
14035:
14036: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14037: THEN
14038: OE_MSG_PUB.Add_Exc_Msg
14039: ( G_PKG_NAME
14040: , 'Returnable'
14041: );
14042: END IF;

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

14071: EXCEPTION
14072:
14073: WHEN NO_DATA_FOUND THEN
14074:
14075: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14076: THEN
14077:
14078: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_GROUP_CODE');
14079:

Line 14078: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_GROUP_CODE');

14074:
14075: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
14076: THEN
14077:
14078: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TAX_GROUP_CODE');
14079:
14080: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14081: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14082: OE_Order_Util.Get_Attribute_Name('tax_group_code'));

Line 14083: OE_MSG_PUB.Add;

14079:
14080: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14081: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14082: OE_Order_Util.Get_Attribute_Name('tax_group_code'));
14083: OE_MSG_PUB.Add;
14084: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14085:
14086: END IF;
14087:

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

14080: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
14081: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
14082: OE_Order_Util.Get_Attribute_Name('tax_group_code'));
14083: OE_MSG_PUB.Add;
14084: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
14085:
14086: END IF;
14087:
14088:

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

14089: RETURN FALSE;
14090:
14091: WHEN OTHERS THEN
14092:
14093: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14094: THEN
14095: OE_MSG_PUB.Add_Exc_Msg
14096: ( G_PKG_NAME
14097: , 'Tax_Group'

Line 14095: OE_MSG_PUB.Add_Exc_Msg

14091: WHEN OTHERS THEN
14092:
14093: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14094: THEN
14095: OE_MSG_PUB.Add_Exc_Msg
14096: ( G_PKG_NAME
14097: , 'Tax_Group'
14098: );
14099: END IF;

Line 14142: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

14138: IS
14139: l_column_value VARCHAR2(240) := null;
14140: BEGIN
14141:
14142: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
14143:
14144:
14145: IF (p_attribute1 = FND_API.G_MISS_CHAR)
14146: AND (p_attribute2 = FND_API.G_MISS_CHAR)

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

14457:
14458: WHEN OTHERS THEN
14459:
14460:
14461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14462: THEN
14463:
14464: OE_MSG_PUB.Add_Exc_Msg
14465: ( G_PKG_NAME

Line 14464: OE_MSG_PUB.Add_Exc_Msg

14460:
14461: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14462: THEN
14463:
14464: OE_MSG_PUB.Add_Exc_Msg
14465: ( G_PKG_NAME
14466: , 'Header_Desc_Flex');
14467: END IF;
14468:

Line 14501: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');

14497: IS
14498: l_column_value VARCHAR2(240) := null;
14499: BEGIN
14500:
14501: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');
14502:
14503: IF (p_attribute1 = FND_API.G_MISS_CHAR)
14504: AND (p_attribute2 = FND_API.G_MISS_CHAR)
14505: AND (p_attribute3 = FND_API.G_MISS_CHAR)

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

14814:
14815: WHEN OTHERS THEN
14816:
14817:
14818: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14819: THEN
14820:
14821: OE_MSG_PUB.Add_Exc_Msg
14822: ( G_PKG_NAME

Line 14821: OE_MSG_PUB.Add_Exc_Msg

14817:
14818: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
14819: THEN
14820:
14821: OE_MSG_PUB.Add_Exc_Msg
14822: ( G_PKG_NAME
14823: , 'G_Header_Desc_Flex');
14824: END IF;
14825:

Line 14850: --OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');

14846: IS
14847: l_column_value VARCHAR2(240) := null;
14848: BEGIN
14849:
14850: --OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');
14851:
14852: IF (p_attribute1 = FND_API.G_MISS_CHAR)
14853: AND (p_attribute2 = FND_API.G_MISS_CHAR)
14854: AND (p_attribute3 = FND_API.G_MISS_CHAR)

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

15093:
15094: WHEN OTHERS THEN
15095:
15096:
15097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15098: THEN
15099:
15100: OE_MSG_PUB.Add_Exc_Msg
15101: ( G_PKG_NAME

Line 15100: OE_MSG_PUB.Add_Exc_Msg

15096:
15097: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15098: THEN
15099:
15100: OE_MSG_PUB.Add_Exc_Msg
15101: ( G_PKG_NAME
15102: , 'TP_Header_Desc_Flex');
15103: END IF;
15104:

Line 15137: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

15133: IS
15134: l_column_value VARCHAR2(240) := null;
15135: BEGIN
15136:
15137: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
15138:
15139:
15140: IF (p_attribute1 = FND_API.G_MISS_CHAR)
15141: AND (p_attribute2 = FND_API.G_MISS_CHAR)

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

15452:
15453: WHEN OTHERS THEN
15454:
15455:
15456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15457: THEN
15458:
15459: OE_MSG_PUB.Add_Exc_Msg
15460: ( G_PKG_NAME

Line 15459: OE_MSG_PUB.Add_Exc_Msg

15455:
15456: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15457: THEN
15458:
15459: OE_MSG_PUB.Add_Exc_Msg
15460: ( G_PKG_NAME
15461: , 'Line_Desc_Flex');
15462: END IF;
15463:

Line 15495: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');

15491: IS
15492: l_column_value VARCHAR2(240) := null;
15493: BEGIN
15494:
15495: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'GLOBAL_ATTRIBUTE_CATEGORY');
15496:
15497:
15498: IF (p_attribute1 = FND_API.G_MISS_CHAR)
15499: AND (p_attribute2 = FND_API.G_MISS_CHAR)

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

15810:
15811: WHEN OTHERS THEN
15812:
15813:
15814: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15815: THEN
15816:
15817: OE_MSG_PUB.Add_Exc_Msg
15818: ( G_PKG_NAME

Line 15817: OE_MSG_PUB.Add_Exc_Msg

15813:
15814: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
15815: THEN
15816:
15817: OE_MSG_PUB.Add_Exc_Msg
15818: ( G_PKG_NAME
15819: , 'G_Line_Desc_Flex');
15820: END IF;
15821:

Line 15842: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_CONTEXT');

15838: IS
15839: l_column_value VARCHAR2(240) := null;
15840: BEGIN
15841:
15842: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PRICING_CONTEXT');
15843:
15844: IF (p_attribute1 = FND_API.G_MISS_CHAR)
15845: AND (p_attribute2 = FND_API.G_MISS_CHAR)
15846: AND (p_attribute3 = FND_API.G_MISS_CHAR)

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

16017:
16018: WHEN OTHERS THEN
16019:
16020:
16021: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16022: THEN
16023:
16024: OE_MSG_PUB.Add_Exc_Msg
16025: ( G_PKG_NAME

Line 16024: OE_MSG_PUB.Add_Exc_Msg

16020:
16021: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16022: THEN
16023:
16024: OE_MSG_PUB.Add_Exc_Msg
16025: ( G_PKG_NAME
16026: , 'P_Line_Desc_Flex');
16027: END IF;
16028:

Line 16073: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INDUSTRY_CONTEXT');

16069: IS
16070: l_column_value VARCHAR2(240) := null;
16071: BEGIN
16072:
16073: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INDUSTRY_CONTEXT');
16074:
16075: IF (p_attribute1 = FND_API.G_MISS_CHAR)
16076: AND (p_attribute2 = FND_API.G_MISS_CHAR)
16077: AND (p_attribute3 = FND_API.G_MISS_CHAR)

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

16528:
16529: WHEN OTHERS THEN
16530:
16531:
16532: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16533: THEN
16534:
16535: OE_MSG_PUB.Add_Exc_Msg
16536: ( G_PKG_NAME

Line 16535: OE_MSG_PUB.Add_Exc_Msg

16531:
16532: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16533: THEN
16534:
16535: OE_MSG_PUB.Add_Exc_Msg
16536: ( G_PKG_NAME
16537: , 'I_Line_Desc_Flex');
16538: END IF;
16539:

Line 16569: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TP_CONTEXT');

16565: IS
16566: l_column_value VARCHAR2(240) := null;
16567: BEGIN
16568:
16569: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'TP_CONTEXT');
16570:
16571: IF (p_attribute1 = FND_API.G_MISS_CHAR)
16572: AND (p_attribute2 = FND_API.G_MISS_CHAR)
16573: AND (p_attribute3 = FND_API.G_MISS_CHAR)

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

16815:
16816: WHEN OTHERS THEN
16817:
16818:
16819: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16820: THEN
16821:
16822: OE_MSG_PUB.Add_Exc_Msg
16823: ( G_PKG_NAME

Line 16822: OE_MSG_PUB.Add_Exc_Msg

16818:
16819: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
16820: THEN
16821:
16822: OE_MSG_PUB.Add_Exc_Msg
16823: ( G_PKG_NAME
16824: , 'TP_Line_Desc_Flex');
16825: END IF;
16826:

Line 16855: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_CONTEXT');

16851: IS
16852: l_column_value VARCHAR2(240) := null;
16853: BEGIN
16854:
16855: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_CONTEXT');
16856:
16857: IF (p_attribute1 = FND_API.G_MISS_CHAR)
16858: AND (p_attribute2 = FND_API.G_MISS_CHAR)
16859: AND (p_attribute3 = FND_API.G_MISS_CHAR)

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

17103:
17104: WHEN OTHERS THEN
17105:
17106:
17107: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17108: THEN
17109:
17110: OE_MSG_PUB.Add_Exc_Msg
17111: ( G_PKG_NAME

Line 17110: OE_MSG_PUB.Add_Exc_Msg

17106:
17107: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17108: THEN
17109:
17110: OE_MSG_PUB.Add_Exc_Msg
17111: ( G_PKG_NAME
17112: , 'R_Line_Desc_Flex');
17113: END IF;
17114:

Line 17143: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

17139: IS
17140: l_column_value VARCHAR2(240) := null;
17141: BEGIN
17142:
17143: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
17144:
17145: IF (p_attribute1 = FND_API.G_MISS_CHAR)
17146: AND (p_attribute2 = FND_API.G_MISS_CHAR)
17147: AND (p_attribute3 = FND_API.G_MISS_CHAR)

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

17387:
17388: WHEN OTHERS THEN
17389:
17390:
17391: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17392: THEN
17393:
17394: OE_MSG_PUB.Add_Exc_Msg
17395: ( G_PKG_NAME

Line 17394: OE_MSG_PUB.Add_Exc_Msg

17390:
17391: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17392: THEN
17393:
17394: OE_MSG_PUB.Add_Exc_Msg
17395: ( G_PKG_NAME
17396: , 'Price_Adj_Desc_Flex');
17397: END IF;
17398:

Line 17427: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');

17423: IS
17424: l_column_value VARCHAR2(240) := null;
17425: BEGIN
17426:
17427: -- OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CONTEXT');
17428:
17429: IF (p_attribute1 = FND_API.G_MISS_CHAR)
17430: AND (p_attribute2 = FND_API.G_MISS_CHAR)
17431: AND (p_attribute3 = FND_API.G_MISS_CHAR)

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

17672:
17673: WHEN OTHERS THEN
17674:
17675:
17676: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17677: THEN
17678:
17679: OE_MSG_PUB.Add_Exc_Msg
17680: ( G_PKG_NAME

Line 17679: OE_MSG_PUB.Add_Exc_Msg

17675:
17676: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17677: THEN
17678:
17679: OE_MSG_PUB.Add_Exc_Msg
17680: ( G_PKG_NAME
17681: , 'Sales_Credits_Desc_Flex');
17682: END IF;
17683:

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

17714: EXCEPTION
17715:
17716: WHEN NO_DATA_FOUND THEN
17717:
17718: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17719: THEN
17720: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_REASON_CODE');
17721:
17722:

Line 17720: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_REASON_CODE');

17716: WHEN NO_DATA_FOUND THEN
17717:
17718: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17719: THEN
17720: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'RETURN_REASON_CODE');
17721:
17722:
17723: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17724: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 17726: OE_MSG_PUB.Add;

17722:
17723: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17724: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17725: OE_Order_Util.Get_Attribute_Name('return_reason_code'));
17726: OE_MSG_PUB.Add;
17727: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17728:
17729: END IF;
17730:

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

17723: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17724: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17725: OE_Order_Util.Get_Attribute_Name('return_reason_code'));
17726: OE_MSG_PUB.Add;
17727: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17728:
17729: END IF;
17730:
17731:

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

17734: RETURN FALSE;
17735:
17736: WHEN OTHERS THEN
17737:
17738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17739: THEN
17740: OE_MSG_PUB.Add_Exc_Msg
17741: ( G_PKG_NAME
17742: , 'return_reason'

Line 17740: OE_MSG_PUB.Add_Exc_Msg

17736: WHEN OTHERS THEN
17737:
17738: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17739: THEN
17740: OE_MSG_PUB.Add_Exc_Msg
17741: ( G_PKG_NAME
17742: , 'return_reason'
17743: );
17744: END IF;

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

17775: EXCEPTION
17776:
17777: WHEN NO_DATA_FOUND THEN
17778:
17779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17780: THEN
17781:
17782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_FROM_LINE_ID');
17783:

Line 17782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_FROM_LINE_ID');

17778:
17779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17780: THEN
17781:
17782: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_FROM_LINE_ID');
17783:
17784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17786: OE_Order_Util.Get_Attribute_Name('split_from_line_id'));

Line 17787: OE_MSG_PUB.Add;

17783:
17784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17786: OE_Order_Util.Get_Attribute_Name('split_from_line_id'));
17787: OE_MSG_PUB.Add;
17788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17789:
17790: END IF;
17791:

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

17784: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17785: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17786: OE_Order_Util.Get_Attribute_Name('split_from_line_id'));
17787: OE_MSG_PUB.Add;
17788: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17789:
17790: END IF;
17791:
17792:

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

17794: RETURN FALSE;
17795:
17796: WHEN OTHERS THEN
17797:
17798: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17799: THEN
17800: OE_MSG_PUB.Add_Exc_Msg
17801: ( G_PKG_NAME
17802: , 'split_from_line'

Line 17800: OE_MSG_PUB.Add_Exc_Msg

17796: WHEN OTHERS THEN
17797:
17798: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17799: THEN
17800: OE_MSG_PUB.Add_Exc_Msg
17801: ( G_PKG_NAME
17802: , 'split_from_line'
17803: );
17804: END IF;

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

17835: EXCEPTION
17836:
17837: WHEN NO_DATA_FOUND THEN
17838:
17839: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17840: THEN
17841:
17842: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_SEQ_NUM');
17843:

Line 17842: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_SEQ_NUM');

17838:
17839: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17840: THEN
17841:
17842: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CUST_PRODUCTION_SEQ_NUM');
17843:
17844: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17845: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17846: OE_Order_Util.Get_Attribute_Name('cust_production_seq_num'));

Line 17847: OE_MSG_PUB.Add;

17843:
17844: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17845: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17846: OE_Order_Util.Get_Attribute_Name('cust_production_seq_num'));
17847: OE_MSG_PUB.Add;
17848: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17849:
17850: END IF;
17851:

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

17844: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17845: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17846: OE_Order_Util.Get_Attribute_Name('cust_production_seq_num'));
17847: OE_MSG_PUB.Add;
17848: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17849:
17850: END IF;
17851:
17852:

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

17854: RETURN FALSE;
17855:
17856: WHEN OTHERS THEN
17857:
17858: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17859: THEN
17860: OE_MSG_PUB.Add_Exc_Msg
17861: ( G_PKG_NAME
17862: , 'cust_production_seq_num'

Line 17860: OE_MSG_PUB.Add_Exc_Msg

17856: WHEN OTHERS THEN
17857:
17858: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17859: THEN
17860: OE_MSG_PUB.Add_Exc_Msg
17861: ( G_PKG_NAME
17862: , 'cust_production_seq_num'
17863: );
17864: END IF;

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

17896: EXCEPTION
17897:
17898: WHEN NO_DATA_FOUND THEN
17899:
17900: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17901: THEN
17902:
17903: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTHORIZED_TO_SHIP_FLAG');
17904:

Line 17903: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTHORIZED_TO_SHIP_FLAG');

17899:
17900: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17901: THEN
17902:
17903: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'AUTHORIZED_TO_SHIP_FLAG');
17904:
17905: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17906: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17907: OE_Order_Util.Get_Attribute_Name('authorized_to_ship_flag'));

Line 17908: OE_MSG_PUB.Add;

17904:
17905: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17906: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17907: OE_Order_Util.Get_Attribute_Name('authorized_to_ship_flag'));
17908: OE_MSG_PUB.Add;
17909: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17910:
17911: END IF;
17912:

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

17905: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17906: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17907: OE_Order_Util.Get_Attribute_Name('authorized_to_ship_flag'));
17908: OE_MSG_PUB.Add;
17909: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17910:
17911: END IF;
17912:
17913:

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

17915: RETURN FALSE;
17916:
17917: WHEN OTHERS THEN
17918:
17919: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17920: THEN
17921: OE_MSG_PUB.Add_Exc_Msg
17922: ( G_PKG_NAME
17923: , 'authorized_to_ship'

Line 17921: OE_MSG_PUB.Add_Exc_Msg

17917: WHEN OTHERS THEN
17918:
17919: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17920: THEN
17921: OE_MSG_PUB.Add_Exc_Msg
17922: ( G_PKG_NAME
17923: , 'authorized_to_ship'
17924: );
17925: END IF;

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

17956: EXCEPTION
17957:
17958: WHEN NO_DATA_FOUND THEN
17959:
17960: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17961: THEN
17962:
17963: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VEH_CUS_ITEM_CUM_KEY_ID');
17964:

Line 17963: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VEH_CUS_ITEM_CUM_KEY_ID');

17959:
17960: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
17961: THEN
17962:
17963: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'VEH_CUS_ITEM_CUM_KEY_ID');
17964:
17965: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17966: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17967: OE_Order_Util.Get_Attribute_Name('veh_cus_item_cum_key_id'));

Line 17968: OE_MSG_PUB.Add;

17964:
17965: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17966: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17967: OE_Order_Util.Get_Attribute_Name('veh_cus_item_cum_key_id'));
17968: OE_MSG_PUB.Add;
17969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17970:
17971: END IF;
17972:

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

17965: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
17966: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
17967: OE_Order_Util.Get_Attribute_Name('veh_cus_item_cum_key_id'));
17968: OE_MSG_PUB.Add;
17969: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
17970:
17971: END IF;
17972:
17973:

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

17975: RETURN FALSE;
17976:
17977: WHEN OTHERS THEN
17978:
17979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17980: THEN
17981: OE_MSG_PUB.Add_Exc_Msg
17982: ( G_PKG_NAME
17983: , 'veh_cus_item_cum_key'

Line 17981: OE_MSG_PUB.Add_Exc_Msg

17977: WHEN OTHERS THEN
17978:
17979: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
17980: THEN
17981: OE_MSG_PUB.Add_Exc_Msg
17982: ( G_PKG_NAME
17983: , 'veh_cus_item_cum_key'
17984: );
17985: END IF;

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

18016: EXCEPTION
18017:
18018: WHEN NO_DATA_FOUND THEN
18019:
18020: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18021: THEN
18022:
18023: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ARRIVAL_SET_ID');
18024:

Line 18023: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ARRIVAL_SET_ID');

18019:
18020: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18021: THEN
18022:
18023: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'ARRIVAL_SET_ID');
18024:
18025:
18026: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18027: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18029: OE_MSG_PUB.Add;

18025:
18026: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18027: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18028: OE_Order_Util.Get_Attribute_Name('arrival_set_id'));
18029: OE_MSG_PUB.Add;
18030: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18031:
18032: END IF;
18033:

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

18026: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18027: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18028: OE_Order_Util.Get_Attribute_Name('arrival_set_id'));
18029: OE_MSG_PUB.Add;
18030: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18031:
18032: END IF;
18033:
18034:

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

18036: RETURN FALSE;
18037:
18038: WHEN OTHERS THEN
18039:
18040: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18041: THEN
18042: OE_MSG_PUB.Add_Exc_Msg
18043: ( G_PKG_NAME
18044: , 'arrival_set'

Line 18042: OE_MSG_PUB.Add_Exc_Msg

18038: WHEN OTHERS THEN
18039:
18040: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18041: THEN
18042: OE_MSG_PUB.Add_Exc_Msg
18043: ( G_PKG_NAME
18044: , 'arrival_set'
18045: );
18046: END IF;

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

18077: EXCEPTION
18078:
18079: WHEN NO_DATA_FOUND THEN
18080:
18081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18082: THEN
18083:
18084: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_SET_ID');
18085:

Line 18084: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_SET_ID');

18080:
18081: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18082: THEN
18083:
18084: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SHIP_SET_ID');
18085:
18086: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18087: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18088: OE_Order_Util.Get_Attribute_Name('ship_set_id'));

Line 18089: OE_MSG_PUB.Add;

18085:
18086: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18087: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18088: OE_Order_Util.Get_Attribute_Name('ship_set_id'));
18089: OE_MSG_PUB.Add;
18090: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18091:
18092: END IF;
18093:

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

18086: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18087: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18088: OE_Order_Util.Get_Attribute_Name('ship_set_id'));
18089: OE_MSG_PUB.Add;
18090: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18091:
18092: END IF;
18093:
18094:

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

18096: RETURN FALSE;
18097:
18098: WHEN OTHERS THEN
18099:
18100: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18101: THEN
18102: OE_MSG_PUB.Add_Exc_Msg
18103: ( G_PKG_NAME
18104: , 'ship_set'

Line 18102: OE_MSG_PUB.Add_Exc_Msg

18098: WHEN OTHERS THEN
18099:
18100: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18101: THEN
18102: OE_MSG_PUB.Add_Exc_Msg
18103: ( G_PKG_NAME
18104: , 'ship_set'
18105: );
18106: END IF;

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

18137: EXCEPTION
18138:
18139: WHEN NO_DATA_FOUND THEN
18140:
18141: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18142: THEN
18143:
18144: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_REASON_CODE');
18145:

Line 18144: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_REASON_CODE');

18140:
18141: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18142: THEN
18143:
18144: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_REASON_CODE');
18145:
18146: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18147: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18148: OE_Order_Util.Get_Attribute_Name('over_ship_reason_code'));

Line 18149: OE_MSG_PUB.Add;

18145:
18146: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18147: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18148: OE_Order_Util.Get_Attribute_Name('over_ship_reason_code'));
18149: OE_MSG_PUB.Add;
18150: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18151:
18152: END IF;
18153:

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

18146: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18147: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18148: OE_Order_Util.Get_Attribute_Name('over_ship_reason_code'));
18149: OE_MSG_PUB.Add;
18150: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18151:
18152: END IF;
18153:
18154:

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

18156: RETURN FALSE;
18157:
18158: WHEN OTHERS THEN
18159:
18160: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18161: THEN
18162: OE_MSG_PUB.Add_Exc_Msg
18163: ( G_PKG_NAME
18164: , 'over_ship_reason'

Line 18162: OE_MSG_PUB.Add_Exc_Msg

18158: WHEN OTHERS THEN
18159:
18160: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18161: THEN
18162: OE_MSG_PUB.Add_Exc_Msg
18163: ( G_PKG_NAME
18164: , 'over_ship_reason'
18165: );
18166: END IF;

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

18198: EXCEPTION
18199:
18200: WHEN NO_DATA_FOUND THEN
18201:
18202: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18203: THEN
18204:
18205: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_RESOLVED_FLAG');
18206:

Line 18205: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_RESOLVED_FLAG');

18201:
18202: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18203: THEN
18204:
18205: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'OVER_SHIP_RESOLVED_FLAG');
18206:
18207: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18208: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18209: OE_Order_Util.Get_Attribute_Name('over_ship_resolved_flag'));

Line 18210: OE_MSG_PUB.Add;

18206:
18207: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18208: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18209: OE_Order_Util.Get_Attribute_Name('over_ship_resolved_flag'));
18210: OE_MSG_PUB.Add;
18211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18212:
18213: END IF;
18214:

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

18207: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18208: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18209: OE_Order_Util.Get_Attribute_Name('over_ship_resolved_flag'));
18210: OE_MSG_PUB.Add;
18211: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18212:
18213: END IF;
18214:
18215:

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

18217: RETURN FALSE;
18218:
18219: WHEN OTHERS THEN
18220:
18221: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18222: THEN
18223: OE_MSG_PUB.Add_Exc_Msg
18224: ( G_PKG_NAME
18225: , 'over_ship_resolved'

Line 18223: OE_MSG_PUB.Add_Exc_Msg

18219: WHEN OTHERS THEN
18220:
18221: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18222: THEN
18223: OE_MSG_PUB.Add_Exc_Msg
18224: ( G_PKG_NAME
18225: , 'over_ship_resolved'
18226: );
18227: END IF;

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

18267: EXCEPTION
18268:
18269: WHEN NO_DATA_FOUND THEN
18270:
18271: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18272: THEN
18273:
18274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TYPE_CODE');
18275:

Line 18274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TYPE_CODE');

18270:
18271: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18272: THEN
18273:
18274: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_TYPE_CODE');
18275:
18276: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18277: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18278: OE_Order_Util.Get_Attribute_Name('payment_type_code'));

Line 18279: OE_MSG_PUB.Add;

18275:
18276: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18277: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18278: OE_Order_Util.Get_Attribute_Name('payment_type_code'));
18279: OE_MSG_PUB.Add;
18280: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18281:
18282: END IF;
18283:

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

18276: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18277: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18278: OE_Order_Util.Get_Attribute_Name('payment_type_code'));
18279: OE_MSG_PUB.Add;
18280: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18281:
18282: END IF;
18283:
18284:

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

18285: RETURN FALSE;
18286:
18287: WHEN OTHERS THEN
18288:
18289: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18290: THEN
18291: OE_MSG_PUB.Add_Exc_Msg
18292: ( G_PKG_NAME
18293: , 'Payment_Type'

Line 18291: OE_MSG_PUB.Add_Exc_Msg

18287: WHEN OTHERS THEN
18288:
18289: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18290: THEN
18291: OE_MSG_PUB.Add_Exc_Msg
18292: ( G_PKG_NAME
18293: , 'Payment_Type'
18294: );
18295: END IF;

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

18325: EXCEPTION
18326:
18327: WHEN NO_DATA_FOUND THEN
18328:
18329: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18330: THEN
18331:
18332: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_AMOUNT');
18333:

Line 18332: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_AMOUNT');

18328:
18329: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18330: THEN
18331:
18332: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'PAYMENT_AMOUNT');
18333:
18334: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18335: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18336: OE_Order_Util.Get_Attribute_Name('payment_amount'));

Line 18337: OE_MSG_PUB.Add;

18333:
18334: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18335: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18336: OE_Order_Util.Get_Attribute_Name('payment_amount'));
18337: OE_MSG_PUB.Add;
18338: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18339:
18340: END IF;
18341:

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

18334: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18335: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18336: OE_Order_Util.Get_Attribute_Name('payment_amount'));
18337: OE_MSG_PUB.Add;
18338: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18339:
18340: END IF;
18341:
18342:

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

18344: RETURN FALSE;
18345:
18346: WHEN OTHERS THEN
18347:
18348: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18349: THEN
18350: OE_MSG_PUB.Add_Exc_Msg
18351: ( G_PKG_NAME
18352: , 'payment_amount'

Line 18350: OE_MSG_PUB.Add_Exc_Msg

18346: WHEN OTHERS THEN
18347:
18348: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18349: THEN
18350: OE_MSG_PUB.Add_Exc_Msg
18351: ( G_PKG_NAME
18352: , 'payment_amount'
18353: );
18354: END IF;

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

18384: EXCEPTION
18385:
18386: WHEN NO_DATA_FOUND THEN
18387:
18388: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18389: THEN
18390:
18391: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHECK_NUMBER');
18392:

Line 18391: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHECK_NUMBER');

18387:
18388: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18389: THEN
18390:
18391: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHECK_NUMBER');
18392:
18393: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18394: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18395: OE_Order_Util.Get_Attribute_Name('check_number'));

Line 18396: OE_MSG_PUB.Add;

18392:
18393: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18394: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18395: OE_Order_Util.Get_Attribute_Name('check_number'));
18396: OE_MSG_PUB.Add;
18397: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18398:
18399: END IF;
18400:

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

18393: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18394: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18395: OE_Order_Util.Get_Attribute_Name('check_number'));
18396: OE_MSG_PUB.Add;
18397: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18398:
18399: END IF;
18400:
18401:

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

18402: RETURN FALSE;
18403:
18404: WHEN OTHERS THEN
18405:
18406: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18407: THEN
18408: OE_MSG_PUB.Add_Exc_Msg
18409: ( G_PKG_NAME
18410: , 'Check_Number'

Line 18408: OE_MSG_PUB.Add_Exc_Msg

18404: WHEN OTHERS THEN
18405:
18406: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18407: THEN
18408: OE_MSG_PUB.Add_Exc_Msg
18409: ( G_PKG_NAME
18410: , 'Check_Number'
18411: );
18412: END IF;

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

18451: EXCEPTION
18452:
18453: WHEN NO_DATA_FOUND THEN
18454:
18455: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18456: THEN
18457:
18458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_CODE');
18459:

Line 18458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_CODE');

18454:
18455: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18456: THEN
18457:
18458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_CODE');
18459:
18460: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18461: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18462: OE_Order_Util.Get_Attribute_Name('credit_card_code'));

Line 18463: OE_MSG_PUB.Add;

18459:
18460: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18461: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18462: OE_Order_Util.Get_Attribute_Name('credit_card_code'));
18463: OE_MSG_PUB.Add;
18464: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18465:
18466: END IF;
18467:

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

18460: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18461: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18462: OE_Order_Util.Get_Attribute_Name('credit_card_code'));
18463: OE_MSG_PUB.Add;
18464: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18465:
18466: END IF;
18467:
18468:

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

18469: RETURN FALSE;
18470:
18471: WHEN OTHERS THEN
18472:
18473: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18474: THEN
18475: OE_MSG_PUB.Add_Exc_Msg
18476: ( G_PKG_NAME
18477: , 'Credit_Card'

Line 18475: OE_MSG_PUB.Add_Exc_Msg

18471: WHEN OTHERS THEN
18472:
18473: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18474: THEN
18475: OE_MSG_PUB.Add_Exc_Msg
18476: ( G_PKG_NAME
18477: , 'Credit_Card'
18478: );
18479: END IF;

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

18508: EXCEPTION
18509:
18510: WHEN NO_DATA_FOUND THEN
18511:
18512: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18513: THEN
18514:
18515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_HOLDER_NAME');
18516:

Line 18515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_HOLDER_NAME');

18511:
18512: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18513: THEN
18514:
18515: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_HOLDER_NAME');
18516:
18517: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18518: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18519: OE_Order_Util.Get_Attribute_Name('credit_card_holder_name'));

Line 18520: OE_MSG_PUB.Add;

18516:
18517: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18518: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18519: OE_Order_Util.Get_Attribute_Name('credit_card_holder_name'));
18520: OE_MSG_PUB.Add;
18521: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18522:
18523: END IF;
18524:

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

18517: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18518: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18519: OE_Order_Util.Get_Attribute_Name('credit_card_holder_name'));
18520: OE_MSG_PUB.Add;
18521: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18522:
18523: END IF;
18524:
18525:

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

18526: RETURN FALSE;
18527:
18528: WHEN OTHERS THEN
18529:
18530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18531: THEN
18532: OE_MSG_PUB.Add_Exc_Msg
18533: ( G_PKG_NAME
18534: , 'Credit_Card_Holder_Name'

Line 18532: OE_MSG_PUB.Add_Exc_Msg

18528: WHEN OTHERS THEN
18529:
18530: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18531: THEN
18532: OE_MSG_PUB.Add_Exc_Msg
18533: ( G_PKG_NAME
18534: , 'Credit_Card_Holder_Name'
18535: );
18536: END IF;

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

18565: EXCEPTION
18566:
18567: WHEN NO_DATA_FOUND THEN
18568:
18569: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18570: THEN
18571:
18572: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_NUMBER');
18573:

Line 18572: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_NUMBER');

18568:
18569: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18570: THEN
18571:
18572: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_NUMBER');
18573:
18574: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18575: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18576: OE_Order_Util.Get_Attribute_Name('credit_card_number'));

Line 18577: OE_MSG_PUB.Add;

18573:
18574: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18575: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18576: OE_Order_Util.Get_Attribute_Name('credit_card_number'));
18577: OE_MSG_PUB.Add;
18578: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18579:
18580: END IF;
18581:

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

18574: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18575: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18576: OE_Order_Util.Get_Attribute_Name('credit_card_number'));
18577: OE_MSG_PUB.Add;
18578: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18579:
18580: END IF;
18581:
18582:

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

18583: RETURN FALSE;
18584:
18585: WHEN OTHERS THEN
18586:
18587: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18588: THEN
18589: OE_MSG_PUB.Add_Exc_Msg
18590: ( G_PKG_NAME
18591: , 'Credit_Card_Number'

Line 18589: OE_MSG_PUB.Add_Exc_Msg

18585: WHEN OTHERS THEN
18586:
18587: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18588: THEN
18589: OE_MSG_PUB.Add_Exc_Msg
18590: ( G_PKG_NAME
18591: , 'Credit_Card_Number'
18592: );
18593: END IF;

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

18613: -- WHERE DB_COLUMN = p_credit_card_approval_date;
18614: RETURN TRUE;
18615: EXCEPTION
18616: WHEN NO_DATA_FOUND THEN
18617: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18618: THEN
18619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');
18620: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18621: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');

18615: EXCEPTION
18616: WHEN NO_DATA_FOUND THEN
18617: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18618: THEN
18619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');
18620: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18621: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18622: OE_Order_Util.Get_Attribute_Name('credit_card_approval_date'));
18623: OE_MSG_PUB.Add;

Line 18623: OE_MSG_PUB.Add;

18619: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_DATE');
18620: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18621: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18622: OE_Order_Util.Get_Attribute_Name('credit_card_approval_date'));
18623: OE_MSG_PUB.Add;
18624: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18625: END IF;
18626: RETURN FALSE;
18627: WHEN OTHERS THEN

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

18620: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18621: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18622: OE_Order_Util.Get_Attribute_Name('credit_card_approval_date'));
18623: OE_MSG_PUB.Add;
18624: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18625: END IF;
18626: RETURN FALSE;
18627: WHEN OTHERS THEN
18628: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

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

18624: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18625: END IF;
18626: RETURN FALSE;
18627: WHEN OTHERS THEN
18628: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18629: THEN
18630: OE_MSG_PUB.Add_Exc_Msg
18631: ( G_PKG_NAME
18632: , 'Credit_Card_Approval_Date'

Line 18630: OE_MSG_PUB.Add_Exc_Msg

18626: RETURN FALSE;
18627: WHEN OTHERS THEN
18628: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18629: THEN
18630: OE_MSG_PUB.Add_Exc_Msg
18631: ( G_PKG_NAME
18632: , 'Credit_Card_Approval_Date'
18633: );
18634: END IF;

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

18651: -- WHERE DB_COLUMN = p_credit_card_expiration_date;
18652: RETURN TRUE;
18653: EXCEPTION
18654: WHEN NO_DATA_FOUND THEN
18655: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18656: THEN
18657: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');
18658: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18659: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18657: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');

18653: EXCEPTION
18654: WHEN NO_DATA_FOUND THEN
18655: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18656: THEN
18657: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');
18658: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18659: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18660: OE_Order_Util.Get_Attribute_Name('credit_card_expiration_date'));
18661: OE_MSG_PUB.Add;

Line 18661: OE_MSG_PUB.Add;

18657: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_EXPIRATION_DATE');
18658: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18659: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18660: OE_Order_Util.Get_Attribute_Name('credit_card_expiration_date'));
18661: OE_MSG_PUB.Add;
18662: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18663: END IF;
18664: RETURN FALSE;
18665: WHEN OTHERS THEN

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

18658: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18659: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18660: OE_Order_Util.Get_Attribute_Name('credit_card_expiration_date'));
18661: OE_MSG_PUB.Add;
18662: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18663: END IF;
18664: RETURN FALSE;
18665: WHEN OTHERS THEN
18666: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

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

18662: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18663: END IF;
18664: RETURN FALSE;
18665: WHEN OTHERS THEN
18666: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18667: THEN
18668: OE_MSG_PUB.Add_Exc_Msg
18669: ( G_PKG_NAME
18670: , 'Credit_Card_Expiration_Date'

Line 18668: OE_MSG_PUB.Add_Exc_Msg

18664: RETURN FALSE;
18665: WHEN OTHERS THEN
18666: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18667: THEN
18668: OE_MSG_PUB.Add_Exc_Msg
18669: ( G_PKG_NAME
18670: , 'Credit_Card_Expiration_Date'
18671: );
18672: END IF;

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

18698: EXCEPTION
18699:
18700: WHEN NO_DATA_FOUND THEN
18701:
18702: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18703: THEN
18704:
18705: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_CODE');
18706:

Line 18705: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_CODE');

18701:
18702: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18703: THEN
18704:
18705: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_CARD_APPROVAL_CODE');
18706:
18707: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18708: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18709: OE_Order_Util.Get_Attribute_Name('credit_card_approval_code'));

Line 18710: OE_MSG_PUB.Add;

18706:
18707: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18708: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18709: OE_Order_Util.Get_Attribute_Name('credit_card_approval_code'));
18710: OE_MSG_PUB.Add;
18711: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18712:
18713: END IF;
18714:

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

18707: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18708: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18709: OE_Order_Util.Get_Attribute_Name('credit_card_approval_code'));
18710: OE_MSG_PUB.Add;
18711: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18712:
18713: END IF;
18714:
18715:

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

18716: RETURN FALSE;
18717:
18718: WHEN OTHERS THEN
18719:
18720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18721: THEN
18722: OE_MSG_PUB.Add_Exc_Msg
18723: ( G_PKG_NAME
18724: , 'Credit_Card_Approval'

Line 18722: OE_MSG_PUB.Add_Exc_Msg

18718: WHEN OTHERS THEN
18719:
18720: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18721: THEN
18722: OE_MSG_PUB.Add_Exc_Msg
18723: ( G_PKG_NAME
18724: , 'Credit_Card_Approval'
18725: );
18726: END IF;

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

18756: EXCEPTION
18757:
18758: WHEN NO_DATA_FOUND THEN
18759:
18760: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18761: THEN
18762:
18763: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_CODE');
18764:

Line 18763: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_CODE');

18759:
18760: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18761: THEN
18762:
18763: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_CODE');
18764:
18765: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18766: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18767: OE_Order_Util.Get_Attribute_Name('first_ack_code'));

Line 18768: OE_MSG_PUB.Add;

18764:
18765: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18766: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18767: OE_Order_Util.Get_Attribute_Name('first_ack_code'));
18768: OE_MSG_PUB.Add;
18769:
18770: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18771:
18772: END IF;

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

18766: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18767: OE_Order_Util.Get_Attribute_Name('first_ack_code'));
18768: OE_MSG_PUB.Add;
18769:
18770: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18771:
18772: END IF;
18773:
18774:

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

18775: RETURN FALSE;
18776:
18777: WHEN OTHERS THEN
18778:
18779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18780: THEN
18781: OE_MSG_PUB.Add_Exc_Msg
18782: ( G_PKG_NAME
18783: , 'First_Ack'

Line 18781: OE_MSG_PUB.Add_Exc_Msg

18777: WHEN OTHERS THEN
18778:
18779: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18780: THEN
18781: OE_MSG_PUB.Add_Exc_Msg
18782: ( G_PKG_NAME
18783: , 'First_Ack'
18784: );
18785: END IF;

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

18815: EXCEPTION
18816:
18817: WHEN NO_DATA_FOUND THEN
18818:
18819: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18820: THEN
18821:
18822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_DATE');
18823:

Line 18822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_DATE');

18818:
18819: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18820: THEN
18821:
18822: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FIRST_ACK_DATE');
18823:
18824: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18825: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18826: OE_Order_Util.Get_Attribute_Name('first_ack_date'));

Line 18827: OE_MSG_PUB.Add;

18823:
18824: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18825: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18826: OE_Order_Util.Get_Attribute_Name('first_ack_date'));
18827: OE_MSG_PUB.Add;
18828: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18829:
18830: END IF;
18831:

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

18824: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18825: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18826: OE_Order_Util.Get_Attribute_Name('first_ack_date'));
18827: OE_MSG_PUB.Add;
18828: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18829:
18830: END IF;
18831:
18832:

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

18833: RETURN FALSE;
18834:
18835: WHEN OTHERS THEN
18836:
18837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18838: THEN
18839: OE_MSG_PUB.Add_Exc_Msg
18840: ( G_PKG_NAME
18841: , 'First_Ack_Date'

Line 18839: OE_MSG_PUB.Add_Exc_Msg

18835: WHEN OTHERS THEN
18836:
18837: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18838: THEN
18839: OE_MSG_PUB.Add_Exc_Msg
18840: ( G_PKG_NAME
18841: , 'First_Ack_Date'
18842: );
18843: END IF;

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

18872: EXCEPTION
18873:
18874: WHEN NO_DATA_FOUND THEN
18875:
18876: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18877: THEN
18878:
18879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_CODE');
18880:

Line 18879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_CODE');

18875:
18876: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18877: THEN
18878:
18879: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_CODE');
18880:
18881: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18882: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18883: OE_Order_Util.Get_Attribute_Name('last_ack_code'));

Line 18884: OE_MSG_PUB.Add;

18880:
18881: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18882: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18883: OE_Order_Util.Get_Attribute_Name('last_ack_code'));
18884: OE_MSG_PUB.Add;
18885: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18886:
18887: END IF;
18888:

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

18881: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18882: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18883: OE_Order_Util.Get_Attribute_Name('last_ack_code'));
18884: OE_MSG_PUB.Add;
18885: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18886:
18887: END IF;
18888:
18889:

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

18890: RETURN FALSE;
18891:
18892: WHEN OTHERS THEN
18893:
18894: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18895: THEN
18896: OE_MSG_PUB.Add_Exc_Msg
18897: ( G_PKG_NAME
18898: , 'Last_Ack'

Line 18896: OE_MSG_PUB.Add_Exc_Msg

18892: WHEN OTHERS THEN
18893:
18894: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18895: THEN
18896: OE_MSG_PUB.Add_Exc_Msg
18897: ( G_PKG_NAME
18898: , 'Last_Ack'
18899: );
18900: END IF;

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

18930: EXCEPTION
18931:
18932: WHEN NO_DATA_FOUND THEN
18933:
18934: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18935: THEN
18936:
18937: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_DATE');
18938:

Line 18937: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_DATE');

18933:
18934: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18935: THEN
18936:
18937: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'LAST_ACK_DATE');
18938:
18939: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18940: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18941: OE_Order_Util.Get_Attribute_Name('last_ack_date'));

Line 18942: OE_MSG_PUB.Add;

18938:
18939: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18940: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18941: OE_Order_Util.Get_Attribute_Name('last_ack_date'));
18942: OE_MSG_PUB.Add;
18943: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18944:
18945: END IF;
18946:

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

18939: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18940: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18941: OE_Order_Util.Get_Attribute_Name('last_ack_date'));
18942: OE_MSG_PUB.Add;
18943: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
18944:
18945: END IF;
18946:
18947:

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

18948: RETURN FALSE;
18949:
18950: WHEN OTHERS THEN
18951:
18952: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18953: THEN
18954: OE_MSG_PUB.Add_Exc_Msg
18955: ( G_PKG_NAME
18956: , 'Last_Ack_Date'

Line 18954: OE_MSG_PUB.Add_Exc_Msg

18950: WHEN OTHERS THEN
18951:
18952: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
18953: THEN
18954: OE_MSG_PUB.Add_Exc_Msg
18955: ( G_PKG_NAME
18956: , 'Last_Ack_Date'
18957: );
18958: END IF;

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

18985: EXCEPTION
18986:
18987: WHEN NO_DATA_FOUND THEN
18988:
18989: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18990: THEN
18991:
18992: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_ITEM_UNIT_NUMBER');
18993:

Line 18992: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_ITEM_UNIT_NUMBER');

18988:
18989: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
18990: THEN
18991:
18992: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'END_ITEM_UNIT_NUMBER');
18993:
18994:
18995: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18996: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',

Line 18998: OE_MSG_PUB.Add;

18994:
18995: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18996: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18997: OE_Order_Util.Get_Attribute_Name('end_item_unit_number'));
18998: OE_MSG_PUB.Add;
18999: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19000:
19001: END IF;
19002:

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

18995: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
18996: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
18997: OE_Order_Util.Get_Attribute_Name('end_item_unit_number'));
18998: OE_MSG_PUB.Add;
18999: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19000:
19001: END IF;
19002:
19003:

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

19004: RETURN FALSE;
19005:
19006: WHEN OTHERS THEN
19007:
19008: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19009: THEN
19010: OE_MSG_PUB.Add_Exc_Msg
19011: ( G_PKG_NAME
19012: , 'end_item_unit_number'

Line 19010: OE_MSG_PUB.Add_Exc_Msg

19006: WHEN OTHERS THEN
19007:
19008: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19009: THEN
19010: OE_MSG_PUB.Add_Exc_Msg
19011: ( G_PKG_NAME
19012: , 'end_item_unit_number'
19013: );
19014: END IF;

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

19043: EXCEPTION
19044:
19045: WHEN NO_DATA_FOUND THEN
19046:
19047: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19048: THEN
19049:
19050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_QUANTITY');
19051:

Line 19050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_QUANTITY');

19046:
19047: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19048: THEN
19049:
19050: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INVOICED_QUANTITY');
19051:
19052: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19053: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19054: OE_Order_Util.Get_Attribute_Name('invoiced_quantity'));

Line 19055: OE_MSG_PUB.Add;

19051:
19052: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19053: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19054: OE_Order_Util.Get_Attribute_Name('invoiced_quantity'));
19055: OE_MSG_PUB.Add;
19056: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19057:
19058: END IF;
19059:

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

19052: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19053: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19054: OE_Order_Util.Get_Attribute_Name('invoiced_quantity'));
19055: OE_MSG_PUB.Add;
19056: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19057:
19058: END IF;
19059:
19060:

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

19061: RETURN FALSE;
19062:
19063: WHEN OTHERS THEN
19064:
19065: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19066: THEN
19067: OE_MSG_PUB.Add_Exc_Msg
19068: ( G_PKG_NAME
19069: , 'Invoiced_Quantity'

Line 19067: OE_MSG_PUB.Add_Exc_Msg

19063: WHEN OTHERS THEN
19064:
19065: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19066: THEN
19067: OE_MSG_PUB.Add_Exc_Msg
19068: ( G_PKG_NAME
19069: , 'Invoiced_Quantity'
19070: );
19071: END IF;

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

19101: EXCEPTION
19102:
19103: WHEN NO_DATA_FOUND THEN
19104:
19105: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19106: THEN
19107:
19108: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_REASON');
19109:

Line 19108: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_REASON');

19104:
19105: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19106: THEN
19107:
19108: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_REASON');
19109:
19110: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19111: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19112: OE_Order_Util.Get_Attribute_Name('Service_Txn_Reason'));

Line 19113: OE_MSG_PUB.Add;

19109:
19110: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19111: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19112: OE_Order_Util.Get_Attribute_Name('Service_Txn_Reason'));
19113: OE_MSG_PUB.Add;
19114: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19115:
19116: END IF;
19117:

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

19110: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19111: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19112: OE_Order_Util.Get_Attribute_Name('Service_Txn_Reason'));
19113: OE_MSG_PUB.Add;
19114: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19115:
19116: END IF;
19117:
19118:

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

19119: RETURN FALSE;
19120:
19121: WHEN OTHERS THEN
19122:
19123: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19124: THEN
19125: OE_MSG_PUB.Add_Exc_Msg
19126: ( G_PKG_NAME
19127: , 'Service_Txn_Reason'

Line 19125: OE_MSG_PUB.Add_Exc_Msg

19121: WHEN OTHERS THEN
19122:
19123: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19124: THEN
19125: OE_MSG_PUB.Add_Exc_Msg
19126: ( G_PKG_NAME
19127: , 'Service_Txn_Reason'
19128: );
19129: END IF;

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

19159: EXCEPTION
19160:
19161: WHEN NO_DATA_FOUND THEN
19162:
19163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19164: THEN
19165:
19166: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_COMMENTS');
19167:

Line 19166: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_COMMENTS');

19162:
19163: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19164: THEN
19165:
19166: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SERVICE_TXN_TYPE_COMMENTS');
19167:
19168: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19169: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19170: OE_Order_Util.Get_Attribute_Name('Service_Txn_Comments'));

Line 19171: OE_MSG_PUB.Add;

19167:
19168: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19169: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19170: OE_Order_Util.Get_Attribute_Name('Service_Txn_Comments'));
19171: OE_MSG_PUB.Add;
19172: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19173:
19174: END IF;
19175:

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

19168: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19169: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19170: OE_Order_Util.Get_Attribute_Name('Service_Txn_Comments'));
19171: OE_MSG_PUB.Add;
19172: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19173:
19174: END IF;
19175:
19176:

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

19177: RETURN FALSE;
19178:
19179: WHEN OTHERS THEN
19180:
19181: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19182: THEN
19183: OE_MSG_PUB.Add_Exc_Msg
19184: ( G_PKG_NAME
19185: , 'Service_Txn_Comments'

Line 19183: OE_MSG_PUB.Add_Exc_Msg

19179: WHEN OTHERS THEN
19180:
19181: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19182: THEN
19183: OE_MSG_PUB.Add_Exc_Msg
19184: ( G_PKG_NAME
19185: , 'Service_Txn_Comments'
19186: );
19187: END IF;

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

19217: EXCEPTION
19218:
19219: WHEN NO_DATA_FOUND THEN
19220:
19221: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19222: THEN
19223:
19224: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Serviced_Duration');
19225:

Line 19224: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Serviced_Duration');

19220:
19221: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19222: THEN
19223:
19224: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Serviced_Duration');
19225:
19226: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19227: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19228: OE_Order_Util.Get_Attribute_Name('Service_Duration'));

Line 19229: OE_MSG_PUB.Add;

19225:
19226: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19227: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19228: OE_Order_Util.Get_Attribute_Name('Service_Duration'));
19229: OE_MSG_PUB.Add;
19230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19231:
19232: END IF;
19233:

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

19226: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19227: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19228: OE_Order_Util.Get_Attribute_Name('Service_Duration'));
19229: OE_MSG_PUB.Add;
19230: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19231:
19232: END IF;
19233:
19234:

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

19235: RETURN FALSE;
19236:
19237: WHEN OTHERS THEN
19238:
19239: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19240: THEN
19241: OE_MSG_PUB.Add_Exc_Msg
19242: ( G_PKG_NAME
19243: , 'Serviced_Duration'

Line 19241: OE_MSG_PUB.Add_Exc_Msg

19237: WHEN OTHERS THEN
19238:
19239: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19240: THEN
19241: OE_MSG_PUB.Add_Exc_Msg
19242: ( G_PKG_NAME
19243: , 'Serviced_Duration'
19244: );
19245: END IF;

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

19274: EXCEPTION
19275:
19276: WHEN NO_DATA_FOUND THEN
19277:
19278: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19279: THEN
19280:
19281: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Period');
19282:

Line 19281: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Period');

19277:
19278: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19279: THEN
19280:
19281: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Period');
19282:
19283: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19284: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19285: OE_Order_Util.Get_Attribute_Name('Service_Period'));

Line 19286: OE_MSG_PUB.Add;

19282:
19283: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19284: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19285: OE_Order_Util.Get_Attribute_Name('Service_Period'));
19286: OE_MSG_PUB.Add;
19287: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19288:
19289: END IF;
19290:

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

19283: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19284: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19285: OE_Order_Util.Get_Attribute_Name('Service_Period'));
19286: OE_MSG_PUB.Add;
19287: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19288:
19289: END IF;
19290:
19291:

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

19292: RETURN FALSE;
19293:
19294: WHEN OTHERS THEN
19295:
19296: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19297: THEN
19298: OE_MSG_PUB.Add_Exc_Msg
19299: ( G_PKG_NAME
19300: , 'Service_Period'

Line 19298: OE_MSG_PUB.Add_Exc_Msg

19294: WHEN OTHERS THEN
19295:
19296: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19297: THEN
19298: OE_MSG_PUB.Add_Exc_Msg
19299: ( G_PKG_NAME
19300: , 'Service_Period'
19301: );
19302: END IF;

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

19332: EXCEPTION
19333:
19334: WHEN NO_DATA_FOUND THEN
19335:
19336: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19337: THEN
19338:
19339: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Start_Date');
19340:

Line 19339: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Start_Date');

19335:
19336: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19337: THEN
19338:
19339: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Start_Date');
19340:
19341: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19342: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19343: OE_Order_Util.Get_Attribute_Name('Service_Start_Date'));

Line 19344: OE_MSG_PUB.Add;

19340:
19341: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19342: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19343: OE_Order_Util.Get_Attribute_Name('Service_Start_Date'));
19344: OE_MSG_PUB.Add;
19345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19346:
19347: END IF;
19348:

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

19341: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19342: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19343: OE_Order_Util.Get_Attribute_Name('Service_Start_Date'));
19344: OE_MSG_PUB.Add;
19345: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19346:
19347: END IF;
19348:
19349:

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

19350: RETURN FALSE;
19351:
19352: WHEN OTHERS THEN
19353:
19354: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19355: THEN
19356: OE_MSG_PUB.Add_Exc_Msg
19357: ( G_PKG_NAME
19358: , 'Serviced_Start_Date'

Line 19356: OE_MSG_PUB.Add_Exc_Msg

19352: WHEN OTHERS THEN
19353:
19354: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19355: THEN
19356: OE_MSG_PUB.Add_Exc_Msg
19357: ( G_PKG_NAME
19358: , 'Serviced_Start_Date'
19359: );
19360: END IF;

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

19389: EXCEPTION
19390:
19391: WHEN NO_DATA_FOUND THEN
19392:
19393: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19394: THEN
19395:
19396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_End_Date');
19397:

Line 19396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_End_Date');

19392:
19393: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19394: THEN
19395:
19396: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_End_Date');
19397:
19398: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19399: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19400: OE_Order_Util.Get_Attribute_Name('Service_End_Date'));

Line 19401: OE_MSG_PUB.Add;

19397:
19398: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19399: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19400: OE_Order_Util.Get_Attribute_Name('Service_End_Date'));
19401: OE_MSG_PUB.Add;
19402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19403:
19404: END IF;
19405:

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

19398: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19399: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19400: OE_Order_Util.Get_Attribute_Name('Service_End_Date'));
19401: OE_MSG_PUB.Add;
19402: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19403:
19404: END IF;
19405:
19406:

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

19407: RETURN FALSE;
19408:
19409: WHEN OTHERS THEN
19410:
19411: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19412: THEN
19413: OE_MSG_PUB.Add_Exc_Msg
19414: ( G_PKG_NAME
19415: , 'Service_End_Date'

Line 19413: OE_MSG_PUB.Add_Exc_Msg

19409: WHEN OTHERS THEN
19410:
19411: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19412: THEN
19413: OE_MSG_PUB.Add_Exc_Msg
19414: ( G_PKG_NAME
19415: , 'Service_End_Date'
19416: );
19417: END IF;

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

19446: EXCEPTION
19447:
19448: WHEN NO_DATA_FOUND THEN
19449:
19450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19451: THEN
19452:
19453: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Coterminate');
19454:

Line 19453: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Coterminate');

19449:
19450: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19451: THEN
19452:
19453: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Coterminate');
19454:
19455: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19456: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19457: OE_Order_Util.Get_Attribute_Name('Service_Coterminate'));

Line 19458: OE_MSG_PUB.Add;

19454:
19455: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19456: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19457: OE_Order_Util.Get_Attribute_Name('Service_Coterminate'));
19458: OE_MSG_PUB.Add;
19459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19460:
19461: END IF;
19462:

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

19455: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19456: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19457: OE_Order_Util.Get_Attribute_Name('Service_Coterminate'));
19458: OE_MSG_PUB.Add;
19459: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19460:
19461: END IF;
19462:
19463:

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

19464: RETURN FALSE;
19465:
19466: WHEN OTHERS THEN
19467:
19468: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19469: THEN
19470: OE_MSG_PUB.Add_Exc_Msg
19471: ( G_PKG_NAME
19472: , 'Service_Coterminate'

Line 19470: OE_MSG_PUB.Add_Exc_Msg

19466: WHEN OTHERS THEN
19467:
19468: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19469: THEN
19470: OE_MSG_PUB.Add_Exc_Msg
19471: ( G_PKG_NAME
19472: , 'Service_Coterminate'
19473: );
19474: END IF;

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

19503: EXCEPTION
19504:
19505: WHEN NO_DATA_FOUND THEN
19506:
19507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19508: THEN
19509:
19510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_List_Percent');
19511:

Line 19510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_List_Percent');

19506:
19507: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19508: THEN
19509:
19510: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_List_Percent');
19511:
19512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19514: OE_Order_Util.Get_Attribute_Name('Unit_List_Percent'));

Line 19515: OE_MSG_PUB.Add;

19511:
19512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19514: OE_Order_Util.Get_Attribute_Name('Unit_List_Percent'));
19515: OE_MSG_PUB.Add;
19516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19517:
19518: END IF;
19519:

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

19512: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19513: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19514: OE_Order_Util.Get_Attribute_Name('Unit_List_Percent'));
19515: OE_MSG_PUB.Add;
19516: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19517:
19518: END IF;
19519:
19520:

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

19521: RETURN FALSE;
19522:
19523: WHEN OTHERS THEN
19524:
19525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19526: THEN
19527: OE_MSG_PUB.Add_Exc_Msg
19528: ( G_PKG_NAME
19529: , 'Unit_List_Percent'

Line 19527: OE_MSG_PUB.Add_Exc_Msg

19523: WHEN OTHERS THEN
19524:
19525: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19526: THEN
19527: OE_MSG_PUB.Add_Exc_Msg
19528: ( G_PKG_NAME
19529: , 'Unit_List_Percent'
19530: );
19531: END IF;

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

19560: EXCEPTION
19561:
19562: WHEN NO_DATA_FOUND THEN
19563:
19564: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19565: THEN
19566:
19567: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Selling_Percent');
19568:

Line 19567: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Selling_Percent');

19563:
19564: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19565: THEN
19566:
19567: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Selling_Percent');
19568:
19569: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19570: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19571: OE_Order_Util.Get_Attribute_Name('Unit_Selling_Percent'));

Line 19572: OE_MSG_PUB.Add;

19568:
19569: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19570: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19571: OE_Order_Util.Get_Attribute_Name('Unit_Selling_Percent'));
19572: OE_MSG_PUB.Add;
19573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19574:
19575: END IF;
19576:

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

19569: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19570: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19571: OE_Order_Util.Get_Attribute_Name('Unit_Selling_Percent'));
19572: OE_MSG_PUB.Add;
19573: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19574:
19575: END IF;
19576:
19577:

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

19578: RETURN FALSE;
19579:
19580: WHEN OTHERS THEN
19581:
19582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19583: THEN
19584: OE_MSG_PUB.Add_Exc_Msg
19585: ( G_PKG_NAME
19586: , 'Unit_Selling_Percent'

Line 19584: OE_MSG_PUB.Add_Exc_Msg

19580: WHEN OTHERS THEN
19581:
19582: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19583: THEN
19584: OE_MSG_PUB.Add_Exc_Msg
19585: ( G_PKG_NAME
19586: , 'Unit_Selling_Percent'
19587: );
19588: END IF;

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

19617: EXCEPTION
19618:
19619: WHEN NO_DATA_FOUND THEN
19620:
19621: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19622: THEN
19623:
19624: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Percent_base_Price');
19625:

Line 19624: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Percent_base_Price');

19620:
19621: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19622: THEN
19623:
19624: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Unit_Percent_base_Price');
19625:
19626: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19627: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19628: OE_Order_Util.Get_Attribute_Name('Unit_Percent_Base_Price'));

Line 19629: OE_MSG_PUB.Add;

19625:
19626: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19627: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19628: OE_Order_Util.Get_Attribute_Name('Unit_Percent_Base_Price'));
19629: OE_MSG_PUB.Add;
19630: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19631:
19632: END IF;
19633:

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

19626: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19627: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19628: OE_Order_Util.Get_Attribute_Name('Unit_Percent_Base_Price'));
19629: OE_MSG_PUB.Add;
19630: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19631:
19632: END IF;
19633:
19634:

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

19635: RETURN FALSE;
19636:
19637: WHEN OTHERS THEN
19638:
19639: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19640: THEN
19641: OE_MSG_PUB.Add_Exc_Msg
19642: ( G_PKG_NAME
19643: , 'Unit_Percent_Base_Price'

Line 19641: OE_MSG_PUB.Add_Exc_Msg

19637: WHEN OTHERS THEN
19638:
19639: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19640: THEN
19641: OE_MSG_PUB.Add_Exc_Msg
19642: ( G_PKG_NAME
19643: , 'Unit_Percent_Base_Price'
19644: );
19645: END IF;

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

19674: EXCEPTION
19675:
19676: WHEN NO_DATA_FOUND THEN
19677:
19678: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19679: THEN
19680:
19681: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Number');
19682:

Line 19681: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Number');

19677:
19678: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19679: THEN
19680:
19681: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Number');
19682:
19683: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19684: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19685: OE_Order_Util.Get_Attribute_Name('Service_Number'));

Line 19686: OE_MSG_PUB.Add;

19682:
19683: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19684: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19685: OE_Order_Util.Get_Attribute_Name('Service_Number'));
19686: OE_MSG_PUB.Add;
19687: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19688:
19689: END IF;
19690:

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

19683: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19684: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19685: OE_Order_Util.Get_Attribute_Name('Service_Number'));
19686: OE_MSG_PUB.Add;
19687: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19688:
19689: END IF;
19690:
19691:

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

19692: RETURN FALSE;
19693:
19694: WHEN OTHERS THEN
19695:
19696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19697: THEN
19698: OE_MSG_PUB.Add_Exc_Msg
19699: ( G_PKG_NAME
19700: , 'Service_Number'

Line 19698: OE_MSG_PUB.Add_Exc_Msg

19694: WHEN OTHERS THEN
19695:
19696: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19697: THEN
19698: OE_MSG_PUB.Add_Exc_Msg
19699: ( G_PKG_NAME
19700: , 'Service_Number'
19701: );
19702: END IF;

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

19731: EXCEPTION
19732:
19733: WHEN NO_DATA_FOUND THEN
19734:
19735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19736: THEN
19737:
19738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Type_Code');
19739:

Line 19738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Type_Code');

19734:
19735: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19736: THEN
19737:
19738: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Type_Code');
19739:
19740: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19741: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19742: OE_Order_Util.Get_Attribute_Name('Service_Reference_Type_Code'));

Line 19743: OE_MSG_PUB.Add;

19739:
19740: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19741: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19742: OE_Order_Util.Get_Attribute_Name('Service_Reference_Type_Code'));
19743: OE_MSG_PUB.Add;
19744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19745:
19746: END IF;
19747:

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

19740: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19741: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19742: OE_Order_Util.Get_Attribute_Name('Service_Reference_Type_Code'));
19743: OE_MSG_PUB.Add;
19744: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19745:
19746: END IF;
19747:
19748:

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

19749: RETURN FALSE;
19750:
19751: WHEN OTHERS THEN
19752:
19753: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19754: THEN
19755: OE_MSG_PUB.Add_Exc_Msg
19756: ( G_PKG_NAME
19757: , 'Service_Reference_Type_Code'

Line 19755: OE_MSG_PUB.Add_Exc_Msg

19751: WHEN OTHERS THEN
19752:
19753: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19754: THEN
19755: OE_MSG_PUB.Add_Exc_Msg
19756: ( G_PKG_NAME
19757: , 'Service_Reference_Type_Code'
19758: );
19759: END IF;

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

19788: EXCEPTION
19789:
19790: WHEN NO_DATA_FOUND THEN
19791:
19792: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19793: THEN
19794:
19795: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Line_id');
19796:

Line 19795: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Line_id');

19791:
19792: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19793: THEN
19794:
19795: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_Line_id');
19796:
19797: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19798: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19799: OE_Order_Util.Get_Attribute_Name('Service_Reference_Line_Id'));

Line 19800: OE_MSG_PUB.Add;

19796:
19797: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19798: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19799: OE_Order_Util.Get_Attribute_Name('Service_Reference_Line_Id'));
19800: OE_MSG_PUB.Add;
19801: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19802:
19803: END IF;
19804:

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

19797: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19798: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19799: OE_Order_Util.Get_Attribute_Name('Service_Reference_Line_Id'));
19800: OE_MSG_PUB.Add;
19801: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19802:
19803: END IF;
19804:
19805:

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

19806: RETURN FALSE;
19807:
19808: WHEN OTHERS THEN
19809:
19810: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19811: THEN
19812: OE_MSG_PUB.Add_Exc_Msg
19813: ( G_PKG_NAME
19814: , 'Service_Reference_Line'

Line 19812: OE_MSG_PUB.Add_Exc_Msg

19808: WHEN OTHERS THEN
19809:
19810: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19811: THEN
19812: OE_MSG_PUB.Add_Exc_Msg
19813: ( G_PKG_NAME
19814: , 'Service_Reference_Line'
19815: );
19816: END IF;

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

19845: EXCEPTION
19846:
19847: WHEN NO_DATA_FOUND THEN
19848:
19849: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19850: THEN
19851:
19852: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_System_id');
19853:

Line 19852: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_System_id');

19848:
19849: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19850: THEN
19851:
19852: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Service_Reference_System_id');
19853:
19854: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19855: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19856: OE_Order_Util.Get_Attribute_Name('Service_Reference_System_Id'));

Line 19857: OE_MSG_PUB.Add;

19853:
19854: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19855: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19856: OE_Order_Util.Get_Attribute_Name('Service_Reference_System_Id'));
19857: OE_MSG_PUB.Add;
19858: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19859:
19860: END IF;
19861:

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

19854: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19855: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19856: OE_Order_Util.Get_Attribute_Name('Service_Reference_System_Id'));
19857: OE_MSG_PUB.Add;
19858: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19859:
19860: END IF;
19861:
19862:

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

19863: RETURN FALSE;
19864:
19865: WHEN OTHERS THEN
19866:
19867: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19868: THEN
19869: OE_MSG_PUB.Add_Exc_Msg
19870: ( G_PKG_NAME
19871: , 'Service_Reference_System'

Line 19869: OE_MSG_PUB.Add_Exc_Msg

19865: WHEN OTHERS THEN
19866:
19867: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19868: THEN
19869: OE_MSG_PUB.Add_Exc_Msg
19870: ( G_PKG_NAME
19871: , 'Service_Reference_System'
19872: );
19873: END IF;

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

19912: EXCEPTION
19913:
19914: WHEN NO_DATA_FOUND THEN
19915:
19916: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19917: THEN
19918:
19919: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
19920:

Line 19919: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');

19915:
19916: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19917: THEN
19918:
19919: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
19920:
19921: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19922: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19923: OE_Order_Util.Get_Attribute_Name('flow_status_code'));

Line 19924: OE_MSG_PUB.Add;

19920:
19921: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19922: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19923: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
19924: OE_MSG_PUB.Add;
19925: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19926:
19927: END IF;
19928:

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

19921: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19922: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19923: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
19924: OE_MSG_PUB.Add;
19925: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19926:
19927: END IF;
19928:
19929:

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

19930: RETURN FALSE;
19931:
19932: WHEN OTHERS THEN
19933:
19934: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19935: THEN
19936: OE_MSG_PUB.Add_Exc_Msg
19937: ( G_PKG_NAME
19938: , 'Line_Flow_Status'

Line 19936: OE_MSG_PUB.Add_Exc_Msg

19932: WHEN OTHERS THEN
19933:
19934: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19935: THEN
19936: OE_MSG_PUB.Add_Exc_Msg
19937: ( G_PKG_NAME
19938: , 'Line_Flow_Status'
19939: );
19940: END IF;

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

19976: EXCEPTION
19977:
19978: WHEN NO_DATA_FOUND THEN
19979:
19980: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19981: THEN
19982:
19983: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
19984:

Line 19983: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');

19979:
19980: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
19981: THEN
19982:
19983: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'FLOW_STATUS_CODE');
19984:
19985: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19986: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19987: OE_Order_Util.Get_Attribute_Name('flow_status_code'));

Line 19988: OE_MSG_PUB.Add;

19984:
19985: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19986: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19987: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
19988: OE_MSG_PUB.Add;
19989: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19990:
19991: END IF;
19992:

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

19985: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
19986: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
19987: OE_Order_Util.Get_Attribute_Name('flow_status_code'));
19988: OE_MSG_PUB.Add;
19989: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
19990:
19991: END IF;
19992:
19993:

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

19994: RETURN FALSE;
19995:
19996: WHEN OTHERS THEN
19997:
19998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19999: THEN
20000: OE_MSG_PUB.Add_Exc_Msg
20001: ( G_PKG_NAME
20002: , 'Flow_Status'

Line 20000: OE_MSG_PUB.Add_Exc_Msg

19996: WHEN OTHERS THEN
19997:
19998: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
19999: THEN
20000: OE_MSG_PUB.Add_Exc_Msg
20001: ( G_PKG_NAME
20002: , 'Flow_Status'
20003: );
20004: END IF;

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

20032:
20033: WHEN NO_DATA_FOUND THEN
20034:
20035:
20036: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20037: THEN
20038:
20039: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_ACTION_CODE');
20040:

Line 20039: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_ACTION_CODE');

20035:
20036: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20037: THEN
20038:
20039: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SPLIT_ACTION_CODE');
20040:
20041: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20042: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20043: OE_Order_Util.Get_Attribute_Name('split_action_code'));

Line 20044: OE_MSG_PUB.Add;

20040:
20041: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20042: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20043: OE_Order_Util.Get_Attribute_Name('split_action_code'));
20044: OE_MSG_PUB.Add;
20045: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20046:
20047: END IF;
20048:

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

20041: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20042: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20043: OE_Order_Util.Get_Attribute_Name('split_action_code'));
20044: OE_MSG_PUB.Add;
20045: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20046:
20047: END IF;
20048:
20049:

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

20050: RETURN FALSE;
20051:
20052: WHEN OTHERS THEN
20053:
20054: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20055: THEN
20056: OE_MSG_PUB.Add_Exc_Msg
20057: ( G_PKG_NAME
20058: , 'Split Action'

Line 20056: OE_MSG_PUB.Add_Exc_Msg

20052: WHEN OTHERS THEN
20053:
20054: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20055: THEN
20056: OE_MSG_PUB.Add_Exc_Msg
20057: ( G_PKG_NAME
20058: , 'Split Action'
20059: );
20060: END IF;

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

20090: EXCEPTION
20091:
20092: WHEN NO_DATA_FOUND THEN
20093:
20094: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20095: THEN
20096:
20097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Marketing_Source_Code_id');
20098:

Line 20097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Marketing_Source_Code_id');

20093:
20094: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20095: THEN
20096:
20097: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'Marketing_Source_Code_id');
20098:
20099: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20100: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20101: OE_Order_Util.Get_Attribute_Name('Marketing_Source_Code_Id'));

Line 20102: OE_MSG_PUB.Add;

20098:
20099: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20100: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20101: OE_Order_Util.Get_Attribute_Name('Marketing_Source_Code_Id'));
20102: OE_MSG_PUB.Add;
20103: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20104:
20105: END IF;
20106:

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

20099: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20100: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20101: OE_Order_Util.Get_Attribute_Name('Marketing_Source_Code_Id'));
20102: OE_MSG_PUB.Add;
20103: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20104:
20105: END IF;
20106:
20107:

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

20108: RETURN FALSE;
20109:
20110: WHEN OTHERS THEN
20111:
20112: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20113: THEN
20114: OE_MSG_PUB.Add_Exc_Msg
20115: ( G_PKG_NAME
20116: , 'Marketing_Source_Code'

Line 20114: OE_MSG_PUB.Add_Exc_Msg

20110: WHEN OTHERS THEN
20111:
20112: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20113: THEN
20114: OE_MSG_PUB.Add_Exc_Msg
20115: ( G_PKG_NAME
20116: , 'Marketing_Source_Code'
20117: );
20118: END IF;

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

20149:
20150: WHEN NO_DATA_FOUND THEN
20151:
20152:
20153: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20154: THEN
20155:
20156: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_ID');
20157:

Line 20156: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_ID');

20152:
20153: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20154: THEN
20155:
20156: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COST_ID');
20157:
20158: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20159: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20160: OE_Order_Util.Get_Attribute_Name('COST_ID'));

Line 20161: OE_MSG_PUB.Add;

20157:
20158: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20159: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20160: OE_Order_Util.Get_Attribute_Name('COST_ID'));
20161: OE_MSG_PUB.Add;
20162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20163:
20164: END IF;
20165:

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

20158: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20159: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20160: OE_Order_Util.Get_Attribute_Name('COST_ID'));
20161: OE_MSG_PUB.Add;
20162: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20163:
20164: END IF;
20165:
20166:

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

20167: RETURN FALSE;
20168:
20169: WHEN OTHERS THEN
20170:
20171: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20172: THEN
20173: OE_MSG_PUB.Add_Exc_Msg
20174: ( G_PKG_NAME
20175: , 'Cost Id '

Line 20173: OE_MSG_PUB.Add_Exc_Msg

20169: WHEN OTHERS THEN
20170:
20171: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20172: THEN
20173: OE_MSG_PUB.Add_Exc_Msg
20174: ( G_PKG_NAME
20175: , 'Cost Id '
20176: );
20177: END IF;

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

20205:
20206: WHEN NO_DATA_FOUND THEN
20207:
20208:
20209: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20210: THEN
20211:
20212: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_CODE');
20213:

Line 20212: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_CODE');

20208:
20209: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20210: THEN
20211:
20212: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_TYPE_CODE');
20213:
20214: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20215: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20216: OE_Order_Util.Get_Attribute_Name('CHARGE_TYPE_CODE'));

Line 20217: OE_MSG_PUB.Add;

20213:
20214: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20215: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20216: OE_Order_Util.Get_Attribute_Name('CHARGE_TYPE_CODE'));
20217: OE_MSG_PUB.Add;
20218: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20219:
20220: END IF;
20221:

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

20214: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20215: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20216: OE_Order_Util.Get_Attribute_Name('CHARGE_TYPE_CODE'));
20217: OE_MSG_PUB.Add;
20218: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20219:
20220: END IF;
20221:
20222:

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

20223: RETURN FALSE;
20224:
20225: WHEN OTHERS THEN
20226:
20227: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20228: THEN
20229: OE_MSG_PUB.Add_Exc_Msg
20230: ( G_PKG_NAME
20231: , 'Charge Type'

Line 20229: OE_MSG_PUB.Add_Exc_Msg

20225: WHEN OTHERS THEN
20226:
20227: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20228: THEN
20229: OE_MSG_PUB.Add_Exc_Msg
20230: ( G_PKG_NAME
20231: , 'Charge Type'
20232: );
20233: END IF;

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

20262:
20263: WHEN NO_DATA_FOUND THEN
20264:
20265:
20266: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20267: THEN
20268:
20269: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_SUBTYPE_CODE');
20270:

Line 20269: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_SUBTYPE_CODE');

20265:
20266: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20267: THEN
20268:
20269: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CHARGE_SUBTYPE_CODE');
20270:
20271: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20272: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20273: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));

Line 20274: OE_MSG_PUB.Add;

20270:
20271: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20272: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20273: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));
20274: OE_MSG_PUB.Add;
20275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20276:
20277: END IF;
20278:

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

20271: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20272: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20273: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));
20274: OE_MSG_PUB.Add;
20275: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20276:
20277: END IF;
20278:
20279:

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

20280: RETURN FALSE;
20281:
20282: WHEN OTHERS THEN
20283:
20284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20285: THEN
20286: OE_MSG_PUB.Add_Exc_Msg
20287: ( G_PKG_NAME
20288: , 'Charge Sub Type'

Line 20286: OE_MSG_PUB.Add_Exc_Msg

20282: WHEN OTHERS THEN
20283:
20284: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20285: THEN
20286: OE_MSG_PUB.Add_Exc_Msg
20287: ( G_PKG_NAME
20288: , 'Charge Sub Type'
20289: );
20290: END IF;

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

20319:
20320: WHEN NO_DATA_FOUND THEN
20321:
20322:
20323: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20324: THEN
20325:
20326: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_ID');
20327:

Line 20326: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_ID');

20322:
20323: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20324: THEN
20325:
20326: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'COMMITMENT_ID');
20327:
20328: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20329: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20330: OE_Order_Util.Get_Attribute_Name('COMMITMENT_ID'));

Line 20331: OE_MSG_PUB.Add;

20327:
20328: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20329: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20330: OE_Order_Util.Get_Attribute_Name('COMMITMENT_ID'));
20331: OE_MSG_PUB.Add;
20332: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20333:
20334: END IF;
20335:

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

20328: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20329: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20330: OE_Order_Util.Get_Attribute_Name('COMMITMENT_ID'));
20331: OE_MSG_PUB.Add;
20332: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20333:
20334: END IF;
20335:
20336:

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

20337: RETURN FALSE;
20338:
20339: WHEN OTHERS THEN
20340:
20341: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20342: THEN
20343: OE_MSG_PUB.Add_Exc_Msg
20344: ( G_PKG_NAME
20345: , 'Commitment'

Line 20343: OE_MSG_PUB.Add_Exc_Msg

20339: WHEN OTHERS THEN
20340:
20341: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20342: THEN
20343: OE_MSG_PUB.Add_Exc_Msg
20344: ( G_PKG_NAME
20345: , 'Commitment'
20346: );
20347: END IF;

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

20382:
20383: WHEN NO_DATA_FOUND THEN
20384:
20385:
20386: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20387: THEN
20388:
20389: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_OR_CHARGE_FLAG');
20390:

Line 20389: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_OR_CHARGE_FLAG');

20385:
20386: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20387: THEN
20388:
20389: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'CREDIT_OR_CHARGE_FLAG');
20390:
20391: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20392: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20393: OE_Order_Util.Get_Attribute_Name('CREDIT_OR_CHARGE_FLAG'));

Line 20394: OE_MSG_PUB.Add;

20390:
20391: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20392: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20393: OE_Order_Util.Get_Attribute_Name('CREDIT_OR_CHARGE_FLAG'));
20394: OE_MSG_PUB.Add;
20395: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20396:
20397: END IF;
20398:

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

20391: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20392: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20393: OE_Order_Util.Get_Attribute_Name('CREDIT_OR_CHARGE_FLAG'));
20394: OE_MSG_PUB.Add;
20395: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20396:
20397: END IF;
20398:
20399:

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

20400: RETURN FALSE;
20401:
20402: WHEN OTHERS THEN
20403:
20404: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20405: THEN
20406: OE_MSG_PUB.Add_Exc_Msg
20407: ( G_PKG_NAME
20408: , 'Credit Or Charge Flag '

Line 20406: OE_MSG_PUB.Add_Exc_Msg

20402: WHEN OTHERS THEN
20403:
20404: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20405: THEN
20406: OE_MSG_PUB.Add_Exc_Msg
20407: ( G_PKG_NAME
20408: , 'Credit Or Charge Flag '
20409: );
20410: END IF;

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

20445:
20446: WHEN NO_DATA_FOUND THEN
20447:
20448:
20449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20450: THEN
20451:
20452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INCLUDE_ON_RETURNS_FLAG');
20453:

Line 20452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INCLUDE_ON_RETURNS_FLAG');

20448:
20449: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20450: THEN
20451:
20452: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'INCLUDE_ON_RETURNS_FLAG');
20453:
20454: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20455: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20456: OE_Order_Util.Get_Attribute_Name('INCLUDE_ON_RETURNS_FLAG'));

Line 20457: OE_MSG_PUB.Add;

20453:
20454: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20455: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20456: OE_Order_Util.Get_Attribute_Name('INCLUDE_ON_RETURNS_FLAG'));
20457: OE_MSG_PUB.Add;
20458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20459:
20460: END IF;
20461:

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

20454: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20455: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20456: OE_Order_Util.Get_Attribute_Name('INCLUDE_ON_RETURNS_FLAG'));
20457: OE_MSG_PUB.Add;
20458: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20459:
20460: END IF;
20461:
20462:

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

20463: RETURN FALSE;
20464:
20465: WHEN OTHERS THEN
20466:
20467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20468: THEN
20469: OE_MSG_PUB.Add_Exc_Msg
20470: ( G_PKG_NAME
20471: , 'Include On Returns Flag'

Line 20469: OE_MSG_PUB.Add_Exc_Msg

20465: WHEN OTHERS THEN
20466:
20467: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20468: THEN
20469: OE_MSG_PUB.Add_Exc_Msg
20470: ( G_PKG_NAME
20471: , 'Include On Returns Flag'
20472: );
20473: END IF;

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

20520:
20521: WHEN NO_DATA_FOUND THEN
20522:
20523:
20524: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20525: THEN
20526:
20527: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CHANNEL_CODE');
20528:

Line 20527: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CHANNEL_CODE');

20523:
20524: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20525: THEN
20526:
20527: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SALES_CHANNEL_CODE');
20528:
20529: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
20530: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20531: OE_Order_Util.Get_Attribute_Name('SALES_CHANNEL_CODE'));

Line 20532: OE_MSG_PUB.Add;

20528:
20529: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
20530: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20531: OE_Order_Util.Get_Attribute_Name('SALES_CHANNEL_CODE'));
20532: OE_MSG_PUB.Add;
20533:
20534: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20535:
20536: END IF;

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

20530: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20531: OE_Order_Util.Get_Attribute_Name('SALES_CHANNEL_CODE'));
20532: OE_MSG_PUB.Add;
20533:
20534: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20535:
20536: END IF;
20537:
20538:

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

20539: RETURN FALSE;
20540:
20541: WHEN OTHERS THEN
20542:
20543: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20544: THEN
20545: OE_MSG_PUB.Add_Exc_Msg
20546: ( G_PKG_NAME
20547: , 'Sales_Channel'

Line 20545: OE_MSG_PUB.Add_Exc_Msg

20541: WHEN OTHERS THEN
20542:
20543: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20544: THEN
20545: OE_MSG_PUB.Add_Exc_Msg
20546: ( G_PKG_NAME
20547: , 'Sales_Channel'
20548: );
20549: END IF;

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

20576: EXCEPTION
20577:
20578: WHEN NO_DATA_FOUND THEN
20579:
20580: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20581: THEN
20582:
20583: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_SITE_USE_ID');
20584:

Line 20583: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_SITE_USE_ID');

20579:
20580: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
20581: THEN
20582:
20583: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => 'SOLD_TO_SITE_USE_ID');
20584:
20585: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20586: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20587: OE_Order_Util.Get_Attribute_Name('sold_to_site_use_id'));

Line 20588: OE_MSG_PUB.Add;

20584:
20585: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20586: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20587: OE_Order_Util.Get_Attribute_Name('sold_to_site_use_id'));
20588: OE_MSG_PUB.Add;
20589: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20590:
20591: END IF;
20592:

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

20585: fnd_message.set_name('ONT','OE_INVALID_ATTRIBUTE');
20586: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
20587: OE_Order_Util.Get_Attribute_Name('sold_to_site_use_id'));
20588: OE_MSG_PUB.Add;
20589: OE_MSG_PUB.Update_Msg_Context(p_attribute_code => null);
20590:
20591: END IF;
20592:
20593:

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

20594: RETURN FALSE;
20595:
20596: WHEN OTHERS THEN
20597:
20598: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20599: THEN
20600: OE_MSG_PUB.Add_Exc_Msg
20601: ( G_PKG_NAME
20602: , 'Customer_Location'

Line 20600: OE_MSG_PUB.Add_Exc_Msg

20596: WHEN OTHERS THEN
20597:
20598: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
20599: THEN
20600: OE_MSG_PUB.Add_Exc_Msg
20601: ( G_PKG_NAME
20602: , 'Customer_Location'
20603: );
20604: END IF;