DBA Data[Home] [Help]

APPS.ONT_LINE_DEF_HDLR dependencies on OE_PC_GLOBALS

Line 67: IF OE_LINE_SECURITY.LINE_TYPE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

63: -- For UPDATE operations, check security if new defaulted value is not equal to old value
64: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
65: l_attr:=l_attr||' 3';
66: IF NOT OE_GLOBALS.Equal(g_record.line_type_id, p_in_old_rec.line_type_id) THEN
67: IF OE_LINE_SECURITY.LINE_TYPE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
68: -- Raise error if security returns YES, operation IS CONSTRAINED
69: RAISE FND_API.G_EXC_ERROR;
70: END IF;
71: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 97: IF OE_LINE_SECURITY.AGREEMENT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

93: -- For UPDATE operations, check security if new defaulted value is not equal to old value
94: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
95: l_attr:=l_attr||' 3';
96: IF NOT OE_GLOBALS.Equal(g_record.agreement_id, p_in_old_rec.agreement_id) THEN
97: IF OE_LINE_SECURITY.AGREEMENT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
98: -- Raise error if security returns YES, operation IS CONSTRAINED
99: RAISE FND_API.G_EXC_ERROR;
100: END IF;
101: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 131: IF OE_LINE_SECURITY.SOLD_TO_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

127: -- For UPDATE operations, check security if new defaulted value is not equal to old value
128: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
129: l_attr:=l_attr||' 3';
130: IF NOT OE_GLOBALS.Equal(g_record.sold_to_org_id, p_in_old_rec.sold_to_org_id) THEN
131: IF OE_LINE_SECURITY.SOLD_TO_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
132: -- Raise error if security returns YES, operation IS CONSTRAINED
133: RAISE FND_API.G_EXC_ERROR;
134: END IF;
135: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 161: IF OE_LINE_SECURITY.SHIP_TO_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

157: -- For UPDATE operations, check security if new defaulted value is not equal to old value
158: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
159: l_attr:=l_attr||' 3';
160: IF NOT OE_GLOBALS.Equal(g_record.ship_to_org_id, p_in_old_rec.ship_to_org_id) THEN
161: IF OE_LINE_SECURITY.SHIP_TO_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
162: -- Raise error if security returns YES, operation IS CONSTRAINED
163: RAISE FND_API.G_EXC_ERROR;
164: END IF;
165: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 191: IF OE_LINE_SECURITY.INVOICE_TO_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

187: -- For UPDATE operations, check security if new defaulted value is not equal to old value
188: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
189: l_attr:=l_attr||' 3';
190: IF NOT OE_GLOBALS.Equal(g_record.invoice_to_org_id, p_in_old_rec.invoice_to_org_id) THEN
191: IF OE_LINE_SECURITY.INVOICE_TO_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
192: -- Raise error if security returns YES, operation IS CONSTRAINED
193: RAISE FND_API.G_EXC_ERROR;
194: END IF;
195: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 221: IF OE_LINE_SECURITY.DELIVER_TO_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

217: -- For UPDATE operations, check security if new defaulted value is not equal to old value
218: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
219: l_attr:=l_attr||' 3';
220: IF NOT OE_GLOBALS.Equal(g_record.deliver_to_org_id, p_in_old_rec.deliver_to_org_id) THEN
221: IF OE_LINE_SECURITY.DELIVER_TO_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
222: -- Raise error if security returns YES, operation IS CONSTRAINED
223: RAISE FND_API.G_EXC_ERROR;
224: END IF;
225: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 251: IF OE_LINE_SECURITY.REQUEST_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

247: -- For UPDATE operations, check security if new defaulted value is not equal to old value
248: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
249: l_attr:=l_attr||' 3';
250: IF NOT OE_GLOBALS.Equal(g_record.request_date, p_in_old_rec.request_date) THEN
251: IF OE_LINE_SECURITY.REQUEST_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
252: -- Raise error if security returns YES, operation IS CONSTRAINED
253: RAISE FND_API.G_EXC_ERROR;
254: END IF;
255: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 302: IF OE_LINE_SECURITY.PROMISE_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

298: -- For UPDATE operations, check security if new defaulted value is not equal to old value
299: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
300: l_attr:=l_attr||' 3';
301: IF NOT OE_GLOBALS.Equal(g_record.promise_date, p_in_old_rec.promise_date) THEN
302: IF OE_LINE_SECURITY.PROMISE_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
303: -- Raise error if security returns YES, operation IS CONSTRAINED
304: RAISE FND_API.G_EXC_ERROR;
305: END IF;
306: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 332: IF OE_LINE_SECURITY.TAX_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

328: -- For UPDATE operations, check security if new defaulted value is not equal to old value
329: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
330: l_attr:=l_attr||' 3';
331: IF NOT OE_GLOBALS.Equal(g_record.tax_date, p_in_old_rec.tax_date) THEN
332: IF OE_LINE_SECURITY.TAX_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
333: -- Raise error if security returns YES, operation IS CONSTRAINED
334: RAISE FND_API.G_EXC_ERROR;
335: END IF;
336: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 362: IF OE_LINE_SECURITY.TAX(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

358: -- For UPDATE operations, check security if new defaulted value is not equal to old value
359: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
360: l_attr:=l_attr||' 3';
361: IF NOT OE_GLOBALS.Equal(g_record.tax_code, p_in_old_rec.tax_code) THEN
362: IF OE_LINE_SECURITY.TAX(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
363: -- Raise error if security returns YES, operation IS CONSTRAINED
364: RAISE FND_API.G_EXC_ERROR;
365: END IF;
366: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 392: IF OE_LINE_SECURITY.TAX_EXEMPT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

388: -- For UPDATE operations, check security if new defaulted value is not equal to old value
389: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
390: l_attr:=l_attr||' 3';
391: IF NOT OE_GLOBALS.Equal(g_record.tax_exempt_flag, p_in_old_rec.tax_exempt_flag) THEN
392: IF OE_LINE_SECURITY.TAX_EXEMPT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
393: -- Raise error if security returns YES, operation IS CONSTRAINED
394: RAISE FND_API.G_EXC_ERROR;
395: END IF;
396: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 422: IF OE_LINE_SECURITY.SHIP_FROM_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

418: -- For UPDATE operations, check security if new defaulted value is not equal to old value
419: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
420: l_attr:=l_attr||' 3';
421: IF NOT OE_GLOBALS.Equal(g_record.ship_from_org_id, p_in_old_rec.ship_from_org_id) THEN
422: IF OE_LINE_SECURITY.SHIP_FROM_ORG(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
423: -- Raise error if security returns YES, operation IS CONSTRAINED
424: RAISE FND_API.G_EXC_ERROR;
425: END IF;
426: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 458: IF OE_LINE_SECURITY.ACCOUNTING_RULE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

454: -- For UPDATE operations, check security if new defaulted value is not equal to old value
455: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
456: l_attr:=l_attr||' 3';
457: IF NOT OE_GLOBALS.Equal(g_record.accounting_rule_id, p_in_old_rec.accounting_rule_id) THEN
458: IF OE_LINE_SECURITY.ACCOUNTING_RULE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
459: -- Raise error if security returns YES, operation IS CONSTRAINED
460: RAISE FND_API.G_EXC_ERROR;
461: END IF;
462: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 489: IF OE_LINE_SECURITY.ACCOUNTING_RULE_DURATION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

485: -- For UPDATE operations, check security if new defaulted value is not equal to old value
486: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
487: l_attr:=l_attr||' 3';
488: IF NOT OE_GLOBALS.Equal(g_record.accounting_rule_duration, p_in_old_rec.accounting_rule_duration) THEN
489: IF OE_LINE_SECURITY.ACCOUNTING_RULE_DURATION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
490: -- Raise error if security returns YES, operation IS CONSTRAINED
491: RAISE FND_API.G_EXC_ERROR;
492: END IF;
493: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 681: IF OE_LINE_SECURITY.INVOICE_TO_CONTACT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

677: -- For UPDATE operations, check security if new defaulted value is not equal to old value
678: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
679: l_attr:=l_attr||' 3';
680: IF NOT OE_GLOBALS.Equal(g_record.invoice_to_contact_id, p_in_old_rec.invoice_to_contact_id) THEN
681: IF OE_LINE_SECURITY.INVOICE_TO_CONTACT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
682: -- Raise error if security returns YES, operation IS CONSTRAINED
683: RAISE FND_API.G_EXC_ERROR;
684: END IF;
685: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 843: IF OE_LINE_SECURITY.IB_CURRENT_LOCATION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

839: -- For UPDATE operations, check security if new defaulted value is not equal to old value
840: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
841: l_attr:=l_attr||' 3';
842: IF NOT OE_GLOBALS.Equal(g_record.ib_current_location, p_in_old_rec.ib_current_location) THEN
843: IF OE_LINE_SECURITY.IB_CURRENT_LOCATION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
844: -- Raise error if security returns YES, operation IS CONSTRAINED
845: RAISE FND_API.G_EXC_ERROR;
846: END IF;
847: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 889: IF OE_LINE_SECURITY.CUST_PO_NUMBER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

885: -- For UPDATE operations, check security if new defaulted value is not equal to old value
886: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
887: l_attr:=l_attr||' 3';
888: IF NOT OE_GLOBALS.Equal(g_record.cust_po_number, p_in_old_rec.cust_po_number) THEN
889: IF OE_LINE_SECURITY.CUST_PO_NUMBER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
890: -- Raise error if security returns YES, operation IS CONSTRAINED
891: RAISE FND_API.G_EXC_ERROR;
892: END IF;
893: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 920: IF OE_LINE_SECURITY.CUSTOMER_LINE_NUMBER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

916: -- For UPDATE operations, check security if new defaulted value is not equal to old value
917: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
918: l_attr:=l_attr||' 3';
919: IF NOT OE_GLOBALS.Equal(g_record.customer_line_number, p_in_old_rec.customer_line_number) THEN
920: IF OE_LINE_SECURITY.CUSTOMER_LINE_NUMBER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
921: -- Raise error if security returns YES, operation IS CONSTRAINED
922: RAISE FND_API.G_EXC_ERROR;
923: END IF;
924: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 985: IF OE_LINE_SECURITY.DELIVER_TO_CONTACT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

981: -- For UPDATE operations, check security if new defaulted value is not equal to old value
982: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
983: l_attr:=l_attr||' 3';
984: IF NOT OE_GLOBALS.Equal(g_record.deliver_to_contact_id, p_in_old_rec.deliver_to_contact_id) THEN
985: IF OE_LINE_SECURITY.DELIVER_TO_CONTACT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
986: -- Raise error if security returns YES, operation IS CONSTRAINED
987: RAISE FND_API.G_EXC_ERROR;
988: END IF;
989: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1027: IF OE_LINE_SECURITY.DEMAND_CLASS(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1023: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1024: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1025: l_attr:=l_attr||' 3';
1026: IF NOT OE_GLOBALS.Equal(g_record.demand_class_code, p_in_old_rec.demand_class_code) THEN
1027: IF OE_LINE_SECURITY.DEMAND_CLASS(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1028: -- Raise error if security returns YES, operation IS CONSTRAINED
1029: RAISE FND_API.G_EXC_ERROR;
1030: END IF;
1031: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1058: IF OE_LINE_SECURITY.DEP_PLAN_REQUIRED(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1054: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1055: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1056: l_attr:=l_attr||' 3';
1057: IF NOT OE_GLOBALS.Equal(g_record.dep_plan_required_flag, p_in_old_rec.dep_plan_required_flag) THEN
1058: IF OE_LINE_SECURITY.DEP_PLAN_REQUIRED(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1059: -- Raise error if security returns YES, operation IS CONSTRAINED
1060: RAISE FND_API.G_EXC_ERROR;
1061: END IF;
1062: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1089: IF OE_LINE_SECURITY.EARLIEST_ACCEPTABLE_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1085: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1086: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1087: l_attr:=l_attr||' 3';
1088: IF NOT OE_GLOBALS.Equal(g_record.earliest_acceptable_date, p_in_old_rec.earliest_acceptable_date) THEN
1089: IF OE_LINE_SECURITY.EARLIEST_ACCEPTABLE_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1090: -- Raise error if security returns YES, operation IS CONSTRAINED
1091: RAISE FND_API.G_EXC_ERROR;
1092: END IF;
1093: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1120: IF OE_LINE_SECURITY.END_CUSTOMER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1116: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1117: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1118: l_attr:=l_attr||' 3';
1119: IF NOT OE_GLOBALS.Equal(g_record.end_customer_id, p_in_old_rec.end_customer_id) THEN
1120: IF OE_LINE_SECURITY.END_CUSTOMER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1121: -- Raise error if security returns YES, operation IS CONSTRAINED
1122: RAISE FND_API.G_EXC_ERROR;
1123: END IF;
1124: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1144: IF OE_LINE_SECURITY.END_CUSTOMER_CONTACT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1140: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1141: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1142: l_attr:=l_attr||' 3';
1143: IF NOT OE_GLOBALS.Equal(g_record.end_customer_contact_id, p_in_old_rec.end_customer_contact_id) THEN
1144: IF OE_LINE_SECURITY.END_CUSTOMER_CONTACT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1145: -- Raise error if security returns YES, operation IS CONSTRAINED
1146: RAISE FND_API.G_EXC_ERROR;
1147: END IF;
1148: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1168: IF OE_LINE_SECURITY.END_CUSTOMER_SITE_USE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1164: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1165: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1166: l_attr:=l_attr||' 3';
1167: IF NOT OE_GLOBALS.Equal(g_record.end_customer_site_use_id, p_in_old_rec.end_customer_site_use_id) THEN
1168: IF OE_LINE_SECURITY.END_CUSTOMER_SITE_USE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1169: -- Raise error if security returns YES, operation IS CONSTRAINED
1170: RAISE FND_API.G_EXC_ERROR;
1171: END IF;
1172: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1219: IF OE_LINE_SECURITY.FOB_POINT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1215: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1216: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1217: l_attr:=l_attr||' 3';
1218: IF NOT OE_GLOBALS.Equal(g_record.fob_point_code, p_in_old_rec.fob_point_code) THEN
1219: IF OE_LINE_SECURITY.FOB_POINT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1220: -- Raise error if security returns YES, operation IS CONSTRAINED
1221: RAISE FND_API.G_EXC_ERROR;
1222: END IF;
1223: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1268: IF OE_LINE_SECURITY.FREIGHT_TERMS(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1264: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1265: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1266: l_attr:=l_attr||' 3';
1267: IF NOT OE_GLOBALS.Equal(g_record.freight_terms_code, p_in_old_rec.freight_terms_code) THEN
1268: IF OE_LINE_SECURITY.FREIGHT_TERMS(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1269: -- Raise error if security returns YES, operation IS CONSTRAINED
1270: RAISE FND_API.G_EXC_ERROR;
1271: END IF;
1272: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1651: IF OE_LINE_SECURITY.IB_INSTALLED_AT_LOCATION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1647: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1648: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1649: l_attr:=l_attr||' 3';
1650: IF NOT OE_GLOBALS.Equal(g_record.ib_installed_at_location, p_in_old_rec.ib_installed_at_location) THEN
1651: IF OE_LINE_SECURITY.IB_INSTALLED_AT_LOCATION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1652: -- Raise error if security returns YES, operation IS CONSTRAINED
1653: RAISE FND_API.G_EXC_ERROR;
1654: END IF;
1655: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1719: IF OE_LINE_SECURITY.INVOICING_RULE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1715: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1716: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1717: l_attr:=l_attr||' 3';
1718: IF NOT OE_GLOBALS.Equal(g_record.invoicing_rule_id, p_in_old_rec.invoicing_rule_id) THEN
1719: IF OE_LINE_SECURITY.INVOICING_RULE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1720: -- Raise error if security returns YES, operation IS CONSTRAINED
1721: RAISE FND_API.G_EXC_ERROR;
1722: END IF;
1723: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1760: IF OE_LINE_SECURITY.ITEM_REVISION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1756: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1757: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1758: l_attr:=l_attr||' 3';
1759: IF NOT OE_GLOBALS.Equal(g_record.item_revision, p_in_old_rec.item_revision) THEN
1760: IF OE_LINE_SECURITY.ITEM_REVISION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1761: -- Raise error if security returns YES, operation IS CONSTRAINED
1762: RAISE FND_API.G_EXC_ERROR;
1763: END IF;
1764: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1827: IF OE_LINE_SECURITY.LATEST_ACCEPTABLE_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1823: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1824: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1825: l_attr:=l_attr||' 3';
1826: IF NOT OE_GLOBALS.Equal(g_record.latest_acceptable_date, p_in_old_rec.latest_acceptable_date) THEN
1827: IF OE_LINE_SECURITY.LATEST_ACCEPTABLE_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1828: -- Raise error if security returns YES, operation IS CONSTRAINED
1829: RAISE FND_API.G_EXC_ERROR;
1830: END IF;
1831: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1934: IF OE_LINE_SECURITY.ORDER_QUANTITY_UOM(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1930: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1931: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1932: l_attr:=l_attr||' 3';
1933: IF NOT OE_GLOBALS.Equal(g_record.order_quantity_uom, p_in_old_rec.order_quantity_uom) THEN
1934: IF OE_LINE_SECURITY.ORDER_QUANTITY_UOM(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1935: -- Raise error if security returns YES, operation IS CONSTRAINED
1936: RAISE FND_API.G_EXC_ERROR;
1937: END IF;
1938: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 1976: IF OE_LINE_SECURITY.ORDERED_QUANTITY(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

1972: -- For UPDATE operations, check security if new defaulted value is not equal to old value
1973: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
1974: l_attr:=l_attr||' 3';
1975: IF NOT OE_GLOBALS.Equal(g_record.ordered_quantity, p_in_old_rec.ordered_quantity) THEN
1976: IF OE_LINE_SECURITY.ORDERED_QUANTITY(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
1977: -- Raise error if security returns YES, operation IS CONSTRAINED
1978: RAISE FND_API.G_EXC_ERROR;
1979: END IF;
1980: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2036: IF OE_LINE_SECURITY.IB_OWNER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2032: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2033: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2034: l_attr:=l_attr||' 3';
2035: IF NOT OE_GLOBALS.Equal(g_record.ib_owner, p_in_old_rec.ib_owner) THEN
2036: IF OE_LINE_SECURITY.IB_OWNER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2037: -- Raise error if security returns YES, operation IS CONSTRAINED
2038: RAISE FND_API.G_EXC_ERROR;
2039: END IF;
2040: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2087: IF OE_LINE_SECURITY.PAYMENT_TERM(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2083: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2084: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2085: l_attr:=l_attr||' 3';
2086: IF NOT OE_GLOBALS.Equal(g_record.payment_term_id, p_in_old_rec.payment_term_id) THEN
2087: IF OE_LINE_SECURITY.PAYMENT_TERM(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2088: -- Raise error if security returns YES, operation IS CONSTRAINED
2089: RAISE FND_API.G_EXC_ERROR;
2090: END IF;
2091: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2128: IF OE_LINE_SECURITY.PRICE_LIST(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2124: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2125: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2126: l_attr:=l_attr||' 3';
2127: IF NOT OE_GLOBALS.Equal(g_record.price_list_id, p_in_old_rec.price_list_id) THEN
2128: IF OE_LINE_SECURITY.PRICE_LIST(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2129: -- Raise error if security returns YES, operation IS CONSTRAINED
2130: RAISE FND_API.G_EXC_ERROR;
2131: END IF;
2132: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2224: IF OE_LINE_SECURITY.PRICING_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2220: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2221: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2222: l_attr:=l_attr||' 3';
2223: IF NOT OE_GLOBALS.Equal(g_record.pricing_date, p_in_old_rec.pricing_date) THEN
2224: IF OE_LINE_SECURITY.PRICING_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2225: -- Raise error if security returns YES, operation IS CONSTRAINED
2226: RAISE FND_API.G_EXC_ERROR;
2227: END IF;
2228: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2429: IF OE_LINE_SECURITY.RETURN_REASON(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2425: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2426: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2427: l_attr:=l_attr||' 3';
2428: IF NOT OE_GLOBALS.Equal(g_record.return_reason_code, p_in_old_rec.return_reason_code) THEN
2429: IF OE_LINE_SECURITY.RETURN_REASON(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2430: -- Raise error if security returns YES, operation IS CONSTRAINED
2431: RAISE FND_API.G_EXC_ERROR;
2432: END IF;
2433: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2490: IF OE_LINE_SECURITY.BLANKET_NUMBER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2486: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2487: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2488: l_attr:=l_attr||' 3';
2489: IF NOT OE_GLOBALS.Equal(g_record.blanket_number, p_in_old_rec.blanket_number) THEN
2490: IF OE_LINE_SECURITY.BLANKET_NUMBER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2491: -- Raise error if security returns YES, operation IS CONSTRAINED
2492: RAISE FND_API.G_EXC_ERROR;
2493: END IF;
2494: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2530: IF OE_LINE_SECURITY.SALESREP(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2526: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2527: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2528: l_attr:=l_attr||' 3';
2529: IF NOT OE_GLOBALS.Equal(g_record.salesrep_id, p_in_old_rec.salesrep_id) THEN
2530: IF OE_LINE_SECURITY.SALESREP(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2531: -- Raise error if security returns YES, operation IS CONSTRAINED
2532: RAISE FND_API.G_EXC_ERROR;
2533: END IF;
2534: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2567: IF OE_LINE_SECURITY.SCHEDULE_ARRIVAL_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2563: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2564: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2565: l_attr:=l_attr||' 3';
2566: IF NOT OE_GLOBALS.Equal(g_record.schedule_arrival_date, p_in_old_rec.schedule_arrival_date) THEN
2567: IF OE_LINE_SECURITY.SCHEDULE_ARRIVAL_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2568: -- Raise error if security returns YES, operation IS CONSTRAINED
2569: RAISE FND_API.G_EXC_ERROR;
2570: END IF;
2571: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2616: IF OE_LINE_SECURITY.ORDERED_QUANTITY2(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2612: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2613: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2614: l_attr:=l_attr||' 3';
2615: IF NOT OE_GLOBALS.Equal(g_record.ordered_quantity2, p_in_old_rec.ordered_quantity2) THEN
2616: IF OE_LINE_SECURITY.ORDERED_QUANTITY2(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2617: -- Raise error if security returns YES, operation IS CONSTRAINED
2618: RAISE FND_API.G_EXC_ERROR;
2619: END IF;
2620: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2733: IF OE_LINE_SECURITY.SERVICE_DURATION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2729: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2730: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2731: l_attr:=l_attr||' 3';
2732: IF NOT OE_GLOBALS.Equal(g_record.service_duration, p_in_old_rec.service_duration) THEN
2733: IF OE_LINE_SECURITY.SERVICE_DURATION(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2734: -- Raise error if security returns YES, operation IS CONSTRAINED
2735: RAISE FND_API.G_EXC_ERROR;
2736: END IF;
2737: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2776: IF OE_LINE_SECURITY.SERVICE_PERIOD(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2772: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2773: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2774: l_attr:=l_attr||' 3';
2775: IF NOT OE_GLOBALS.Equal(g_record.service_period, p_in_old_rec.service_period) THEN
2776: IF OE_LINE_SECURITY.SERVICE_PERIOD(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2777: -- Raise error if security returns YES, operation IS CONSTRAINED
2778: RAISE FND_API.G_EXC_ERROR;
2779: END IF;
2780: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2819: IF OE_LINE_SECURITY.SERVICE_REFERENCE_TYPE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2815: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2816: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2817: l_attr:=l_attr||' 3';
2818: IF NOT OE_GLOBALS.Equal(g_record.service_reference_type_code, p_in_old_rec.service_reference_type_code) THEN
2819: IF OE_LINE_SECURITY.SERVICE_REFERENCE_TYPE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2820: -- Raise error if security returns YES, operation IS CONSTRAINED
2821: RAISE FND_API.G_EXC_ERROR;
2822: END IF;
2823: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2850: IF OE_LINE_SECURITY.SERVICE_START_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2846: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2847: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2848: l_attr:=l_attr||' 3';
2849: IF NOT OE_GLOBALS.Equal(g_record.service_start_date, p_in_old_rec.service_start_date) THEN
2850: IF OE_LINE_SECURITY.SERVICE_START_DATE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2851: -- Raise error if security returns YES, operation IS CONSTRAINED
2852: RAISE FND_API.G_EXC_ERROR;
2853: END IF;
2854: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2932: IF OE_LINE_SECURITY.SHIP_TO_CONTACT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2928: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2929: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2930: l_attr:=l_attr||' 3';
2931: IF NOT OE_GLOBALS.Equal(g_record.ship_to_contact_id, p_in_old_rec.ship_to_contact_id) THEN
2932: IF OE_LINE_SECURITY.SHIP_TO_CONTACT(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2933: -- Raise error if security returns YES, operation IS CONSTRAINED
2934: RAISE FND_API.G_EXC_ERROR;
2935: END IF;
2936: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2962: IF OE_LINE_SECURITY.SHIP_TOLERANCE_ABOVE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2958: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2959: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2960: l_attr:=l_attr||' 3';
2961: IF NOT OE_GLOBALS.Equal(g_record.ship_tolerance_above, p_in_old_rec.ship_tolerance_above) THEN
2962: IF OE_LINE_SECURITY.SHIP_TOLERANCE_ABOVE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2963: -- Raise error if security returns YES, operation IS CONSTRAINED
2964: RAISE FND_API.G_EXC_ERROR;
2965: END IF;
2966: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 2993: IF OE_LINE_SECURITY.SHIP_TOLERANCE_BELOW(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

2989: -- For UPDATE operations, check security if new defaulted value is not equal to old value
2990: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
2991: l_attr:=l_attr||' 3';
2992: IF NOT OE_GLOBALS.Equal(g_record.ship_tolerance_below, p_in_old_rec.ship_tolerance_below) THEN
2993: IF OE_LINE_SECURITY.SHIP_TOLERANCE_BELOW(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
2994: -- Raise error if security returns YES, operation IS CONSTRAINED
2995: RAISE FND_API.G_EXC_ERROR;
2996: END IF;
2997: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 3030: IF OE_LINE_SECURITY.SHIPMENT_PRIORITY(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

3026: -- For UPDATE operations, check security if new defaulted value is not equal to old value
3027: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
3028: l_attr:=l_attr||' 3';
3029: IF NOT OE_GLOBALS.Equal(g_record.shipment_priority_code, p_in_old_rec.shipment_priority_code) THEN
3030: IF OE_LINE_SECURITY.SHIPMENT_PRIORITY(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
3031: -- Raise error if security returns YES, operation IS CONSTRAINED
3032: RAISE FND_API.G_EXC_ERROR;
3033: END IF;
3034: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 3157: IF OE_LINE_SECURITY.SOURCE_TYPE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

3153: -- For UPDATE operations, check security if new defaulted value is not equal to old value
3154: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
3155: l_attr:=l_attr||' 3';
3156: IF NOT OE_GLOBALS.Equal(g_record.source_type_code, p_in_old_rec.source_type_code) THEN
3157: IF OE_LINE_SECURITY.SOURCE_TYPE(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
3158: -- Raise error if security returns YES, operation IS CONSTRAINED
3159: RAISE FND_API.G_EXC_ERROR;
3160: END IF;
3161: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 3233: IF OE_LINE_SECURITY.TAX_EXEMPT_NUMBER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

3229: -- For UPDATE operations, check security if new defaulted value is not equal to old value
3230: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
3231: l_attr:=l_attr||' 3';
3232: IF NOT OE_GLOBALS.Equal(g_record.tax_exempt_number, p_in_old_rec.tax_exempt_number) THEN
3233: IF OE_LINE_SECURITY.TAX_EXEMPT_NUMBER(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
3234: -- Raise error if security returns YES, operation IS CONSTRAINED
3235: RAISE FND_API.G_EXC_ERROR;
3236: END IF;
3237: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';

Line 3264: IF OE_LINE_SECURITY.TAX_EXEMPT_REASON(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN

3260: -- For UPDATE operations, check security if new defaulted value is not equal to old value
3261: IF g_record.operation = OE_GLOBALS.G_OPR_UPDATE THEN
3262: l_attr:=l_attr||' 3';
3263: IF NOT OE_GLOBALS.Equal(g_record.tax_exempt_reason_code, p_in_old_rec.tax_exempt_reason_code) THEN
3264: IF OE_LINE_SECURITY.TAX_EXEMPT_REASON(p_record => g_record, x_on_operation_action => l_action) = OE_PC_GLOBALS.YES THEN
3265: -- Raise error if security returns YES, operation IS CONSTRAINED
3266: RAISE FND_API.G_EXC_ERROR;
3267: END IF;
3268: OE_GLOBALS.G_ATTR_UPDATED_BY_DEF := 'Y';