DBA Data[Home] [Help]

APPS.OE_VERSION_COMP dependencies on OE_ID_TO_VALUE

Line 952: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);

948: ind := ind+1;
949: prior_exists := 'Y';
950: x_header_changed_attr_tbl(ind).attribute_name := 'accounting_rule';
951: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
952: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
953: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
954: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
955: END IF;
956: END IF; /* PRIOR */

Line 954: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);

950: x_header_changed_attr_tbl(ind).attribute_name := 'accounting_rule';
951: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
952: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
953: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
954: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
955: END IF;
956: END IF; /* PRIOR */
957: /****************************/
958: IF p_next_version IS NOT NULL THEN

Line 963: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);

959: IF OE_Globals.Equal(
960: p_curr_rec.accounting_rule_id,
961: p_next_rec.accounting_rule_id) THEN
962: IF prior_exists = 'Y' THEN
963: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
964: END IF;
965: ELSE
966: IF prior_exists = 'N' THEN
967: ind := ind+1;

Line 971: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);

967: ind := ind+1;
968: END IF;
969: x_header_changed_attr_tbl(ind).attribute_name := 'accounting_rule';
970: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
971: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
972: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
973: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
974: x_header_changed_attr_tbl(ind).next_id := p_next_rec.accounting_rule_id;
975: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);

Line 973: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);

969: x_header_changed_attr_tbl(ind).attribute_name := 'accounting_rule';
970: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
971: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
972: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
973: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
974: x_header_changed_attr_tbl(ind).next_id := p_next_rec.accounting_rule_id;
975: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);
976: END IF; /* NEXT */
977: END IF;

Line 975: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);

971: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
972: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
973: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
974: x_header_changed_attr_tbl(ind).next_id := p_next_rec.accounting_rule_id;
975: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);
976: END IF; /* NEXT */
977: END IF;
978: /* END ACCOUNTING_RULE_ID*/
979: /****************************/

Line 1033: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);

1029: ind := ind+1;
1030: prior_exists := 'Y';
1031: x_header_changed_attr_tbl(ind).attribute_name := 'agreement';
1032: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
1033: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
1034: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
1035: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
1036: END IF;
1037: END IF; /* PRIOR */

Line 1035: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);

1031: x_header_changed_attr_tbl(ind).attribute_name := 'agreement';
1032: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
1033: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
1034: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
1035: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
1036: END IF;
1037: END IF; /* PRIOR */
1038: /****************************/
1039: IF p_next_version IS NOT NULL THEN

Line 1044: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);

1040: IF OE_Globals.Equal(
1041: p_curr_rec.agreement_id,
1042: p_next_rec.agreement_id) THEN
1043: IF prior_exists = 'Y' THEN
1044: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
1045: END IF;
1046: ELSE
1047: IF prior_exists = 'N' THEN
1048: ind := ind+1;

Line 1052: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);

1048: ind := ind+1;
1049: END IF;
1050: x_header_changed_attr_tbl(ind).attribute_name := 'agreement';
1051: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
1052: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
1053: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
1054: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
1055: x_header_changed_attr_tbl(ind).next_id := p_next_rec.agreement_id;
1056: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);

Line 1054: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);

1050: x_header_changed_attr_tbl(ind).attribute_name := 'agreement';
1051: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
1052: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
1053: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
1054: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
1055: x_header_changed_attr_tbl(ind).next_id := p_next_rec.agreement_id;
1056: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);
1057: END IF; /* NEXT */
1058: END IF;

Line 1056: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);

1052: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
1053: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
1054: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
1055: x_header_changed_attr_tbl(ind).next_id := p_next_rec.agreement_id;
1056: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);
1057: END IF; /* NEXT */
1058: END IF;
1059: /* END agreement_id*/
1060: /****************************/

Line 2007: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Conversion_Type(p_curr_rec.conversion_type_code);

2003: ind := ind+1;
2004: prior_exists := 'Y';
2005: x_header_changed_attr_tbl(ind).attribute_name := 'conversion_type';
2006: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.conversion_type_code;
2007: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Conversion_Type(p_curr_rec.conversion_type_code);
2008: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.conversion_type_code;
2009: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Conversion_Type(p_prior_rec.conversion_type_code);
2010: END IF;
2011: END IF; /* PRIOR */

Line 2009: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Conversion_Type(p_prior_rec.conversion_type_code);

2005: x_header_changed_attr_tbl(ind).attribute_name := 'conversion_type';
2006: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.conversion_type_code;
2007: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Conversion_Type(p_curr_rec.conversion_type_code);
2008: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.conversion_type_code;
2009: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Conversion_Type(p_prior_rec.conversion_type_code);
2010: END IF;
2011: END IF; /* PRIOR */
2012: /****************************/
2013: IF p_next_version IS NOT NULL THEN

Line 2018: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Conversion_type(p_curr_rec.conversion_type_code);

2014: IF OE_Globals.Equal(
2015: p_curr_rec.conversion_type_code,
2016: p_next_rec.conversion_type_code) THEN
2017: IF prior_exists = 'Y' THEN
2018: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Conversion_type(p_curr_rec.conversion_type_code);
2019: END IF;
2020: ELSE
2021: IF prior_exists = 'N' THEN
2022: ind := ind+1;

Line 2026: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Conversion_Type(p_prior_rec.conversion_type_code);

2022: ind := ind+1;
2023: END IF;
2024: x_header_changed_attr_tbl(ind).attribute_name := 'conversion_type';
2025: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.conversion_type_code;
2026: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Conversion_Type(p_prior_rec.conversion_type_code);
2027: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.conversion_type_code;
2028: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Conversion_Type(p_curr_rec.conversion_type_code);
2029: x_header_changed_attr_tbl(ind).next_id := p_next_rec.conversion_type_code;
2030: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Conversion_type(p_next_rec.conversion_type_code);

Line 2028: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Conversion_Type(p_curr_rec.conversion_type_code);

2024: x_header_changed_attr_tbl(ind).attribute_name := 'conversion_type';
2025: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.conversion_type_code;
2026: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Conversion_Type(p_prior_rec.conversion_type_code);
2027: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.conversion_type_code;
2028: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Conversion_Type(p_curr_rec.conversion_type_code);
2029: x_header_changed_attr_tbl(ind).next_id := p_next_rec.conversion_type_code;
2030: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Conversion_type(p_next_rec.conversion_type_code);
2031: END IF; /* NEXT */
2032: END IF;

Line 2030: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Conversion_type(p_next_rec.conversion_type_code);

2026: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Conversion_Type(p_prior_rec.conversion_type_code);
2027: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.conversion_type_code;
2028: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Conversion_Type(p_curr_rec.conversion_type_code);
2029: x_header_changed_attr_tbl(ind).next_id := p_next_rec.conversion_type_code;
2030: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Conversion_type(p_next_rec.conversion_type_code);
2031: END IF; /* NEXT */
2032: END IF;
2033:
2034: /* END Conversion_Type_code*/

Line 2129: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);

2125: ind := ind+1;
2126: prior_exists := 'Y';
2127: x_header_changed_attr_tbl(ind).attribute_name := 'deliver_to_contact';
2128: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
2129: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
2130: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
2131: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
2132: END IF;
2133: END IF; /* PRIOR */

Line 2131: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);

2127: x_header_changed_attr_tbl(ind).attribute_name := 'deliver_to_contact';
2128: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
2129: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
2130: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
2131: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
2132: END IF;
2133: END IF; /* PRIOR */
2134: /****************************/
2135: IF p_next_version IS NOT NULL THEN

Line 2140: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);

2136: IF OE_Globals.Equal(
2137: p_curr_rec.deliver_to_contact_id,
2138: p_next_rec.deliver_to_contact_id) THEN
2139: IF prior_exists = 'Y' THEN
2140: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
2141: END IF;
2142: ELSE
2143: IF prior_exists = 'N' THEN
2144: ind := ind+1;

Line 2148: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);

2144: ind := ind+1;
2145: END IF;
2146: x_header_changed_attr_tbl(ind).attribute_name := 'deliver_to_contact';
2147: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
2148: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
2149: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
2150: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
2151: x_header_changed_attr_tbl(ind).next_id := p_next_rec.deliver_to_contact_id;
2152: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);

Line 2150: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);

2146: x_header_changed_attr_tbl(ind).attribute_name := 'deliver_to_contact';
2147: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
2148: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
2149: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
2150: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
2151: x_header_changed_attr_tbl(ind).next_id := p_next_rec.deliver_to_contact_id;
2152: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);
2153: END IF; /* NEXT */
2154: END IF;

Line 2152: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);

2148: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
2149: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
2150: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
2151: x_header_changed_attr_tbl(ind).next_id := p_next_rec.deliver_to_contact_id;
2152: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);
2153: END IF; /* NEXT */
2154: END IF;
2155:
2156: /* END deliver_to_contact_id*/

Line 2173: OE_ID_TO_VALUE.deliver_To_Org

2169: ind := ind+1;
2170: prior_exists := 'Y';
2171: x_header_changed_attr_tbl(ind).attribute_name := 'deliver_to_location';
2172: if p_curr_rec.deliver_to_org_id is not null then
2173: OE_ID_TO_VALUE.deliver_To_Org
2174: ( p_deliver_to_org_id => p_curr_rec.deliver_To_org_id
2175: , x_deliver_to_address1 => x_deliver_to_address1
2176: , x_deliver_to_address2 => x_deliver_to_address2
2177: , x_deliver_to_address3 => x_deliver_to_address3

Line 2204: OE_ID_TO_VALUE.deliver_To_Org

2200: x_header_changed_attr_tbl(ind).current_value := x_prior_deliver_to_address;
2201: end if;
2202:
2203: if p_prior_rec.deliver_to_org_id is not null then
2204: OE_ID_TO_VALUE.deliver_To_Org
2205: ( p_deliver_to_org_id => p_prior_rec.deliver_To_org_id
2206: , x_deliver_to_address1 => x_deliver_to_address1
2207: , x_deliver_to_address2 => x_deliver_to_address2
2208: , x_deliver_to_address3 => x_deliver_to_address3

Line 2250: OE_ID_TO_VALUE.deliver_To_Org

2246: END IF;
2247: x_header_changed_attr_tbl(ind).attribute_name := 'deliver_to_location';
2248:
2249: if p_prior_rec.deliver_to_org_id is not null then
2250: OE_ID_TO_VALUE.deliver_To_Org
2251: ( p_deliver_to_org_id => p_prior_rec.deliver_To_org_id
2252: , x_deliver_to_address1 => x_deliver_to_address1
2253: , x_deliver_to_address2 => x_deliver_to_address2
2254: , x_deliver_to_address3 => x_deliver_to_address3

Line 2280: OE_ID_TO_VALUE.deliver_To_Org

2276: x_header_changed_attr_tbl(ind).prior_value := x_prior_deliver_to_address;
2277:
2278: end if;
2279: if p_curr_rec.deliver_to_org_id is not null then
2280: OE_ID_TO_VALUE.deliver_To_Org
2281: ( p_deliver_to_org_id => p_curr_rec.deliver_To_org_id
2282: , x_deliver_to_address1 => x_deliver_to_address1
2283: , x_deliver_to_address2 => x_deliver_to_address2
2284: , x_deliver_to_address3 => x_deliver_to_address3

Line 2310: OE_ID_TO_VALUE.deliver_To_Org

2306: x_header_changed_attr_tbl(ind).current_value := x_current_deliver_to_address;
2307:
2308: end if;
2309: if p_next_rec.deliver_to_org_id is not null then
2310: OE_ID_TO_VALUE.deliver_To_Org
2311: ( p_deliver_to_org_id => p_next_rec.deliver_To_org_id
2312: , x_deliver_to_address1 => x_deliver_to_address1
2313: , x_deliver_to_address2 => x_deliver_to_address2
2314: , x_deliver_to_address3 => x_deliver_to_address3

Line 2510: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);

2506: ind := ind+1;
2507: prior_exists := 'Y';
2508: x_header_changed_attr_tbl(ind).attribute_name := 'fob';
2509: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
2510: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
2511: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
2512: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
2513: END IF;
2514: END IF; /* PRIOR */

Line 2512: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);

2508: x_header_changed_attr_tbl(ind).attribute_name := 'fob';
2509: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
2510: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
2511: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
2512: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
2513: END IF;
2514: END IF; /* PRIOR */
2515: /****************************/
2516: IF p_next_version IS NOT NULL THEN

Line 2521: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);

2517: IF OE_Globals.Equal(
2518: p_curr_rec.fob_point_code,
2519: p_next_rec.fob_point_code) THEN
2520: IF prior_exists = 'Y' THEN
2521: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
2522: END IF;
2523: ELSE
2524: IF prior_exists = 'N' THEN
2525: ind := ind+1;

Line 2529: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);

2525: ind := ind+1;
2526: END IF;
2527: x_header_changed_attr_tbl(ind).attribute_name := 'fob';
2528: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
2529: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
2530: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
2531: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
2532: x_header_changed_attr_tbl(ind).next_id := p_next_rec.fob_point_code;
2533: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);

Line 2531: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);

2527: x_header_changed_attr_tbl(ind).attribute_name := 'fob';
2528: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
2529: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
2530: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
2531: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
2532: x_header_changed_attr_tbl(ind).next_id := p_next_rec.fob_point_code;
2533: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);
2534: END IF; /* NEXT */
2535: END IF;

Line 2533: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);

2529: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
2530: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
2531: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
2532: x_header_changed_attr_tbl(ind).next_id := p_next_rec.fob_point_code;
2533: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);
2534: END IF; /* NEXT */
2535: END IF;
2536:
2537: /* END Fob_Point_code*/

Line 2554: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);

2550: ind := ind+1;
2551: prior_exists := 'Y';
2552: x_header_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
2553: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2554: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
2555: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
2556: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
2557: END IF;
2558: END IF; /* PRIOR */

Line 2556: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);

2552: x_header_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
2553: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2554: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
2555: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
2556: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
2557: END IF;
2558: END IF; /* PRIOR */
2559: /****************************/
2560: IF p_next_version IS NOT NULL THEN

Line 2565: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);

2561: IF OE_Globals.Equal(
2562: p_curr_rec.freight_carrier_code,
2563: p_next_rec.freight_carrier_code) THEN
2564: IF prior_exists = 'Y' THEN
2565: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
2566: END IF;
2567: null;
2568: ELSE
2569: IF prior_exists = 'N' THEN

Line 2574: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);

2570: ind := ind+1;
2571: END IF;
2572: x_header_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
2573: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
2574: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
2575: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2576: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
2577: x_header_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
2578: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_next_rec.freight_carrier_code,p_next_rec.ship_from_org_id);

Line 2576: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);

2572: x_header_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
2573: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
2574: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
2575: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2576: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
2577: x_header_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
2578: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_next_rec.freight_carrier_code,p_next_rec.ship_from_org_id);
2579: END IF;
2580: END IF; /* NEXT */

Line 2578: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_next_rec.freight_carrier_code,p_next_rec.ship_from_org_id);

2574: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
2575: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2576: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
2577: x_header_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
2578: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_next_rec.freight_carrier_code,p_next_rec.ship_from_org_id);
2579: END IF;
2580: END IF; /* NEXT */
2581:
2582: /* END freight_carrier_code*/

Line 2599: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);

2595: ind := ind+1;
2596: prior_exists := 'Y';
2597: x_header_changed_attr_tbl(ind).attribute_name := 'freight_terms';
2598: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
2599: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
2600: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
2601: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
2602: END IF;
2603: END IF; /* PRIOR */

Line 2601: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);

2597: x_header_changed_attr_tbl(ind).attribute_name := 'freight_terms';
2598: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
2599: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
2600: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
2601: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
2602: END IF;
2603: END IF; /* PRIOR */
2604: /****************************/
2605: IF p_next_version IS NOT NULL THEN

Line 2610: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);

2606: IF OE_Globals.Equal(
2607: p_curr_rec.freight_terms_code,
2608: p_next_rec.freight_terms_code) THEN
2609: IF prior_exists = 'Y' THEN
2610: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
2611: END IF;
2612: ELSE
2613: IF prior_exists = 'N' THEN
2614: ind := ind+1;

Line 2618: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);

2614: ind := ind+1;
2615: END IF;
2616: x_header_changed_attr_tbl(ind).attribute_name := 'freight_terms';
2617: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
2618: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
2619: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
2620: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
2621: x_header_changed_attr_tbl(ind).next_id := p_next_rec.freight_terms_code;
2622: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);

Line 2620: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);

2616: x_header_changed_attr_tbl(ind).attribute_name := 'freight_terms';
2617: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
2618: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
2619: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
2620: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
2621: x_header_changed_attr_tbl(ind).next_id := p_next_rec.freight_terms_code;
2622: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);
2623: END IF; /* NEXT */
2624: END IF;

Line 2622: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);

2618: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
2619: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
2620: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
2621: x_header_changed_attr_tbl(ind).next_id := p_next_rec.freight_terms_code;
2622: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);
2623: END IF; /* NEXT */
2624: END IF;
2625:
2626: /* END freight_terms_code*/

Line 3456: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);

3452: ind := ind+1;
3453: prior_exists := 'Y';
3454: x_header_changed_attr_tbl(ind).attribute_name := 'invoice_to_contact';
3455: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
3456: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
3457: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
3458: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
3459: END IF;
3460: END IF; /* PRIOR */

Line 3458: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);

3454: x_header_changed_attr_tbl(ind).attribute_name := 'invoice_to_contact';
3455: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
3456: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
3457: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
3458: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
3459: END IF;
3460: END IF; /* PRIOR */
3461: /****************************/
3462: IF p_next_version IS NOT NULL THEN

Line 3467: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);

3463: IF OE_Globals.Equal(
3464: p_curr_rec.invoice_to_contact_id,
3465: p_next_rec.invoice_to_contact_id) THEN
3466: IF prior_exists = 'Y' THEN
3467: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
3468: END IF;
3469: ELSE
3470: IF prior_exists = 'N' THEN
3471: ind := ind+1;

Line 3475: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);

3471: ind := ind+1;
3472: END IF;
3473: x_header_changed_attr_tbl(ind).attribute_name := 'invoice_to_contact';
3474: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
3475: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
3476: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
3477: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
3478: x_header_changed_attr_tbl(ind).next_id := p_next_rec.invoice_to_contact_id;
3479: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);

Line 3477: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);

3473: x_header_changed_attr_tbl(ind).attribute_name := 'invoice_to_contact';
3474: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
3475: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
3476: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
3477: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
3478: x_header_changed_attr_tbl(ind).next_id := p_next_rec.invoice_to_contact_id;
3479: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);
3480: END IF; /* NEXT */
3481: END IF;

Line 3479: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);

3475: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
3476: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
3477: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
3478: x_header_changed_attr_tbl(ind).next_id := p_next_rec.invoice_to_contact_id;
3479: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);
3480: END IF; /* NEXT */
3481: END IF;
3482:
3483: /* END invoice_to_contact_id*/

Line 3500: OE_ID_TO_VALUE.invoice_to_Org

3496: prior_exists := 'Y';
3497: x_header_changed_attr_tbl(ind).attribute_name := 'invoice_to_location';
3498: if p_curr_rec.invoice_to_org_id is not null then
3499:
3500: OE_ID_TO_VALUE.invoice_to_Org
3501: ( p_invoice_to_org_id => p_curr_rec.invoice_to_org_id
3502: , x_invoice_to_address1 => x_invoice_to_address1
3503: , x_invoice_to_address2 => x_invoice_to_address2
3504: , x_invoice_to_address3 => x_invoice_to_address3

Line 3531: OE_ID_TO_VALUE.invoice_to_Org

3527: x_header_changed_attr_tbl(ind).current_value := x_current_invoice_to_address;
3528: end if;
3529:
3530: if p_prior_rec.invoice_to_org_id is not null then
3531: OE_ID_TO_VALUE.invoice_to_Org
3532: ( p_invoice_to_org_id => p_prior_rec.invoice_to_org_id
3533: , x_invoice_to_address1 => x_invoice_to_address1
3534: , x_invoice_to_address2 => x_invoice_to_address2
3535: , x_invoice_to_address3 => x_invoice_to_address3

Line 3577: OE_ID_TO_VALUE.invoice_to_Org

3573: END IF;
3574: x_header_changed_attr_tbl(ind).attribute_name := 'invoice_to_location';
3575:
3576: if p_prior_rec.invoice_to_org_id is not null then
3577: OE_ID_TO_VALUE.invoice_to_Org
3578: ( p_invoice_to_org_id => p_prior_rec.invoice_to_org_id
3579: , x_invoice_to_address1 => x_invoice_to_address1
3580: , x_invoice_to_address2 => x_invoice_to_address2
3581: , x_invoice_to_address3 => x_invoice_to_address3

Line 3607: OE_ID_TO_VALUE.invoice_to_Org

3603: x_header_changed_attr_tbl(ind).prior_value := x_prior_invoice_to_address;
3604: end if;
3605:
3606: if p_curr_rec.invoice_to_org_id is not null then
3607: OE_ID_TO_VALUE.invoice_to_Org
3608: ( p_invoice_to_org_id => p_curr_rec.invoice_to_org_id
3609: , x_invoice_to_address1 => x_invoice_to_address1
3610: , x_invoice_to_address2 => x_invoice_to_address2
3611: , x_invoice_to_address3 => x_invoice_to_address3

Line 3637: OE_ID_TO_VALUE.invoice_to_Org

3633: x_header_changed_attr_tbl(ind).current_value := x_current_invoice_to_address;
3634:
3635: end if;
3636: if p_next_rec.invoice_to_org_id is not null then
3637: OE_ID_TO_VALUE.invoice_to_Org
3638: ( p_invoice_to_org_id => p_next_rec.invoice_to_org_id
3639: , x_invoice_to_address1 => x_invoice_to_address1
3640: , x_invoice_to_address2 => x_invoice_to_address2
3641: , x_invoice_to_address3 => x_invoice_to_address3

Line 3685: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);

3681: ind := ind+1;
3682: prior_exists := 'Y';
3683: x_header_changed_attr_tbl(ind).attribute_name := 'invoicing_rule';
3684: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
3685: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
3686: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
3687: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
3688: END IF;
3689: END IF; /* PRIOR */

Line 3687: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);

3683: x_header_changed_attr_tbl(ind).attribute_name := 'invoicing_rule';
3684: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
3685: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
3686: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
3687: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
3688: END IF;
3689: END IF; /* PRIOR */
3690: /****************************/
3691: IF p_next_version IS NOT NULL THEN

Line 3696: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);

3692: IF OE_Globals.Equal(
3693: p_curr_rec.invoicing_rule_id,
3694: p_next_rec.invoicing_rule_id) THEN
3695: IF prior_exists = 'Y' THEN
3696: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
3697: END IF;
3698: ELSE
3699: IF prior_exists = 'N' THEN
3700: ind := ind+1;

Line 3704: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);

3700: ind := ind+1;
3701: END IF;
3702: x_header_changed_attr_tbl(ind).attribute_name := 'invoicing_rule';
3703: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
3704: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
3705: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
3706: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
3707: x_header_changed_attr_tbl(ind).next_id := p_next_rec.invoicing_rule_id;
3708: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);

Line 3706: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);

3702: x_header_changed_attr_tbl(ind).attribute_name := 'invoicing_rule';
3703: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
3704: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
3705: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
3706: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
3707: x_header_changed_attr_tbl(ind).next_id := p_next_rec.invoicing_rule_id;
3708: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);
3709: END IF; /* NEXT */
3710: END IF;

Line 3708: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);

3704: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
3705: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
3706: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
3707: x_header_changed_attr_tbl(ind).next_id := p_next_rec.invoicing_rule_id;
3708: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);
3709: END IF; /* NEXT */
3710: END IF;
3711:
3712: /* END invoicing_rule_id*/

Line 3887: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Order_date_Type(p_curr_rec.order_date_type_code);

3883: ind := ind+1;
3884: prior_exists := 'Y';
3885: x_header_changed_attr_tbl(ind).attribute_name := 'order_date_type';
3886: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_date_type_code;
3887: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Order_date_Type(p_curr_rec.order_date_type_code);
3888: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_date_type_code;
3889: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Order_date_Type(p_prior_rec.order_date_type_code);
3890: END IF;
3891: END IF; /* PRIOR */

Line 3889: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Order_date_Type(p_prior_rec.order_date_type_code);

3885: x_header_changed_attr_tbl(ind).attribute_name := 'order_date_type';
3886: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_date_type_code;
3887: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Order_date_Type(p_curr_rec.order_date_type_code);
3888: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_date_type_code;
3889: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Order_date_Type(p_prior_rec.order_date_type_code);
3890: END IF;
3891: END IF; /* PRIOR */
3892: /****************************/
3893: IF p_next_version IS NOT NULL THEN

Line 3898: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Order_date_Type(p_curr_rec.order_date_type_code);

3894: IF OE_Globals.Equal(
3895: p_curr_rec.order_date_type_code,
3896: p_next_rec.order_date_type_code) THEN
3897: IF prior_exists = 'Y' THEN
3898: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Order_date_Type(p_curr_rec.order_date_type_code);
3899: END IF;
3900: ELSE
3901: IF prior_exists = 'N' THEN
3902: ind := ind+1;

Line 3906: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Order_date_Type(p_prior_rec.order_date_type_code);

3902: ind := ind+1;
3903: END IF;
3904: x_header_changed_attr_tbl(ind).attribute_name := 'order_date_type';
3905: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_date_type_code;
3906: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Order_date_Type(p_prior_rec.order_date_type_code);
3907: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_date_type_code;
3908: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Order_date_Type(p_curr_rec.order_date_type_code);
3909: x_header_changed_attr_tbl(ind).next_id := p_next_rec.order_date_type_code;
3910: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Order_date_Type(p_next_rec.order_date_type_code);

Line 3908: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Order_date_Type(p_curr_rec.order_date_type_code);

3904: x_header_changed_attr_tbl(ind).attribute_name := 'order_date_type';
3905: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_date_type_code;
3906: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Order_date_Type(p_prior_rec.order_date_type_code);
3907: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_date_type_code;
3908: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Order_date_Type(p_curr_rec.order_date_type_code);
3909: x_header_changed_attr_tbl(ind).next_id := p_next_rec.order_date_type_code;
3910: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Order_date_Type(p_next_rec.order_date_type_code);
3911: END IF; /* NEXT */
3912: END IF;

Line 3910: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Order_date_Type(p_next_rec.order_date_type_code);

3906: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Order_date_Type(p_prior_rec.order_date_type_code);
3907: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_date_type_code;
3908: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Order_date_Type(p_curr_rec.order_date_type_code);
3909: x_header_changed_attr_tbl(ind).next_id := p_next_rec.order_date_type_code;
3910: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Order_date_Type(p_next_rec.order_date_type_code);
3911: END IF; /* NEXT */
3912: END IF;
3913:
3914: /* END order_date_type_code*/

Line 3932: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);

3928: ind := ind+1;
3929: prior_exists := 'Y';
3930: x_header_changed_attr_tbl(ind).attribute_name := 'order_source_dsp';
3931: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
3932: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
3933: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
3934: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
3935: END IF;
3936: END IF; /* PRIOR */

Line 3934: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);

3930: x_header_changed_attr_tbl(ind).attribute_name := 'order_source_dsp';
3931: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
3932: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
3933: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
3934: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
3935: END IF;
3936: END IF; /* PRIOR */
3937: /****************************/
3938: IF p_next_version IS NOT NULL THEN

Line 3943: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);

3939: IF OE_Globals.Equal(
3940: p_curr_rec.order_source_id,
3941: p_next_rec.order_source_id) THEN
3942: IF prior_exists = 'Y' THEN
3943: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
3944: END IF;
3945: ELSE
3946: IF prior_exists = 'N' THEN
3947: ind := ind+1;

Line 3951: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);

3947: ind := ind+1;
3948: END IF;
3949: x_header_changed_attr_tbl(ind).attribute_name := 'order_source_dsp';
3950: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
3951: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
3952: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
3953: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
3954: x_header_changed_attr_tbl(ind).next_id := p_next_rec.order_source_id;
3955: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);

Line 3953: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);

3949: x_header_changed_attr_tbl(ind).attribute_name := 'order_source_dsp';
3950: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
3951: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
3952: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
3953: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
3954: x_header_changed_attr_tbl(ind).next_id := p_next_rec.order_source_id;
3955: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);
3956: END IF; /* NEXT */
3957: END IF;

Line 3955: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);

3951: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
3952: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
3953: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
3954: x_header_changed_attr_tbl(ind).next_id := p_next_rec.order_source_id;
3955: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);
3956: END IF; /* NEXT */
3957: END IF;
3958:
3959: /* END order_source_id*/

Line 3976: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_Type(p_curr_rec.order_type_id);

3972: ind := ind+1;
3973: prior_exists := 'Y';
3974: x_header_changed_attr_tbl(ind).attribute_name := 'order_type';
3975: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_type_id;
3976: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_Type(p_curr_rec.order_type_id);
3977: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_type_id;
3978: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_Type(p_prior_rec.order_type_id);
3979: END IF;
3980: END IF; /* PRIOR */

Line 3978: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_Type(p_prior_rec.order_type_id);

3974: x_header_changed_attr_tbl(ind).attribute_name := 'order_type';
3975: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_type_id;
3976: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_Type(p_curr_rec.order_type_id);
3977: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_type_id;
3978: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_Type(p_prior_rec.order_type_id);
3979: END IF;
3980: END IF; /* PRIOR */
3981: /****************************/
3982: IF p_next_version IS NOT NULL THEN

Line 3987: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_Type(p_curr_rec.order_type_id);

3983: IF OE_Globals.Equal(
3984: p_curr_rec.order_type_id,
3985: p_next_rec.order_type_id) THEN
3986: IF prior_exists = 'Y' THEN
3987: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_Type(p_curr_rec.order_type_id);
3988: END IF;
3989: ELSE
3990: IF prior_exists = 'N' THEN
3991: ind := ind+1;

Line 3995: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_Type(p_prior_rec.order_type_id);

3991: ind := ind+1;
3992: END IF;
3993: x_header_changed_attr_tbl(ind).attribute_name := 'order_type';
3994: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_type_id;
3995: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_Type(p_prior_rec.order_type_id);
3996: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_type_id;
3997: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_Type(p_curr_rec.order_type_id);
3998: x_header_changed_attr_tbl(ind).next_id := p_next_rec.order_type_id;
3999: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_Type(p_next_rec.order_type_id);

Line 3997: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_Type(p_curr_rec.order_type_id);

3993: x_header_changed_attr_tbl(ind).attribute_name := 'order_type';
3994: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.order_type_id;
3995: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_Type(p_prior_rec.order_type_id);
3996: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_type_id;
3997: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_Type(p_curr_rec.order_type_id);
3998: x_header_changed_attr_tbl(ind).next_id := p_next_rec.order_type_id;
3999: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_Type(p_next_rec.order_type_id);
4000: END IF; /* NEXT */
4001: END IF;

Line 3999: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_Type(p_next_rec.order_type_id);

3995: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_Type(p_prior_rec.order_type_id);
3996: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.order_type_id;
3997: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_Type(p_curr_rec.order_type_id);
3998: x_header_changed_attr_tbl(ind).next_id := p_next_rec.order_type_id;
3999: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_Type(p_next_rec.order_type_id);
4000: END IF; /* NEXT */
4001: END IF;
4002:
4003: /* END order_type_id*/

Line 4060: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.payment_term(p_curr_rec.payment_term_id);

4056: ind := ind+1;
4057: prior_exists := 'Y';
4058: x_header_changed_attr_tbl(ind).attribute_name := 'TERMS';
4059: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
4060: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.payment_term(p_curr_rec.payment_term_id);
4061: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
4062: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.payment_term(p_prior_rec.payment_term_id);
4063: END IF;
4064: END IF; /* PRIOR */

Line 4062: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.payment_term(p_prior_rec.payment_term_id);

4058: x_header_changed_attr_tbl(ind).attribute_name := 'TERMS';
4059: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
4060: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.payment_term(p_curr_rec.payment_term_id);
4061: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
4062: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.payment_term(p_prior_rec.payment_term_id);
4063: END IF;
4064: END IF; /* PRIOR */
4065: /****************************/
4066: IF p_next_version IS NOT NULL THEN

Line 4071: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.payment_term(p_curr_rec.payment_term_id);

4067: IF OE_Globals.Equal(
4068: p_curr_rec.payment_term_id,
4069: p_next_rec.payment_term_id) THEN
4070: IF prior_exists = 'Y' THEN
4071: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.payment_term(p_curr_rec.payment_term_id);
4072: END IF;
4073: ELSE
4074: IF prior_exists = 'N' THEN
4075: ind := ind+1;

Line 4079: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.payment_term(p_prior_rec.payment_term_id);

4075: ind := ind+1;
4076: END IF;
4077: x_header_changed_attr_tbl(ind).attribute_name := 'TERMS';
4078: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
4079: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.payment_term(p_prior_rec.payment_term_id);
4080: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
4081: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.payment_term(p_curr_rec.payment_term_id);
4082: x_header_changed_attr_tbl(ind).next_id := p_next_rec.payment_term_id;
4083: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.payment_term(p_next_rec.payment_term_id);

Line 4081: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.payment_term(p_curr_rec.payment_term_id);

4077: x_header_changed_attr_tbl(ind).attribute_name := 'TERMS';
4078: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
4079: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.payment_term(p_prior_rec.payment_term_id);
4080: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
4081: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.payment_term(p_curr_rec.payment_term_id);
4082: x_header_changed_attr_tbl(ind).next_id := p_next_rec.payment_term_id;
4083: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.payment_term(p_next_rec.payment_term_id);
4084: END IF; /* NEXT */
4085: END IF;

Line 4083: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.payment_term(p_next_rec.payment_term_id);

4079: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.payment_term(p_prior_rec.payment_term_id);
4080: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
4081: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.payment_term(p_curr_rec.payment_term_id);
4082: x_header_changed_attr_tbl(ind).next_id := p_next_rec.payment_term_id;
4083: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.payment_term(p_next_rec.payment_term_id);
4084: END IF; /* NEXT */
4085: END IF;
4086:
4087: /* END payment_term_id*/

Line 4104: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);

4100: ind := ind+1;
4101: prior_exists := 'Y';
4102: x_header_changed_attr_tbl(ind).attribute_name := 'PRICE_LIST';
4103: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
4104: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
4105: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
4106: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
4107: END IF;
4108: END IF; /* PRIOR */

Line 4106: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);

4102: x_header_changed_attr_tbl(ind).attribute_name := 'PRICE_LIST';
4103: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
4104: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
4105: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
4106: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
4107: END IF;
4108: END IF; /* PRIOR */
4109: /****************************/
4110: IF p_next_version IS NOT NULL THEN

Line 4115: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);

4111: IF OE_Globals.Equal(
4112: p_curr_rec.PRICE_LIST_ID,
4113: p_next_rec.PRICE_LIST_ID) THEN
4114: IF prior_exists = 'Y' THEN
4115: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
4116: END IF;
4117: ELSE
4118: IF prior_exists = 'N' THEN
4119: ind := ind+1;

Line 4123: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);

4119: ind := ind+1;
4120: END IF;
4121: x_header_changed_attr_tbl(ind).attribute_name := 'PRICE_LIST';
4122: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
4123: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
4124: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
4125: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
4126: x_header_changed_attr_tbl(ind).next_id := p_next_rec.PRICE_LIST_ID;
4127: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);

Line 4125: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);

4121: x_header_changed_attr_tbl(ind).attribute_name := 'PRICE_LIST';
4122: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
4123: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
4124: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
4125: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
4126: x_header_changed_attr_tbl(ind).next_id := p_next_rec.PRICE_LIST_ID;
4127: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);
4128: END IF; /* NEXT */
4129: END IF;

Line 4127: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);

4123: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
4124: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
4125: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
4126: x_header_changed_attr_tbl(ind).next_id := p_next_rec.PRICE_LIST_ID;
4127: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);
4128: END IF; /* NEXT */
4129: END IF;
4130:
4131: /* END PRICE_LIST_ID*/

Line 4225: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);

4221: ind := ind+1;
4222: prior_exists := 'Y';
4223: x_header_changed_attr_tbl(ind).attribute_name := 'RETURN_REASON';
4224: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
4225: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
4226: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
4227: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
4228: END IF;
4229: END IF; /* PRIOR */

Line 4227: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);

4223: x_header_changed_attr_tbl(ind).attribute_name := 'RETURN_REASON';
4224: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
4225: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
4226: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
4227: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
4228: END IF;
4229: END IF; /* PRIOR */
4230: /****************************/
4231: IF p_next_version IS NOT NULL THEN

Line 4236: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);

4232: IF OE_Globals.Equal(
4233: p_curr_rec.RETURN_REASON_CODE,
4234: p_next_rec.RETURN_REASON_CODE) THEN
4235: IF prior_exists = 'Y' THEN
4236: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
4237: END IF;
4238: ELSE
4239: IF prior_exists = 'N' THEN
4240: ind := ind+1;

Line 4244: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);

4240: ind := ind+1;
4241: END IF;
4242: x_header_changed_attr_tbl(ind).attribute_name := 'RETURN_REASON';
4243: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
4244: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
4245: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
4246: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
4247: x_header_changed_attr_tbl(ind).next_id := p_next_rec.RETURN_REASON_CODE;
4248: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);

Line 4246: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);

4242: x_header_changed_attr_tbl(ind).attribute_name := 'RETURN_REASON';
4243: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
4244: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
4245: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
4246: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
4247: x_header_changed_attr_tbl(ind).next_id := p_next_rec.RETURN_REASON_CODE;
4248: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);
4249: END IF; /* NEXT */
4250: END IF;

Line 4248: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);

4244: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
4245: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
4246: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
4247: x_header_changed_attr_tbl(ind).next_id := p_next_rec.RETURN_REASON_CODE;
4248: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);
4249: END IF; /* NEXT */
4250: END IF;
4251:
4252: /* END RETURN_REASON_CODE*/

Line 4309: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);

4305: ind := ind+1;
4306: prior_exists := 'Y';
4307: x_header_changed_attr_tbl(ind).attribute_name := 'SALESREP';
4308: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
4309: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
4310: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
4311: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
4312: END IF;
4313: END IF; /* PRIOR */

Line 4311: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);

4307: x_header_changed_attr_tbl(ind).attribute_name := 'SALESREP';
4308: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
4309: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
4310: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
4311: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
4312: END IF;
4313: END IF; /* PRIOR */
4314: /****************************/
4315: IF p_next_version IS NOT NULL THEN

Line 4320: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);

4316: IF OE_Globals.Equal(
4317: p_curr_rec.SALESREP_ID,
4318: p_next_rec.SALESREP_ID) THEN
4319: IF prior_exists = 'Y' THEN
4320: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
4321: END IF;
4322: ELSE
4323: IF prior_exists = 'N' THEN
4324: ind := ind+1;

Line 4328: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);

4324: ind := ind+1;
4325: END IF;
4326: x_header_changed_attr_tbl(ind).attribute_name := 'SALESREP';
4327: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
4328: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
4329: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
4330: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
4331: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SALESREP_ID;
4332: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);

Line 4330: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);

4326: x_header_changed_attr_tbl(ind).attribute_name := 'SALESREP';
4327: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
4328: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
4329: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
4330: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
4331: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SALESREP_ID;
4332: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);
4333: END IF; /* NEXT */
4334: END IF;

Line 4332: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);

4328: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
4329: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
4330: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
4331: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SALESREP_ID;
4332: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);
4333: END IF; /* NEXT */
4334: END IF;
4335:
4336: /* END SALESREP_ID*/

Line 4352: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_curr_rec.SALES_CHANNEL_CODe);

4348: ind := ind+1;
4349: prior_exists := 'Y';
4350: x_header_changed_attr_tbl(ind).attribute_name := 'SALES_CHANNEL';
4351: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALES_CHANNEL_CODe;
4352: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_curr_rec.SALES_CHANNEL_CODe);
4353: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SALES_CHANNEL_CODe;
4354: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_prior_rec.SALES_CHANNEL_CODe);
4355: END IF;
4356: END IF; /* PRIOR */

Line 4354: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_prior_rec.SALES_CHANNEL_CODe);

4350: x_header_changed_attr_tbl(ind).attribute_name := 'SALES_CHANNEL';
4351: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALES_CHANNEL_CODe;
4352: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_curr_rec.SALES_CHANNEL_CODe);
4353: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SALES_CHANNEL_CODe;
4354: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_prior_rec.SALES_CHANNEL_CODe);
4355: END IF;
4356: END IF; /* PRIOR */
4357: /****************************/
4358: IF p_next_version IS NOT NULL THEN

Line 4363: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_curr_rec.SALES_CHANNEL_CODe);

4359: IF OE_Globals.Equal(
4360: p_curr_rec.SALES_CHANNEL_CODe,
4361: p_next_rec.SALES_CHANNEL_CODe) THEN
4362: IF prior_exists = 'Y' THEN
4363: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_curr_rec.SALES_CHANNEL_CODe);
4364: END IF;
4365: ELSE
4366: IF prior_exists = 'N' THEN
4367: ind := ind+1;

Line 4371: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_prior_rec.SALES_CHANNEL_CODe);

4367: ind := ind+1;
4368: END IF;
4369: x_header_changed_attr_tbl(ind).attribute_name := 'SALES_CHANNEL';
4370: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SALES_CHANNEL_CODe;
4371: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_prior_rec.SALES_CHANNEL_CODe);
4372: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALES_CHANNEL_CODe;
4373: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_curr_rec.SALES_CHANNEL_CODe);
4374: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SALES_CHANNEL_CODe;
4375: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_next_rec.SALES_CHANNEL_CODe);

Line 4373: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_curr_rec.SALES_CHANNEL_CODe);

4369: x_header_changed_attr_tbl(ind).attribute_name := 'SALES_CHANNEL';
4370: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SALES_CHANNEL_CODe;
4371: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_prior_rec.SALES_CHANNEL_CODe);
4372: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALES_CHANNEL_CODe;
4373: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_curr_rec.SALES_CHANNEL_CODe);
4374: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SALES_CHANNEL_CODe;
4375: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_next_rec.SALES_CHANNEL_CODe);
4376: END IF; /* NEXT */
4377: END IF;

Line 4375: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_next_rec.SALES_CHANNEL_CODe);

4371: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_prior_rec.SALES_CHANNEL_CODe);
4372: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SALES_CHANNEL_CODe;
4373: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_curr_rec.SALES_CHANNEL_CODe);
4374: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SALES_CHANNEL_CODe;
4375: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALES_CHANNEL(p_next_rec.SALES_CHANNEL_CODe);
4376: END IF; /* NEXT */
4377: END IF;
4378: /* END SALES_CHANNEL_CODe*/
4379: /****************************/

Line 4394: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);

4390: ind := ind+1;
4391: prior_exists := 'Y';
4392: x_header_changed_attr_tbl(ind).attribute_name := 'SHIPMENT_PRIORITY';
4393: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
4394: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
4395: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
4396: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
4397: END IF;
4398: END IF; /* PRIOR */

Line 4396: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);

4392: x_header_changed_attr_tbl(ind).attribute_name := 'SHIPMENT_PRIORITY';
4393: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
4394: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
4395: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
4396: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
4397: END IF;
4398: END IF; /* PRIOR */
4399: /****************************/
4400: IF p_next_version IS NOT NULL THEN

Line 4405: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);

4401: IF OE_Globals.Equal(
4402: p_curr_rec.SHIPMENT_PRIORITY_CODE,
4403: p_next_rec.SHIPMENT_PRIORITY_CODE) THEN
4404: IF prior_exists = 'Y' THEN
4405: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
4406: END IF;
4407: ELSE
4408: IF prior_exists = 'N' THEN
4409: ind := ind+1;

Line 4413: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);

4409: ind := ind+1;
4410: END IF;
4411: x_header_changed_attr_tbl(ind).attribute_name := 'SHIPMENT_PRIORITY';
4412: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
4413: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
4414: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
4415: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
4416: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SHIPMENT_PRIORITY_CODE;
4417: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);

Line 4415: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);

4411: x_header_changed_attr_tbl(ind).attribute_name := 'SHIPMENT_PRIORITY';
4412: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
4413: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
4414: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
4415: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
4416: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SHIPMENT_PRIORITY_CODE;
4417: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);
4418: END IF; /* NEXT */
4419: END IF;

Line 4417: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);

4413: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
4414: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
4415: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
4416: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SHIPMENT_PRIORITY_CODE;
4417: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);
4418: END IF; /* NEXT */
4419: END IF;
4420: /* END SHIPMENT_PRIORITY_CODE*/
4421: /****************************/

Line 4436: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);

4432: ind := ind+1;
4433: prior_exists := 'Y';
4434: x_header_changed_attr_tbl(ind).attribute_name := 'SHIPPING_METHOD';
4435: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
4436: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
4437: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
4438: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
4439: END IF;
4440: END IF; /* PRIOR */

Line 4438: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);

4434: x_header_changed_attr_tbl(ind).attribute_name := 'SHIPPING_METHOD';
4435: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
4436: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
4437: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
4438: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
4439: END IF;
4440: END IF; /* PRIOR */
4441: /****************************/
4442: IF p_next_version IS NOT NULL THEN

Line 4447: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);

4443: IF OE_Globals.Equal(
4444: p_curr_rec.SHIPPING_METHOD_CODE,
4445: p_next_rec.SHIPPING_METHOD_CODE) THEN
4446: IF prior_exists = 'Y' THEN
4447: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
4448: END IF;
4449: ELSE
4450: IF prior_exists = 'N' THEN
4451: ind := ind+1;

Line 4455: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);

4451: ind := ind+1;
4452: END IF;
4453: x_header_changed_attr_tbl(ind).attribute_name := 'SHIPPING_METHOD';
4454: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
4455: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
4456: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
4457: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
4458: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SHIPPING_METHOD_CODE;
4459: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);

Line 4457: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);

4453: x_header_changed_attr_tbl(ind).attribute_name := 'SHIPPING_METHOD';
4454: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
4455: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
4456: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
4457: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
4458: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SHIPPING_METHOD_CODE;
4459: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);
4460: END IF; /* NEXT */
4461: END IF;

Line 4459: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);

4455: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
4456: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
4457: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
4458: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SHIPPING_METHOD_CODE;
4459: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);
4460: END IF; /* NEXT */
4461: END IF;
4462:
4463: /* END SHIPPING_METHOD_CODE*/

Line 4479: OE_ID_TO_VALUE.ship_from_Org

4475: ind := ind+1;
4476: prior_exists := 'Y';
4477: x_header_changed_attr_tbl(ind).attribute_name := 'ship_from';
4478: if p_curr_rec.ship_from_org_id is not null then
4479: OE_ID_TO_VALUE.ship_from_Org
4480: ( p_ship_from_org_id => p_curr_rec.ship_from_org_id
4481: , x_ship_from_address1 => x_ship_from_address1
4482: , x_ship_from_address2 => x_ship_from_address2
4483: , x_ship_from_address3 => x_ship_from_address3

Line 4502: OE_ID_TO_VALUE.ship_from_Org

4498: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.ship_from_org_id;
4499: end if;
4500:
4501: if p_prior_rec.ship_from_org_id is not null then
4502: OE_ID_TO_VALUE.ship_from_Org
4503: ( p_ship_from_org_id => p_prior_rec.ship_from_org_id
4504: , x_ship_from_address1 => x_ship_from_address1
4505: , x_ship_from_address2 => x_ship_from_address2
4506: , x_ship_from_address3 => x_ship_from_address3

Line 4541: OE_ID_TO_VALUE.ship_from_Org

4537: END IF;
4538: x_header_changed_attr_tbl(ind).attribute_name := 'ship_from';
4539:
4540: if p_prior_rec.ship_from_org_id is not null then
4541: OE_ID_TO_VALUE.ship_from_Org
4542: ( p_ship_from_org_id => p_prior_rec.ship_from_org_id
4543: , x_ship_from_address1 => x_ship_from_address1
4544: , x_ship_from_address2 => x_ship_from_address2
4545: , x_ship_from_address3 => x_ship_from_address3

Line 4564: OE_ID_TO_VALUE.ship_from_Org

4560: x_header_changed_attr_tbl(ind).prior_value := x_prior_ship_from_org;
4561: end if;
4562:
4563: if p_curr_rec.ship_from_org_id is not null then
4564: OE_ID_TO_VALUE.ship_from_Org
4565: ( p_ship_from_org_id => p_curr_rec.ship_from_org_id
4566: , x_ship_from_address1 => x_ship_from_address1
4567: , x_ship_from_address2 => x_ship_from_address2
4568: , x_ship_from_address3 => x_ship_from_address3

Line 4587: OE_ID_TO_VALUE.ship_from_Org

4583: x_header_changed_attr_tbl(ind).current_value := x_current_ship_from_org;
4584: end if;
4585:
4586: if p_next_rec.ship_from_org_id is not null then
4587: OE_ID_TO_VALUE.ship_from_Org
4588: ( p_ship_from_org_id => p_next_rec.ship_from_org_id
4589: , x_ship_from_address1 => x_ship_from_address1
4590: , x_ship_from_address2 => x_ship_from_address2
4591: , x_ship_from_address3 => x_ship_from_address3

Line 4705: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);

4701: ind := ind+1;
4702: prior_exists := 'Y';
4703: x_header_changed_attr_tbl(ind).attribute_name := 'ship_to_contact';
4704: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
4705: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
4706: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
4707: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
4708: END IF;
4709: END IF; /* PRIOR */

Line 4707: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);

4703: x_header_changed_attr_tbl(ind).attribute_name := 'ship_to_contact';
4704: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
4705: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
4706: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
4707: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
4708: END IF;
4709: END IF; /* PRIOR */
4710: /****************************/
4711: IF p_next_version IS NOT NULL THEN

Line 4716: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);

4712: IF OE_Globals.Equal(
4713: p_curr_rec.ship_to_contact_id,
4714: p_next_rec.ship_to_contact_id) THEN
4715: IF prior_exists = 'Y' THEN
4716: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
4717: END IF;
4718: null;
4719: ELSE
4720: IF prior_exists = 'N' THEN

Line 4725: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);

4721: ind := ind+1;
4722: END IF;
4723: x_header_changed_attr_tbl(ind).attribute_name := 'ship_to_contact';
4724: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
4725: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
4726: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
4727: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
4728: x_header_changed_attr_tbl(ind).next_id := p_next_rec.ship_to_contact_id;
4729: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);

Line 4727: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);

4723: x_header_changed_attr_tbl(ind).attribute_name := 'ship_to_contact';
4724: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
4725: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
4726: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
4727: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
4728: x_header_changed_attr_tbl(ind).next_id := p_next_rec.ship_to_contact_id;
4729: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);
4730: END IF; /* NEXT */
4731: END IF;

Line 4729: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);

4725: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
4726: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
4727: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
4728: x_header_changed_attr_tbl(ind).next_id := p_next_rec.ship_to_contact_id;
4729: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);
4730: END IF; /* NEXT */
4731: END IF;
4732:
4733: /* END ship_to_contact_id*/

Line 4749: OE_ID_TO_VALUE.ship_to_Org

4745: ind := ind+1;
4746: prior_exists := 'Y';
4747: x_header_changed_attr_tbl(ind).attribute_name := 'ship_to_location';
4748: if p_curr_rec.ship_to_org_id is not null then
4749: OE_ID_TO_VALUE.ship_to_Org
4750: ( p_ship_to_org_id => p_curr_rec.ship_to_org_id
4751: , x_ship_to_address1 => x_ship_to_address1
4752: , x_ship_to_address2 => x_ship_to_address2
4753: , x_ship_to_address3 => x_ship_to_address3

Line 4780: OE_ID_TO_VALUE.ship_to_Org

4776: x_header_changed_attr_tbl(ind).current_value := x_current_ship_to_address;
4777: end if;
4778:
4779: if p_prior_rec.ship_to_org_id is not null then
4780: OE_ID_TO_VALUE.ship_to_Org
4781: ( p_ship_to_org_id => p_prior_rec.ship_to_org_id
4782: , x_ship_to_address1 => x_ship_to_address1
4783: , x_ship_to_address2 => x_ship_to_address2
4784: , x_ship_to_address3 => x_ship_to_address3

Line 4826: OE_ID_TO_VALUE.ship_to_Org

4822: END IF;
4823: x_header_changed_attr_tbl(ind).attribute_name := 'ship_to_location';
4824:
4825: if p_prior_rec.ship_to_org_id is not null then
4826: OE_ID_TO_VALUE.ship_to_Org
4827: ( p_ship_to_org_id => p_prior_rec.ship_to_org_id
4828: , x_ship_to_address1 => x_ship_to_address1
4829: , x_ship_to_address2 => x_ship_to_address2
4830: , x_ship_to_address3 => x_ship_to_address3

Line 4855: OE_ID_TO_VALUE.ship_to_Org

4851: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_org_id;
4852: x_header_changed_attr_tbl(ind).prior_value := x_prior_ship_to_address;
4853: end if;
4854: if p_curr_rec.ship_to_org_id is not null then
4855: OE_ID_TO_VALUE.ship_to_Org
4856: ( p_ship_to_org_id => p_curr_rec.ship_to_org_id
4857: , x_ship_to_address1 => x_ship_to_address1
4858: , x_ship_to_address2 => x_ship_to_address2
4859: , x_ship_to_address3 => x_ship_to_address3

Line 4885: OE_ID_TO_VALUE.ship_to_Org

4881: x_header_changed_attr_tbl(ind).current_value := x_current_ship_to_address;
4882: end if;
4883:
4884: if p_next_rec.ship_to_org_id is not null then
4885: OE_ID_TO_VALUE.ship_to_Org
4886: ( p_ship_to_org_id => p_next_rec.ship_to_org_id
4887: , x_ship_to_address1 => x_ship_to_address1
4888: , x_ship_to_address2 => x_ship_to_address2
4889: , x_ship_to_address3 => x_ship_to_address3

Line 4933: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sold_To_Contact(p_curr_rec.sold_to_contact_id);

4929: ind := ind+1;
4930: prior_exists := 'Y';
4931: x_header_changed_attr_tbl(ind).attribute_name := 'sold_to_contact';
4932: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.sold_to_contact_id;
4933: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sold_To_Contact(p_curr_rec.sold_to_contact_id);
4934: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.sold_to_contact_id;
4935: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sold_To_Contact(p_prior_rec.sold_to_contact_id);
4936: END IF;
4937: END IF; /* PRIOR */

Line 4935: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sold_To_Contact(p_prior_rec.sold_to_contact_id);

4931: x_header_changed_attr_tbl(ind).attribute_name := 'sold_to_contact';
4932: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.sold_to_contact_id;
4933: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sold_To_Contact(p_curr_rec.sold_to_contact_id);
4934: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.sold_to_contact_id;
4935: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sold_To_Contact(p_prior_rec.sold_to_contact_id);
4936: END IF;
4937: END IF; /* PRIOR */
4938: /****************************/
4939: IF p_next_version IS NOT NULL THEN

Line 4944: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sold_To_Contact(p_curr_rec.sold_to_contact_id);

4940: IF OE_Globals.Equal(
4941: p_curr_rec.sold_to_contact_id,
4942: p_next_rec.sold_to_contact_id) THEN
4943: IF prior_exists = 'Y' THEN
4944: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sold_To_Contact(p_curr_rec.sold_to_contact_id);
4945: END IF;
4946: ELSE
4947: IF prior_exists = 'N' THEN
4948: ind := ind+1;

Line 4952: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sold_To_Contact(p_prior_rec.sold_to_contact_id);

4948: ind := ind+1;
4949: END IF;
4950: x_header_changed_attr_tbl(ind).attribute_name := 'sold_to_contact';
4951: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.sold_to_contact_id;
4952: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sold_To_Contact(p_prior_rec.sold_to_contact_id);
4953: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.sold_to_contact_id;
4954: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sold_To_Contact(p_curr_rec.sold_to_contact_id);
4955: x_header_changed_attr_tbl(ind).next_id := p_next_rec.sold_to_contact_id;
4956: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sold_To_Contact(p_next_rec.sold_to_contact_id);

Line 4954: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sold_To_Contact(p_curr_rec.sold_to_contact_id);

4950: x_header_changed_attr_tbl(ind).attribute_name := 'sold_to_contact';
4951: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.sold_to_contact_id;
4952: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sold_To_Contact(p_prior_rec.sold_to_contact_id);
4953: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.sold_to_contact_id;
4954: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sold_To_Contact(p_curr_rec.sold_to_contact_id);
4955: x_header_changed_attr_tbl(ind).next_id := p_next_rec.sold_to_contact_id;
4956: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sold_To_Contact(p_next_rec.sold_to_contact_id);
4957: END IF; /* NEXT */
4958: END IF;

Line 4956: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sold_To_Contact(p_next_rec.sold_to_contact_id);

4952: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sold_To_Contact(p_prior_rec.sold_to_contact_id);
4953: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.sold_to_contact_id;
4954: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sold_To_Contact(p_curr_rec.sold_to_contact_id);
4955: x_header_changed_attr_tbl(ind).next_id := p_next_rec.sold_to_contact_id;
4956: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sold_To_Contact(p_next_rec.sold_to_contact_id);
4957: END IF; /* NEXT */
4958: END IF;
4959:
4960: /* END sold_to_contact_id*/

Line 4977: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_curr_rec.SOLD_TO_ORG_ID,

4973: ind := ind+1;
4974: prior_exists := 'Y';
4975: x_header_changed_attr_tbl(ind).attribute_name := 'SOLD_TO';
4976: If p_curr_rec.sold_to_org_id is not NULL THEN
4977: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_curr_rec.SOLD_TO_ORG_ID,
4978: x_org => x_current_customer_name,
4979: x_customer_number=> x_customer_number);
4980: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SOLD_TO_ORG_ID;
4981: x_header_changed_attr_tbl(ind).current_value := x_current_customer_name;

Line 4984: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_prior_rec.SOLD_TO_ORG_ID,

4980: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SOLD_TO_ORG_ID;
4981: x_header_changed_attr_tbl(ind).current_value := x_current_customer_name;
4982: END IF;
4983: If p_prior_rec.sold_to_org_id is not NULL THEN
4984: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_prior_rec.SOLD_TO_ORG_ID,
4985: x_org => x_prior_customer_name,
4986: x_customer_number=> x_customer_number);
4987: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SOLD_TO_ORG_ID;
4988: x_header_changed_attr_tbl(ind).prior_value := x_prior_customer_name;

Line 5006: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_prior_rec.SOLD_TO_ORG_ID,

5002: ind := ind+1;
5003: END IF;
5004: x_header_changed_attr_tbl(ind).attribute_name := 'SOLD_TO';
5005: If p_prior_rec.sold_to_org_id is not NULL THEN
5006: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_prior_rec.SOLD_TO_ORG_ID,
5007: x_org => x_prior_customer_name,
5008: x_customer_number=> x_customer_number);
5009: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SOLD_TO_ORG_ID;
5010: x_header_changed_attr_tbl(ind).prior_value := x_prior_customer_name;

Line 5013: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_curr_rec.SOLD_TO_ORG_ID,

5009: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.SOLD_TO_ORG_ID;
5010: x_header_changed_attr_tbl(ind).prior_value := x_prior_customer_name;
5011: END IF;
5012: If p_curr_rec.sold_to_org_id is not NULL THEN
5013: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_curr_rec.SOLD_TO_ORG_ID,
5014: x_org => x_current_customer_name,
5015: x_customer_number=> x_customer_number);
5016: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SOLD_TO_ORG_ID;
5017: x_header_changed_attr_tbl(ind).current_value := x_current_customer_name;

Line 5020: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_next_rec.SOLD_TO_ORG_ID,

5016: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.SOLD_TO_ORG_ID;
5017: x_header_changed_attr_tbl(ind).current_value := x_current_customer_name;
5018: END IF;
5019: If p_next_rec.sold_to_org_id is not NULL THEN
5020: OE_ID_TO_VALUE.Sold_To_Org(p_sold_to_org_id => p_next_rec.SOLD_TO_ORG_ID,
5021: x_org => x_next_customer_name,
5022: x_customer_number=> x_customer_number);
5023: x_header_changed_attr_tbl(ind).next_id := p_next_rec.SOLD_TO_ORG_ID;
5024: x_header_changed_attr_tbl(ind).next_value := x_next_customer_name;

Line 5045: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);

5041: ind := ind+1;
5042: prior_exists := 'Y';
5043: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT';
5044: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
5045: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
5046: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
5047: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
5048: END IF;
5049: END IF; /* PRIOR */

Line 5047: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);

5043: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT';
5044: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
5045: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
5046: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
5047: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
5048: END IF;
5049: END IF; /* PRIOR */
5050: /****************************/
5051: IF p_next_version IS NOT NULL THEN

Line 5056: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);

5052: IF OE_Globals.Equal(
5053: p_curr_rec.TAX_EXEMPT_FLAG,
5054: p_next_rec.TAX_EXEMPT_FLAG) THEN
5055: IF prior_exists = 'Y' THEN
5056: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
5057: END IF;
5058: ELSE
5059: IF prior_exists = 'N' THEN
5060: ind := ind+1;

Line 5064: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);

5060: ind := ind+1;
5061: END IF;
5062: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT';
5063: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
5064: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
5065: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
5066: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
5067: x_header_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_FLAG;
5068: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);

Line 5066: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);

5062: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT';
5063: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
5064: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
5065: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
5066: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
5067: x_header_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_FLAG;
5068: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);
5069: END IF; /* NEXT */
5070: END IF;

Line 5068: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);

5064: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
5065: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
5066: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
5067: x_header_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_FLAG;
5068: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);
5069: END IF; /* NEXT */
5070: END IF;
5071:
5072: /* END TAX_EXEMPT_FLAG*/

Line 5128: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);

5124: ind := ind+1;
5125: prior_exists := 'Y';
5126: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT_REASON';
5127: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
5128: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
5129: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
5130: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
5131: END IF;
5132: END IF; /* PRIOR */

Line 5130: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);

5126: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT_REASON';
5127: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
5128: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
5129: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
5130: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
5131: END IF;
5132: END IF; /* PRIOR */
5133: /****************************/
5134: IF p_next_version IS NOT NULL THEN

Line 5139: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);

5135: IF OE_Globals.Equal(
5136: p_curr_rec.TAX_EXEMPT_REASON_CODE,
5137: p_next_rec.TAX_EXEMPT_REASON_CODE) THEN
5138: IF prior_exists = 'Y' THEN
5139: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
5140: END IF;
5141: null;
5142: ELSE
5143: IF prior_exists = 'N' THEN

Line 5148: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);

5144: ind := ind+1;
5145: END IF;
5146: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT_REASON';
5147: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
5148: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
5149: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
5150: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
5151: x_header_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_REASON_CODE;
5152: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);

Line 5150: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);

5146: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT_REASON';
5147: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
5148: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
5149: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
5150: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
5151: x_header_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_REASON_CODE;
5152: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);
5153: END IF; /* NEXT */
5154: END IF;

Line 5152: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);

5148: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
5149: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
5150: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
5151: x_header_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_REASON_CODE;
5152: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);
5153: END IF; /* NEXT */
5154: END IF;
5155:
5156: /* END TAX_EXEMPT_REASON_CODE*/

Line 5172: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Point(p_curr_rec.TAX_POINT_CODE);

5168: ind := ind+1;
5169: prior_exists := 'Y';
5170: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_POINT_CODE';
5171: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_POINT_CODE;
5172: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Point(p_curr_rec.TAX_POINT_CODE);
5173: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_POINT_CODE;
5174: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Point(p_prior_rec.TAX_POINT_CODE);
5175: END IF;
5176: END IF; /* PRIOR */

Line 5174: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Point(p_prior_rec.TAX_POINT_CODE);

5170: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_POINT_CODE';
5171: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_POINT_CODE;
5172: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Point(p_curr_rec.TAX_POINT_CODE);
5173: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_POINT_CODE;
5174: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Point(p_prior_rec.TAX_POINT_CODE);
5175: END IF;
5176: END IF; /* PRIOR */
5177: /****************************/
5178: IF p_next_version IS NOT NULL THEN

Line 5183: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Point(p_curr_rec.TAX_POINT_CODE);

5179: IF OE_Globals.Equal(
5180: p_curr_rec.TAX_POINT_CODE,
5181: p_next_rec.TAX_POINT_CODE) THEN
5182: IF prior_exists = 'Y' THEN
5183: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Point(p_curr_rec.TAX_POINT_CODE);
5184: END IF;
5185: ELSE
5186: IF prior_exists = 'N' THEN
5187: ind := ind+1;

Line 5191: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Point(p_prior_rec.TAX_POINT_CODE);

5187: ind := ind+1;
5188: END IF;
5189: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_POINT_CODE';
5190: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_POINT_CODE;
5191: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Point(p_prior_rec.TAX_POINT_CODE);
5192: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_POINT_CODE;
5193: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Point(p_curr_rec.TAX_POINT_CODE);
5194: x_header_changed_attr_tbl(ind).next_id := p_next_rec.TAX_POINT_CODE;
5195: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Point(p_next_rec.TAX_POINT_CODE);

Line 5193: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Point(p_curr_rec.TAX_POINT_CODE);

5189: x_header_changed_attr_tbl(ind).attribute_name := 'TAX_POINT_CODE';
5190: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_POINT_CODE;
5191: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Point(p_prior_rec.TAX_POINT_CODE);
5192: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_POINT_CODE;
5193: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Point(p_curr_rec.TAX_POINT_CODE);
5194: x_header_changed_attr_tbl(ind).next_id := p_next_rec.TAX_POINT_CODE;
5195: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Point(p_next_rec.TAX_POINT_CODE);
5196: END IF; /* NEXT */
5197: END IF;

Line 5195: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Point(p_next_rec.TAX_POINT_CODE);

5191: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Point(p_prior_rec.TAX_POINT_CODE);
5192: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_POINT_CODE;
5193: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Point(p_curr_rec.TAX_POINT_CODE);
5194: x_header_changed_attr_tbl(ind).next_id := p_next_rec.TAX_POINT_CODE;
5195: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Point(p_next_rec.TAX_POINT_CODE);
5196: END IF; /* NEXT */
5197: END IF;
5198:
5199: /* END TAX_POINT_CODE*/

Line 5255: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_curr_rec.PAYMENT_TYPE_CODE);

5251: ind := ind+1;
5252: prior_exists := 'Y';
5253: x_header_changed_attr_tbl(ind).attribute_name := 'PAYMENT_TYPE';
5254: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PAYMENT_TYPE_CODE;
5255: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_curr_rec.PAYMENT_TYPE_CODE);
5256: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.PAYMENT_TYPE_CODE;
5257: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_prior_rec.PAYMENT_TYPE_CODE);
5258: END IF;
5259: END IF; /* PRIOR */

Line 5257: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_prior_rec.PAYMENT_TYPE_CODE);

5253: x_header_changed_attr_tbl(ind).attribute_name := 'PAYMENT_TYPE';
5254: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PAYMENT_TYPE_CODE;
5255: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_curr_rec.PAYMENT_TYPE_CODE);
5256: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.PAYMENT_TYPE_CODE;
5257: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_prior_rec.PAYMENT_TYPE_CODE);
5258: END IF;
5259: END IF; /* PRIOR */
5260: /****************************/
5261: IF p_next_version IS NOT NULL THEN

Line 5266: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_curr_rec.PAYMENT_TYPE_CODE);

5262: IF OE_Globals.Equal(
5263: p_curr_rec.PAYMENT_TYPE_CODE,
5264: p_next_rec.PAYMENT_TYPE_CODE) THEN
5265: IF prior_exists = 'Y' THEN
5266: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_curr_rec.PAYMENT_TYPE_CODE);
5267: END IF;
5268: null;
5269: ELSE
5270: IF prior_exists = 'N' THEN

Line 5275: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_prior_rec.PAYMENT_TYPE_CODE);

5271: ind := ind+1;
5272: END IF;
5273: x_header_changed_attr_tbl(ind).attribute_name := 'PAYMENT_TYPE';
5274: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.PAYMENT_TYPE_CODE;
5275: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_prior_rec.PAYMENT_TYPE_CODE);
5276: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PAYMENT_TYPE_CODE;
5277: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_curr_rec.PAYMENT_TYPE_CODE);
5278: x_header_changed_attr_tbl(ind).next_id := p_next_rec.PAYMENT_TYPE_CODE;
5279: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_next_rec.PAYMENT_TYPE_CODE);

Line 5277: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_curr_rec.PAYMENT_TYPE_CODE);

5273: x_header_changed_attr_tbl(ind).attribute_name := 'PAYMENT_TYPE';
5274: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.PAYMENT_TYPE_CODE;
5275: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_prior_rec.PAYMENT_TYPE_CODE);
5276: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PAYMENT_TYPE_CODE;
5277: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_curr_rec.PAYMENT_TYPE_CODE);
5278: x_header_changed_attr_tbl(ind).next_id := p_next_rec.PAYMENT_TYPE_CODE;
5279: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_next_rec.PAYMENT_TYPE_CODE);
5280: END IF; /* NEXT */
5281: END IF;

Line 5279: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_next_rec.PAYMENT_TYPE_CODE);

5275: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_prior_rec.PAYMENT_TYPE_CODE);
5276: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.PAYMENT_TYPE_CODE;
5277: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_curr_rec.PAYMENT_TYPE_CODE);
5278: x_header_changed_attr_tbl(ind).next_id := p_next_rec.PAYMENT_TYPE_CODE;
5279: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PAYMENT_TYPE(p_next_rec.PAYMENT_TYPE_CODE);
5280: END IF; /* NEXT */
5281: END IF;
5282:
5283: /* END PAYMENT_TYPE_CODE*/

Line 5339: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(p_curr_rec.credit_card_code);

5335: ind := ind+1;
5336: prior_exists := 'Y';
5337: x_header_changed_attr_tbl(ind).attribute_name := 'credit_card';
5338: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.credit_card_code;
5339: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(p_curr_rec.credit_card_code);
5340: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.credit_card_code;
5341: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(p_prior_rec.credit_card_code);
5342: END IF;
5343: END IF; -- PRIOR

Line 5341: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(p_prior_rec.credit_card_code);

5337: x_header_changed_attr_tbl(ind).attribute_name := 'credit_card';
5338: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.credit_card_code;
5339: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(p_curr_rec.credit_card_code);
5340: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.credit_card_code;
5341: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(p_prior_rec.credit_card_code);
5342: END IF;
5343: END IF; -- PRIOR
5344:
5345: IF p_next_version IS NOT NULL THEN

Line 5350: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(p_curr_rec.credit_card_code);

5346: IF OE_Globals.Equal(
5347: p_curr_rec.credit_card_code,
5348: p_next_rec.credit_card_code) THEN
5349: IF prior_exists = 'Y' THEN
5350: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(p_curr_rec.credit_card_code);
5351: END IF;
5352: ELSE
5353: IF prior_exists = 'N' THEN
5354: ind := ind+1;

Line 5358: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(p_prior_rec.credit_card_code);

5354: ind := ind+1;
5355: END IF;
5356: x_header_changed_attr_tbl(ind).attribute_name := 'credit_card';
5357: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.credit_card_code;
5358: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(p_prior_rec.credit_card_code);
5359: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.credit_card_code;
5360: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(p_curr_rec.credit_card_code);
5361: x_header_changed_attr_tbl(ind).next_id := p_next_rec.credit_card_code;
5362: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(p_next_rec.credit_card_code);

Line 5360: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(p_curr_rec.credit_card_code);

5356: x_header_changed_attr_tbl(ind).attribute_name := 'credit_card';
5357: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.credit_card_code;
5358: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(p_prior_rec.credit_card_code);
5359: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.credit_card_code;
5360: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(p_curr_rec.credit_card_code);
5361: x_header_changed_attr_tbl(ind).next_id := p_next_rec.credit_card_code;
5362: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(p_next_rec.credit_card_code);
5363: END IF; -- NEXT
5364: END IF;

Line 5362: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(p_next_rec.credit_card_code);

5358: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(p_prior_rec.credit_card_code);
5359: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.credit_card_code;
5360: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(p_curr_rec.credit_card_code);
5361: x_header_changed_attr_tbl(ind).next_id := p_next_rec.credit_card_code;
5362: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(p_next_rec.credit_card_code);
5363: END IF; -- NEXT
5364: END IF;
5365:
5366: -- END credit_card_code

Line 5562: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(l_curr_value);

5558: ind := ind+1;
5559: prior_exists := 'Y';
5560: x_header_changed_attr_tbl(ind).attribute_name := 'credit_card';
5561: x_header_changed_attr_tbl(ind).current_id := l_curr_value;
5562: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(l_curr_value);
5563: x_header_changed_attr_tbl(ind).prior_id := l_prior_value;
5564: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(l_prior_value);
5565: END IF;
5566: END IF; -- PRIOR

Line 5564: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(l_prior_value);

5560: x_header_changed_attr_tbl(ind).attribute_name := 'credit_card';
5561: x_header_changed_attr_tbl(ind).current_id := l_curr_value;
5562: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(l_curr_value);
5563: x_header_changed_attr_tbl(ind).prior_id := l_prior_value;
5564: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(l_prior_value);
5565: END IF;
5566: END IF; -- PRIOR
5567:
5568: /****************************/

Line 5609: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(l_prior_value);

5605: ind := ind+1;
5606: END IF;
5607: x_header_changed_attr_tbl(ind).attribute_name := 'credit_card';
5608: x_header_changed_attr_tbl(ind).prior_id := l_prior_value;
5609: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(l_prior_value);
5610: x_header_changed_attr_tbl(ind).current_id := l_curr_value;
5611: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(l_curr_value);
5612: x_header_changed_attr_tbl(ind).next_id := l_next_value;
5613: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(l_next_value);

Line 5611: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(l_curr_value);

5607: x_header_changed_attr_tbl(ind).attribute_name := 'credit_card';
5608: x_header_changed_attr_tbl(ind).prior_id := l_prior_value;
5609: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(l_prior_value);
5610: x_header_changed_attr_tbl(ind).current_id := l_curr_value;
5611: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(l_curr_value);
5612: x_header_changed_attr_tbl(ind).next_id := l_next_value;
5613: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(l_next_value);
5614: END IF; /* NEXT */
5615: END IF;

Line 5613: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(l_next_value);

5609: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.credit_card(l_prior_value);
5610: x_header_changed_attr_tbl(ind).current_id := l_curr_value;
5611: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.credit_card(l_curr_value);
5612: x_header_changed_attr_tbl(ind).next_id := l_next_value;
5613: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.credit_card(l_next_value);
5614: END IF; /* NEXT */
5615: END IF;
5616:
5617: /* END credit_card_code */

Line 6005: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);

6001: ind := ind+1;
6002: prior_exists := 'Y';
6003: x_header_changed_attr_tbl(ind).attribute_name := 'status';
6004: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6005: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6006: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.flow_status_code;
6007: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6008: END IF;
6009: END IF; /* PRIOR */

Line 6007: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);

6003: x_header_changed_attr_tbl(ind).attribute_name := 'status';
6004: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6005: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6006: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.flow_status_code;
6007: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6008: END IF;
6009: END IF; /* PRIOR */
6010: /****************************/
6011: IF p_next_version IS NOT NULL THEN

Line 6016: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);

6012: IF OE_Globals.Equal(
6013: p_curr_rec.flow_status_code,
6014: p_next_rec.flow_status_code) THEN
6015: IF prior_exists = 'Y' THEN
6016: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6017: END IF;
6018: ELSE
6019: IF prior_exists = 'N' THEN
6020: ind := ind+1;

Line 6024: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);

6020: ind := ind+1;
6021: END IF;
6022: x_header_changed_attr_tbl(ind).attribute_name := 'status';
6023: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.flow_status_code;
6024: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6025: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6026: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6027: x_header_changed_attr_tbl(ind).next_id := p_next_rec.flow_status_code;
6028: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_next_rec.flow_status_code);

Line 6026: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);

6022: x_header_changed_attr_tbl(ind).attribute_name := 'status';
6023: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.flow_status_code;
6024: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6025: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6026: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6027: x_header_changed_attr_tbl(ind).next_id := p_next_rec.flow_status_code;
6028: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_next_rec.flow_status_code);
6029: END IF; /* NEXT */
6030: END IF;

Line 6028: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_next_rec.flow_status_code);

6024: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6025: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6026: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6027: x_header_changed_attr_tbl(ind).next_id := p_next_rec.flow_status_code;
6028: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_next_rec.flow_status_code);
6029: END IF; /* NEXT */
6030: END IF;
6031:
6032: /* END flow_status_code*/

Line 6750: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);

6746: ind := ind+1;
6747: prior_exists := 'Y';
6748: x_header_changed_attr_tbl(ind).attribute_name := 'TRANSACTION_PHASE';
6749: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6750: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6751: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.transaction_phase_code;
6752: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6753: END IF;
6754: END IF; /* PRIOR */

Line 6752: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);

6748: x_header_changed_attr_tbl(ind).attribute_name := 'TRANSACTION_PHASE';
6749: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6750: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6751: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.transaction_phase_code;
6752: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6753: END IF;
6754: END IF; /* PRIOR */
6755: /****************************/
6756: IF p_next_version IS NOT NULL THEN

Line 6761: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);

6757: IF OE_Globals.Equal(
6758: p_curr_rec.transaction_phase_code,
6759: p_next_rec.transaction_phase_code) THEN
6760: IF prior_exists = 'Y' THEN
6761: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6762: END IF;
6763: null;
6764: ELSE
6765: IF prior_exists = 'N' THEN

Line 6770: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);

6766: ind := ind+1;
6767: END IF;
6768: x_header_changed_attr_tbl(ind).attribute_name := 'TRANSACTION_PHASE';
6769: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.transaction_phase_code;
6770: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6771: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6772: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6773: x_header_changed_attr_tbl(ind).next_id := p_next_rec.transaction_phase_code;
6774: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_next_rec.transaction_phase_code);

Line 6772: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);

6768: x_header_changed_attr_tbl(ind).attribute_name := 'TRANSACTION_PHASE';
6769: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.transaction_phase_code;
6770: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6771: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6772: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6773: x_header_changed_attr_tbl(ind).next_id := p_next_rec.transaction_phase_code;
6774: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_next_rec.transaction_phase_code);
6775: END IF; /* NEXT */
6776: END IF;

Line 6774: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_next_rec.transaction_phase_code);

6770: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6771: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6772: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6773: x_header_changed_attr_tbl(ind).next_id := p_next_rec.transaction_phase_code;
6774: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_next_rec.transaction_phase_code);
6775: END IF; /* NEXT */
6776: END IF;
6777:
6778: /* END transaction_phase_code*/

Line 6794: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);

6790: ind := ind+1;
6791: prior_exists := 'Y';
6792: x_header_changed_attr_tbl(ind).attribute_name := 'user_status';
6793: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6794: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6795: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.user_status_code;
6796: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6797: END IF;
6798: END IF; /* PRIOR */

Line 6796: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);

6792: x_header_changed_attr_tbl(ind).attribute_name := 'user_status';
6793: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6794: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6795: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.user_status_code;
6796: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6797: END IF;
6798: END IF; /* PRIOR */
6799: /****************************/
6800: IF p_next_version IS NOT NULL THEN

Line 6805: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);

6801: IF OE_Globals.Equal(
6802: p_curr_rec.user_status_code,
6803: p_next_rec.user_status_code) THEN
6804: IF prior_exists = 'Y' THEN
6805: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6806: END IF;
6807: ELSE
6808: IF prior_exists = 'N' THEN
6809: ind := ind+1;

Line 6813: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);

6809: ind := ind+1;
6810: END IF;
6811: x_header_changed_attr_tbl(ind).attribute_name := 'user_status';
6812: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.user_status_code;
6813: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6814: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6815: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6816: x_header_changed_attr_tbl(ind).next_id := p_next_rec.user_status_code;
6817: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_next_rec.user_status_code);

Line 6815: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);

6811: x_header_changed_attr_tbl(ind).attribute_name := 'user_status';
6812: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.user_status_code;
6813: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6814: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6815: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6816: x_header_changed_attr_tbl(ind).next_id := p_next_rec.user_status_code;
6817: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_next_rec.user_status_code);
6818: END IF; /* NEXT */
6819: END IF;

Line 6817: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_next_rec.user_status_code);

6813: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6814: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6815: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6816: x_header_changed_attr_tbl(ind).next_id := p_next_rec.user_status_code;
6817: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_next_rec.user_status_code);
6818: END IF; /* NEXT */
6819: END IF;
6820:
6821: /* END user_status_code*/

Line 6877: OE_ID_TO_VALUE.Customer_Location

6873: ind := ind+1;
6874: prior_exists := 'Y';
6875: x_header_changed_attr_tbl(ind).attribute_name := 'sold_to_location';
6876: if p_curr_rec.sold_to_site_use_id is not null then
6877: OE_ID_TO_VALUE.Customer_Location
6878: ( p_sold_to_site_use_id => p_curr_rec.sold_to_site_use_id
6879: , x_sold_to_location_address1 => x_sold_to_location_address1
6880: , x_sold_to_location_address2 => x_sold_to_location_address2
6881: , x_sold_to_location_address3 => x_sold_to_location_address3

Line 6907: OE_ID_TO_VALUE.Customer_Location

6903: x_header_changed_attr_tbl(ind).current_value := x_current_sold_to_location;
6904:
6905: end if;
6906: if p_prior_rec.sold_to_site_use_id is not null then
6907: OE_ID_TO_VALUE.Customer_Location
6908: ( p_sold_to_site_use_id => p_prior_rec.sold_to_site_use_id
6909: , x_sold_to_location_address1 => x_sold_to_location_address1
6910: , x_sold_to_location_address2 => x_sold_to_location_address2
6911: , x_sold_to_location_address3 => x_sold_to_location_address3

Line 6952: OE_ID_TO_VALUE.customer_location

6948: END IF;
6949: x_header_changed_attr_tbl(ind).attribute_name := 'sold_to_location';
6950:
6951: if p_prior_rec.sold_to_site_use_id is not null then
6952: OE_ID_TO_VALUE.customer_location
6953: ( p_sold_to_site_use_id => p_prior_rec.sold_to_site_use_id
6954: , x_sold_to_location_address1 => x_sold_to_location_address1
6955: , x_sold_to_location_address2 => x_sold_to_location_address2
6956: , x_sold_to_location_address3 => x_sold_to_location_address3

Line 6981: OE_ID_TO_VALUE.customer_location

6977: x_header_changed_attr_tbl(ind).prior_value := x_prior_sold_to_location;
6978: end if;
6979:
6980: if p_curr_rec.sold_to_site_use_id is not null then
6981: OE_ID_TO_VALUE.customer_location
6982: ( p_sold_to_site_use_id => p_curr_rec.sold_to_site_use_id
6983: , x_sold_to_location_address1 => x_sold_to_location_address1
6984: , x_sold_to_location_address2 => x_sold_to_location_address2
6985: , x_sold_to_location_address3 => x_sold_to_location_address3

Line 7010: OE_ID_TO_VALUE.customer_location

7006: x_header_changed_attr_tbl(ind).current_value := x_current_sold_to_location;
7007:
7008: end if;
7009: if p_next_rec.sold_to_site_use_id is not null then
7010: OE_ID_TO_VALUE.customer_location
7011: ( p_sold_to_site_use_id => p_next_rec.sold_to_site_use_id
7012: , x_sold_to_location_address1 => x_sold_to_location_address1
7013: , x_sold_to_location_address2 => x_sold_to_location_address2
7014: , x_sold_to_location_address3 => x_sold_to_location_address3

Line 8717: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);

8713: prior_exists := 'Y';
8714: x_line_changed_attr_tbl(ind).attribute_name := 'accounting_rule';
8715: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8716: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8717: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8718: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
8719: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8720: END IF;
8721: END IF; /* PRIOR */

Line 8719: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);

8715: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8716: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8717: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8718: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
8719: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8720: END IF;
8721: END IF; /* PRIOR */
8722: /****************************/
8723: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 8728: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);

8724: IF OE_Globals.Equal(
8725: p_curr_rec.accounting_rule_id,
8726: p_next_rec.accounting_rule_id) THEN
8727: IF prior_exists = 'Y' THEN
8728: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8729: END IF;
8730: ELSE
8731: IF prior_exists = 'N' THEN
8732: ind := ind+1;

Line 8738: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);

8734: x_line_changed_attr_tbl(ind).attribute_name := 'accounting_rule';
8735: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8736: x_line_changed_attr_tbl(ind).line_number := '1.1';
8737: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
8738: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8739: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8740: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8741: x_line_changed_attr_tbl(ind).next_id := p_next_rec.accounting_rule_id;
8742: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);

Line 8740: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);

8736: x_line_changed_attr_tbl(ind).line_number := '1.1';
8737: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
8738: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8739: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8740: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8741: x_line_changed_attr_tbl(ind).next_id := p_next_rec.accounting_rule_id;
8742: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);
8743: END IF;
8744: END IF; /* NEXT */

Line 8742: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);

8738: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8739: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8740: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8741: x_line_changed_attr_tbl(ind).next_id := p_next_rec.accounting_rule_id;
8742: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);
8743: END IF;
8744: END IF; /* NEXT */
8745:
8746: /* END ACCOUNTING_RULE_ID*/

Line 8887: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);

8883: prior_exists := 'Y';
8884: x_line_changed_attr_tbl(ind).attribute_name := 'agreement';
8885: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8886: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
8887: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
8888: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
8889: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
8890: END IF;
8891: END IF; /* PRIOR */

Line 8889: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);

8885: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8886: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
8887: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
8888: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
8889: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
8890: END IF;
8891: END IF; /* PRIOR */
8892: /****************************/
8893: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 8898: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);

8894: IF OE_Globals.Equal(
8895: p_curr_rec.agreement_id,
8896: p_next_rec.agreement_id) THEN
8897: IF prior_exists = 'Y' THEN
8898: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
8899: END IF;
8900: ELSE
8901: IF prior_exists = 'N' THEN
8902: ind := ind+1;

Line 8907: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);

8903: END IF;
8904: x_line_changed_attr_tbl(ind).attribute_name := 'agreement';
8905: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8906: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
8907: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
8908: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
8909: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
8910: x_line_changed_attr_tbl(ind).next_id := p_next_rec.agreement_id;
8911: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);

Line 8909: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);

8905: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8906: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
8907: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
8908: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
8909: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
8910: x_line_changed_attr_tbl(ind).next_id := p_next_rec.agreement_id;
8911: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);
8912: END IF;
8913: END IF; /* NEXT */

Line 8911: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);

8907: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
8908: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
8909: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
8910: x_line_changed_attr_tbl(ind).next_id := p_next_rec.agreement_id;
8911: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);
8912: END IF;
8913: END IF; /* NEXT */
8914:
8915: /* END agreement_id*/

Line 10359: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);

10355: prior_exists := 'Y';
10356: x_line_changed_attr_tbl(ind).attribute_name := 'deliver_to_contact';
10357: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10358: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10359: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10360: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
10361: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10362: END IF;
10363: END IF; /* PRIOR */

Line 10361: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);

10357: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10358: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10359: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10360: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
10361: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10362: END IF;
10363: END IF; /* PRIOR */
10364: /****************************/
10365: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 10370: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);

10366: IF OE_Globals.Equal(
10367: p_curr_rec.deliver_to_contact_id,
10368: p_next_rec.deliver_to_contact_id) THEN
10369: IF prior_exists = 'Y' THEN
10370: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10371: END IF;
10372: ELSE
10373: IF prior_exists = 'N' THEN
10374: ind := ind+1;

Line 10379: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);

10375: END IF;
10376: x_line_changed_attr_tbl(ind).attribute_name := 'deliver_to_contact';
10377: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10378: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
10379: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10380: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10381: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10382: x_line_changed_attr_tbl(ind).next_id := p_next_rec.deliver_to_contact_id;
10383: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);

Line 10381: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);

10377: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10378: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
10379: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10380: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10381: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10382: x_line_changed_attr_tbl(ind).next_id := p_next_rec.deliver_to_contact_id;
10383: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);
10384: END IF;
10385: END IF; /* NEXT */

Line 10383: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);

10379: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10380: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10381: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10382: x_line_changed_attr_tbl(ind).next_id := p_next_rec.deliver_to_contact_id;
10383: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);
10384: END IF;
10385: END IF; /* NEXT */
10386:
10387: /* END deliver_to_contact_id*/

Line 10405: OE_ID_TO_VALUE.deliver_To_Org

10401: prior_exists := 'Y';
10402: x_line_changed_attr_tbl(ind).attribute_name := 'deliver_to_location';
10403: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10404: if p_curr_rec.deliver_to_org_id is not null then
10405: OE_ID_TO_VALUE.deliver_To_Org
10406: ( p_deliver_to_org_id => p_curr_rec.deliver_To_org_id
10407: , x_deliver_to_address1 => x_deliver_to_address1
10408: , x_deliver_to_address2 => x_deliver_to_address2
10409: , x_deliver_to_address3 => x_deliver_to_address3

Line 10436: OE_ID_TO_VALUE.deliver_To_Org

10432: x_line_changed_attr_tbl(ind).current_value := x_current_deliver_to_address;
10433: end if;
10434:
10435: if p_prior_rec.deliver_to_org_id is not null then
10436: OE_ID_TO_VALUE.deliver_To_Org
10437: ( p_deliver_to_org_id => p_prior_rec.deliver_To_org_id
10438: , x_deliver_to_address1 => x_deliver_to_address1
10439: , x_deliver_to_address2 => x_deliver_to_address2
10440: , x_deliver_to_address3 => x_deliver_to_address3

Line 10482: OE_ID_TO_VALUE.deliver_To_Org

10478: x_line_changed_attr_tbl(ind).attribute_name := 'deliver_to_location';
10479: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10480:
10481: if p_prior_rec.deliver_to_org_id is not null then
10482: OE_ID_TO_VALUE.deliver_To_Org
10483: ( p_deliver_to_org_id => p_prior_rec.deliver_To_org_id
10484: , x_deliver_to_address1 => x_deliver_to_address1
10485: , x_deliver_to_address2 => x_deliver_to_address2
10486: , x_deliver_to_address3 => x_deliver_to_address3

Line 10512: OE_ID_TO_VALUE.deliver_To_Org

10508: x_line_changed_attr_tbl(ind).prior_value := x_prior_deliver_to_address;
10509:
10510: end if;
10511: if p_curr_rec.deliver_to_org_id is not null then
10512: OE_ID_TO_VALUE.deliver_To_Org
10513: ( p_deliver_to_org_id => p_curr_rec.deliver_To_org_id
10514: , x_deliver_to_address1 => x_deliver_to_address1
10515: , x_deliver_to_address2 => x_deliver_to_address2
10516: , x_deliver_to_address3 => x_deliver_to_address3

Line 10542: OE_ID_TO_VALUE.deliver_To_Org

10538: x_line_changed_attr_tbl(ind).current_value := x_current_deliver_to_address;
10539:
10540: end if;
10541: if p_next_rec.deliver_to_org_id is not null then
10542: OE_ID_TO_VALUE.deliver_To_Org
10543: ( p_deliver_to_org_id => p_next_rec.deliver_To_org_id
10544: , x_deliver_to_address1 => x_deliver_to_address1
10545: , x_deliver_to_address2 => x_deliver_to_address2
10546: , x_deliver_to_address3 => x_deliver_to_address3

Line 10591: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);

10587: prior_exists := 'Y';
10588: x_line_changed_attr_tbl(ind).attribute_name := 'DEMAND_BUCKET_TYPE_CODE';
10589: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10590: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10591: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10592: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.DEMAND_BUCKET_TYPE_CODE;
10593: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10594: END IF;
10595: END IF; /* PRIOR */

Line 10593: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);

10589: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10590: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10591: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10592: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.DEMAND_BUCKET_TYPE_CODE;
10593: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10594: END IF;
10595: END IF; /* PRIOR */
10596: /****************************/
10597: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 10602: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);

10598: IF OE_Globals.Equal(
10599: p_curr_rec.DEMAND_BUCKET_TYPE_CODE,
10600: p_next_rec.DEMAND_BUCKET_TYPE_CODE) THEN
10601: IF prior_exists = 'Y' THEN
10602: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10603: END IF;
10604: ELSE
10605: IF prior_exists = 'N' THEN
10606: ind := ind+1;

Line 10611: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);

10607: END IF;
10608: x_line_changed_attr_tbl(ind).attribute_name := 'DEMAND_BUCKET_TYPE_CODE';
10609: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10610: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.DEMAND_BUCKET_TYPE_CODE;
10611: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10612: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10613: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10614: x_line_changed_attr_tbl(ind).next_id := p_next_rec.DEMAND_BUCKET_TYPE_CODE;
10615: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_next_rec.DEMAND_BUCKET_TYPE_CODE);

Line 10613: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);

10609: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10610: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.DEMAND_BUCKET_TYPE_CODE;
10611: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10612: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10613: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10614: x_line_changed_attr_tbl(ind).next_id := p_next_rec.DEMAND_BUCKET_TYPE_CODE;
10615: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_next_rec.DEMAND_BUCKET_TYPE_CODE);
10616: END IF; /* NEXT */
10617: END IF;

Line 10615: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_next_rec.DEMAND_BUCKET_TYPE_CODE);

10611: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10612: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10613: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10614: x_line_changed_attr_tbl(ind).next_id := p_next_rec.DEMAND_BUCKET_TYPE_CODE;
10615: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_next_rec.DEMAND_BUCKET_TYPE_CODE);
10616: END IF; /* NEXT */
10617: END IF;
10618:
10619: /* END DEMAND_BUCKET_TYPE_CODE*/

Line 10922: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);

10918: prior_exists := 'Y';
10919: x_line_changed_attr_tbl(ind).attribute_name := 'fob';
10920: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10921: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
10922: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
10923: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
10924: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
10925: END IF;
10926: END IF; /* PRIOR */

Line 10924: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);

10920: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10921: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
10922: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
10923: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
10924: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
10925: END IF;
10926: END IF; /* PRIOR */
10927: /****************************/
10928: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 10933: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);

10929: IF OE_Globals.Equal(
10930: p_curr_rec.fob_point_code,
10931: p_next_rec.fob_point_code) THEN
10932: IF prior_exists = 'Y' THEN
10933: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
10934: END IF;
10935: ELSE
10936: IF prior_exists = 'N' THEN
10937: ind := ind+1;

Line 10942: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);

10938: END IF;
10939: x_line_changed_attr_tbl(ind).attribute_name := 'fob';
10940: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10941: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
10942: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
10943: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
10944: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
10945: x_line_changed_attr_tbl(ind).next_id := p_next_rec.fob_point_code;
10946: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);

Line 10944: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);

10940: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10941: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
10942: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
10943: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
10944: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
10945: x_line_changed_attr_tbl(ind).next_id := p_next_rec.fob_point_code;
10946: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);
10947: END IF; /* NEXT */
10948:

Line 10946: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);

10942: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
10943: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
10944: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
10945: x_line_changed_attr_tbl(ind).next_id := p_next_rec.fob_point_code;
10946: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);
10947: END IF; /* NEXT */
10948:
10949: END IF;
10950: /* END Fob_Point_code*/

Line 10968: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);

10964: prior_exists := 'Y';
10965: x_line_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
10966: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10967: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
10968: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
10969: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
10970: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
10971: END IF;
10972: END IF; /* PRIOR */

Line 10970: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);

10966: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10967: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
10968: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
10969: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
10970: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
10971: END IF;
10972: END IF; /* PRIOR */
10973: /****************************/
10974: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 10979: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);

10975: IF OE_Globals.Equal(
10976: p_curr_rec.freight_carrier_code,
10977: p_next_rec.freight_carrier_code) THEN
10978: IF prior_exists = 'Y' THEN
10979: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
10980: END IF;
10981: ELSE
10982: IF prior_exists = 'N' THEN
10983: ind := ind+1;

Line 10988: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);

10984: END IF;
10985: x_line_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
10986: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10987: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
10988: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
10989: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
10990: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
10991: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
10992: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_next_rec.freight_carrier_code,p_next_rec.ship_from_org_id);

Line 10990: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);

10986: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10987: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
10988: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
10989: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
10990: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
10991: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
10992: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_next_rec.freight_carrier_code,p_next_rec.ship_from_org_id);
10993: END IF;
10994: END IF; /* NEXT */

Line 10992: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_next_rec.freight_carrier_code,p_next_rec.ship_from_org_id);

10988: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_Carrier(p_prior_rec.freight_carrier_code,p_prior_rec.ship_from_org_id);
10989: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
10990: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_Carrier(p_curr_rec.freight_carrier_code,p_curr_rec.ship_from_org_id);
10991: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
10992: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_Carrier(p_next_rec.freight_carrier_code,p_next_rec.ship_from_org_id);
10993: END IF;
10994: END IF; /* NEXT */
10995:
10996: /* END freight_carrier_code*/

Line 11014: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);

11010: prior_exists := 'Y';
11011: x_line_changed_attr_tbl(ind).attribute_name := 'freight_terms';
11012: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11013: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11014: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11015: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
11016: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11017: END IF;
11018: END IF; /* PRIOR */

Line 11016: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);

11012: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11013: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11014: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11015: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
11016: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11017: END IF;
11018: END IF; /* PRIOR */
11019: /****************************/
11020: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 11025: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);

11021: IF OE_Globals.Equal(
11022: p_curr_rec.freight_terms_code,
11023: p_next_rec.freight_terms_code) THEN
11024: IF prior_exists = 'Y' THEN
11025: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11026: END IF;
11027: ELSE
11028: IF prior_exists = 'N' THEN
11029: ind := ind+1;

Line 11034: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);

11030: END IF;
11031: x_line_changed_attr_tbl(ind).attribute_name := 'freight_terms';
11032: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11033: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
11034: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11035: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11036: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11037: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_terms_code;
11038: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);

Line 11036: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);

11032: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11033: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
11034: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11035: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11036: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11037: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_terms_code;
11038: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);
11039: END IF;
11040: END IF; /* NEXT */

Line 11038: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);

11034: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11035: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11036: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11037: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_terms_code;
11038: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);
11039: END IF;
11040: END IF; /* NEXT */
11041:
11042: /* END freight_terms_code*/

Line 12811: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);

12807: prior_exists := 'Y';
12808: x_line_changed_attr_tbl(ind).attribute_name := 'Intermed_Ship_To_Contact';
12809: x_line_changed_attr_tbl(ind).line_number := x_line_number;
12810: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
12811: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
12812: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID;
12813: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
12814: END IF;
12815: END IF; /* PRIOR */

Line 12813: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);

12809: x_line_changed_attr_tbl(ind).line_number := x_line_number;
12810: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
12811: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
12812: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID;
12813: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
12814: END IF;
12815: END IF; /* PRIOR */
12816: /****************************/
12817: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 12822: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);

12818: IF OE_Globals.Equal(
12819: p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID,
12820: p_next_rec.INTERMED_SHIP_TO_CONTACT_ID) THEN
12821: IF prior_exists = 'Y' THEN
12822: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
12823: END IF;
12824: ELSE
12825: IF prior_exists = 'N' THEN
12826: ind := ind+1;

Line 12831: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);

12827: END IF;
12828: x_line_changed_attr_tbl(ind).attribute_name := 'Intermed_Ship_To_Contact';
12829: x_line_changed_attr_tbl(ind).line_number := x_line_number;
12830: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID;
12831: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
12832: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
12833: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
12834: x_line_changed_attr_tbl(ind).next_id := p_next_rec.INTERMED_SHIP_TO_CONTACT_ID;
12835: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_next_rec.INTERMED_SHIP_TO_CONTACT_ID);

Line 12833: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);

12829: x_line_changed_attr_tbl(ind).line_number := x_line_number;
12830: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID;
12831: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
12832: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
12833: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
12834: x_line_changed_attr_tbl(ind).next_id := p_next_rec.INTERMED_SHIP_TO_CONTACT_ID;
12835: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_next_rec.INTERMED_SHIP_TO_CONTACT_ID);
12836: END IF;
12837: END IF; /* NEXT */

Line 12835: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_next_rec.INTERMED_SHIP_TO_CONTACT_ID);

12831: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
12832: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
12833: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
12834: x_line_changed_attr_tbl(ind).next_id := p_next_rec.INTERMED_SHIP_TO_CONTACT_ID;
12835: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_next_rec.INTERMED_SHIP_TO_CONTACT_ID);
12836: END IF;
12837: END IF; /* NEXT */
12838:
12839: /* END INTMED_SHIP_TO_CONTACT_ID*/

Line 12858: OE_ID_TO_VALUE.intermed_ship_to_Org

12854: x_line_changed_attr_tbl(ind).attribute_name := 'intermed_ship_to_location';
12855: x_line_changed_attr_tbl(ind).line_number := x_line_number;
12856: if p_curr_rec.intermed_ship_to_org_id is not null then
12857:
12858: OE_ID_TO_VALUE.intermed_ship_to_Org
12859: ( p_intermed_ship_to_org_id => p_curr_rec.intermed_ship_to_org_id
12860: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
12861: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
12862: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

Line 12889: OE_ID_TO_VALUE.intermed_ship_to_Org

12885: x_line_changed_attr_tbl(ind).current_value := x_current_intermed_address;
12886: end if;
12887:
12888: if p_prior_rec.intermed_ship_to_org_id is not null then
12889: OE_ID_TO_VALUE.intermed_ship_to_Org
12890: ( p_intermed_ship_to_org_id => p_prior_rec.intermed_ship_to_org_id
12891: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
12892: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
12893: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

Line 12936: OE_ID_TO_VALUE.intermed_ship_to_Org

12932: x_line_changed_attr_tbl(ind).attribute_name := 'intermed_ship_to_location';
12933: x_line_changed_attr_tbl(ind).line_number := x_line_number;
12934:
12935: if p_prior_rec.intermed_ship_to_org_id is not null then
12936: OE_ID_TO_VALUE.intermed_ship_to_Org
12937: ( p_intermed_ship_to_org_id => p_prior_rec.intermed_ship_to_org_id
12938: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
12939: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
12940: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

Line 12966: OE_ID_TO_VALUE.intermed_ship_to_Org

12962: x_line_changed_attr_tbl(ind).prior_value := x_prior_intermed_address;
12963: end if;
12964:
12965: if p_curr_rec.intermed_ship_to_org_id is not null then
12966: OE_ID_TO_VALUE.intermed_ship_to_Org
12967: ( p_intermed_ship_to_org_id => p_curr_rec.intermed_ship_to_org_id
12968: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
12969: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
12970: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

Line 12996: OE_ID_TO_VALUE.intermed_ship_to_Org

12992: x_line_changed_attr_tbl(ind).current_value := x_current_intermed_address;
12993: end if;
12994:
12995: if p_next_rec.intermed_ship_to_org_id is not null then
12996: OE_ID_TO_VALUE.intermed_ship_to_Org
12997: ( p_intermed_ship_to_org_id => p_next_rec.intermed_ship_to_org_id
12998: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
12999: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
13000: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

Line 13045: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);

13041: prior_exists := 'Y';
13042: x_line_changed_attr_tbl(ind).attribute_name := 'invoice_to_contact';
13043: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13044: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13045: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13046: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
13047: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13048: END IF;
13049: END IF; /* PRIOR */

Line 13047: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);

13043: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13044: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13045: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13046: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
13047: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13048: END IF;
13049: END IF; /* PRIOR */
13050: /****************************/
13051: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 13056: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);

13052: IF OE_Globals.Equal(
13053: p_curr_rec.invoice_to_contact_id,
13054: p_next_rec.invoice_to_contact_id) THEN
13055: IF prior_exists = 'Y' THEN
13056: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13057: END IF;
13058: null;
13059: ELSE
13060: IF prior_exists = 'N' THEN

Line 13066: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);

13062: END IF;
13063: x_line_changed_attr_tbl(ind).attribute_name := 'invoice_to_contact';
13064: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13065: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
13066: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13067: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13068: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13069: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoice_to_contact_id;
13070: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);

Line 13068: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);

13064: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13065: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
13066: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13067: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13068: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13069: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoice_to_contact_id;
13070: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);
13071: END IF;
13072: END IF; /* NEXT */

Line 13070: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);

13066: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13067: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13068: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13069: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoice_to_contact_id;
13070: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);
13071: END IF;
13072: END IF; /* NEXT */
13073:
13074: /* END invoice_to_contact_id*/

Line 13093: OE_ID_TO_VALUE.invoice_to_Org

13089: x_line_changed_attr_tbl(ind).attribute_name := 'invoice_to_location';
13090: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13091: if p_curr_rec.invoice_to_org_id is not null then
13092:
13093: OE_ID_TO_VALUE.invoice_to_Org
13094: ( p_invoice_to_org_id => p_curr_rec.invoice_to_org_id
13095: , x_invoice_to_address1 => x_invoice_to_address1
13096: , x_invoice_to_address2 => x_invoice_to_address2
13097: , x_invoice_to_address3 => x_invoice_to_address3

Line 13124: OE_ID_TO_VALUE.invoice_to_Org

13120: x_line_changed_attr_tbl(ind).current_value := x_current_invoice_to_address;
13121: end if;
13122:
13123: if p_prior_rec.invoice_to_org_id is not null then
13124: OE_ID_TO_VALUE.invoice_to_Org
13125: ( p_invoice_to_org_id => p_prior_rec.invoice_to_org_id
13126: , x_invoice_to_address1 => x_invoice_to_address1
13127: , x_invoice_to_address2 => x_invoice_to_address2
13128: , x_invoice_to_address3 => x_invoice_to_address3

Line 13171: OE_ID_TO_VALUE.invoice_to_Org

13167: x_line_changed_attr_tbl(ind).attribute_name := 'invoice_to_location';
13168: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13169:
13170: if p_prior_rec.invoice_to_org_id is not null then
13171: OE_ID_TO_VALUE.invoice_to_Org
13172: ( p_invoice_to_org_id => p_prior_rec.invoice_to_org_id
13173: , x_invoice_to_address1 => x_invoice_to_address1
13174: , x_invoice_to_address2 => x_invoice_to_address2
13175: , x_invoice_to_address3 => x_invoice_to_address3

Line 13201: OE_ID_TO_VALUE.invoice_to_Org

13197: x_line_changed_attr_tbl(ind).prior_value := x_prior_invoice_to_address;
13198: end if;
13199:
13200: if p_curr_rec.invoice_to_org_id is not null then
13201: OE_ID_TO_VALUE.invoice_to_Org
13202: ( p_invoice_to_org_id => p_curr_rec.invoice_to_org_id
13203: , x_invoice_to_address1 => x_invoice_to_address1
13204: , x_invoice_to_address2 => x_invoice_to_address2
13205: , x_invoice_to_address3 => x_invoice_to_address3

Line 13230: OE_ID_TO_VALUE.invoice_to_Org

13226: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_org_id;
13227: x_line_changed_attr_tbl(ind).current_value := x_current_invoice_to_address;
13228: end if;
13229: if p_next_rec.invoice_to_org_id is not null then
13230: OE_ID_TO_VALUE.invoice_to_Org
13231: ( p_invoice_to_org_id => p_next_rec.invoice_to_org_id
13232: , x_invoice_to_address1 => x_invoice_to_address1
13233: , x_invoice_to_address2 => x_invoice_to_address2
13234: , x_invoice_to_address3 => x_invoice_to_address3

Line 13358: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);

13354: prior_exists := 'Y';
13355: x_line_changed_attr_tbl(ind).attribute_name := 'invoicing_rule';
13356: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13357: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13358: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13359: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
13360: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13361: END IF;
13362: END IF; /* PRIOR */

Line 13360: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);

13356: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13357: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13358: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13359: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
13360: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13361: END IF;
13362: END IF; /* PRIOR */
13363: /****************************/
13364: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 13369: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);

13365: IF OE_Globals.Equal(
13366: p_curr_rec.invoicing_rule_id,
13367: p_next_rec.invoicing_rule_id) THEN
13368: IF prior_exists = 'Y' THEN
13369: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13370: END IF;
13371: null;
13372: ELSE
13373: IF prior_exists = 'N' THEN

Line 13379: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);

13375: END IF;
13376: x_line_changed_attr_tbl(ind).attribute_name := 'invoicing_rule';
13377: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13378: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
13379: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13380: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13381: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13382: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoicing_rule_id;
13383: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);

Line 13381: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);

13377: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13378: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
13379: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13380: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13381: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13382: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoicing_rule_id;
13383: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);
13384: END IF;
13385: END IF; /* NEXT */

Line 13383: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);

13379: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13380: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13381: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13382: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoicing_rule_id;
13383: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);
13384: END IF;
13385: END IF; /* NEXT */
13386:
13387: /* END invoicing_rule_id*/

Line 13446: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);

13442: prior_exists := 'Y';
13443: x_line_changed_attr_tbl(ind).attribute_name := 'ITEM_TYPE_CODE';
13444: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13445: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13446: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13447: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ITEM_TYPE_CODE;
13448: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13449: END IF;
13450: END IF; /* PRIOR */

Line 13448: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);

13444: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13445: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13446: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13447: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ITEM_TYPE_CODE;
13448: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13449: END IF;
13450: END IF; /* PRIOR */
13451: /****************************/
13452: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 13457: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);

13453: IF OE_Globals.Equal(
13454: p_curr_rec.ITEM_TYPE_CODE,
13455: p_next_rec.ITEM_TYPE_CODE) THEN
13456: IF prior_exists = 'Y' THEN
13457: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13458: END IF;
13459: ELSE
13460: IF prior_exists = 'N' THEN
13461: ind := ind+1;

Line 13466: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);

13462: END IF;
13463: x_line_changed_attr_tbl(ind).attribute_name := 'ITEM_TYPE_CODE';
13464: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13465: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ITEM_TYPE_CODE;
13466: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13467: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13468: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13469: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ITEM_TYPE_CODE;
13470: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_next_rec.ITEM_TYPE_CODE);

Line 13468: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);

13464: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13465: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ITEM_TYPE_CODE;
13466: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13467: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13468: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13469: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ITEM_TYPE_CODE;
13470: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_next_rec.ITEM_TYPE_CODE);
13471: END IF;
13472: END IF; /* NEXT */

Line 13470: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_next_rec.ITEM_TYPE_CODE);

13466: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13467: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13468: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13469: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ITEM_TYPE_CODE;
13470: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_next_rec.ITEM_TYPE_CODE);
13471: END IF;
13472: END IF; /* NEXT */
13473:
13474: /* END ITEM_TYPE_CODE*/

Line 13615: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);

13611: prior_exists := 'Y';
13612: x_line_changed_attr_tbl(ind).attribute_name := 'order_source_dsp';
13613: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13614: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13615: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13616: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
13617: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13618: END IF;
13619: END IF; /* PRIOR */

Line 13617: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);

13613: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13614: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13615: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13616: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
13617: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13618: END IF;
13619: END IF; /* PRIOR */
13620: /****************************/
13621: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 13626: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);

13622: IF OE_Globals.Equal(
13623: p_curr_rec.order_source_id,
13624: p_next_rec.order_source_id) THEN
13625: IF prior_exists = 'Y' THEN
13626: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13627: END IF;
13628: ELSE
13629: IF prior_exists = 'N' THEN
13630: ind := ind+1;

Line 13635: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);

13631: END IF;
13632: x_line_changed_attr_tbl(ind).attribute_name := 'order_source_dsp';
13633: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13634: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
13635: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13636: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13637: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13638: x_line_changed_attr_tbl(ind).next_id := p_next_rec.order_source_id;
13639: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);

Line 13637: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);

13633: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13634: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
13635: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13636: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13637: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13638: x_line_changed_attr_tbl(ind).next_id := p_next_rec.order_source_id;
13639: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);
13640: END IF;
13641: END IF; /* NEXT */

Line 13639: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);

13635: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13636: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13637: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13638: x_line_changed_attr_tbl(ind).next_id := p_next_rec.order_source_id;
13639: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);
13640: END IF;
13641: END IF; /* NEXT */
13642:
13643: /* END order_source_id*/

Line 13702: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);

13698: prior_exists := 'Y';
13699: x_line_changed_attr_tbl(ind).attribute_name := 'LINE_TYPE';
13700: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13701: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13702: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13703: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.LINE_TYPE_ID;
13704: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13705: END IF;
13706: END IF; /* PRIOR */

Line 13704: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);

13700: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13701: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13702: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13703: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.LINE_TYPE_ID;
13704: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13705: END IF;
13706: END IF; /* PRIOR */
13707: /****************************/
13708: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 13713: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);

13709: IF OE_Globals.Equal(
13710: p_curr_rec.LINE_TYPE_ID,
13711: p_next_rec.LINE_TYPE_ID) THEN
13712: IF prior_exists = 'Y' THEN
13713: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13714: END IF;
13715: ELSE
13716: IF prior_exists = 'N' THEN
13717: ind := ind+1;

Line 13722: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);

13718: END IF;
13719: x_line_changed_attr_tbl(ind).attribute_name := 'LINE_TYPE';
13720: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13721: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.LINE_TYPE_ID;
13722: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13723: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13724: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13725: x_line_changed_attr_tbl(ind).next_id := p_next_rec.LINE_TYPE_ID;
13726: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_next_rec.LINE_TYPE_ID);

Line 13724: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);

13720: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13721: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.LINE_TYPE_ID;
13722: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13723: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13724: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13725: x_line_changed_attr_tbl(ind).next_id := p_next_rec.LINE_TYPE_ID;
13726: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_next_rec.LINE_TYPE_ID);
13727: END IF;
13728: END IF; /* NEXT */

Line 13726: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_next_rec.LINE_TYPE_ID);

13722: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13723: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13724: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13725: x_line_changed_attr_tbl(ind).next_id := p_next_rec.LINE_TYPE_ID;
13726: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_next_rec.LINE_TYPE_ID);
13727: END IF;
13728: END IF; /* NEXT */
13729:
13730: /* END LINE_TYPE_ID*/

Line 13997: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);

13993: prior_exists := 'Y';
13994: x_line_changed_attr_tbl(ind).attribute_name := 'Over_Ship_Reason';
13995: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13996: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
13997: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
13998: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Over_Ship_Reason_code;
13999: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14000: END IF;
14001: END IF; /* PRIOR */

Line 13999: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);

13995: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13996: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
13997: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
13998: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Over_Ship_Reason_code;
13999: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14000: END IF;
14001: END IF; /* PRIOR */
14002: /****************************/
14003: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 14008: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);

14004: IF OE_Globals.Equal(
14005: p_curr_rec.Over_Ship_Reason_code,
14006: p_next_rec.Over_Ship_Reason_code) THEN
14007: IF prior_exists = 'Y' THEN
14008: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14009: END IF;
14010: ELSE
14011: IF prior_exists = 'N' THEN
14012: ind := ind+1;

Line 14017: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);

14013: END IF;
14014: x_line_changed_attr_tbl(ind).attribute_name := 'Over_Ship_Reason';
14015: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14016: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Over_Ship_Reason_code;
14017: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14018: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
14019: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14020: x_line_changed_attr_tbl(ind).next_id := p_next_rec.Over_Ship_Reason_code;
14021: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_next_rec.Over_Ship_Reason_code);

Line 14019: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);

14015: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14016: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Over_Ship_Reason_code;
14017: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14018: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
14019: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14020: x_line_changed_attr_tbl(ind).next_id := p_next_rec.Over_Ship_Reason_code;
14021: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_next_rec.Over_Ship_Reason_code);
14022: END IF;
14023: END IF; /* NEXT */

Line 14021: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_next_rec.Over_Ship_Reason_code);

14017: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14018: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
14019: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14020: x_line_changed_attr_tbl(ind).next_id := p_next_rec.Over_Ship_Reason_code;
14021: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_next_rec.Over_Ship_Reason_code);
14022: END IF;
14023: END IF; /* NEXT */
14024:
14025: /* END Over_Ship_Reason_code*/

Line 14083: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);

14079: prior_exists := 'Y';
14080: x_line_changed_attr_tbl(ind).attribute_name := 'TERMS';
14081: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14082: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14083: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14084: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
14085: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14086: END IF;
14087: END IF; /* PRIOR */

Line 14085: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);

14081: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14082: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14083: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14084: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
14085: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14086: END IF;
14087: END IF; /* PRIOR */
14088: /****************************/
14089: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 14094: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);

14090: IF OE_Globals.Equal(
14091: p_curr_rec.payment_term_id,
14092: p_next_rec.payment_term_id) THEN
14093: IF prior_exists = 'Y' THEN
14094: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14095: END IF;
14096: ELSE
14097: IF prior_exists = 'N' THEN
14098: ind := ind+1;

Line 14103: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);

14099: END IF;
14100: x_line_changed_attr_tbl(ind).attribute_name := 'TERMS';
14101: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14102: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
14103: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14104: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14105: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14106: x_line_changed_attr_tbl(ind).next_id := p_next_rec.payment_term_id;
14107: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_next_rec.payment_term_id);

Line 14105: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);

14101: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14102: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
14103: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14104: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14105: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14106: x_line_changed_attr_tbl(ind).next_id := p_next_rec.payment_term_id;
14107: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_next_rec.payment_term_id);
14108: END IF;
14109: END IF; /* NEXT */

Line 14107: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_next_rec.payment_term_id);

14103: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14104: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14105: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14106: x_line_changed_attr_tbl(ind).next_id := p_next_rec.payment_term_id;
14107: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_next_rec.payment_term_id);
14108: END IF;
14109: END IF; /* NEXT */
14110:
14111: /* END payment_term_id*/

Line 14209: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);

14205: prior_exists := 'Y';
14206: x_line_changed_attr_tbl(ind).attribute_name := 'PRICE_LIST';
14207: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14208: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14209: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14210: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
14211: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14212: END IF;
14213: END IF; /* PRIOR */

Line 14211: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);

14207: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14208: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14209: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14210: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
14211: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14212: END IF;
14213: END IF; /* PRIOR */
14214: /****************************/
14215: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 14220: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);

14216: IF OE_Globals.Equal(
14217: p_curr_rec.PRICE_LIST_ID,
14218: p_next_rec.PRICE_LIST_ID) THEN
14219: IF prior_exists = 'Y' THEN
14220: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14221: END IF;
14222: ELSE
14223: IF prior_exists = 'N' THEN
14224: ind := ind+1;

Line 14229: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);

14225: END IF;
14226: x_line_changed_attr_tbl(ind).attribute_name := 'PRICE_LIST';
14227: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14228: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
14229: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14230: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14231: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14232: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PRICE_LIST_ID;
14233: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);

Line 14231: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);

14227: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14228: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
14229: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14230: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14231: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14232: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PRICE_LIST_ID;
14233: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);
14234: END IF;
14235: END IF; /* NEXT */

Line 14233: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);

14229: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14230: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14231: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14232: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PRICE_LIST_ID;
14233: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);
14234: END IF;
14235: END IF; /* NEXT */
14236:
14237: /* END PRICE_LIST_ID*/

Line 14742: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);

14738: prior_exists := 'Y';
14739: x_line_changed_attr_tbl(ind).attribute_name := 'PROJECT_NUMBER';
14740: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14741: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
14742: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
14743: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PROJECT_ID;
14744: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
14745: END IF;
14746: END IF; /* PRIOR */

Line 14744: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);

14740: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14741: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
14742: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
14743: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PROJECT_ID;
14744: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
14745: END IF;
14746: END IF; /* PRIOR */
14747: /****************************/
14748: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 14753: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);

14749: IF OE_Globals.Equal(
14750: p_curr_rec.PROJECT_ID,
14751: p_next_rec.PROJECT_ID) THEN
14752: IF prior_exists = 'Y' THEN
14753: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
14754: END IF;
14755: ELSE
14756: IF prior_exists = 'N' THEN
14757: ind := ind+1;

Line 14762: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);

14758: END IF;
14759: x_line_changed_attr_tbl(ind).attribute_name := 'PROJECT_NUMBER';
14760: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14761: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PROJECT_ID;
14762: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
14763: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
14764: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
14765: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PROJECT_ID;
14766: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_next_rec.PROJECT_ID);

Line 14764: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);

14760: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14761: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PROJECT_ID;
14762: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
14763: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
14764: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
14765: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PROJECT_ID;
14766: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_next_rec.PROJECT_ID);
14767: END IF;
14768: END IF; /* NEXT */

Line 14766: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_next_rec.PROJECT_ID);

14762: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
14763: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
14764: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
14765: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PROJECT_ID;
14766: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_next_rec.PROJECT_ID);
14767: END IF;
14768: END IF; /* NEXT */
14769:
14770: /* END PROJECT_ID*/

Line 15561: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);

15557: prior_exists := 'Y';
15558: x_line_changed_attr_tbl(ind).attribute_name := 'RETURN_REASON';
15559: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15560: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
15561: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
15562: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
15563: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
15564: END IF;
15565: END IF; /* PRIOR */

Line 15563: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);

15559: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15560: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
15561: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
15562: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
15563: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
15564: END IF;
15565: END IF; /* PRIOR */
15566: /****************************/
15567: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 15572: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);

15568: IF OE_Globals.Equal(
15569: p_curr_rec.RETURN_REASON_CODE,
15570: p_next_rec.RETURN_REASON_CODE) THEN
15571: IF prior_exists = 'Y' THEN
15572: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
15573: END IF;
15574: null;
15575: ELSE
15576: IF prior_exists = 'N' THEN

Line 15582: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);

15578: END IF;
15579: x_line_changed_attr_tbl(ind).attribute_name := 'RETURN_REASON';
15580: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15581: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
15582: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
15583: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
15584: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
15585: x_line_changed_attr_tbl(ind).next_id := p_next_rec.RETURN_REASON_CODE;
15586: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);

Line 15584: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);

15580: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15581: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
15582: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
15583: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
15584: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
15585: x_line_changed_attr_tbl(ind).next_id := p_next_rec.RETURN_REASON_CODE;
15586: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);
15587: END IF;
15588: END IF; /* NEXT */

Line 15586: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);

15582: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
15583: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
15584: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
15585: x_line_changed_attr_tbl(ind).next_id := p_next_rec.RETURN_REASON_CODE;
15586: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);
15587: END IF;
15588: END IF; /* NEXT */
15589:
15590: /* END RETURN_REASON_CODE*/

Line 15648: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);

15644: prior_exists := 'Y';
15645: x_line_changed_attr_tbl(ind).attribute_name := 'SALESREP';
15646: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15647: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
15648: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
15649: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
15650: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
15651: END IF;
15652: END IF; /* PRIOR */

Line 15650: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);

15646: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15647: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
15648: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
15649: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
15650: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
15651: END IF;
15652: END IF; /* PRIOR */
15653: /****************************/
15654: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 15659: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);

15655: IF OE_Globals.Equal(
15656: p_curr_rec.SALESREP_ID,
15657: p_next_rec.SALESREP_ID) THEN
15658: IF prior_exists = 'Y' THEN
15659: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
15660: END IF;
15661: ELSE
15662: IF prior_exists = 'N' THEN
15663: ind := ind+1;

Line 15668: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);

15664: END IF;
15665: x_line_changed_attr_tbl(ind).attribute_name := 'SALESREP';
15666: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15667: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
15668: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
15669: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
15670: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
15671: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SALESREP_ID;
15672: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);

Line 15670: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);

15666: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15667: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
15668: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
15669: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
15670: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
15671: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SALESREP_ID;
15672: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);
15673: END IF;
15674: END IF; /* NEXT */

Line 15672: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);

15668: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
15669: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
15670: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
15671: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SALESREP_ID;
15672: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);
15673: END IF;
15674: END IF; /* NEXT */
15675:
15676: /* END SALESREP_ID*/

Line 15818: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);

15814: prior_exists := 'Y';
15815: x_line_changed_attr_tbl(ind).attribute_name := 'SHIPMENT_PRIORITY';
15816: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15817: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
15818: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
15819: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
15820: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
15821: END IF;
15822: END IF; /* PRIOR */

Line 15820: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);

15816: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15817: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
15818: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
15819: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
15820: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
15821: END IF;
15822: END IF; /* PRIOR */
15823: /****************************/
15824: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 15829: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);

15825: IF OE_Globals.Equal(
15826: p_curr_rec.SHIPMENT_PRIORITY_CODE,
15827: p_next_rec.SHIPMENT_PRIORITY_CODE) THEN
15828: IF prior_exists = 'Y' THEN
15829: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
15830: END IF;
15831: ELSE
15832: IF prior_exists = 'N' THEN
15833: ind := ind+1;

Line 15838: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);

15834: END IF;
15835: x_line_changed_attr_tbl(ind).attribute_name := 'SHIPMENT_PRIORITY';
15836: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15837: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
15838: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
15839: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
15840: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
15841: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPMENT_PRIORITY_CODE;
15842: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);

Line 15840: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);

15836: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15837: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
15838: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
15839: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
15840: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
15841: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPMENT_PRIORITY_CODE;
15842: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);
15843: END IF;
15844: END IF; /* NEXT */

Line 15842: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);

15838: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
15839: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
15840: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
15841: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPMENT_PRIORITY_CODE;
15842: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);
15843: END IF;
15844: END IF; /* NEXT */
15845:
15846: /* END SHIPMENT_PRIORITY_CODE*/

Line 15905: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);

15901: prior_exists := 'Y';
15902: x_line_changed_attr_tbl(ind).attribute_name := 'SHIPPING_METHOD';
15903: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15904: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
15905: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
15906: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
15907: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
15908: END IF;
15909: END IF; /* PRIOR */

Line 15907: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);

15903: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15904: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
15905: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
15906: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
15907: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
15908: END IF;
15909: END IF; /* PRIOR */
15910: /****************************/
15911: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 15916: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);

15912: IF OE_Globals.Equal(
15913: p_curr_rec.SHIPPING_METHOD_CODE,
15914: p_next_rec.SHIPPING_METHOD_CODE) THEN
15915: IF prior_exists = 'Y' THEN
15916: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
15917: END IF;
15918: ELSE
15919: IF prior_exists = 'N' THEN
15920: ind := ind+1;

Line 15925: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);

15921: END IF;
15922: x_line_changed_attr_tbl(ind).attribute_name := 'SHIPPING_METHOD';
15923: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15924: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
15925: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
15926: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
15927: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
15928: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPPING_METHOD_CODE;
15929: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);

Line 15927: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);

15923: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15924: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
15925: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
15926: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
15927: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
15928: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPPING_METHOD_CODE;
15929: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);
15930: END IF;
15931: END IF; /* NEXT */

Line 15929: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);

15925: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
15926: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
15927: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
15928: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPPING_METHOD_CODE;
15929: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);
15930: END IF;
15931: END IF; /* NEXT */
15932:
15933: /* END SHIPPING_METHOD_CODE*/

Line 15951: OE_ID_TO_VALUE.ship_from_Org

15947: prior_exists := 'Y';
15948: x_line_changed_attr_tbl(ind).attribute_name := 'ship_from_location';
15949: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15950: if p_curr_rec.ship_from_org_id is not null then
15951: OE_ID_TO_VALUE.ship_from_Org
15952: ( p_ship_from_org_id => p_curr_rec.ship_from_org_id
15953: , x_ship_from_address1 => x_ship_from_address1
15954: , x_ship_from_address2 => x_ship_from_address2
15955: , x_ship_from_address3 => x_ship_from_address3

Line 15974: OE_ID_TO_VALUE.ship_from_Org

15970: x_line_changed_attr_tbl(ind).current_value := x_current_ship_from_org;
15971: end if;
15972:
15973: if p_prior_rec.ship_from_org_id is not null then
15974: OE_ID_TO_VALUE.ship_from_Org
15975: ( p_ship_from_org_id => p_prior_rec.ship_from_org_id
15976: , x_ship_from_address1 => x_ship_from_address1
15977: , x_ship_from_address2 => x_ship_from_address2
15978: , x_ship_from_address3 => x_ship_from_address3

Line 16014: OE_ID_TO_VALUE.ship_from_Org

16010: x_line_changed_attr_tbl(ind).attribute_name := 'ship_from_Location';
16011: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16012:
16013: if p_prior_rec.ship_from_org_id is not null then
16014: OE_ID_TO_VALUE.ship_from_Org
16015: ( p_ship_from_org_id => p_prior_rec.ship_from_org_id
16016: , x_ship_from_address1 => x_ship_from_address1
16017: , x_ship_from_address2 => x_ship_from_address2
16018: , x_ship_from_address3 => x_ship_from_address3

Line 16037: OE_ID_TO_VALUE.ship_from_Org

16033: x_line_changed_attr_tbl(ind).prior_value := x_prior_ship_from_org;
16034:
16035: end if;
16036: if p_curr_rec.ship_from_org_id is not null then
16037: OE_ID_TO_VALUE.ship_from_Org
16038: ( p_ship_from_org_id => p_curr_rec.ship_from_org_id
16039: , x_ship_from_address1 => x_ship_from_address1
16040: , x_ship_from_address2 => x_ship_from_address2
16041: , x_ship_from_address3 => x_ship_from_address3

Line 16060: OE_ID_TO_VALUE.ship_from_Org

16056: x_line_changed_attr_tbl(ind).current_value := x_current_ship_from_org;
16057: end if;
16058:
16059: if p_next_rec.ship_from_org_id is not null then
16060: OE_ID_TO_VALUE.ship_from_Org
16061: ( p_ship_from_org_id => p_next_rec.ship_from_org_id
16062: , x_ship_from_address1 => x_ship_from_address1
16063: , x_ship_from_address2 => x_ship_from_address2
16064: , x_ship_from_address3 => x_ship_from_address3

Line 16183: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);

16179: prior_exists := 'Y';
16180: x_line_changed_attr_tbl(ind).attribute_name := 'ship_to_contact';
16181: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16182: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16183: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16184: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
16185: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16186: END IF;
16187: END IF; /* PRIOR */

Line 16185: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);

16181: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16182: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16183: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16184: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
16185: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16186: END IF;
16187: END IF; /* PRIOR */
16188: /****************************/
16189: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 16194: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);

16190: IF OE_Globals.Equal(
16191: p_curr_rec.ship_to_contact_id,
16192: p_next_rec.ship_to_contact_id) THEN
16193: IF prior_exists = 'Y' THEN
16194: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16195: END IF;
16196: ELSE
16197: IF prior_exists = 'N' THEN
16198: ind := ind+1;

Line 16203: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);

16199: END IF;
16200: x_line_changed_attr_tbl(ind).attribute_name := 'ship_to_contact';
16201: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16202: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
16203: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16204: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16205: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16206: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ship_to_contact_id;
16207: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);

Line 16205: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);

16201: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16202: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
16203: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16204: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16205: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16206: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ship_to_contact_id;
16207: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);
16208: END IF; /* NEXT */
16209: END IF;

Line 16207: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);

16203: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16204: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16205: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16206: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ship_to_contact_id;
16207: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);
16208: END IF; /* NEXT */
16209: END IF;
16210:
16211: /* END ship_to_contact_id*/

Line 16228: OE_ID_TO_VALUE.ship_to_Org

16224: prior_exists := 'Y';
16225: x_line_changed_attr_tbl(ind).attribute_name := 'ship_to_location';
16226: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16227: if p_curr_rec.ship_to_org_id is not null then
16228: OE_ID_TO_VALUE.ship_to_Org
16229: ( p_ship_to_org_id => p_curr_rec.ship_to_org_id
16230: , x_ship_to_address1 => x_ship_to_address1
16231: , x_ship_to_address2 => x_ship_to_address2
16232: , x_ship_to_address3 => x_ship_to_address3

Line 16259: OE_ID_TO_VALUE.ship_to_Org

16255: x_line_changed_attr_tbl(ind).current_value := x_current_ship_to_address;
16256: end if;
16257:
16258: if p_prior_rec.ship_to_org_id is not null then
16259: OE_ID_TO_VALUE.ship_to_Org
16260: ( p_ship_to_org_id => p_prior_rec.ship_to_org_id
16261: , x_ship_to_address1 => x_ship_to_address1
16262: , x_ship_to_address2 => x_ship_to_address2
16263: , x_ship_to_address3 => x_ship_to_address3

Line 16306: OE_ID_TO_VALUE.ship_to_Org

16302: x_line_changed_attr_tbl(ind).attribute_name := 'ship_to_location';
16303: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16304:
16305: if p_prior_rec.ship_to_org_id is not null then
16306: OE_ID_TO_VALUE.ship_to_Org
16307: ( p_ship_to_org_id => p_prior_rec.ship_to_org_id
16308: , x_ship_to_address1 => x_ship_to_address1
16309: , x_ship_to_address2 => x_ship_to_address2
16310: , x_ship_to_address3 => x_ship_to_address3

Line 16336: OE_ID_TO_VALUE.ship_to_Org

16332: x_line_changed_attr_tbl(ind).prior_value := x_prior_ship_to_address;
16333: end if;
16334:
16335: if p_curr_rec.ship_to_org_id is not null then
16336: OE_ID_TO_VALUE.ship_to_Org
16337: ( p_ship_to_org_id => p_curr_rec.ship_to_org_id
16338: , x_ship_to_address1 => x_ship_to_address1
16339: , x_ship_to_address2 => x_ship_to_address2
16340: , x_ship_to_address3 => x_ship_to_address3

Line 16366: OE_ID_TO_VALUE.ship_to_Org

16362: x_line_changed_attr_tbl(ind).current_value := x_current_ship_to_address;
16363: end if;
16364:
16365: if p_next_rec.ship_to_org_id is not null then
16366: OE_ID_TO_VALUE.ship_to_Org
16367: ( p_ship_to_org_id => p_next_rec.ship_to_org_id
16368: , x_ship_to_address1 => x_ship_to_address1
16369: , x_ship_to_address2 => x_ship_to_address2
16370: , x_ship_to_address3 => x_ship_to_address3

Line 16415: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);

16411: prior_exists := 'Y';
16412: x_line_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT';
16413: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16414: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16415: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16416: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
16417: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16418: END IF;
16419: END IF; /* PRIOR */

Line 16417: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);

16413: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16414: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16415: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16416: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
16417: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16418: END IF;
16419: END IF; /* PRIOR */
16420: /****************************/
16421: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 16426: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);

16422: IF OE_Globals.Equal(
16423: p_curr_rec.TAX_EXEMPT_FLAG,
16424: p_next_rec.TAX_EXEMPT_FLAG) THEN
16425: IF prior_exists = 'Y' THEN
16426: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16427: END IF;
16428: ELSE
16429: IF prior_exists = 'N' THEN
16430: ind := ind+1;

Line 16435: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);

16431: END IF;
16432: x_line_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT';
16433: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16434: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
16435: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16436: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16437: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16438: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_FLAG;
16439: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);

Line 16437: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);

16433: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16434: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
16435: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16436: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16437: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16438: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_FLAG;
16439: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);
16440: END IF;
16441: END IF; /* NEXT */

Line 16439: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);

16435: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16436: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16437: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16438: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_FLAG;
16439: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);
16440: END IF;
16441: END IF; /* NEXT */
16442:
16443: /* END TAX_EXEMPT_FLAG*/

Line 16503: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);

16499: prior_exists := 'Y';
16500: x_line_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT_REASON';
16501: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16502: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
16503: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
16504: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
16505: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
16506: END IF;
16507: END IF; /* PRIOR */

Line 16505: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);

16501: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16502: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
16503: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
16504: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
16505: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
16506: END IF;
16507: END IF; /* PRIOR */
16508: /****************************/
16509: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 16514: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);

16510: IF OE_Globals.Equal(
16511: p_curr_rec.TAX_EXEMPT_REASON_CODE,
16512: p_next_rec.TAX_EXEMPT_REASON_CODE) THEN
16513: IF prior_exists = 'Y' THEN
16514: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
16515: END IF;
16516: ELSE
16517: IF prior_exists = 'N' THEN
16518: ind := ind+1;

Line 16523: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);

16519: END IF;
16520: x_line_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT_REASON';
16521: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16522: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
16523: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
16524: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
16525: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
16526: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_REASON_CODE;
16527: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);

Line 16525: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);

16521: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16522: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
16523: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
16524: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
16525: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
16526: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_REASON_CODE;
16527: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);
16528: END IF;
16529: END IF; /* NEXT */

Line 16527: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);

16523: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
16524: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
16525: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
16526: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_REASON_CODE;
16527: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);
16528: END IF;
16529: END IF; /* NEXT */
16530:
16531: /* END TAX_EXEMPT_REASON_CODE*/

Line 17612: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);

17608: prior_exists := 'Y';
17609: x_line_changed_attr_tbl(ind).attribute_name := 'STATUS';
17610: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17611: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
17612: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
17613: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.FLOW_STATUS_CODE;
17614: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
17615: END IF;
17616: END IF; /* PRIOR */

Line 17614: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);

17610: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17611: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
17612: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
17613: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.FLOW_STATUS_CODE;
17614: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
17615: END IF;
17616: END IF; /* PRIOR */
17617: /****************************/
17618: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 17623: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);

17619: IF OE_Globals.Equal(
17620: p_curr_rec.FLOW_STATUS_CODE,
17621: p_next_rec.FLOW_STATUS_CODE) THEN
17622: IF prior_exists = 'Y' THEN
17623: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
17624: END IF;
17625: ELSE
17626: IF prior_exists = 'N' THEN
17627: ind := ind+1;

Line 17632: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);

17628: END IF;
17629: x_line_changed_attr_tbl(ind).attribute_name := 'STATUS';
17630: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17631: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.FLOW_STATUS_CODE;
17632: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
17633: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
17634: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
17635: x_line_changed_attr_tbl(ind).next_id := p_next_rec.FLOW_STATUS_CODE;
17636: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_next_rec.FLOW_STATUS_CODE);

Line 17634: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);

17630: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17631: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.FLOW_STATUS_CODE;
17632: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
17633: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
17634: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
17635: x_line_changed_attr_tbl(ind).next_id := p_next_rec.FLOW_STATUS_CODE;
17636: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_next_rec.FLOW_STATUS_CODE);
17637: END IF;
17638: END IF; /* NEXT */

Line 17636: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_next_rec.FLOW_STATUS_CODE);

17632: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
17633: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
17634: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
17635: x_line_changed_attr_tbl(ind).next_id := p_next_rec.FLOW_STATUS_CODE;
17636: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_next_rec.FLOW_STATUS_CODE);
17637: END IF;
17638: END IF; /* NEXT */
17639:
17640: /* END FLOW_STATUS_CODE*/

Line 17699: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);

17695: prior_exists := 'Y';
17696: x_line_changed_attr_tbl(ind).attribute_name := 'COMMITMENT';
17697: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17698: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
17699: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
17700: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.COMMITMENT_ID;
17701: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
17702: END IF;
17703: END IF; /* PRIOR */

Line 17701: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);

17697: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17698: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
17699: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
17700: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.COMMITMENT_ID;
17701: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
17702: END IF;
17703: END IF; /* PRIOR */
17704: /****************************/
17705: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 17710: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);

17706: IF OE_Globals.Equal(
17707: p_curr_rec.COMMITMENT_ID,
17708: p_next_rec.COMMITMENT_ID) THEN
17709: IF prior_exists = 'Y' THEN
17710: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
17711: END IF;
17712: ELSE
17713: IF prior_exists = 'N' THEN
17714: ind := ind+1;

Line 17719: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);

17715: END IF;
17716: x_line_changed_attr_tbl(ind).attribute_name := 'COMMITMENT';
17717: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17718: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.COMMITMENT_ID;
17719: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
17720: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
17721: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
17722: x_line_changed_attr_tbl(ind).next_id := p_next_rec.COMMITMENT_ID;
17723: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_next_rec.COMMITMENT_ID);

Line 17721: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);

17717: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17718: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.COMMITMENT_ID;
17719: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
17720: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
17721: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
17722: x_line_changed_attr_tbl(ind).next_id := p_next_rec.COMMITMENT_ID;
17723: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_next_rec.COMMITMENT_ID);
17724: END IF;
17725: END IF; /* NEXT */

Line 17723: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_next_rec.COMMITMENT_ID);

17719: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
17720: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
17721: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
17722: x_line_changed_attr_tbl(ind).next_id := p_next_rec.COMMITMENT_ID;
17723: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_next_rec.COMMITMENT_ID);
17724: END IF;
17725: END IF; /* NEXT */
17726:
17727: /* END COMMITMENT_ID*/

Line 17746: OE_ID_TO_VALUE.Item_Relationship_Type

17742: prior_exists := 'Y';
17743: x_line_changed_attr_tbl(ind).attribute_name := 'Item_Relationship_Type_dsp';
17744: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17745: if p_curr_rec.Item_Relationship_Type is not null then
17746: OE_ID_TO_VALUE.Item_Relationship_Type
17747: ( p_Item_Relationship_Type => p_curr_rec.item_relationship_type
17748: , x_Item_Relationship_Type_Dsp => x_current_item_rel_type
17749: );
17750: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Item_Relationship_Type;

Line 17755: OE_ID_TO_VALUE.Item_Relationship_Type

17751: x_line_changed_attr_tbl(ind).current_value := x_current_item_rel_type;
17752: end if;
17753:
17754: if p_prior_rec.Item_Relationship_Type is not null then
17755: OE_ID_TO_VALUE.Item_Relationship_Type
17756: ( p_Item_Relationship_Type => p_prior_rec.item_relationship_type
17757: , x_Item_Relationship_Type_Dsp => x_prior_item_rel_type
17758: );
17759:

Line 17782: OE_ID_TO_VALUE.item_relationship_type

17778: x_line_changed_attr_tbl(ind).attribute_name := 'Item_Relationship_Type_dsp';
17779: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17780:
17781: if p_prior_rec.Item_Relationship_Type is not null then
17782: OE_ID_TO_VALUE.item_relationship_type
17783: ( p_Item_Relationship_Type => p_prior_rec.item_relationship_type
17784: , x_Item_Relationship_Type_Dsp => x_prior_item_rel_type
17785: );
17786: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Item_Relationship_Type;

Line 17791: OE_ID_TO_VALUE.Item_Relationship_Type

17787: x_line_changed_attr_tbl(ind).prior_value := x_prior_item_rel_type;
17788: end if;
17789:
17790: if p_curr_rec.Item_Relationship_Type is not null then
17791: OE_ID_TO_VALUE.Item_Relationship_Type
17792: ( p_Item_Relationship_Type => p_curr_Rec.item_relationship_type
17793: , x_Item_Relationship_Type_Dsp => x_current_item_rel_type
17794: );
17795: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Item_Relationship_Type;

Line 17800: OE_ID_TO_VALUE.Item_Relationship_Type

17796: x_line_changed_attr_tbl(ind).current_value := x_current_item_rel_type;
17797: END IF;
17798:
17799: if p_next_rec.Item_Relationship_Type is not null then
17800: OE_ID_TO_VALUE.Item_Relationship_Type
17801: ( p_Item_Relationship_Type => p_next_Rec.item_relationship_type
17802: , x_Item_Relationship_Type_Dsp => x_next_item_rel_type
17803: );
17804: x_line_changed_attr_tbl(ind).next_id := p_next_rec.Item_Relationship_Type;

Line 18657: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18653: null;
18654: ELSE
18655: ind := ind+1;
18656: prior_exists := 'Y';
18657: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18658: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute1';
18659: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute1;
18660: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute1;
18661: END IF;

Line 18675: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18671: ELSE
18672: IF prior_exists = 'N' THEN
18673: ind := ind+1;
18674: END IF;
18675: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18676: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute1';
18677: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute1;
18678: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute1;
18679: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute1;

Line 18698: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18694: null;
18695: ELSE
18696: ind := ind+1;
18697: prior_exists := 'Y';
18698: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18699: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute2';
18700: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute2;
18701: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute2;
18702: END IF;

Line 18716: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18712: ELSE
18713: IF prior_exists = 'N' THEN
18714: ind := ind+1;
18715: END IF;
18716: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18717: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute2';
18718: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute2;
18719: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute2;
18720: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute2;

Line 18738: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18734: null;
18735: ELSE
18736: ind := ind+1;
18737: prior_exists := 'Y';
18738: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18739: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute3';
18740: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute3;
18741: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute3;
18742: END IF;

Line 18756: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18752: ELSE
18753: IF prior_exists = 'N' THEN
18754: ind := ind+1;
18755: END IF;
18756: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18757: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute3';
18758: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute3;
18759: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute3;
18760: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute3;

Line 18779: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18775: null;
18776: ELSE
18777: ind := ind+1;
18778: prior_exists := 'Y';
18779: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18780: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute4';
18781: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute4;
18782: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute4;
18783: END IF;

Line 18797: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18793: ELSE
18794: IF prior_exists = 'N' THEN
18795: ind := ind+1;
18796: END IF;
18797: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18798: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute4';
18799: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute4;
18800: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute4;
18801: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute4;

Line 18819: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18815: null;
18816: ELSE
18817: ind := ind+1;
18818: prior_exists := 'Y';
18819: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18820: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute5';
18821: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute5;
18822: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute5;
18823: END IF;

Line 18837: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18833: ELSE
18834: IF prior_exists = 'N' THEN
18835: ind := ind+1;
18836: END IF;
18837: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18838: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute5';
18839: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute5;
18840: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute5;
18841: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute5;

Line 18860: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18856: null;
18857: ELSE
18858: ind := ind+1;
18859: prior_exists := 'Y';
18860: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18861: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute6';
18862: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute6;
18863: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute6;
18864: END IF;

Line 18879: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18875: IF prior_exists = 'N' THEN
18876: ind := ind+1;
18877: END IF;
18878: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute6';
18879: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18880: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute6;
18881: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute6;
18882: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute6;
18883: END IF;

Line 18900: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18896: null;
18897: ELSE
18898: ind := ind+1;
18899: prior_exists := 'Y';
18900: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18901: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute7';
18902: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute7;
18903: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute7;
18904: END IF;

Line 18918: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18914: ELSE
18915: IF prior_exists = 'N' THEN
18916: ind := ind+1;
18917: END IF;
18918: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18919: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute7';
18920: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute7;
18921: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute7;
18922: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute7;

Line 18941: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18937: null;
18938: ELSE
18939: ind := ind+1;
18940: prior_exists := 'Y';
18941: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18942: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute8';
18943: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute8;
18944: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute8;
18945: END IF;

Line 18959: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18955: ELSE
18956: IF prior_exists = 'N' THEN
18957: ind := ind+1;
18958: END IF;
18959: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18960: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute8';
18961: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute8;
18962: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute8;
18963: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute8;

Line 18981: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18977: null;
18978: ELSE
18979: ind := ind+1;
18980: prior_exists := 'Y';
18981: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
18982: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute9';
18983: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute9;
18984: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute9;
18985: END IF;

Line 18999: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

18995: ELSE
18996: IF prior_exists = 'N' THEN
18997: ind := ind+1;
18998: END IF;
18999: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19000: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute9';
19001: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute9;
19002: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute9;
19003: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute9;

Line 19022: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19018: null;
19019: ELSE
19020: ind := ind+1;
19021: prior_exists := 'Y';
19022: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19023: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute10';
19024: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute10;
19025: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute10;
19026: END IF;

Line 19040: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19036: ELSE
19037: IF prior_exists = 'N' THEN
19038: ind := ind+1;
19039: END IF;
19040: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19041: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute10';
19042: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute10;
19043: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute10;
19044: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute10;

Line 19063: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19059: null;
19060: ELSE
19061: ind := ind+1;
19062: prior_exists := 'Y';
19063: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19064: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute11';
19065: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute11;
19066: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute11;
19067: END IF;

Line 19081: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19077: ELSE
19078: IF prior_exists = 'N' THEN
19079: ind := ind+1;
19080: END IF;
19081: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19082: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute11';
19083: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute11;
19084: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute11;
19085: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute11;

Line 19104: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19100: null;
19101: ELSE
19102: ind := ind+1;
19103: prior_exists := 'Y';
19104: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19105: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute12';
19106: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute12;
19107: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute12;
19108: END IF;

Line 19122: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19118: ELSE
19119: IF prior_exists = 'N' THEN
19120: ind := ind+1;
19121: END IF;
19122: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19123: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute12';
19124: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute12;
19125: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute12;
19126: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute12;

Line 19145: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19141: null;
19142: ELSE
19143: ind := ind+1;
19144: prior_exists := 'Y';
19145: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19146: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute13';
19147: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute13;
19148: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute13;
19149: END IF;

Line 19163: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19159: ELSE
19160: IF prior_exists = 'N' THEN
19161: ind := ind+1;
19162: END IF;
19163: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19164: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute13';
19165: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute13;
19166: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute13;
19167: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute13;

Line 19186: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19182: null;
19183: ELSE
19184: ind := ind+1;
19185: prior_exists := 'Y';
19186: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19187: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute14';
19188: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute14;
19189: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute14;
19190: END IF;

Line 19204: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19200: ELSE
19201: IF prior_exists = 'N' THEN
19202: ind := ind+1;
19203: END IF;
19204: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19205: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute14';
19206: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute14;
19207: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute14;
19208: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute14;

Line 19227: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19223: null;
19224: ELSE
19225: ind := ind+1;
19226: prior_exists := 'Y';
19227: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19228: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute15';
19229: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute15;
19230: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute15;
19231: END IF;

Line 19245: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19241: ELSE
19242: IF prior_exists = 'N' THEN
19243: ind := ind+1;
19244: END IF;
19245: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19246: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute15';
19247: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute15;
19248: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute15;
19249: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute15;

Line 19267: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19263: null;
19264: ELSE
19265: ind := ind+1;
19266: prior_exists := 'Y';
19267: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19268: x_header_sc_changed_attr_tbl(ind).attribute_name := 'context';
19269: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.context;
19270: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.context;
19271: END IF;

Line 19285: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19281: ELSE
19282: IF prior_exists = 'N' THEN
19283: ind := ind+1;
19284: END IF;
19285: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19286: x_header_sc_changed_attr_tbl(ind).attribute_name := 'context';
19287: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.context;
19288: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.context;
19289: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.context;

Line 19309: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19305: null;
19306: ELSE
19307: ind := ind+1;
19308: prior_exists := 'Y';
19309: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19310: x_header_sc_changed_attr_tbl(ind).attribute_name := 'PERCENT';
19311: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.PERCENT;
19312: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.PERCENT;
19313: END IF;

Line 19327: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19323: ELSE
19324: IF prior_exists = 'N' THEN
19325: ind := ind+1;
19326: END IF;
19327: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19328: x_header_sc_changed_attr_tbl(ind).attribute_name := 'PERCENT';
19329: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.PERCENT;
19330: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.PERCENT;
19331: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.PERCENT;

Line 19349: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19345: null;
19346: ELSE
19347: ind := ind+1;
19348: prior_exists := 'Y';
19349: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19350: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19351: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19352: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19353: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;

Line 19352: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

19348: prior_exists := 'Y';
19349: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19350: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19351: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19352: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19353: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19354: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19355: END IF;
19356: END IF; /* PRIOR */

Line 19354: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);

19350: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19351: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19352: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19353: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19354: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19355: END IF;
19356: END IF; /* PRIOR */
19357: /****************************/
19358: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 19363: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

19359: IF OE_Globals.Equal(
19360: p_curr_rec.sales_credit_type_id,
19361: p_next_rec.sales_credit_type_id) THEN
19362: IF prior_exists = 'Y' THEN
19363: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19364: END IF;
19365: ELSE
19366: IF prior_exists = 'N' THEN
19367: ind := ind+1;

Line 19369: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19365: ELSE
19366: IF prior_exists = 'N' THEN
19367: ind := ind+1;
19368: END IF;
19369: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19370: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19371: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19372: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19373: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;

Line 19372: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);

19368: END IF;
19369: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19370: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19371: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19372: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19373: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19374: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19375: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
19376: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);

Line 19374: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

19370: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19371: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19372: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19373: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19374: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19375: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
19376: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);
19377: END IF;
19378: END IF; /* NEXT */

Line 19376: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);

19372: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19373: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19374: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19375: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
19376: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);
19377: END IF;
19378: END IF; /* NEXT */
19379:
19380: /* END sales_credit_type_id*/

Line 19400: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19396: null;
19397: ELSE
19398: ind := ind+1;
19399: prior_exists := 'Y';
19400: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19401: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19402: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19403: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19404: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;

Line 19403: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

19399: prior_exists := 'Y';
19400: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19401: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19402: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19403: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19404: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19405: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19406: END IF;
19407: END IF; /* PRIOR */

Line 19405: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);

19401: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19402: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19403: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19404: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19405: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19406: END IF;
19407: END IF; /* PRIOR */
19408: /****************************/
19409: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 19414: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

19410: IF OE_Globals.Equal(
19411: p_curr_rec.sales_group_id,
19412: p_next_rec.sales_group_id) THEN
19413: IF prior_exists = 'Y' THEN
19414: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19415: END IF;
19416: ELSE
19417: IF prior_exists = 'N' THEN
19418: ind := ind+1;

Line 19420: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19416: ELSE
19417: IF prior_exists = 'N' THEN
19418: ind := ind+1;
19419: END IF;
19420: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19421: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19422: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19423: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19424: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;

Line 19423: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);

19419: END IF;
19420: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19421: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19422: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19423: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19424: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19425: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19426: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
19427: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);

Line 19425: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

19421: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19422: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19423: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19424: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19425: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19426: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
19427: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);
19428: END IF;
19429: END IF; /* NEXT */

Line 19427: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);

19423: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19424: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19425: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19426: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
19427: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);
19428: END IF;
19429: END IF; /* NEXT */
19430:
19431: /* END sales_group_id*/

Line 19441: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);

19437: p_prior_rec.salesrep_id,
19438: p_curr_rec.salesrep_id) THEN
19439: If p_prior_version IS NOT NULL THEN
19440: ind := ind+1;
19441: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);
19442: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19443: x_header_sc_changed_attr_tbl(ind).current_value := null;
19444: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
19445: ind := ind+1;

Line 19446: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19442: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19443: x_header_sc_changed_attr_tbl(ind).current_value := null;
19444: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
19445: ind := ind+1;
19446: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19447: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19448: x_header_sc_changed_attr_tbl(ind).current_value := null;
19449: x_header_sc_changed_attr_tbl(ind).next_value := 'ADD';
19450: END IF; /* prior version is not null */

Line 19458: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19454: p_curr_rec.salesrep_id,
19455: p_next_rec.salesrep_id) THEN
19456: IF p_next_version IS NOT NULL THEN
19457: ind := ind+1;
19458: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19459: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19460: x_header_sc_changed_attr_tbl(ind).current_value := null;
19461: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
19462: ind := ind+1;

Line 19463: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);

19459: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19460: x_header_sc_changed_attr_tbl(ind).current_value := null;
19461: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
19462: ind := ind+1;
19463: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);
19464: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19465: x_header_sc_changed_attr_tbl(ind).current_value := null;
19466: x_header_sc_changed_attr_tbl(ind).next_value := 'ADD';
19467: END IF; /* next version is not null */

Line 19487: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19483: IF l_debug_level > 0 THEN
19484: oe_debug_pub.add(' Prior is not there - current is there');
19485: END IF;
19486: ind := ind+1;
19487: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19488: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19489: x_header_sc_changed_attr_tbl(ind).current_value := 'ADD';
19490: x_header_sc_changed_attr_tbl(ind).next_value := null;
19491: ELSIF (p_curr_rec_exists = 'N' and p_next_rec_exists = 'Y') THEN

Line 19496: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);

19492: IF l_debug_level > 0 THEN
19493: oe_debug_pub.add(' Current is not there - next is there');
19494: END IF;
19495: ind := ind+1;
19496: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);
19497: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19498: x_header_sc_changed_attr_tbl(ind).current_value := null;
19499: x_header_sc_changed_attr_tbl(ind).next_value := 'ADD';
19500: end if;

Line 19517: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);

19513: IF l_debug_level > 0 THEN
19514: oe_debug_pub.add(' Prior is there - current is not there');
19515: END IF;
19516: ind := ind+1;
19517: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);
19518: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19519: x_header_sc_changed_attr_tbl(ind).current_value := 'DELETE';
19520: x_header_sc_changed_attr_tbl(ind).next_value := null;
19521: ELSIF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'N' THEN

Line 19531: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

19527: IF l_debug_level > 0 THEN
19528: oe_debug_pub.add(' Current is there - next is not there');
19529: END IF;
19530: ind := ind+1;
19531: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19532: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19533: x_header_sc_changed_attr_tbl(ind).current_value := null;
19534: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
19535: --end if;

Line 20072: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20068: ELSE
20069: ind := ind+1;
20070: prior_exists := 'Y';
20071: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20072: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20073: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute1';
20074: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute1;
20075: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute1;
20076: END IF;

Line 20091: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20087: IF prior_exists = 'N' THEN
20088: ind := ind+1;
20089: END IF;
20090: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20091: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20092: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute1';
20093: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute1;
20094: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute1;
20095: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute1;

Line 20115: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20111: ELSE
20112: ind := ind+1;
20113: prior_exists := 'Y';
20114: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20115: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20116: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute2';
20117: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute2;
20118: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute2;
20119: END IF;

Line 20134: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20130: IF prior_exists = 'N' THEN
20131: ind := ind+1;
20132: END IF;
20133: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20134: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20135: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute2';
20136: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute2;
20137: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute2;
20138: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute2;

Line 20157: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20153: ELSE
20154: ind := ind+1;
20155: prior_exists := 'Y';
20156: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20157: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20158: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute3';
20159: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute3;
20160: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute3;
20161: END IF;

Line 20176: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20172: IF prior_exists = 'N' THEN
20173: ind := ind+1;
20174: END IF;
20175: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20176: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20177: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute3';
20178: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute3;
20179: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute3;
20180: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute3;

Line 20200: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20196: ELSE
20197: ind := ind+1;
20198: prior_exists := 'Y';
20199: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20200: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20201: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute4';
20202: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute4;
20203: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute4;
20204: END IF;

Line 20219: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20215: IF prior_exists = 'N' THEN
20216: ind := ind+1;
20217: END IF;
20218: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20219: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20220: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute4';
20221: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute4;
20222: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute4;
20223: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute4;

Line 20242: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20238: ELSE
20239: ind := ind+1;
20240: prior_exists := 'Y';
20241: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20242: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20243: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute5';
20244: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute5;
20245: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute5;
20246: END IF;

Line 20261: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20257: IF prior_exists = 'N' THEN
20258: ind := ind+1;
20259: END IF;
20260: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20261: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20262: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute5';
20263: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute5;
20264: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute5;
20265: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute5;

Line 20285: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20281: ELSE
20282: ind := ind+1;
20283: prior_exists := 'Y';
20284: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20285: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20286: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute6';
20287: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute6;
20288: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute6;
20289: END IF;

Line 20305: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20301: ind := ind+1;
20302: END IF;
20303: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20304: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute6';
20305: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20306: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute6;
20307: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute6;
20308: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute6;
20309: END IF;

Line 20327: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20323: ELSE
20324: ind := ind+1;
20325: prior_exists := 'Y';
20326: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20327: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20328: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute7';
20329: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute7;
20330: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute7;
20331: END IF;

Line 20346: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20342: IF prior_exists = 'N' THEN
20343: ind := ind+1;
20344: END IF;
20345: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20346: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20347: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute7';
20348: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute7;
20349: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute7;
20350: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute7;

Line 20370: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20366: ELSE
20367: ind := ind+1;
20368: prior_exists := 'Y';
20369: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20370: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20371: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute8';
20372: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute8;
20373: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute8;
20374: END IF;

Line 20389: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20385: IF prior_exists = 'N' THEN
20386: ind := ind+1;
20387: END IF;
20388: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20389: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20390: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute8';
20391: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute8;
20392: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute8;
20393: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute8;

Line 20412: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20408: ELSE
20409: ind := ind+1;
20410: prior_exists := 'Y';
20411: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20412: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20413: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute9';
20414: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute9;
20415: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute9;
20416: END IF;

Line 20431: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20427: IF prior_exists = 'N' THEN
20428: ind := ind+1;
20429: END IF;
20430: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20431: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20432: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute9';
20433: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute9;
20434: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute9;
20435: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute9;

Line 20455: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20451: ELSE
20452: ind := ind+1;
20453: prior_exists := 'Y';
20454: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20455: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20456: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute10';
20457: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute10;
20458: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute10;
20459: END IF;

Line 20474: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20470: IF prior_exists = 'N' THEN
20471: ind := ind+1;
20472: END IF;
20473: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20474: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20475: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute10';
20476: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute10;
20477: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute10;
20478: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute10;

Line 20498: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20494: ELSE
20495: ind := ind+1;
20496: prior_exists := 'Y';
20497: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20498: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20499: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute11';
20500: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute11;
20501: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute11;
20502: END IF;

Line 20517: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20513: IF prior_exists = 'N' THEN
20514: ind := ind+1;
20515: END IF;
20516: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20517: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20518: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute11';
20519: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute11;
20520: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute11;
20521: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute11;

Line 20541: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20537: ELSE
20538: ind := ind+1;
20539: prior_exists := 'Y';
20540: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20541: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20542: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute12';
20543: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute12;
20544: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute12;
20545: END IF;

Line 20560: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20556: IF prior_exists = 'N' THEN
20557: ind := ind+1;
20558: END IF;
20559: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20560: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20561: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute12';
20562: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute12;
20563: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute12;
20564: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute12;

Line 20584: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20580: ELSE
20581: ind := ind+1;
20582: prior_exists := 'Y';
20583: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20584: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20585: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute13';
20586: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute13;
20587: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute13;
20588: END IF;

Line 20603: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20599: IF prior_exists = 'N' THEN
20600: ind := ind+1;
20601: END IF;
20602: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20603: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20604: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute13';
20605: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute13;
20606: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute13;
20607: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute13;

Line 20627: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20623: ELSE
20624: ind := ind+1;
20625: prior_exists := 'Y';
20626: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20627: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20628: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute14';
20629: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute14;
20630: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute14;
20631: END IF;

Line 20646: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20642: IF prior_exists = 'N' THEN
20643: ind := ind+1;
20644: END IF;
20645: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20646: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20647: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute14';
20648: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute14;
20649: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute14;
20650: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute14;

Line 20670: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20666: ELSE
20667: ind := ind+1;
20668: prior_exists := 'Y';
20669: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20670: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20671: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute15';
20672: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute15;
20673: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute15;
20674: END IF;

Line 20689: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20685: IF prior_exists = 'N' THEN
20686: ind := ind+1;
20687: END IF;
20688: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20689: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20690: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute15';
20691: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute15;
20692: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute15;
20693: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute15;

Line 20712: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20708: ELSE
20709: ind := ind+1;
20710: prior_exists := 'Y';
20711: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20712: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20713: x_line_sc_changed_attr_tbl(ind).attribute_name := 'context';
20714: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.context;
20715: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.context;
20716: END IF;

Line 20731: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20727: IF prior_exists = 'N' THEN
20728: ind := ind+1;
20729: END IF;
20730: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20731: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20732: x_line_sc_changed_attr_tbl(ind).attribute_name := 'context';
20733: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.context;
20734: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.context;
20735: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.context;

Line 20756: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20752: ELSE
20753: ind := ind+1;
20754: prior_exists := 'Y';
20755: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20756: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20757: x_line_sc_changed_attr_tbl(ind).attribute_name := 'PERCENT';
20758: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.PERCENT;
20759: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.PERCENT;
20760: END IF;

Line 20775: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20771: IF prior_exists = 'N' THEN
20772: ind := ind+1;
20773: END IF;
20774: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20775: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20776: x_line_sc_changed_attr_tbl(ind).attribute_name := 'PERCENT';
20777: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.PERCENT;
20778: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.PERCENT;
20779: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.PERCENT;

Line 20798: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20794: ELSE
20795: ind := ind+1;
20796: prior_exists := 'Y';
20797: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20798: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20799: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
20800: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
20801: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
20802: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;

Line 20801: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

20797: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20798: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20799: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
20800: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
20801: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
20802: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
20803: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
20804: END IF;
20805: END IF; /* PRIOR */

Line 20803: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);

20799: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
20800: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
20801: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
20802: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
20803: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
20804: END IF;
20805: END IF; /* PRIOR */
20806: /****************************/
20807: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 20812: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

20808: IF OE_Globals.Equal(
20809: p_curr_rec.sales_credit_type_id,
20810: p_next_rec.sales_credit_type_id) THEN
20811: IF prior_exists = 'Y' THEN
20812: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
20813: END IF;
20814: ELSE
20815: IF prior_exists = 'N' THEN
20816: ind := ind+1;

Line 20819: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20815: IF prior_exists = 'N' THEN
20816: ind := ind+1;
20817: END IF;
20818: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20819: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20820: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
20821: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
20822: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
20823: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;

Line 20822: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);

20818: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20819: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20820: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
20821: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
20822: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
20823: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
20824: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
20825: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
20826: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);

Line 20824: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

20820: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
20821: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
20822: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
20823: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
20824: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
20825: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
20826: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);
20827: END IF;
20828: END IF; /* NEXT */

Line 20826: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);

20822: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
20823: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
20824: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
20825: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
20826: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);
20827: END IF;
20828: END IF; /* NEXT */
20829:
20830: /* END sales_credit_type_id*/

Line 20846: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20842: ELSE
20843: ind := ind+1;
20844: prior_exists := 'Y';
20845: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20846: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20847: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
20848: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
20849: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
20850: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;

Line 20849: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

20845: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20846: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20847: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
20848: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
20849: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
20850: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
20851: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
20852: END IF;
20853: END IF; /* PRIOR */

Line 20851: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);

20847: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
20848: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
20849: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
20850: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
20851: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
20852: END IF;
20853: END IF; /* PRIOR */
20854: /****************************/
20855: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 20860: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

20856: IF OE_Globals.Equal(
20857: p_curr_rec.sales_group_id,
20858: p_next_rec.sales_group_id) THEN
20859: IF prior_exists = 'Y' THEN
20860: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
20861: END IF;
20862: ELSE
20863: IF prior_exists = 'N' THEN
20864: ind := ind+1;

Line 20867: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20863: IF prior_exists = 'N' THEN
20864: ind := ind+1;
20865: END IF;
20866: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20867: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20868: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
20869: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
20870: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
20871: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;

Line 20870: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);

20866: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20867: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20868: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
20869: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
20870: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
20871: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
20872: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
20873: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
20874: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);

Line 20872: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

20868: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
20869: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
20870: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
20871: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
20872: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
20873: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
20874: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);
20875: END IF;
20876: END IF; /* NEXT */

Line 20874: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);

20870: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
20871: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
20872: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
20873: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
20874: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);
20875: END IF;
20876: END IF; /* NEXT */
20877:
20878: /* END sales_group_id*/

Line 20890: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);

20886: p_curr_rec.salesrep_id) THEN
20887: IF p_prior_version IS NOT NULL THEN
20888: ind := ind+1;
20889: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20890: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);
20891: x_line_sc_changed_attr_tbl(ind).prior_value := null;
20892: x_line_sc_changed_attr_tbl(ind).current_value := null;
20893: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
20894: ind := ind+1;

Line 20896: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20892: x_line_sc_changed_attr_tbl(ind).current_value := null;
20893: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
20894: ind := ind+1;
20895: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20896: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20897: x_line_sc_changed_attr_tbl(ind).prior_value := null;
20898: x_line_sc_changed_attr_tbl(ind).current_value := null;
20899: x_line_sc_changed_attr_tbl(ind).next_value := 'ADD';
20900: END IF; /*prior version is not null */

Line 20909: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20905: p_next_rec.salesrep_id) THEN
20906: IF p_next_version IS NOT NULL THEN
20907: ind := ind+1;
20908: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20909: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20910: x_line_sc_changed_attr_tbl(ind).prior_value := null;
20911: x_line_sc_changed_attr_tbl(ind).current_value := null;
20912: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
20913: ind := ind+1;

Line 20915: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);

20911: x_line_sc_changed_attr_tbl(ind).current_value := null;
20912: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
20913: ind := ind+1;
20914: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20915: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);
20916: x_line_sc_changed_attr_tbl(ind).prior_value := null;
20917: x_line_sc_changed_attr_tbl(ind).current_value := null;
20918: x_line_sc_changed_attr_tbl(ind).next_value := 'ADD';
20919: END IF; /*next version is not null */

Line 20940: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20936: oe_debug_pub.add(' Prior is not there - current is there');
20937: END IF;
20938: ind := ind+1;
20939: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20940: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20941: x_line_sc_changed_attr_tbl(ind).prior_value := null;
20942: x_line_sc_changed_attr_tbl(ind).current_value := 'ADD';
20943: x_line_sc_changed_attr_tbl(ind).next_value := null;
20944: ELSIF (p_curr_rec_exists = 'N' and p_next_rec_exists = 'Y') THEN

Line 20950: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);

20946: oe_debug_pub.add(' Current is not there - next is there');
20947: END IF;
20948: ind := ind+1;
20949: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20950: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);
20951: x_line_sc_changed_attr_tbl(ind).prior_value := null;
20952: x_line_sc_changed_attr_tbl(ind).current_value := null;
20953: x_line_sc_changed_attr_tbl(ind).next_value := 'ADD';
20954: end if;

Line 20972: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);

20968: oe_debug_pub.add(' Prior is there - current is not there');
20969: END IF;
20970: ind := ind+1;
20971: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20972: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);
20973: x_line_sc_changed_attr_tbl(ind).prior_value := null;
20974: x_line_sc_changed_attr_tbl(ind).current_value := 'DELETE';
20975: x_line_sc_changed_attr_tbl(ind).next_value := null;
20976: ELSIF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'N' THEN

Line 20987: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20983: oe_debug_pub.add(' Current is there - next is not there');
20984: END IF;
20985: ind := ind+1;
20986: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20987: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20988: x_line_sc_changed_attr_tbl(ind).prior_value := null;
20989: x_line_sc_changed_attr_tbl(ind).current_value := null;
20990: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
20991: --end if;