DBA Data[Home] [Help]

APPS.OE_VALIDATE_LINE_ADJ dependencies on OE_DEBUG_PUB

Line 33: Oe_debug_pub.add('Entering OE_Validate_Line_Adj.Entity');

29: stmt Number;
30: BEGIN
31:
32: stmt:=1;
33: Oe_debug_pub.add('Entering OE_Validate_Line_Adj.Entity');
34: -- Check required attributes.
35:
36: IF p_Line_Adj_rec.price_adjustment_id IS NULL
37: THEN

Line 44: oe_debug_pub.add(' Required price_adjustment');

40:
41: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
42: THEN
43:
44: oe_debug_pub.add(' Required price_adjustment');
45: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
46: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','price_adjustment');
47: OE_MSG_PUB.Add;
48:

Line 63: oe_debug_pub.add(' Required Header Id');

59: l_return_status := FND_API.G_RET_STS_ERROR;
60:
61: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
62: THEN
63: oe_debug_pub.add(' Required Header Id');
64: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
65: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
66: OE_Order_UTIL.Get_Attribute_Name('HEADER_ID'));
67: OE_MSG_PUB.Add;

Line 81: oe_debug_pub.add(' Required List Header');

77: l_return_status := FND_API.G_RET_STS_ERROR;
78:
79: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
80: THEN
81: oe_debug_pub.add(' Required List Header');
82: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
83: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','List_header');
84: OE_MSG_PUB.Add;
85:

Line 97: oe_debug_pub.add(' Required list line');

93: l_return_status := FND_API.G_RET_STS_ERROR;
94:
95: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
96: THEN
97: oe_debug_pub.add(' Required list line');
98: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
99: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','List_Line');
100: OE_MSG_PUB.Add;
101:

Line 114: oe_debug_pub.add(' Required list line type code');

110: l_return_status := FND_API.G_RET_STS_ERROR;
111:
112: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
113: THEN
114: oe_debug_pub.add(' Required list line type code');
115: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
116: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','List_line_type_code');
117: OE_MSG_PUB.Add;
118:

Line 131: oe_debug_pub.add(' Required line id');

127: l_return_status := FND_API.G_RET_STS_ERROR;
128:
129: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
130: THEN
131: oe_debug_pub.add(' Required line id');
132: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
133: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
134: OE_Order_UTIL.Get_Attribute_Name('LINE_ID'));
135: OE_MSG_PUB.Add;

Line 187: oe_debug_pub.add(' Required:'||l_attribute_name);

183: l_return_status := FND_API.G_RET_STS_ERROR;
184:
185: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
186: THEN
187: oe_debug_pub.add(' Required:'||l_attribute_name);
188: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
189: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',l_attribute_name);
190: OE_MSG_PUB.Add;
191:

Line 207: oe_debug_pub.add(' Required: change_reason_code');

203: l_return_status := FND_API.G_RET_STS_ERROR;
204:
205: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
206: THEN
207: oe_debug_pub.add(' Required: change_reason_code');
208: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
209: FND_MESSAGE.SET_TOKEN('ATTRIBUTE','change_reason_code');
210: OE_MSG_PUB.Add;
211:

Line 224: oe_debug_pub.add(' Required: CHARGE_TYPE_CODE');

220: l_return_status := FND_API.G_RET_STS_ERROR;
221:
222: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
223: THEN
224: oe_debug_pub.add(' Required: CHARGE_TYPE_CODE');
225: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
226: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
227: OE_Order_UTIL.Get_Attribute_Name('CHARGE_TYPE_CODE'));
228: OE_MSG_PUB.Add;

Line 249: oe_debug_pub.add(' Required: tax code or tax_rate_id');

245: l_return_status := FND_API.G_RET_STS_ERROR;
246:
247: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
248: THEN
249: oe_debug_pub.add(' Required: tax code or tax_rate_id');
250: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
251: -- eBTax Changes
252: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
253: OE_Order_UTIL.Get_Attribute_Name('TAX_RATE_ID'));

Line 268: oe_debug_pub.add(' Required: cost id');

264: l_return_status := FND_API.G_RET_STS_ERROR;
265:
266: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
267: THEN
268: oe_debug_pub.add(' Required: cost id');
269: FND_MESSAGE.SET_NAME('ONT','OE_ATTRIBUTE_REQUIRED');
270: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
271: OE_Order_UTIL.Get_Attribute_Name('COST_ID'));
272: OE_MSG_PUB.Add;

Line 503: oe_debug_pub.add(' Required: IMP_DISCOUN');

499: l_return_status := FND_API.G_RET_STS_ERROR;
500:
501: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
502: THEN
503: oe_debug_pub.add(' Required: IMP_DISCOUN');
504: FND_MESSAGE.SET_NAME('OE', 'IMP_DISCOUNT');
505: OE_MSG_PUB.Add;
506:
507: END IF;

Line 544: oe_debug_pub.add(' Required CHARGE_SUBTYPE_CODE');

540: l_return_status := FND_API.G_RET_STS_ERROR;
541: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
542: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
543: OE_Order_Util.Get_Attribute_Name('CHARGE_SUBTYPE_CODE'));
544: oe_debug_pub.add(' Required CHARGE_SUBTYPE_CODE');
545: OE_MSG_PUB.Add;
546:
547: WHEN OTHERS THEN
548: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

Line 555: oe_debug_pub.add(' Failed:Record - Charge Type/Subtype validation');

551: ( G_PKG_NAME ,
552: 'Record - Charge Type/Subtype validation'
553: );
554: END IF;
555: oe_debug_pub.add(' Failed:Record - Charge Type/Subtype validation');
556: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
557: END;
558: END IF;
559:

Line 570: oe_debug_pub.add(' Error ARITHMETIC_OPERATOR');

566: l_return_status := FND_API.G_RET_STS_ERROR;
567:
568: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_ERROR)
569: THEN
570: oe_debug_pub.add(' Error ARITHMETIC_OPERATOR');
571: FND_MESSAGE.SET_NAME('ONT','OE_INVALID_ATTRIBUTE');
572: FND_MESSAGE.SET_TOKEN('ATTRIBUTE',
573: OE_Order_Util.Get_Attribute_Name('ARITHMETIC_OPERATOR'));
574: OE_MSG_PUB.Add;

Line 598: oe_debug_pub.add('Leaving oe_validate_line_adj.entity');

594:
595: -- Return
596:
597: x_return_status := l_return_status;
598: oe_debug_pub.add('Leaving oe_validate_line_adj.entity');
599: EXCEPTION
600:
601: WHEN FND_API.G_EXC_ERROR THEN
602:

Line 633: oe_debug_pub.add('Entering OE_VALIDATE_LINE_ADJ.ATTRIBUTES');

629: OE_Order_PUB.G_MISS_LINE_ADJ_REC
630: )
631: IS
632: BEGIN
633: oe_debug_pub.add('Entering OE_VALIDATE_LINE_ADJ.ATTRIBUTES');
634: x_return_status := FND_API.G_RET_STS_SUCCESS;
635:
636: -- Validate Line_Adj attributes
637:

Line 644: oe_debug_pub.add(' Error price_adjustment_id');

640: p_old_Line_Adj_rec.price_adjustment_id OR
641: p_old_Line_Adj_rec.price_adjustment_id IS NULL )
642: THEN
643: IF NOT OE_Validate_adj.Price_Adjustment(p_Line_Adj_rec.price_adjustment_id) THEN
644: oe_debug_pub.add(' Error price_adjustment_id');
645: x_return_status := FND_API.G_RET_STS_ERROR;
646: END IF;
647: END IF;
648:

Line 655: oe_debug_pub.add(' Error creation_date');

651: p_old_Line_Adj_rec.creation_date OR
652: p_old_Line_Adj_rec.creation_date IS NULL )
653: THEN
654: IF NOT OE_Validate_adj.Creation_Date(p_Line_Adj_rec.creation_date) THEN
655: oe_debug_pub.add(' Error creation_date');
656: x_return_status := FND_API.G_RET_STS_ERROR;
657: END IF;
658: END IF;
659:

Line 666: oe_debug_pub.add(' Error created_by');

662: p_old_Line_Adj_rec.created_by OR
663: p_old_Line_Adj_rec.created_by IS NULL )
664: THEN
665: IF NOT OE_Validate_adj.Created_By(p_Line_Adj_rec.created_by) THEN
666: oe_debug_pub.add(' Error created_by');
667: x_return_status := FND_API.G_RET_STS_ERROR;
668: END IF;
669: END IF;
670:

Line 677: oe_debug_pub.add(' Error last_update_date');

673: p_old_Line_Adj_rec.last_update_date OR
674: p_old_Line_Adj_rec.last_update_date IS NULL )
675: THEN
676: IF NOT OE_Validate_adj.Last_Update_Date(p_Line_Adj_rec.last_update_date) THEN
677: oe_debug_pub.add(' Error last_update_date');
678: x_return_status := FND_API.G_RET_STS_ERROR;
679: END IF;
680: END IF;
681:

Line 688: oe_debug_pub.add(' Error last_updated_by');

684: p_old_Line_Adj_rec.last_updated_by OR
685: p_old_Line_Adj_rec.last_updated_by IS NULL )
686: THEN
687: IF NOT OE_Validate_adj.Last_Updated_By(p_Line_Adj_rec.last_updated_by) THEN
688: oe_debug_pub.add(' Error last_updated_by');
689: x_return_status := FND_API.G_RET_STS_ERROR;
690: END IF;
691: END IF;
692:

Line 699: oe_debug_pub.add(' Error last_update_login');

695: p_old_Line_Adj_rec.last_update_login OR
696: p_old_Line_Adj_rec.last_update_login IS NULL )
697: THEN
698: IF NOT OE_Validate_adj.Last_Update_Login(p_Line_Adj_rec.last_update_login) THEN
699: oe_debug_pub.add(' Error last_update_login');
700: x_return_status := FND_API.G_RET_STS_ERROR;
701: END IF;
702: END IF;
703:

Line 710: oe_debug_pub.add(' Error program_application_id');

706: p_old_Line_Adj_rec.program_application_id OR
707: p_old_Line_Adj_rec.program_application_id IS NULL )
708: THEN
709: IF NOT OE_Validate_adj.Program_Application(p_Line_Adj_rec.program_application_id) THEN
710: oe_debug_pub.add(' Error program_application_id');
711: x_return_status := FND_API.G_RET_STS_ERROR;
712: END IF;
713: END IF;
714:

Line 721: oe_debug_pub.add(' Error program id');

717: p_old_Line_Adj_rec.program_id OR
718: p_old_Line_Adj_rec.program_id IS NULL )
719: THEN
720: IF NOT OE_Validate_adj.Program(p_Line_Adj_rec.program_id) THEN
721: oe_debug_pub.add(' Error program id');
722: x_return_status := FND_API.G_RET_STS_ERROR;
723: END IF;
724: END IF;
725:

Line 732: oe_debug_pub.add(' Error program_update_date');

728: p_old_Line_Adj_rec.program_update_date OR
729: p_old_Line_Adj_rec.program_update_date IS NULL )
730: THEN
731: IF NOT OE_Validate_adj.Program_Update_Date(p_Line_Adj_rec.program_update_date) THEN
732: oe_debug_pub.add(' Error program_update_date');
733: x_return_status := FND_API.G_RET_STS_ERROR;
734: END IF;
735: END IF;
736:

Line 743: oe_debug_pub.add(' Error request id');

739: p_old_Line_Adj_rec.request_id OR
740: p_old_Line_Adj_rec.request_id IS NULL )
741: THEN
742: IF NOT OE_Validate_adj.Request(p_Line_Adj_rec.request_id) THEN
743: oe_debug_pub.add(' Error request id');
744: x_return_status := FND_API.G_RET_STS_ERROR;
745: END IF;
746: END IF;
747:

Line 754: oe_debug_pub.add(' Error header_id');

750: p_old_Line_Adj_rec.header_id OR
751: p_old_Line_Adj_rec.header_id IS NULL )
752: THEN
753: IF NOT OE_Validate_adj.Header(p_Line_Adj_rec.header_id) THEN
754: oe_debug_pub.add(' Error header_id');
755: x_return_status := FND_API.G_RET_STS_ERROR;
756: END IF;
757: END IF;
758:

Line 765: oe_debug_pub.add(' Error discount_id');

761: p_old_Line_Adj_rec.discount_id OR
762: p_old_Line_Adj_rec.discount_id IS NULL )
763: THEN
764: IF NOT OE_Validate_adj.Discount(p_Line_Adj_rec.discount_id) THEN
765: oe_debug_pub.add(' Error discount_id');
766: x_return_status := FND_API.G_RET_STS_ERROR;
767: END IF;
768: END IF;
769:

Line 779: oe_debug_pub.add(' LLADB half way');

775: IF NOT OE_Validate_adj.Discount_Line(p_Line_Adj_rec.discount_line_id) THEN
776: x_return_status := FND_API.G_RET_STS_ERROR;
777: END IF;
778: END IF;
779: oe_debug_pub.add(' LLADB half way');
780: IF p_Line_Adj_rec.automatic_flag IS NOT NULL AND
781: ( p_Line_Adj_rec.automatic_flag <>
782: p_old_Line_Adj_rec.automatic_flag OR
783: p_old_Line_Adj_rec.automatic_flag IS NULL )

Line 786: oe_debug_pub.add(' Error automatic_flag');

782: p_old_Line_Adj_rec.automatic_flag OR
783: p_old_Line_Adj_rec.automatic_flag IS NULL )
784: THEN
785: IF NOT OE_Validate_adj.Automatic(p_Line_Adj_rec.automatic_flag) THEN
786: oe_debug_pub.add(' Error automatic_flag');
787: x_return_status := FND_API.G_RET_STS_ERROR;
788: END IF;
789: END IF;
790:

Line 797: oe_debug_pub.add(' Error percent');

793: p_old_Line_Adj_rec.percent OR
794: p_old_Line_Adj_rec.percent IS NULL )
795: THEN
796: IF NOT OE_Validate_adj.Percent(p_Line_Adj_rec.percent) THEN
797: oe_debug_pub.add(' Error percent');
798: x_return_status := FND_API.G_RET_STS_ERROR;
799: END IF;
800: END IF;
801:

Line 808: oe_debug_pub.add(' Error line_id');

804: p_old_Line_Adj_rec.line_id OR
805: p_old_Line_Adj_rec.line_id IS NULL )
806: THEN
807: IF NOT OE_Validate_adj.Line(p_Line_Adj_rec.line_id) THEN
808: oe_debug_pub.add(' Error line_id');
809: x_return_status := FND_API.G_RET_STS_ERROR;
810: END IF;
811: END IF;
812:

Line 819: oe_debug_pub.add(' Error list_line_no');

815: p_old_Line_Adj_rec.list_line_no OR
816: p_old_Line_Adj_rec.list_line_no IS NULL )
817: THEN
818: IF NOT oe_validate_adj.List_Line_No(p_Line_Adj_rec.list_line_no) THEN
819: oe_debug_pub.add(' Error list_line_no');
820: x_return_status := FND_API.G_RET_STS_ERROR;
821: END IF;
822: END IF;
823:

Line 830: oe_debug_pub.add(' Error source_system_code');

826: p_old_Line_Adj_rec.source_system_code OR
827: p_old_Line_Adj_rec.source_system_code IS NULL )
828: THEN
829: IF NOT oe_validate_adj.source_system_code(p_Line_Adj_rec.source_system_code) THEN
830: oe_debug_pub.add(' Error source_system_code');
831: x_return_status := FND_API.G_RET_STS_ERROR;
832: END IF;
833: END IF;
834:

Line 841: oe_debug_pub.add(' Error benefit_qty');

837: p_old_Line_Adj_rec.benefit_qty OR
838: p_old_Line_Adj_rec.benefit_qty IS NULL )
839: THEN
840: IF NOT oe_validate_adj.benefit_qty(p_Line_Adj_rec.benefit_qty) THEN
841: oe_debug_pub.add(' Error benefit_qty');
842: x_return_status := FND_API.G_RET_STS_ERROR;
843: END IF;
844: END IF;
845:

Line 852: oe_debug_pub.add(' Error benefit_uom_code');

848: p_old_Line_Adj_rec.benefit_uom_code OR
849: p_old_Line_Adj_rec.benefit_uom_code IS NULL )
850: THEN
851: IF NOT oe_validate_adj.benefit_uom_code(p_Line_Adj_rec.benefit_uom_code) THEN
852: oe_debug_pub.add(' Error benefit_uom_code');
853: x_return_status := FND_API.G_RET_STS_ERROR;
854: END IF;
855: END IF;
856:

Line 863: oe_debug_pub.add(' Error print_on_invoice_flag');

859: p_old_Line_Adj_rec.print_on_invoice_flag OR
860: p_old_Line_Adj_rec.print_on_invoice_flag IS NULL )
861: THEN
862: IF NOT oe_validate_adj.print_on_invoice_flag(p_Line_Adj_rec.print_on_invoice_flag) THEN
863: oe_debug_pub.add(' Error print_on_invoice_flag');
864: x_return_status := FND_API.G_RET_STS_ERROR;
865: END IF;
866: END IF;
867:

Line 874: oe_debug_pub.add(' Error expiration_date');

870: p_old_Line_Adj_rec.expiration_date OR
871: p_old_Line_Adj_rec.expiration_date IS NULL )
872: THEN
873: IF NOT oe_validate_adj.expiration_date(p_Line_Adj_rec.expiration_date) THEN
874: oe_debug_pub.add(' Error expiration_date');
875: x_return_status := FND_API.G_RET_STS_ERROR;
876: END IF;
877: END IF;
878:

Line 885: oe_debug_pub.add(' Error rebate_transaction_type_code');

881: p_old_Line_Adj_rec.rebate_transaction_type_code OR
882: p_old_Line_Adj_rec.rebate_transaction_type_code IS NULL )
883: THEN
884: IF NOT oe_validate_adj.rebate_transaction_type_code(p_Line_Adj_rec.rebate_transaction_type_code) THEN
885: oe_debug_pub.add(' Error rebate_transaction_type_code');
886: x_return_status := FND_API.G_RET_STS_ERROR;
887: END IF;
888: END IF;
889:

Line 907: oe_debug_pub.add(' Error ebate_payment_system_code');

903: p_old_Line_Adj_rec.rebate_payment_system_code OR
904: p_old_Line_Adj_rec.rebate_payment_system_code IS NULL )
905: THEN
906: IF NOT oe_validate_adj.rebate_payment_system_code(p_Line_Adj_rec.rebate_payment_system_code) THEN
907: oe_debug_pub.add(' Error ebate_payment_system_code');
908: x_return_status := FND_API.G_RET_STS_ERROR;
909: END IF;
910: END IF;
911:

Line 928: oe_debug_pub.add(' Error redeemed_flag');

924: p_old_Line_Adj_rec.redeemed_flag OR
925: p_old_Line_Adj_rec.redeemed_flag IS NULL )
926: THEN
927: IF NOT oe_validate_adj.Redeemed_Flag(p_Line_Adj_rec.redeemed_flag) THEN
928: oe_debug_pub.add(' Error redeemed_flag');
929: x_return_status := FND_API.G_RET_STS_ERROR;
930: END IF;
931: END IF;
932:

Line 939: oe_debug_pub.add(' Error accrual_flag');

935: p_old_Line_Adj_rec.accrual_flag OR
936: p_old_Line_Adj_rec.accrual_flag IS NULL )
937: THEN
938: IF NOT oe_validate_adj.Accrual_Flag(p_Line_Adj_rec.accrual_flag) THEN
939: oe_debug_pub.add(' Error accrual_flag');
940: x_return_status := FND_API.G_RET_STS_ERROR;
941: END IF;
942: END IF;
943:

Line 950: oe_debug_pub.add(' Error list_header_id');

946: p_old_Line_Adj_rec.list_header_id OR
947: p_old_Line_Adj_rec.list_header_id IS NULL )
948: THEN
949: IF NOT OE_Validate_adj.list_header_id(p_Line_Adj_rec.list_header_id) THEN
950: oe_debug_pub.add(' Error list_header_id');
951: x_return_status := FND_API.G_RET_STS_ERROR;
952: END IF;
953: END IF;
954:

Line 961: oe_debug_pub.add(' Error list_line_id');

957: p_old_Line_Adj_rec.list_line_id OR
958: p_old_Line_Adj_rec.list_line_id IS NULL )
959: THEN
960: IF NOT OE_Validate_adj.list_line_id(p_Line_Adj_rec.list_line_id) THEN
961: oe_debug_pub.add(' Error list_line_id');
962: x_return_status := FND_API.G_RET_STS_ERROR;
963: END IF;
964: END IF;
965:

Line 972: oe_debug_pub.add(' Error list_line_type_code');

968: p_old_Line_Adj_rec.list_line_type_code OR
969: p_old_Line_Adj_rec.list_line_type_code IS NULL )
970: THEN
971: IF NOT OE_Validate_adj.list_line_type_code(p_Line_Adj_rec.list_line_type_code) THEN
972: oe_debug_pub.add(' Error list_line_type_code');
973: x_return_status := FND_API.G_RET_STS_ERROR;
974: END IF;
975: END IF;
976:

Line 983: oe_debug_pub.add(' Error modified_from');

979: p_old_Line_Adj_rec.modified_from OR
980: p_old_Line_Adj_rec.modified_from IS NULL )
981: THEN
982: IF NOT OE_Validate_adj.modified_from(p_Line_Adj_rec.modified_from) THEN
983: oe_debug_pub.add(' Error modified_from');
984: x_return_status := FND_API.G_RET_STS_ERROR;
985: END IF;
986: END IF;
987:

Line 994: oe_debug_pub.add(' Error Modified to');

990: p_old_Line_Adj_rec.modified_to OR
991: p_old_Line_Adj_rec.modified_to IS NULL )
992: THEN
993: IF NOT OE_Validate_adj.modified_to(p_Line_Adj_rec.modified_to) THEN
994: oe_debug_pub.add(' Error Modified to');
995: x_return_status := FND_API.G_RET_STS_ERROR;
996: END IF;
997: END IF;
998:

Line 1005: oe_debug_pub.add(' Error updated_flag');

1001: p_old_Line_Adj_rec.updated_flag OR
1002: p_old_Line_Adj_rec.updated_flag IS NULL )
1003: THEN
1004: IF NOT OE_Validate_adj.updated_flag(p_Line_Adj_rec.updated_flag) THEN
1005: oe_debug_pub.add(' Error updated_flag');
1006: x_return_status := FND_API.G_RET_STS_ERROR;
1007: END IF;
1008: END IF;
1009:

Line 1016: oe_debug_pub.add(' Erro update_allowed');

1012: p_old_Line_Adj_rec.update_allowed OR
1013: p_old_Line_Adj_rec.update_allowed IS NULL )
1014: THEN
1015: IF NOT OE_Validate_adj.update_allowed(p_Line_Adj_rec.update_allowed) THEN
1016: oe_debug_pub.add(' Erro update_allowed');
1017: x_return_status := FND_API.G_RET_STS_ERROR;
1018: END IF;
1019: END IF;
1020:

Line 1027: oe_debug_pub.add(' Error Applied flag');

1023: p_old_Line_Adj_rec.applied_flag OR
1024: p_old_Line_Adj_rec.applied_flag IS NULL )
1025: THEN
1026: IF NOT OE_Validate_adj.applied_flag(p_Line_Adj_rec.applied_flag) THEN
1027: oe_debug_pub.add(' Error Applied flag');
1028: x_return_status := FND_API.G_RET_STS_ERROR;
1029: END IF;
1030: END IF;
1031:

Line 1048: oe_debug_pub.add(' Error change_reason_code');

1044: p_old_Line_Adj_rec.change_reason_code OR
1045: p_old_Line_Adj_rec.change_reason_code IS NULL )
1046: THEN
1047: IF NOT OE_Validate_adj.change_reason_code(p_Line_Adj_rec.change_reason_code) THEN
1048: oe_debug_pub.add(' Error change_reason_code');
1049: x_return_status := FND_API.G_RET_STS_ERROR;
1050: END IF;
1051: END IF;
1052:

Line 1059: oe_debug_pub.add(' Error change reason code');

1055: p_old_Line_Adj_rec.change_reason_text OR
1056: p_old_Line_Adj_rec.change_reason_text IS NULL )
1057: THEN
1058: IF NOT OE_Validate_adj.change_reason_text(p_Line_Adj_rec.change_reason_text) THEN
1059: oe_debug_pub.add(' Error change reason code');
1060: x_return_status := FND_API.G_RET_STS_ERROR;
1061: END IF;
1062: END IF;
1063:

Line 1071: oe_debug_pub.add(' Error adjusted_amount');

1067: p_old_Line_Adj_rec.adjusted_amount IS NULL )
1068: THEN
1069: IF NOT OE_Validate_adj.Adjusted_Amount(p_Line_Adj_rec.adjusted_amount)
1070: THEN
1071: oe_debug_pub.add(' Error adjusted_amount');
1072: x_return_status := FND_API.G_RET_STS_ERROR;
1073: END IF;
1074: END IF;
1075:

Line 1082: oe_debug_pub.add(' Error Pricing phase id');

1078: p_old_Line_Adj_rec.pricing_phase_id OR
1079: p_old_Line_Adj_rec.pricing_phase_id IS NULL )
1080: THEN
1081: IF NOT OE_Validate_adj.Pricing_Phase_id(p_Line_Adj_rec.pricing_phase_id) THEN
1082: oe_debug_pub.add(' Error Pricing phase id');
1083: x_return_status := FND_API.G_RET_STS_ERROR;
1084: END IF;
1085: END IF;
1086:

Line 1093: oe_debug_pub.add(' Error Operand');

1089: p_old_Line_Adj_rec.operand OR
1090: p_old_Line_Adj_rec.operand IS NULL )
1091: THEN
1092: IF NOT OE_Validate_adj.operand(p_Line_Adj_rec.operand) THEN
1093: oe_debug_pub.add(' Error Operand');
1094: x_return_status := FND_API.G_RET_STS_ERROR;
1095: END IF;
1096: END IF;
1097:

Line 1104: oe_debug_pub.add(' Err arithmetic ope');

1100: p_old_Line_Adj_rec.arithmetic_operator OR
1101: p_old_Line_Adj_rec.arithmetic_operator IS NULL )
1102: THEN
1103: IF NOT OE_Validate_adj.arithmetic_operator(p_Line_Adj_rec.arithmetic_operator) THEN
1104: oe_debug_pub.add(' Err arithmetic ope');
1105: x_return_status := FND_API.G_RET_STS_ERROR;
1106: END IF;
1107: END IF;
1108:

Line 1115: oe_debug_pub.add(' Err range_break_quanti');

1111: p_old_Line_Adj_rec.range_break_quantity OR
1112: p_old_Line_Adj_rec.range_break_quantity IS NULL )
1113: THEN
1114: IF NOT OE_Validate_adj.range_break_quantity(p_Line_Adj_rec.range_break_quantity) THEN
1115: oe_debug_pub.add(' Err range_break_quanti');
1116: x_return_status := FND_API.G_RET_STS_ERROR;
1117: END IF;
1118: END IF;
1119:

Line 1126: oe_debug_pub.add(' Erro accrual_conversion');

1122: p_old_Line_Adj_rec.accrual_conversion_rate OR
1123: p_old_Line_Adj_rec.accrual_conversion_rate IS NULL )
1124: THEN
1125: IF NOT OE_Validate_adj.accrual_conversion_rate(p_Line_Adj_rec.accrual_conversion_rate) THEN
1126: oe_debug_pub.add(' Erro accrual_conversion');
1127: x_return_status := FND_API.G_RET_STS_ERROR;
1128: END IF;
1129: END IF;
1130:

Line 1137: oe_debug_pub.add(' Error pricing_group_sequence');

1133: p_old_Line_Adj_rec.pricing_group_sequence OR
1134: p_old_Line_Adj_rec.pricing_group_sequence IS NULL )
1135: THEN
1136: IF NOT OE_Validate_adj.pricing_group_sequence(p_Line_Adj_rec.pricing_group_sequence) THEN
1137: oe_debug_pub.add(' Error pricing_group_sequence');
1138: x_return_status := FND_API.G_RET_STS_ERROR;
1139: END IF;
1140: END IF;
1141:

Line 1148: oe_debug_pub.add(' Error modifier_level_code');

1144: p_old_Line_Adj_rec.modifier_level_code OR
1145: p_old_Line_Adj_rec.modifier_level_code IS NULL )
1146: THEN
1147: IF NOT OE_Validate_adj.modifier_level_code(p_Line_Adj_rec.modifier_level_code) THEN
1148: oe_debug_pub.add(' Error modifier_level_code');
1149: x_return_status := FND_API.G_RET_STS_ERROR;
1150: END IF;
1151: END IF;
1152:

Line 1159: oe_debug_pub.add(' Erro price break type code');

1155: p_old_Line_Adj_rec.price_break_type_code OR
1156: p_old_Line_Adj_rec.price_break_type_code IS NULL )
1157: THEN
1158: IF NOT OE_Validate_adj.price_break_type_code(p_Line_Adj_rec.price_break_type_code) THEN
1159: oe_debug_pub.add(' Erro price break type code');
1160: x_return_status := FND_API.G_RET_STS_ERROR;
1161: END IF;
1162: END IF;
1163:

Line 1210: oe_debug_pub.add(' Error charge_type_Code');

1206: p_old_Line_Adj_rec.charge_type_code OR
1207: p_old_Line_Adj_rec.charge_type_code IS NULL )
1208: THEN
1209: IF NOT OE_Validate.charge_type_code(p_Line_Adj_rec.charge_type_code) THEN
1210: oe_debug_pub.add(' Error charge_type_Code');
1211: x_return_status := FND_API.G_RET_STS_ERROR;
1212: END IF;
1213: END IF;
1214:

Line 1254: oe_debug_pub.add(' Error invoiced flag');

1250: p_old_Line_Adj_rec.invoiced_flag OR
1251: p_old_Line_Adj_rec.invoiced_flag IS NULL )
1252: THEN
1253: IF NOT OE_Validate.invoiced(p_Line_Adj_rec.invoiced_flag) THEN
1254: oe_debug_pub.add(' Error invoiced flag');
1255: x_return_status := FND_API.G_RET_STS_ERROR;
1256: END IF;
1257: END IF;
1258: if OE_GLOBALS.g_validate_desc_flex ='Y' then --bug4343612

Line 1259: oe_debug_pub.add('Validation of desc flex is set to Y in OE_Validate_Line_Adj.attributes ',1);

1255: x_return_status := FND_API.G_RET_STS_ERROR;
1256: END IF;
1257: END IF;
1258: if OE_GLOBALS.g_validate_desc_flex ='Y' then --bug4343612
1259: oe_debug_pub.add('Validation of desc flex is set to Y in OE_Validate_Line_Adj.attributes ',1);
1260: IF (p_Line_Adj_rec.context IS NOT NULL AND
1261: ( p_Line_Adj_rec.context <>
1262: p_old_Line_Adj_rec.context OR
1263: p_old_Line_Adj_rec.context IS NULL ))

Line 1326: oe_debug_pub.add('Before calling Line Adjustment Price_Adj_Desc_Flex');

1322: p_old_Line_Adj_rec.attribute15 OR
1323: p_old_Line_Adj_rec.attribute15 IS NULL ))
1324: THEN
1325:
1326: oe_debug_pub.add('Before calling Line Adjustment Price_Adj_Desc_Flex');
1327: IF NOT OE_VALIDATE_adj.Price_Adj_Desc_Flex
1328: (p_context => p_Line_Adj_rec.context
1329: ,p_attribute1 => p_Line_Adj_rec.attribute1
1330: ,p_attribute2 => p_Line_Adj_rec.attribute2

Line 1350: oe_debug_pub.add('After Line Adjustment desc_flex ' || x_return_status);

1346: x_return_status := FND_API.G_RET_STS_ERROR;
1347:
1348: END IF;
1349:
1350: oe_debug_pub.add('After Line Adjustment desc_flex ' || x_return_status);
1351:
1352:
1353:
1354: END IF;

Line 1355: oe_debug_pub.add('Leaving OE_VALIDATE_LINE_ADJ.ATTRIBUTES without errors');

1351:
1352:
1353:
1354: END IF;
1355: oe_debug_pub.add('Leaving OE_VALIDATE_LINE_ADJ.ATTRIBUTES without errors');
1356: -- Done validating attributes
1357: end if ; /* if OE_GLOBALS.g_validate_desc_flex ='Y' then bug4343612 */
1358: EXCEPTION
1359: