963: IF p_cc_limit_used <> 'ITEM' THEN
964: -- bug 4002820
965: IF INSTR(p_cc_limit_used, ',') > 0 THEN
966: l_cc_profile_used := OE_CREDIT_CHECK_UTIL.Get_CC_Lookup_Meaning('OE_CC_PROFILE', p_cc_profile_used);
967: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
968: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
969: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
970: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
971: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
964: -- bug 4002820
965: IF INSTR(p_cc_limit_used, ',') > 0 THEN
966: l_cc_profile_used := OE_CREDIT_CHECK_UTIL.Get_CC_Lookup_Meaning('OE_CC_PROFILE', p_cc_profile_used);
967: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
968: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
969: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
970: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
971: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
972: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
965: IF INSTR(p_cc_limit_used, ',') > 0 THEN
966: l_cc_profile_used := OE_CREDIT_CHECK_UTIL.Get_CC_Lookup_Meaning('OE_CC_PROFILE', p_cc_profile_used);
967: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
968: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
969: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
970: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
971: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
972: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
973: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
966: l_cc_profile_used := OE_CREDIT_CHECK_UTIL.Get_CC_Lookup_Meaning('OE_CC_PROFILE', p_cc_profile_used);
967: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
968: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
969: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
970: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
971: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
972: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
973: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
974: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
967: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
968: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
969: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
970: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
971: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
972: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
973: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
974: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
975: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
968: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
969: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
970: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
971: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
972: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
973: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
974: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
975: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
976: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
969: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
970: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
971: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
972: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
973: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
974: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
975: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
976: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
977: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
970: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
971: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
972: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
973: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
974: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
975: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
976: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
977: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
978: OE_MSG_PUB.Add;
971: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
972: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
973: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
974: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
975: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
976: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
977: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
978: OE_MSG_PUB.Add;
979:
972: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
973: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
974: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
975: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
976: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
977: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
978: OE_MSG_PUB.Add;
979:
980: ELSE
973: FND_MESSAGE.Set_Name('ONT','OE_CC_LINE_HOLD_MSG');
974: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
975: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
976: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
977: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
978: OE_MSG_PUB.Add;
979:
980: ELSE
981: IF p_cc_profile_used = 'SITE' THEN
978: OE_MSG_PUB.Add;
979:
980: ELSE
981: IF p_cc_profile_used = 'SITE' THEN
982: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
983: p_cc_profile_used);
984: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
985: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
986: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
980: ELSE
981: IF p_cc_profile_used = 'SITE' THEN
982: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
983: p_cc_profile_used);
984: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
985: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
986: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
987: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
988: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
981: IF p_cc_profile_used = 'SITE' THEN
982: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
983: p_cc_profile_used);
984: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
985: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
986: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
987: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
988: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
989:
982: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
983: p_cc_profile_used);
984: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
985: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
986: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
987: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
988: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
989:
990: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
983: p_cc_profile_used);
984: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
985: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
986: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
987: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
988: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
989:
990: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
991: p_cc_profile_used);
984: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
985: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
986: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
987: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
988: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
989:
990: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
991: p_cc_profile_used);
992: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
986: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
987: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
988: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
989:
990: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
991: p_cc_profile_used);
992: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
993: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
994: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
988: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
989:
990: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
991: p_cc_profile_used);
992: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
993: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
994: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
995: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
996: OE_MSG_PUB.Add;
989:
990: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
991: p_cc_profile_used);
992: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
993: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
994: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
995: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
996: OE_MSG_PUB.Add;
997: ELSIF p_cc_profile_used = 'CUSTOMER'
990: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
991: p_cc_profile_used);
992: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
993: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
994: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
995: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
996: OE_MSG_PUB.Add;
997: ELSIF p_cc_profile_used = 'CUSTOMER'
998: THEN
991: p_cc_profile_used);
992: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
993: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
994: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
995: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
996: OE_MSG_PUB.Add;
997: ELSIF p_cc_profile_used = 'CUSTOMER'
998: THEN
999: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
995: FND_MESSAGE.Set_Token('SITE_NAME' ,p_site_name);
996: OE_MSG_PUB.Add;
997: ELSIF p_cc_profile_used = 'CUSTOMER'
998: THEN
999: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1000: p_cc_profile_used);
1001: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1002: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1003: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
997: ELSIF p_cc_profile_used = 'CUSTOMER'
998: THEN
999: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1000: p_cc_profile_used);
1001: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1002: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1003: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
1004: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1005:
998: THEN
999: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1000: p_cc_profile_used);
1001: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1002: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1003: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
1004: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1005:
1006: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
999: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1000: p_cc_profile_used);
1001: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1002: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1003: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
1004: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1005:
1006: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1007: p_cc_profile_used);
1000: p_cc_profile_used);
1001: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1002: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1003: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
1004: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1005:
1006: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1007: p_cc_profile_used);
1008: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1002: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1003: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
1004: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1005:
1006: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1007: p_cc_profile_used);
1008: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1009: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1010: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
1004: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1005:
1006: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1007: p_cc_profile_used);
1008: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1009: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1010: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
1011: OE_MSG_PUB.Add;
1012:
1005:
1006: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1007: p_cc_profile_used);
1008: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1009: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1010: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
1011: OE_MSG_PUB.Add;
1012:
1013: ELSIF p_cc_profile_used = 'PARTY'
1006: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1007: p_cc_profile_used);
1008: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1009: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1010: FND_MESSAGE.Set_Token('CUSTOMER_NAME',p_customer_name);
1011: OE_MSG_PUB.Add;
1012:
1013: ELSIF p_cc_profile_used = 'PARTY'
1014: THEN
1011: OE_MSG_PUB.Add;
1012:
1013: ELSIF p_cc_profile_used = 'PARTY'
1014: THEN
1015: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1016: p_cc_profile_used);
1017: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1018: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1019: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name );
1013: ELSIF p_cc_profile_used = 'PARTY'
1014: THEN
1015: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1016: p_cc_profile_used);
1017: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1018: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1019: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name );
1020: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1021:
1014: THEN
1015: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1016: p_cc_profile_used);
1017: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1018: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1019: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name );
1020: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1021:
1022: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1015: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1016: p_cc_profile_used);
1017: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1018: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1019: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name );
1020: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1021:
1022: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1023: p_cc_profile_used);
1016: p_cc_profile_used);
1017: FND_MESSAGE.Set_Token('ORDER_NUMBER' ,p_order_number);
1018: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1019: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name );
1020: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1021:
1022: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1023: p_cc_profile_used);
1024: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1018: FND_MESSAGE.Set_Token('LINE_NUMBER' ,p_line_number);
1019: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name );
1020: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1021:
1022: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1023: p_cc_profile_used);
1024: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1025: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1026: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name) ;
1020: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1021:
1022: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1023: p_cc_profile_used);
1024: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1025: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1026: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name) ;
1027: OE_MSG_PUB.Add;
1028:
1021:
1022: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1023: p_cc_profile_used);
1024: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1025: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1026: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name) ;
1027: OE_MSG_PUB.Add;
1028:
1029: ELSIF p_cc_profile_used = 'DEFAULT' THEN
1022: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1023: p_cc_profile_used);
1024: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1025: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1026: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name) ;
1027: OE_MSG_PUB.Add;
1028:
1029: ELSIF p_cc_profile_used = 'DEFAULT' THEN
1030: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1026: FND_MESSAGE.Set_Token('PARTY_NAME',p_party_name) ;
1027: OE_MSG_PUB.Add;
1028:
1029: ELSIF p_cc_profile_used = 'DEFAULT' THEN
1030: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1031: p_cc_profile_used);
1032: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1033: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1034: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1028:
1029: ELSIF p_cc_profile_used = 'DEFAULT' THEN
1030: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1031: p_cc_profile_used);
1032: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1033: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1034: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1035:
1036: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1029: ELSIF p_cc_profile_used = 'DEFAULT' THEN
1030: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1031: p_cc_profile_used);
1032: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1033: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1034: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1035:
1036: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1037: p_cc_profile_used);
1030: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1031: p_cc_profile_used);
1032: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1033: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1034: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1035:
1036: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1037: p_cc_profile_used);
1038: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1032: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1033: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1034: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1035:
1036: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1037: p_cc_profile_used);
1038: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1039: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1040: OE_MSG_PUB.Add;
1034: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1035:
1036: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1037: p_cc_profile_used);
1038: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1039: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1040: OE_MSG_PUB.Add;
1041: END IF;
1042: END IF;
1035:
1036: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1037: p_cc_profile_used);
1038: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1039: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1040: OE_MSG_PUB.Add;
1041: END IF;
1042: END IF;
1043: ELSE
1040: OE_MSG_PUB.Add;
1041: END IF;
1042: END IF;
1043: ELSE
1044: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1045: 'CATEGORY');
1046: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1047: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1048: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1042: END IF;
1043: ELSE
1044: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1045: 'CATEGORY');
1046: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1047: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1048: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1049: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1050:
1043: ELSE
1044: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1045: 'CATEGORY');
1046: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1047: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1048: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1049: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1050:
1051: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1044: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1045: 'CATEGORY');
1046: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1047: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1048: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1049: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1050:
1051: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1052: 'CATEGORY');
1045: 'CATEGORY');
1046: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1047: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1048: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1049: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1050:
1051: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1052: 'CATEGORY');
1053: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1047: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1048: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1049: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1050:
1051: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1052: 'CATEGORY');
1053: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1054: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1055: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1049: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1050:
1051: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1052: 'CATEGORY');
1053: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1054: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1055: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1056: OE_MSG_PUB.Add;
1057: END IF;
1050:
1051: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1052: 'CATEGORY');
1053: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1054: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1055: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1056: OE_MSG_PUB.Add;
1057: END IF;
1058: --END IF; -- bug 5467793
1051: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_'||p_cc_limit_used||'_'||
1052: 'CATEGORY');
1053: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1054: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1055: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1056: OE_MSG_PUB.Add;
1057: END IF;
1058: --END IF; -- bug 5467793
1059: --
1078: ELSE
1079: l_calling_activity := InitCap(OE_Verify_Payment_PUB.G_init_calling_action);
1080: END IF;
1081:
1082: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1083: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1084: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1085:
1086: l_comment := l_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1079: l_calling_activity := InitCap(OE_Verify_Payment_PUB.G_init_calling_action);
1080: END IF;
1081:
1082: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1083: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1084: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1085:
1086: l_comment := l_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1087: --ER#7479609 end
1080: END IF;
1081:
1082: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1083: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1084: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1085:
1086: l_comment := l_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1087: --ER#7479609 end
1088:
1082: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1083: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1084: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1085:
1086: l_comment := l_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1087: --ER#7479609 end
1088:
1089: x_comment := NVL(OE_Credit_Engine_GRP.G_currency_error_msg,l_comment);
1090:
1125: ||' Line Number: '||TO_CHAR(p_line_number)
1126: ||' released from credit check hold.');
1127: END IF;
1128:
1129: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_REMOVED');
1130: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1131: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1132: OE_MSG_PUB.Add;
1133: --- rajesh
1126: ||' released from credit check hold.');
1127: END IF;
1128:
1129: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_REMOVED');
1130: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1131: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1132: OE_MSG_PUB.Add;
1133: --- rajesh
1134: --OE_MSG_PUB.Save_Messages(1);
1127: END IF;
1128:
1129: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_REMOVED');
1130: FND_MESSAGE.Set_Token('ORDER_NUMBER',p_order_number);
1131: FND_MESSAGE.Set_Token('LINE_NUMBER',p_line_number);
1132: OE_MSG_PUB.Add;
1133: --- rajesh
1134: --OE_MSG_PUB.Save_Messages(1);
1135: --
1179:
1180: --bug 4153299
1181: l_cc_profile_used := OE_CREDIT_CHECK_UTIL.Get_CC_Lookup_Meaning('OE_CC_PROFILE', p_cc_profile_used);
1182:
1183: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1184: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1185: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1186: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1187: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1180: --bug 4153299
1181: l_cc_profile_used := OE_CREDIT_CHECK_UTIL.Get_CC_Lookup_Meaning('OE_CC_PROFILE', p_cc_profile_used);
1182:
1183: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1184: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1185: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1186: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1187: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1188: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1181: l_cc_profile_used := OE_CREDIT_CHECK_UTIL.Get_CC_Lookup_Meaning('OE_CC_PROFILE', p_cc_profile_used);
1182:
1183: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1184: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1185: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1186: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1187: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1188: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1189: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1182:
1183: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1184: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1185: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1186: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1187: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1188: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1189: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1190: OE_MSG_PUB.Add;
1183: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1184: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1185: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1186: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1187: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1188: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1189: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1190: OE_MSG_PUB.Add;
1191: ELSE
1184: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1185: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1186: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1187: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1188: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1189: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1190: OE_MSG_PUB.Add;
1191: ELSE
1192: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1185: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1186: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1187: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_MSG');
1188: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1189: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1190: OE_MSG_PUB.Add;
1191: ELSE
1192: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1193: p_cc_profile_used);
1188: FND_MESSAGE.Set_Token('LIMIT_USED',p_cc_limit_used);
1189: FND_MESSAGE.Set_Token('CC_PROFILE',l_cc_profile_used);
1190: OE_MSG_PUB.Add;
1191: ELSE
1192: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1193: p_cc_profile_used);
1194: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1195: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1196: p_cc_profile_used);
1190: OE_MSG_PUB.Add;
1191: ELSE
1192: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1193: p_cc_profile_used);
1194: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1195: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1196: p_cc_profile_used);
1197: OE_MSG_PUB.Add;
1198: END IF;
1191: ELSE
1192: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1193: p_cc_profile_used);
1194: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1195: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1196: p_cc_profile_used);
1197: OE_MSG_PUB.Add;
1198: END IF;
1199: ELSE
1196: p_cc_profile_used);
1197: OE_MSG_PUB.Add;
1198: END IF;
1199: ELSE
1200: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_CATEGORY');
1201: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1202: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1203: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1204: 'CATEGORY');
1197: OE_MSG_PUB.Add;
1198: END IF;
1199: ELSE
1200: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_CATEGORY');
1201: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1202: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1203: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1204: 'CATEGORY');
1205: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1198: END IF;
1199: ELSE
1200: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_CATEGORY');
1201: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1202: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1203: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1204: 'CATEGORY');
1205: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1206: OE_MSG_PUB.Add;
1199: ELSE
1200: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_CATEGORY');
1201: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1202: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1203: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1204: 'CATEGORY');
1205: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1206: OE_MSG_PUB.Add;
1207: END IF;
1201: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1202: l_comment := SUBSTR(FND_MESSAGE.GET,1,2000);
1203: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_'||p_cc_limit_used||'_'||
1204: 'CATEGORY');
1205: FND_MESSAGE.Set_Token('CATEGORY',p_item_category);
1206: OE_MSG_PUB.Add;
1207: END IF;
1208: --
1209: -- Write to logfile if original call was from a concurrent program
1220: ELSE
1221: l_calling_activity := InitCap(OE_Verify_Payment_PUB.G_init_calling_action);
1222: END IF;
1223:
1224: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1225: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1226: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1227:
1228: l_comment := l_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1221: l_calling_activity := InitCap(OE_Verify_Payment_PUB.G_init_calling_action);
1222: END IF;
1223:
1224: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1225: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1226: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1227:
1228: l_comment := l_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1229: --ER#7479609 end
1222: END IF;
1223:
1224: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1225: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1226: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1227:
1228: l_comment := l_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1229: --ER#7479609 end
1230:
1224: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1225: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1226: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1227:
1228: l_comment := l_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1229: --ER#7479609 end
1230:
1231: x_comment := l_comment;
1232:
1262: IF p_calling_action = 'AUTO RELEASE' THEN
1263: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Order '||TO_CHAR(p_order_number)
1264: ||': Credit check hold released.');
1265: ELSE
1266: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_REMOVED');
1267: OE_MSG_PUB.Add;
1268: END IF;
1269: --
1270: IF G_debug_flag = 'Y'
1810: ELSE
1811: l_calling_activity := InitCap(OE_Verify_Payment_PUB.G_init_calling_action);
1812: END IF;
1813:
1814: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1815: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1816: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1817:
1818: l_hold_release_rec.release_comment := l_hold_release_rec.release_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1811: l_calling_activity := InitCap(OE_Verify_Payment_PUB.G_init_calling_action);
1812: END IF;
1813:
1814: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1815: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1816: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1817:
1818: l_hold_release_rec.release_comment := l_hold_release_rec.release_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1819:
1812: END IF;
1813:
1814: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1815: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1816: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1817:
1818: l_hold_release_rec.release_comment := l_hold_release_rec.release_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1819:
1820: --ER#7479609 end
1814: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
1815: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
1816: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
1817:
1818: l_hold_release_rec.release_comment := l_hold_release_rec.release_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
1819:
1820: --ER#7479609 end
1821:
1822:
2037: ELSE
2038: l_calling_activity := InitCap(OE_Verify_Payment_PUB.G_init_calling_action);
2039: END IF;
2040:
2041: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
2042: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
2043: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
2044:
2045: l_hold_release_rec.release_comment := l_hold_release_rec.release_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
2038: l_calling_activity := InitCap(OE_Verify_Payment_PUB.G_init_calling_action);
2039: END IF;
2040:
2041: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
2042: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
2043: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
2044:
2045: l_hold_release_rec.release_comment := l_hold_release_rec.release_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
2046: --ER#7479609 end
2039: END IF;
2040:
2041: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
2042: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
2043: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
2044:
2045: l_hold_release_rec.release_comment := l_hold_release_rec.release_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
2046: --ER#7479609 end
2047:
2041: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_ACT_COM');
2042: FND_MESSAGE.Set_Token('CALLING_ACTIVITY',l_calling_activity);
2043: FND_MESSAGE.Set_Token('CREDIT_CHECK_RULE',OE_Verify_Payment_PUB.G_credit_check_rule);
2044:
2045: l_hold_release_rec.release_comment := l_hold_release_rec.release_comment||SUBSTR(FND_MESSAGE.GET,1,2000);
2046: --ER#7479609 end
2047:
2048: OE_Holds_PUB.Release_Holds
2049: ( p_api_version => 1.0
2214: IF x_conversion_status.COUNT > 0
2215: THEN
2216: x_cc_result_out := 'FAIL';
2217:
2218: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2219: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code);
2220: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2221: FND_MESSAGE.Set_Token('CONV',
2222: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2215: THEN
2216: x_cc_result_out := 'FAIL';
2217:
2218: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2219: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code);
2220: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2221: FND_MESSAGE.Set_Token('CONV',
2222: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2223: OE_Credit_Engine_GRP.G_currency_error_msg :=
2216: x_cc_result_out := 'FAIL';
2217:
2218: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2219: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code);
2220: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2221: FND_MESSAGE.Set_Token('CONV',
2222: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2223: OE_Credit_Engine_GRP.G_currency_error_msg :=
2224: SUBSTR(FND_MESSAGE.GET,1,1000) ;
2217:
2218: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2219: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code);
2220: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2221: FND_MESSAGE.Set_Token('CONV',
2222: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2223: OE_Credit_Engine_GRP.G_currency_error_msg :=
2224: SUBSTR(FND_MESSAGE.GET,1,1000) ;
2225:
2220: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2221: FND_MESSAGE.Set_Token('CONV',
2222: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2223: OE_Credit_Engine_GRP.G_currency_error_msg :=
2224: SUBSTR(FND_MESSAGE.GET,1,1000) ;
2225:
2226: G_result_out := 'FAIL' ;
2227: x_cc_result_out := 'FAIL' ;
2228:
2227: x_cc_result_out := 'FAIL' ;
2228:
2229: IF p_credit_check_rule_rec.credit_hold_level_code = 'ORDER'
2230: THEN
2231: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2232: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code);
2233: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2234: FND_MESSAGE.Set_Token('CONV',
2235: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2228:
2229: IF p_credit_check_rule_rec.credit_hold_level_code = 'ORDER'
2230: THEN
2231: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2232: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code);
2233: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2234: FND_MESSAGE.Set_Token('CONV',
2235: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2236:
2229: IF p_credit_check_rule_rec.credit_hold_level_code = 'ORDER'
2230: THEN
2231: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2232: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code);
2233: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2234: FND_MESSAGE.Set_Token('CONV',
2235: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2236:
2237: OE_MSG_PUB.ADD;
2230: THEN
2231: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2232: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code);
2233: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2234: FND_MESSAGE.Set_Token('CONV',
2235: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2236:
2237: OE_MSG_PUB.ADD;
2238: x_return_status := FND_API.G_RET_STS_ERROR;
2633: x_cc_result_out := 'FAIL' ;
2634:
2635: OE_DEBUG_PUB.Add(' Currency conversion failed ');
2636:
2637: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2638: FND_MESSAGE.Set_Token('FROM',x_error_curr_tbl(1).usage_curr_code);
2639: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2640: FND_MESSAGE.Set_Token('CONV',
2641: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2634:
2635: OE_DEBUG_PUB.Add(' Currency conversion failed ');
2636:
2637: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2638: FND_MESSAGE.Set_Token('FROM',x_error_curr_tbl(1).usage_curr_code);
2639: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2640: FND_MESSAGE.Set_Token('CONV',
2641: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2642: OE_Credit_Engine_GRP.G_currency_error_msg :=
2635: OE_DEBUG_PUB.Add(' Currency conversion failed ');
2636:
2637: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2638: FND_MESSAGE.Set_Token('FROM',x_error_curr_tbl(1).usage_curr_code);
2639: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2640: FND_MESSAGE.Set_Token('CONV',
2641: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2642: OE_Credit_Engine_GRP.G_currency_error_msg :=
2643: SUBSTR(FND_MESSAGE.GET,1,1000) ;
2636:
2637: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2638: FND_MESSAGE.Set_Token('FROM',x_error_curr_tbl(1).usage_curr_code);
2639: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2640: FND_MESSAGE.Set_Token('CONV',
2641: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2642: OE_Credit_Engine_GRP.G_currency_error_msg :=
2643: SUBSTR(FND_MESSAGE.GET,1,1000) ;
2644:
2639: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2640: FND_MESSAGE.Set_Token('CONV',
2641: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2642: OE_Credit_Engine_GRP.G_currency_error_msg :=
2643: SUBSTR(FND_MESSAGE.GET,1,1000) ;
2644:
2645: G_result_out := 'FAIL' ;
2646: x_cc_result_out := 'FAIL' ;
2647:
2647:
2648:
2649: IF p_credit_check_rule_rec.credit_hold_level_code = 'ORDER'
2650: THEN
2651: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2652: FND_MESSAGE.Set_Token('FROM',x_error_curr_tbl(1).usage_curr_code);
2653: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2654: FND_MESSAGE.Set_Token('CONV',
2655: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2648:
2649: IF p_credit_check_rule_rec.credit_hold_level_code = 'ORDER'
2650: THEN
2651: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2652: FND_MESSAGE.Set_Token('FROM',x_error_curr_tbl(1).usage_curr_code);
2653: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2654: FND_MESSAGE.Set_Token('CONV',
2655: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2656:
2649: IF p_credit_check_rule_rec.credit_hold_level_code = 'ORDER'
2650: THEN
2651: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2652: FND_MESSAGE.Set_Token('FROM',x_error_curr_tbl(1).usage_curr_code);
2653: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2654: FND_MESSAGE.Set_Token('CONV',
2655: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2656:
2657:
2650: THEN
2651: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2652: FND_MESSAGE.Set_Token('FROM',x_error_curr_tbl(1).usage_curr_code);
2653: FND_MESSAGE.Set_Token('TO',p_limit_curr_code );
2654: FND_MESSAGE.Set_Token('CONV',
2655: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2656:
2657:
2658: OE_MSG_PUB.ADD;
2877: OE_DEBUG_PUB.Add('Apply_Order_CC_Hold for Item category');
2878: OE_DEBUG_PUB.Add('currency = '|| p_header_rec.transactional_curr_code );
2879: OE_DEBUG_PUB.Add('checking category = '|| l_check_category_id );
2880:
2881: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2882: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code );
2883: FND_MESSAGE.Set_Token('TO',l_limit_currency );
2884: FND_MESSAGE.Set_Token('CONV',
2885: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2878: OE_DEBUG_PUB.Add('currency = '|| p_header_rec.transactional_curr_code );
2879: OE_DEBUG_PUB.Add('checking category = '|| l_check_category_id );
2880:
2881: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2882: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code );
2883: FND_MESSAGE.Set_Token('TO',l_limit_currency );
2884: FND_MESSAGE.Set_Token('CONV',
2885: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2886: OE_Credit_Engine_GRP.G_currency_error_msg :=
2879: OE_DEBUG_PUB.Add('checking category = '|| l_check_category_id );
2880:
2881: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2882: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code );
2883: FND_MESSAGE.Set_Token('TO',l_limit_currency );
2884: FND_MESSAGE.Set_Token('CONV',
2885: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2886: OE_Credit_Engine_GRP.G_currency_error_msg :=
2887: SUBSTR(FND_MESSAGE.GET,1,1000) ;
2880:
2881: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2882: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code );
2883: FND_MESSAGE.Set_Token('TO',l_limit_currency );
2884: FND_MESSAGE.Set_Token('CONV',
2885: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2886: OE_Credit_Engine_GRP.G_currency_error_msg :=
2887: SUBSTR(FND_MESSAGE.GET,1,1000) ;
2888: G_result_out := 'FAIL' ;
2883: FND_MESSAGE.Set_Token('TO',l_limit_currency );
2884: FND_MESSAGE.Set_Token('CONV',
2885: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2886: OE_Credit_Engine_GRP.G_currency_error_msg :=
2887: SUBSTR(FND_MESSAGE.GET,1,1000) ;
2888: G_result_out := 'FAIL' ;
2889: x_cc_result_out := 'FAIL' ;
2890:
2891:
2890:
2891:
2892: IF p_credit_check_rule_rec.credit_hold_level_code = 'ORDER'
2893: THEN
2894: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2895: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code );
2896: FND_MESSAGE.Set_Token('TO',l_limit_currency );
2897: FND_MESSAGE.Set_Token('CONV',
2898: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2891:
2892: IF p_credit_check_rule_rec.credit_hold_level_code = 'ORDER'
2893: THEN
2894: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2895: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code );
2896: FND_MESSAGE.Set_Token('TO',l_limit_currency );
2897: FND_MESSAGE.Set_Token('CONV',
2898: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2899:
2892: IF p_credit_check_rule_rec.credit_hold_level_code = 'ORDER'
2893: THEN
2894: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2895: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code );
2896: FND_MESSAGE.Set_Token('TO',l_limit_currency );
2897: FND_MESSAGE.Set_Token('CONV',
2898: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2899:
2900: OE_MSG_PUB.ADD ;
2893: THEN
2894: fnd_message.set_name('ONT', 'OE_CC_CONVERSION_ERORR');
2895: FND_MESSAGE.Set_Token('FROM',p_header_rec.transactional_curr_code );
2896: FND_MESSAGE.Set_Token('TO',l_limit_currency );
2897: FND_MESSAGE.Set_Token('CONV',
2898: NVL(p_credit_check_rule_rec.user_conversion_type,'Corporate'));
2899:
2900: OE_MSG_PUB.ADD ;
2901: x_return_status := FND_API.G_RET_STS_ERROR;
3498: );
3499:
3500: IF x_return_status='S'
3501: THEN
3502: FND_MESSAGE.Set_Name('ONT','OE_CC_CMGT_REVIEW');
3503: FND_MESSAGE.Set_Token('REQUEST_ID',l_request_id);
3504: OE_MSG_PUB.Add;
3505: END IF;
3506:
3499:
3500: IF x_return_status='S'
3501: THEN
3502: FND_MESSAGE.Set_Name('ONT','OE_CC_CMGT_REVIEW');
3503: FND_MESSAGE.Set_Token('REQUEST_ID',l_request_id);
3504: OE_MSG_PUB.Add;
3505: END IF;
3506:
3507: IF G_debug_flag = 'Y'
4322: p_entity_code => 'HEADER'
4323: ,p_entity_id => p_header_rec.header_id
4324: ,p_header_id => p_header_rec.header_id );
4325:
4326: FND_MESSAGE.Set_Name('ONT','OE_CC_CMGT_REVIEW');
4327: FND_MESSAGE.Set_Token('REQUEST_ID',l_request_id);
4328: OE_MSG_PUB.Add;
4329: OE_MSG_PUB.Reset_Msg_Context('HEADER'); --bug 4503551
4330: END IF;
4323: ,p_entity_id => p_header_rec.header_id
4324: ,p_header_id => p_header_rec.header_id );
4325:
4326: FND_MESSAGE.Set_Name('ONT','OE_CC_CMGT_REVIEW');
4327: FND_MESSAGE.Set_Token('REQUEST_ID',l_request_id);
4328: OE_MSG_PUB.Add;
4329: OE_MSG_PUB.Reset_Msg_Context('HEADER'); --bug 4503551
4330: END IF;
4331:
4443: --FND_API.G_TRUE AND x_cc_result_out IN ('FAIL_HOLD', 'FAIL_NONE'))
4444: THEN
4445: -- Display the general message for the user on the screen
4446:
4447: FND_MESSAGE.Set_Name('ONT','OE_CC_HLD_GENERAL_MSG');
4448:
4449: OE_MSG_PUB.Add;
4450: END IF;
4451:
4451:
4452: IF G_release_status = 'RELEASED'
4453: THEN
4454:
4455: FND_MESSAGE.Set_Name('ONT','OE_CC_HOLD_REMOVED');
4456: OE_MSG_PUB.Add;
4457:
4458: END IF;
4459: