DBA Data[Home] [Help]

APPS.OE_RETROBILL_PVT dependencies on FND_MESSAGE

Line 275: --oe_debug_pub.add('no. of FND messages :'||l_msg_count,1);

271: fnd_msg_pub.count_and_get( p_encoded => 'F'
272: ,p_count => l_msg_count
273: ,p_data => l_msg_data);
274:
275: --oe_debug_pub.add('no. of FND messages :'||l_msg_count,1);
276: oe_debug_pub.add('no. of FND messages :'||l_msg_count);
277:
278: for k in 1 .. l_msg_count loop
279: l_msg_data := fnd_msg_pub.get( p_msg_index => k,

Line 276: oe_debug_pub.add('no. of FND messages :'||l_msg_count);

272: ,p_count => l_msg_count
273: ,p_data => l_msg_data);
274:
275: --oe_debug_pub.add('no. of FND messages :'||l_msg_count,1);
276: oe_debug_pub.add('no. of FND messages :'||l_msg_count);
277:
278: for k in 1 .. l_msg_count loop
279: l_msg_data := fnd_msg_pub.get( p_msg_index => k,
280: p_encoded => 'F'

Line 538: FND_MESSAGE.SET_NAME('ONT','ONT_RETROBILL_TAX_INVALID');

534: END;
535:
536:
537: oe_debug_pub.add('Retro:Tax code invalid');
538: FND_MESSAGE.SET_NAME('ONT','ONT_RETROBILL_TAX_INVALID');
539: FND_MESSAGE.SET_TOKEN('TAX_CODE',p_tax_code);
540: FND_MESSAGE.SET_TOKEN('ORDER',l_order_number);
541: FND_MESSAGE.SET_TOKEN('LINE',l_line_no);
542: OE_MSG_PUB.Add;

Line 539: FND_MESSAGE.SET_TOKEN('TAX_CODE',p_tax_code);

535:
536:
537: oe_debug_pub.add('Retro:Tax code invalid');
538: FND_MESSAGE.SET_NAME('ONT','ONT_RETROBILL_TAX_INVALID');
539: FND_MESSAGE.SET_TOKEN('TAX_CODE',p_tax_code);
540: FND_MESSAGE.SET_TOKEN('ORDER',l_order_number);
541: FND_MESSAGE.SET_TOKEN('LINE',l_line_no);
542: OE_MSG_PUB.Add;
543: RETURN FALSE;

Line 540: FND_MESSAGE.SET_TOKEN('ORDER',l_order_number);

536:
537: oe_debug_pub.add('Retro:Tax code invalid');
538: FND_MESSAGE.SET_NAME('ONT','ONT_RETROBILL_TAX_INVALID');
539: FND_MESSAGE.SET_TOKEN('TAX_CODE',p_tax_code);
540: FND_MESSAGE.SET_TOKEN('ORDER',l_order_number);
541: FND_MESSAGE.SET_TOKEN('LINE',l_line_no);
542: OE_MSG_PUB.Add;
543: RETURN FALSE;
544: WHEN OTHERS THEN

Line 541: FND_MESSAGE.SET_TOKEN('LINE',l_line_no);

537: oe_debug_pub.add('Retro:Tax code invalid');
538: FND_MESSAGE.SET_NAME('ONT','ONT_RETROBILL_TAX_INVALID');
539: FND_MESSAGE.SET_TOKEN('TAX_CODE',p_tax_code);
540: FND_MESSAGE.SET_TOKEN('ORDER',l_order_number);
541: FND_MESSAGE.SET_TOKEN('LINE',l_line_no);
542: OE_MSG_PUB.Add;
543: RETURN FALSE;
544: WHEN OTHERS THEN
545: oe_debug_pub.add('Retro:IS_TAX_CODE_VALID:'||SQLERRM);

Line 982: --oe_debug_pub.add('no. of FND messages :'||x_msg_count,1);

978:
979: fnd_msg_pub.count_and_get( p_encoded => 'F'
980: , p_count => x_msg_count
981: , p_data => x_msg_data);
982: --oe_debug_pub.add('no. of FND messages :'||x_msg_count,1);
983: oe_debug_pub.add('no. of FND messages :'||x_msg_count);
984: for k in 1 .. x_msg_count loop
985: x_msg_data := fnd_msg_pub.get( p_msg_index => k,
986: p_encoded => 'F'

Line 983: oe_debug_pub.add('no. of FND messages :'||x_msg_count);

979: fnd_msg_pub.count_and_get( p_encoded => 'F'
980: , p_count => x_msg_count
981: , p_data => x_msg_data);
982: --oe_debug_pub.add('no. of FND messages :'||x_msg_count,1);
983: oe_debug_pub.add('no. of FND messages :'||x_msg_count);
984: for k in 1 .. x_msg_count loop
985: x_msg_data := fnd_msg_pub.get( p_msg_index => k,
986: p_encoded => 'F'
987: );

Line 1624: FND_MESSAGE.SET_NAME('ONT','ONT_RETROBILL_LINES_NO_CHANGE');

1620:
1621: Oe_Line_Util.Delete_Row(I.line_id);
1622:
1623: IF G_LINES_NOT_RETRO_DISPLAYED='N' THEN
1624: FND_MESSAGE.SET_NAME('ONT','ONT_RETROBILL_LINES_NO_CHANGE');
1625: OE_MSG_PUB.ADD;
1626: G_LINES_NOT_RETRO_DISPLAYED:='Y';
1627: END IF;
1628: END IF;

Line 3452: FND_MESSAGE.SET_NAME('ONT','ONT_UNINVOICED_RETLINE_EXIST');

3448: oe_debug_pub.add('Open Request:'||l_request_name);
3449: END IF;
3450:
3451: -- The line has previewed retrobill line and hence cannot be previewed
3452: FND_MESSAGE.SET_NAME('ONT','ONT_UNINVOICED_RETLINE_EXIST');
3453: FND_MESSAGE.SET_TOKEN('REQUEST',l_request_name);
3454: OE_MSG_PUB.ADD;
3455: END IF;
3456: l_request_name := NULL;

Line 3453: FND_MESSAGE.SET_TOKEN('REQUEST',l_request_name);

3449: END IF;
3450:
3451: -- The line has previewed retrobill line and hence cannot be previewed
3452: FND_MESSAGE.SET_NAME('ONT','ONT_UNINVOICED_RETLINE_EXIST');
3453: FND_MESSAGE.SET_TOKEN('REQUEST',l_request_name);
3454: OE_MSG_PUB.ADD;
3455: END IF;
3456: l_request_name := NULL;
3457: i := i + 1;

Line 3601: errbuf := FND_MESSAGE.GET;

3597: IF (l_return_status = FND_API.G_RET_STS_SUCCESS) THEN
3598: OE_MSG_PUB.save_messages (l_concurrent_request_id);
3599: commit;
3600: fnd_file.put_line(FND_FILE.OUTPUT,'Sucessful completion');
3601: errbuf := FND_MESSAGE.GET;
3602: retcode := 0;
3603: ELSE
3604: rollback;
3605: OE_MSG_PUB.save_messages (l_concurrent_request_id);

Line 3608: errbuf := FND_MESSAGE.GET;

3604: rollback;
3605: OE_MSG_PUB.save_messages (l_concurrent_request_id);
3606: commit;
3607: fnd_file.put_line(FND_FILE.OUTPUT,'Failed');
3608: errbuf := FND_MESSAGE.GET;
3609: retcode := -1;
3610: END IF;
3611: EXCEPTION
3612: WHEN OTHERS THEN

Line 4004: FND_MESSAGE.SET_NAME('ONT','ONT_RETRO_PURGE_NOT_ALLOWED');

4000: l_headers_processed := l_headers_processed+1;
4001: END IF;
4002: ELSE
4003: oe_debug_pub.add('Cannot purge request as retrobill booked order exists'||p_request_name);
4004: FND_MESSAGE.SET_NAME('ONT','ONT_RETRO_PURGE_NOT_ALLOWED');
4005: FND_MESSAGE.SET_TOKEN('EVENT_NAME',p_request_name);
4006: OE_MSG_PUB.ADD;
4007:
4008: EXIT;

Line 4005: FND_MESSAGE.SET_TOKEN('EVENT_NAME',p_request_name);

4001: END IF;
4002: ELSE
4003: oe_debug_pub.add('Cannot purge request as retrobill booked order exists'||p_request_name);
4004: FND_MESSAGE.SET_NAME('ONT','ONT_RETRO_PURGE_NOT_ALLOWED');
4005: FND_MESSAGE.SET_TOKEN('EVENT_NAME',p_request_name);
4006: OE_MSG_PUB.ADD;
4007:
4008: EXIT;
4009: END IF;

Line 4012: FND_MESSAGE.SET_NAME('ONT','ONT_RETRO_PURGE_NOT_ALLOWED');

4008: EXIT;
4009: END IF;
4010: ELSE
4011: oe_debug_pub.add('Cannot purge request as purge preview order is N and attached orders exist');
4012: FND_MESSAGE.SET_NAME('ONT','ONT_RETRO_PURGE_NOT_ALLOWED');
4013: FND_MESSAGE.SET_TOKEN('EVENT_NAME',p_request_name);
4014: OE_MSG_PUB.ADD;
4015:
4016: EXIT;

Line 4013: FND_MESSAGE.SET_TOKEN('EVENT_NAME',p_request_name);

4009: END IF;
4010: ELSE
4011: oe_debug_pub.add('Cannot purge request as purge preview order is N and attached orders exist');
4012: FND_MESSAGE.SET_NAME('ONT','ONT_RETRO_PURGE_NOT_ALLOWED');
4013: FND_MESSAGE.SET_TOKEN('EVENT_NAME',p_request_name);
4014: OE_MSG_PUB.ADD;
4015:
4016: EXIT;
4017: END IF;--End of check purge_preview_orders

Line 4185: FND_MESSAGE.SET_NAME('ONT','ONT_RT_EXC_PURGE_NOT_ALLOWED');

4181:
4182: --bug4752386 If the execution mode is 'EXECUTE', need to log a message and continue with the next request
4183: IF l_retrobill_request_rec.execution_mode='EXECUTE' THEN
4184: oe_debug_pub.add('Cannot purge request as it has been executed'||l_retrobill_request_rec.name);
4185: FND_MESSAGE.SET_NAME('ONT','ONT_RT_EXC_PURGE_NOT_ALLOWED');
4186: FND_MESSAGE.SET_TOKEN('EVENT_NAME',l_retrobill_request_rec.name);
4187: OE_MSG_PUB.ADD;
4188:
4189: ELSE

Line 4186: FND_MESSAGE.SET_TOKEN('EVENT_NAME',l_retrobill_request_rec.name);

4182: --bug4752386 If the execution mode is 'EXECUTE', need to log a message and continue with the next request
4183: IF l_retrobill_request_rec.execution_mode='EXECUTE' THEN
4184: oe_debug_pub.add('Cannot purge request as it has been executed'||l_retrobill_request_rec.name);
4185: FND_MESSAGE.SET_NAME('ONT','ONT_RT_EXC_PURGE_NOT_ALLOWED');
4186: FND_MESSAGE.SET_TOKEN('EVENT_NAME',l_retrobill_request_rec.name);
4187: OE_MSG_PUB.ADD;
4188:
4189: ELSE
4190:

Line 4216: FND_MESSAGE.SET_NAME('ONT','ONT_RT_EXC_PURGE_NOT_ALLOWED');

4212:
4213: --bug4752386 If the execution mode is 'EXECUTE', need to log a message and continue with the next request
4214: IF l_retrobill_request_rec.execution_mode='EXECUTE' THEN
4215: oe_debug_pub.add('Cannot purge request as it has been executed'||l_retrobill_request_rec.name);
4216: FND_MESSAGE.SET_NAME('ONT','ONT_RT_EXC_PURGE_NOT_ALLOWED');
4217: FND_MESSAGE.SET_TOKEN('EVENT_NAME',l_retrobill_request_rec.name);
4218: OE_MSG_PUB.ADD;
4219:
4220: ELSE

Line 4217: FND_MESSAGE.SET_TOKEN('EVENT_NAME',l_retrobill_request_rec.name);

4213: --bug4752386 If the execution mode is 'EXECUTE', need to log a message and continue with the next request
4214: IF l_retrobill_request_rec.execution_mode='EXECUTE' THEN
4215: oe_debug_pub.add('Cannot purge request as it has been executed'||l_retrobill_request_rec.name);
4216: FND_MESSAGE.SET_NAME('ONT','ONT_RT_EXC_PURGE_NOT_ALLOWED');
4217: FND_MESSAGE.SET_TOKEN('EVENT_NAME',l_retrobill_request_rec.name);
4218: OE_MSG_PUB.ADD;
4219:
4220: ELSE
4221: