DBA Data[Home] [Help]

APPS.OE_VERSION_COMP dependencies on OE_ID_TO_VALUE

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 2175: OE_ID_TO_VALUE.deliver_To_Org

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

Line 2206: OE_ID_TO_VALUE.deliver_To_Org

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

Line 2252: OE_ID_TO_VALUE.deliver_To_Org

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

Line 2282: OE_ID_TO_VALUE.deliver_To_Org

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

Line 2312: OE_ID_TO_VALUE.deliver_To_Org

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 2556: 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);

2552: ind := ind+1;
2553: prior_exists := 'Y';
2554: x_header_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
2555: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2556: 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);
2557: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
2558: 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);
2559: END IF;
2560: END IF; /* PRIOR */

Line 2558: 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);

2554: x_header_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
2555: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2556: 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);
2557: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
2558: 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);
2559: END IF;
2560: END IF; /* PRIOR */
2561: /****************************/
2562: IF p_next_version IS NOT NULL THEN

Line 2567: 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);

2563: IF OE_Globals.Equal(
2564: p_curr_rec.freight_carrier_code,
2565: p_next_rec.freight_carrier_code) THEN
2566: IF prior_exists = 'Y' THEN
2567: 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);
2568: END IF;
2569: null;
2570: ELSE
2571: IF prior_exists = 'N' THEN

Line 2576: 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);

2572: ind := ind+1;
2573: END IF;
2574: x_header_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
2575: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
2576: 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);
2577: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2578: 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);
2579: x_header_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
2580: 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 2578: 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);

2574: x_header_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
2575: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
2576: 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);
2577: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2578: 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);
2579: x_header_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
2580: 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);
2581: END IF;
2582: END IF; /* NEXT */

Line 2580: 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);

2576: 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);
2577: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
2578: 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);
2579: x_header_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
2580: 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);
2581: END IF;
2582: END IF; /* NEXT */
2583:
2584: /* END freight_carrier_code*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 3502: OE_ID_TO_VALUE.invoice_to_Org

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

Line 3533: OE_ID_TO_VALUE.invoice_to_Org

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

Line 3579: OE_ID_TO_VALUE.invoice_to_Org

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

Line 3609: OE_ID_TO_VALUE.invoice_to_Org

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

Line 3639: OE_ID_TO_VALUE.invoice_to_Org

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 4481: OE_ID_TO_VALUE.ship_from_Org

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

Line 4504: OE_ID_TO_VALUE.ship_from_Org

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

Line 4543: OE_ID_TO_VALUE.ship_from_Org

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

Line 4566: OE_ID_TO_VALUE.ship_from_Org

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

Line 4589: OE_ID_TO_VALUE.ship_from_Org

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 4751: OE_ID_TO_VALUE.ship_to_Org

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

Line 4782: OE_ID_TO_VALUE.ship_to_Org

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

Line 4828: OE_ID_TO_VALUE.ship_to_Org

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

Line 4857: OE_ID_TO_VALUE.ship_to_Org

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

Line 4887: OE_ID_TO_VALUE.ship_to_Org

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

6126: ind := ind+1;
6127: prior_exists := 'Y';
6128: x_header_changed_attr_tbl(ind).attribute_name := 'status';
6129: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6130: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6131: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.flow_status_code;
6132: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6133: END IF;
6134: END IF; /* PRIOR */

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

6128: x_header_changed_attr_tbl(ind).attribute_name := 'status';
6129: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6130: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6131: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.flow_status_code;
6132: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6133: END IF;
6134: END IF; /* PRIOR */
6135: /****************************/
6136: IF p_next_version IS NOT NULL THEN

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

6137: IF OE_Globals.Equal(
6138: p_curr_rec.flow_status_code,
6139: p_next_rec.flow_status_code) THEN
6140: IF prior_exists = 'Y' THEN
6141: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6142: END IF;
6143: ELSE
6144: IF prior_exists = 'N' THEN
6145: ind := ind+1;

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

6145: ind := ind+1;
6146: END IF;
6147: x_header_changed_attr_tbl(ind).attribute_name := 'status';
6148: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.flow_status_code;
6149: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6150: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6151: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6152: x_header_changed_attr_tbl(ind).next_id := p_next_rec.flow_status_code;
6153: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_next_rec.flow_status_code);

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

6147: x_header_changed_attr_tbl(ind).attribute_name := 'status';
6148: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.flow_status_code;
6149: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6150: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6151: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6152: x_header_changed_attr_tbl(ind).next_id := p_next_rec.flow_status_code;
6153: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_next_rec.flow_status_code);
6154: END IF; /* NEXT */
6155: END IF;

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

6149: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.flow_status(p_prior_rec.flow_status_code);
6150: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.flow_status_code;
6151: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.flow_status(p_curr_rec.flow_status_code);
6152: x_header_changed_attr_tbl(ind).next_id := p_next_rec.flow_status_code;
6153: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.flow_status(p_next_rec.flow_status_code);
6154: END IF; /* NEXT */
6155: END IF;
6156:
6157: /* END flow_status_code*/

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

6871: ind := ind+1;
6872: prior_exists := 'Y';
6873: x_header_changed_attr_tbl(ind).attribute_name := 'TRANSACTION_PHASE';
6874: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6875: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6876: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.transaction_phase_code;
6877: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6878: END IF;
6879: END IF; /* PRIOR */

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

6873: x_header_changed_attr_tbl(ind).attribute_name := 'TRANSACTION_PHASE';
6874: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6875: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6876: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.transaction_phase_code;
6877: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6878: END IF;
6879: END IF; /* PRIOR */
6880: /****************************/
6881: IF p_next_version IS NOT NULL THEN

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

6882: IF OE_Globals.Equal(
6883: p_curr_rec.transaction_phase_code,
6884: p_next_rec.transaction_phase_code) THEN
6885: IF prior_exists = 'Y' THEN
6886: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6887: END IF;
6888: null;
6889: ELSE
6890: IF prior_exists = 'N' THEN

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

6891: ind := ind+1;
6892: END IF;
6893: x_header_changed_attr_tbl(ind).attribute_name := 'TRANSACTION_PHASE';
6894: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.transaction_phase_code;
6895: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6896: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6897: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6898: x_header_changed_attr_tbl(ind).next_id := p_next_rec.transaction_phase_code;
6899: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_next_rec.transaction_phase_code);

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

6893: x_header_changed_attr_tbl(ind).attribute_name := 'TRANSACTION_PHASE';
6894: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.transaction_phase_code;
6895: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6896: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6897: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6898: x_header_changed_attr_tbl(ind).next_id := p_next_rec.transaction_phase_code;
6899: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_next_rec.transaction_phase_code);
6900: END IF; /* NEXT */
6901: END IF;

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

6895: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Transaction_Phase(p_prior_rec.transaction_phase_code);
6896: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.transaction_phase_code;
6897: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Transaction_Phase(p_curr_rec.transaction_phase_code);
6898: x_header_changed_attr_tbl(ind).next_id := p_next_rec.transaction_phase_code;
6899: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Transaction_Phase(p_next_rec.transaction_phase_code);
6900: END IF; /* NEXT */
6901: END IF;
6902:
6903: /* END transaction_phase_code*/

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

6915: ind := ind+1;
6916: prior_exists := 'Y';
6917: x_header_changed_attr_tbl(ind).attribute_name := 'user_status';
6918: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6919: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6920: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.user_status_code;
6921: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6922: END IF;
6923: END IF; /* PRIOR */

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

6917: x_header_changed_attr_tbl(ind).attribute_name := 'user_status';
6918: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6919: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6920: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.user_status_code;
6921: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6922: END IF;
6923: END IF; /* PRIOR */
6924: /****************************/
6925: IF p_next_version IS NOT NULL THEN

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

6926: IF OE_Globals.Equal(
6927: p_curr_rec.user_status_code,
6928: p_next_rec.user_status_code) THEN
6929: IF prior_exists = 'Y' THEN
6930: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6931: END IF;
6932: ELSE
6933: IF prior_exists = 'N' THEN
6934: ind := ind+1;

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

6934: ind := ind+1;
6935: END IF;
6936: x_header_changed_attr_tbl(ind).attribute_name := 'user_status';
6937: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.user_status_code;
6938: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6939: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6940: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6941: x_header_changed_attr_tbl(ind).next_id := p_next_rec.user_status_code;
6942: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_next_rec.user_status_code);

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

6936: x_header_changed_attr_tbl(ind).attribute_name := 'user_status';
6937: x_header_changed_attr_tbl(ind).prior_id := p_prior_rec.user_status_code;
6938: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6939: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6940: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6941: x_header_changed_attr_tbl(ind).next_id := p_next_rec.user_status_code;
6942: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_next_rec.user_status_code);
6943: END IF; /* NEXT */
6944: END IF;

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

6938: x_header_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.User_Status(p_prior_rec.user_status_code);
6939: x_header_changed_attr_tbl(ind).current_id := p_curr_rec.user_status_code;
6940: x_header_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.User_Status(p_curr_rec.user_status_code);
6941: x_header_changed_attr_tbl(ind).next_id := p_next_rec.user_status_code;
6942: x_header_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.User_Status(p_next_rec.user_status_code);
6943: END IF; /* NEXT */
6944: END IF;
6945:
6946: /* END user_status_code*/

Line 7002: OE_ID_TO_VALUE.Customer_Location

6998: ind := ind+1;
6999: prior_exists := 'Y';
7000: x_header_changed_attr_tbl(ind).attribute_name := 'sold_to_location';
7001: if p_curr_rec.sold_to_site_use_id is not null then
7002: OE_ID_TO_VALUE.Customer_Location
7003: ( p_sold_to_site_use_id => p_curr_rec.sold_to_site_use_id
7004: , x_sold_to_location_address1 => x_sold_to_location_address1
7005: , x_sold_to_location_address2 => x_sold_to_location_address2
7006: , x_sold_to_location_address3 => x_sold_to_location_address3

Line 7032: OE_ID_TO_VALUE.Customer_Location

7028: x_header_changed_attr_tbl(ind).current_value := x_current_sold_to_location;
7029:
7030: end if;
7031: if p_prior_rec.sold_to_site_use_id is not null then
7032: OE_ID_TO_VALUE.Customer_Location
7033: ( p_sold_to_site_use_id => p_prior_rec.sold_to_site_use_id
7034: , x_sold_to_location_address1 => x_sold_to_location_address1
7035: , x_sold_to_location_address2 => x_sold_to_location_address2
7036: , x_sold_to_location_address3 => x_sold_to_location_address3

Line 7077: OE_ID_TO_VALUE.customer_location

7073: END IF;
7074: x_header_changed_attr_tbl(ind).attribute_name := 'sold_to_location';
7075:
7076: if p_prior_rec.sold_to_site_use_id is not null then
7077: OE_ID_TO_VALUE.customer_location
7078: ( p_sold_to_site_use_id => p_prior_rec.sold_to_site_use_id
7079: , x_sold_to_location_address1 => x_sold_to_location_address1
7080: , x_sold_to_location_address2 => x_sold_to_location_address2
7081: , x_sold_to_location_address3 => x_sold_to_location_address3

Line 7106: OE_ID_TO_VALUE.customer_location

7102: x_header_changed_attr_tbl(ind).prior_value := x_prior_sold_to_location;
7103: end if;
7104:
7105: if p_curr_rec.sold_to_site_use_id is not null then
7106: OE_ID_TO_VALUE.customer_location
7107: ( p_sold_to_site_use_id => p_curr_rec.sold_to_site_use_id
7108: , x_sold_to_location_address1 => x_sold_to_location_address1
7109: , x_sold_to_location_address2 => x_sold_to_location_address2
7110: , x_sold_to_location_address3 => x_sold_to_location_address3

Line 7135: OE_ID_TO_VALUE.customer_location

7131: x_header_changed_attr_tbl(ind).current_value := x_current_sold_to_location;
7132:
7133: end if;
7134: if p_next_rec.sold_to_site_use_id is not null then
7135: OE_ID_TO_VALUE.customer_location
7136: ( p_sold_to_site_use_id => p_next_rec.sold_to_site_use_id
7137: , x_sold_to_location_address1 => x_sold_to_location_address1
7138: , x_sold_to_location_address2 => x_sold_to_location_address2
7139: , x_sold_to_location_address3 => x_sold_to_location_address3

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

8870: prior_exists := 'Y';
8871: x_line_changed_attr_tbl(ind).attribute_name := 'accounting_rule';
8872: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8873: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8874: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8875: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
8876: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8877: END IF;
8878: END IF; /* PRIOR */

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

8872: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8873: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8874: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8875: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
8876: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8877: END IF;
8878: END IF; /* PRIOR */
8879: /****************************/
8880: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

8881: IF OE_Globals.Equal(
8882: p_curr_rec.accounting_rule_id,
8883: p_next_rec.accounting_rule_id) THEN
8884: IF prior_exists = 'Y' THEN
8885: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8886: END IF;
8887: ELSE
8888: IF prior_exists = 'N' THEN
8889: ind := ind+1;

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

8891: x_line_changed_attr_tbl(ind).attribute_name := 'accounting_rule';
8892: x_line_changed_attr_tbl(ind).line_number := x_line_number;
8893: x_line_changed_attr_tbl(ind).line_number := '1.1';
8894: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
8895: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8896: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8897: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8898: x_line_changed_attr_tbl(ind).next_id := p_next_rec.accounting_rule_id;
8899: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);

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

8893: x_line_changed_attr_tbl(ind).line_number := '1.1';
8894: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.accounting_rule_id;
8895: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8896: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8897: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8898: x_line_changed_attr_tbl(ind).next_id := p_next_rec.accounting_rule_id;
8899: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);
8900: END IF;
8901: END IF; /* NEXT */

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

8895: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Accounting_rule(p_prior_rec.accounting_rule_id);
8896: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.accounting_rule_id;
8897: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Accounting_Rule(p_curr_rec.accounting_rule_id);
8898: x_line_changed_attr_tbl(ind).next_id := p_next_rec.accounting_rule_id;
8899: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Accounting_Rule(p_next_rec.accounting_rule_id);
8900: END IF;
8901: END IF; /* NEXT */
8902:
8903: /* END ACCOUNTING_RULE_ID*/

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

9040: prior_exists := 'Y';
9041: x_line_changed_attr_tbl(ind).attribute_name := 'agreement';
9042: x_line_changed_attr_tbl(ind).line_number := x_line_number;
9043: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
9044: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
9045: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
9046: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
9047: END IF;
9048: END IF; /* PRIOR */

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

9042: x_line_changed_attr_tbl(ind).line_number := x_line_number;
9043: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
9044: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
9045: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
9046: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
9047: END IF;
9048: END IF; /* PRIOR */
9049: /****************************/
9050: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

9051: IF OE_Globals.Equal(
9052: p_curr_rec.agreement_id,
9053: p_next_rec.agreement_id) THEN
9054: IF prior_exists = 'Y' THEN
9055: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
9056: END IF;
9057: ELSE
9058: IF prior_exists = 'N' THEN
9059: ind := ind+1;

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

9060: END IF;
9061: x_line_changed_attr_tbl(ind).attribute_name := 'agreement';
9062: x_line_changed_attr_tbl(ind).line_number := x_line_number;
9063: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
9064: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
9065: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
9066: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
9067: x_line_changed_attr_tbl(ind).next_id := p_next_rec.agreement_id;
9068: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);

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

9062: x_line_changed_attr_tbl(ind).line_number := x_line_number;
9063: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.agreement_id;
9064: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
9065: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
9066: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
9067: x_line_changed_attr_tbl(ind).next_id := p_next_rec.agreement_id;
9068: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);
9069: END IF;
9070: END IF; /* NEXT */

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

9064: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Agreement(p_prior_rec.agreement_id);
9065: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.agreement_id;
9066: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Agreement(p_curr_rec.agreement_id);
9067: x_line_changed_attr_tbl(ind).next_id := p_next_rec.agreement_id;
9068: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Agreement(p_next_rec.agreement_id);
9069: END IF;
9070: END IF; /* NEXT */
9071:
9072: /* END agreement_id*/

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

10512: prior_exists := 'Y';
10513: x_line_changed_attr_tbl(ind).attribute_name := 'deliver_to_contact';
10514: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10515: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10516: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10517: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
10518: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10519: END IF;
10520: END IF; /* PRIOR */

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

10514: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10515: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10516: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10517: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
10518: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10519: END IF;
10520: END IF; /* PRIOR */
10521: /****************************/
10522: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

10523: IF OE_Globals.Equal(
10524: p_curr_rec.deliver_to_contact_id,
10525: p_next_rec.deliver_to_contact_id) THEN
10526: IF prior_exists = 'Y' THEN
10527: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10528: END IF;
10529: ELSE
10530: IF prior_exists = 'N' THEN
10531: ind := ind+1;

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

10532: END IF;
10533: x_line_changed_attr_tbl(ind).attribute_name := 'deliver_to_contact';
10534: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10535: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
10536: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10537: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10538: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10539: x_line_changed_attr_tbl(ind).next_id := p_next_rec.deliver_to_contact_id;
10540: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);

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

10534: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10535: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.deliver_to_contact_id;
10536: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10537: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10538: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10539: x_line_changed_attr_tbl(ind).next_id := p_next_rec.deliver_to_contact_id;
10540: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);
10541: END IF;
10542: END IF; /* NEXT */

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

10536: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_prior_rec.deliver_to_contact_id);
10537: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.deliver_to_contact_id;
10538: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_curr_rec.deliver_to_contact_id);
10539: x_line_changed_attr_tbl(ind).next_id := p_next_rec.deliver_to_contact_id;
10540: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Deliver_To_Contact(p_next_rec.deliver_to_contact_id);
10541: END IF;
10542: END IF; /* NEXT */
10543:
10544: /* END deliver_to_contact_id*/

Line 10562: OE_ID_TO_VALUE.deliver_To_Org

10558: prior_exists := 'Y';
10559: x_line_changed_attr_tbl(ind).attribute_name := 'deliver_to_location';
10560: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10561: if p_curr_rec.deliver_to_org_id is not null then
10562: OE_ID_TO_VALUE.deliver_To_Org
10563: ( p_deliver_to_org_id => p_curr_rec.deliver_To_org_id
10564: , x_deliver_to_address1 => x_deliver_to_address1
10565: , x_deliver_to_address2 => x_deliver_to_address2
10566: , x_deliver_to_address3 => x_deliver_to_address3

Line 10593: OE_ID_TO_VALUE.deliver_To_Org

10589: x_line_changed_attr_tbl(ind).current_value := x_current_deliver_to_address;
10590: end if;
10591:
10592: if p_prior_rec.deliver_to_org_id is not null then
10593: OE_ID_TO_VALUE.deliver_To_Org
10594: ( p_deliver_to_org_id => p_prior_rec.deliver_To_org_id
10595: , x_deliver_to_address1 => x_deliver_to_address1
10596: , x_deliver_to_address2 => x_deliver_to_address2
10597: , x_deliver_to_address3 => x_deliver_to_address3

Line 10639: OE_ID_TO_VALUE.deliver_To_Org

10635: x_line_changed_attr_tbl(ind).attribute_name := 'deliver_to_location';
10636: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10637:
10638: if p_prior_rec.deliver_to_org_id is not null then
10639: OE_ID_TO_VALUE.deliver_To_Org
10640: ( p_deliver_to_org_id => p_prior_rec.deliver_To_org_id
10641: , x_deliver_to_address1 => x_deliver_to_address1
10642: , x_deliver_to_address2 => x_deliver_to_address2
10643: , x_deliver_to_address3 => x_deliver_to_address3

Line 10669: OE_ID_TO_VALUE.deliver_To_Org

10665: x_line_changed_attr_tbl(ind).prior_value := x_prior_deliver_to_address;
10666:
10667: end if;
10668: if p_curr_rec.deliver_to_org_id is not null then
10669: OE_ID_TO_VALUE.deliver_To_Org
10670: ( p_deliver_to_org_id => p_curr_rec.deliver_To_org_id
10671: , x_deliver_to_address1 => x_deliver_to_address1
10672: , x_deliver_to_address2 => x_deliver_to_address2
10673: , x_deliver_to_address3 => x_deliver_to_address3

Line 10699: OE_ID_TO_VALUE.deliver_To_Org

10695: x_line_changed_attr_tbl(ind).current_value := x_current_deliver_to_address;
10696:
10697: end if;
10698: if p_next_rec.deliver_to_org_id is not null then
10699: OE_ID_TO_VALUE.deliver_To_Org
10700: ( p_deliver_to_org_id => p_next_rec.deliver_To_org_id
10701: , x_deliver_to_address1 => x_deliver_to_address1
10702: , x_deliver_to_address2 => x_deliver_to_address2
10703: , x_deliver_to_address3 => x_deliver_to_address3

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

10744: prior_exists := 'Y';
10745: x_line_changed_attr_tbl(ind).attribute_name := 'DEMAND_BUCKET_TYPE_CODE';
10746: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10747: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10748: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10749: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.DEMAND_BUCKET_TYPE_CODE;
10750: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10751: END IF;
10752: END IF; /* PRIOR */

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

10746: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10747: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10748: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10749: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.DEMAND_BUCKET_TYPE_CODE;
10750: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10751: END IF;
10752: END IF; /* PRIOR */
10753: /****************************/
10754: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

10755: IF OE_Globals.Equal(
10756: p_curr_rec.DEMAND_BUCKET_TYPE_CODE,
10757: p_next_rec.DEMAND_BUCKET_TYPE_CODE) THEN
10758: IF prior_exists = 'Y' THEN
10759: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10760: END IF;
10761: ELSE
10762: IF prior_exists = 'N' THEN
10763: ind := ind+1;

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

10764: END IF;
10765: x_line_changed_attr_tbl(ind).attribute_name := 'DEMAND_BUCKET_TYPE_CODE';
10766: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10767: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.DEMAND_BUCKET_TYPE_CODE;
10768: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10769: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10770: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10771: x_line_changed_attr_tbl(ind).next_id := p_next_rec.DEMAND_BUCKET_TYPE_CODE;
10772: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_next_rec.DEMAND_BUCKET_TYPE_CODE);

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

10766: x_line_changed_attr_tbl(ind).line_number := x_line_number;
10767: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.DEMAND_BUCKET_TYPE_CODE;
10768: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10769: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10770: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10771: x_line_changed_attr_tbl(ind).next_id := p_next_rec.DEMAND_BUCKET_TYPE_CODE;
10772: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_next_rec.DEMAND_BUCKET_TYPE_CODE);
10773: END IF; /* NEXT */
10774: END IF;

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

10768: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_prior_rec.DEMAND_BUCKET_TYPE_CODE);
10769: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.DEMAND_BUCKET_TYPE_CODE;
10770: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_curr_rec.DEMAND_BUCKET_TYPE_CODE);
10771: x_line_changed_attr_tbl(ind).next_id := p_next_rec.DEMAND_BUCKET_TYPE_CODE;
10772: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Demand_Bucket_Type(p_next_rec.DEMAND_BUCKET_TYPE_CODE);
10773: END IF; /* NEXT */
10774: END IF;
10775:
10776: /* END DEMAND_BUCKET_TYPE_CODE*/

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

11116: prior_exists := 'Y';
11117: x_line_changed_attr_tbl(ind).attribute_name := 'fob';
11118: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11119: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
11120: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
11121: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
11122: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
11123: END IF;
11124: END IF; /* PRIOR */

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

11118: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11119: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
11120: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
11121: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
11122: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
11123: END IF;
11124: END IF; /* PRIOR */
11125: /****************************/
11126: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

11127: IF OE_Globals.Equal(
11128: p_curr_rec.fob_point_code,
11129: p_next_rec.fob_point_code) THEN
11130: IF prior_exists = 'Y' THEN
11131: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
11132: END IF;
11133: ELSE
11134: IF prior_exists = 'N' THEN
11135: ind := ind+1;

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

11136: END IF;
11137: x_line_changed_attr_tbl(ind).attribute_name := 'fob';
11138: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11139: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
11140: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
11141: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
11142: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
11143: x_line_changed_attr_tbl(ind).next_id := p_next_rec.fob_point_code;
11144: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);

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

11138: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11139: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.fob_point_code;
11140: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
11141: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
11142: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
11143: x_line_changed_attr_tbl(ind).next_id := p_next_rec.fob_point_code;
11144: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);
11145: END IF; /* NEXT */
11146:

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

11140: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Fob_Point(p_prior_rec.fob_point_code);
11141: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.fob_point_code;
11142: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Fob_Point(p_curr_rec.fob_point_code);
11143: x_line_changed_attr_tbl(ind).next_id := p_next_rec.fob_point_code;
11144: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Fob_Point(p_next_rec.fob_point_code);
11145: END IF; /* NEXT */
11146:
11147: END IF;
11148: /* END Fob_Point_code*/

Line 11166: 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);

11162: prior_exists := 'Y';
11163: x_line_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
11164: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11165: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
11166: 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);
11167: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
11168: 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);
11169: END IF;
11170: END IF; /* PRIOR */

Line 11168: 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);

11164: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11165: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
11166: 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);
11167: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
11168: 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);
11169: END IF;
11170: END IF; /* PRIOR */
11171: /****************************/
11172: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 11177: 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);

11173: IF OE_Globals.Equal(
11174: p_curr_rec.freight_carrier_code,
11175: p_next_rec.freight_carrier_code) THEN
11176: IF prior_exists = 'Y' THEN
11177: 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);
11178: END IF;
11179: ELSE
11180: IF prior_exists = 'N' THEN
11181: ind := ind+1;

Line 11186: 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);

11182: END IF;
11183: x_line_changed_attr_tbl(ind).attribute_name := 'freight_carrier';
11184: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11185: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
11186: 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);
11187: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
11188: 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);
11189: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
11190: 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 11188: 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);

11184: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11185: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_carrier_code;
11186: 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);
11187: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
11188: 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);
11189: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
11190: 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);
11191: END IF;
11192: END IF; /* NEXT */

Line 11190: 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);

11186: 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);
11187: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_carrier_code;
11188: 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);
11189: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_carrier_code;
11190: 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);
11191: END IF;
11192: END IF; /* NEXT */
11193:
11194: /* END freight_carrier_code*/

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

11208: prior_exists := 'Y';
11209: x_line_changed_attr_tbl(ind).attribute_name := 'freight_terms';
11210: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11211: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11212: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11213: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
11214: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11215: END IF;
11216: END IF; /* PRIOR */

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

11210: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11211: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11212: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11213: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
11214: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11215: END IF;
11216: END IF; /* PRIOR */
11217: /****************************/
11218: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

11219: IF OE_Globals.Equal(
11220: p_curr_rec.freight_terms_code,
11221: p_next_rec.freight_terms_code) THEN
11222: IF prior_exists = 'Y' THEN
11223: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11224: END IF;
11225: ELSE
11226: IF prior_exists = 'N' THEN
11227: ind := ind+1;

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

11228: END IF;
11229: x_line_changed_attr_tbl(ind).attribute_name := 'freight_terms';
11230: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11231: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
11232: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11233: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11234: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11235: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_terms_code;
11236: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);

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

11230: x_line_changed_attr_tbl(ind).line_number := x_line_number;
11231: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.freight_terms_code;
11232: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11233: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11234: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11235: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_terms_code;
11236: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);
11237: END IF;
11238: END IF; /* NEXT */

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

11232: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Freight_terms(p_prior_rec.freight_terms_code);
11233: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.freight_terms_code;
11234: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Freight_terms(p_curr_rec.freight_terms_code);
11235: x_line_changed_attr_tbl(ind).next_id := p_next_rec.freight_terms_code;
11236: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Freight_terms(p_next_rec.freight_terms_code);
11237: END IF;
11238: END IF; /* NEXT */
11239:
11240: /* END freight_terms_code*/

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

13005: prior_exists := 'Y';
13006: x_line_changed_attr_tbl(ind).attribute_name := 'Intermed_Ship_To_Contact';
13007: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13008: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
13009: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
13010: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID;
13011: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
13012: END IF;
13013: END IF; /* PRIOR */

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

13007: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13008: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
13009: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
13010: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID;
13011: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
13012: END IF;
13013: END IF; /* PRIOR */
13014: /****************************/
13015: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

13016: IF OE_Globals.Equal(
13017: p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID,
13018: p_next_rec.INTERMED_SHIP_TO_CONTACT_ID) THEN
13019: IF prior_exists = 'Y' THEN
13020: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
13021: END IF;
13022: ELSE
13023: IF prior_exists = 'N' THEN
13024: ind := ind+1;

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

13025: END IF;
13026: x_line_changed_attr_tbl(ind).attribute_name := 'Intermed_Ship_To_Contact';
13027: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13028: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID;
13029: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
13030: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
13031: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
13032: x_line_changed_attr_tbl(ind).next_id := p_next_rec.INTERMED_SHIP_TO_CONTACT_ID;
13033: 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 13031: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);

13027: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13028: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID;
13029: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
13030: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
13031: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
13032: x_line_changed_attr_tbl(ind).next_id := p_next_rec.INTERMED_SHIP_TO_CONTACT_ID;
13033: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_next_rec.INTERMED_SHIP_TO_CONTACT_ID);
13034: END IF;
13035: END IF; /* NEXT */

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

13029: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_prior_rec.INTERMED_SHIP_TO_CONTACT_ID);
13030: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID;
13031: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_curr_rec.INTERMED_SHIP_TO_CONTACT_ID);
13032: x_line_changed_attr_tbl(ind).next_id := p_next_rec.INTERMED_SHIP_TO_CONTACT_ID;
13033: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Intermed_Ship_To_Contact(p_next_rec.INTERMED_SHIP_TO_CONTACT_ID);
13034: END IF;
13035: END IF; /* NEXT */
13036:
13037: /* END INTMED_SHIP_TO_CONTACT_ID*/

Line 13056: OE_ID_TO_VALUE.intermed_ship_to_Org

13052: x_line_changed_attr_tbl(ind).attribute_name := 'intermed_ship_to_location';
13053: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13054: if p_curr_rec.intermed_ship_to_org_id is not null then
13055:
13056: OE_ID_TO_VALUE.intermed_ship_to_Org
13057: ( p_intermed_ship_to_org_id => p_curr_rec.intermed_ship_to_org_id
13058: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
13059: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
13060: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

Line 13087: OE_ID_TO_VALUE.intermed_ship_to_Org

13083: x_line_changed_attr_tbl(ind).current_value := x_current_intermed_address;
13084: end if;
13085:
13086: if p_prior_rec.intermed_ship_to_org_id is not null then
13087: OE_ID_TO_VALUE.intermed_ship_to_Org
13088: ( p_intermed_ship_to_org_id => p_prior_rec.intermed_ship_to_org_id
13089: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
13090: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
13091: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

Line 13134: OE_ID_TO_VALUE.intermed_ship_to_Org

13130: x_line_changed_attr_tbl(ind).attribute_name := 'intermed_ship_to_location';
13131: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13132:
13133: if p_prior_rec.intermed_ship_to_org_id is not null then
13134: OE_ID_TO_VALUE.intermed_ship_to_Org
13135: ( p_intermed_ship_to_org_id => p_prior_rec.intermed_ship_to_org_id
13136: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
13137: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
13138: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

Line 13164: OE_ID_TO_VALUE.intermed_ship_to_Org

13160: x_line_changed_attr_tbl(ind).prior_value := x_prior_intermed_address;
13161: end if;
13162:
13163: if p_curr_rec.intermed_ship_to_org_id is not null then
13164: OE_ID_TO_VALUE.intermed_ship_to_Org
13165: ( p_intermed_ship_to_org_id => p_curr_rec.intermed_ship_to_org_id
13166: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
13167: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
13168: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

Line 13194: OE_ID_TO_VALUE.intermed_ship_to_Org

13190: x_line_changed_attr_tbl(ind).current_value := x_current_intermed_address;
13191: end if;
13192:
13193: if p_next_rec.intermed_ship_to_org_id is not null then
13194: OE_ID_TO_VALUE.intermed_ship_to_Org
13195: ( p_intermed_ship_to_org_id => p_next_rec.intermed_ship_to_org_id
13196: , x_intermed_ship_to_address1 => x_intermed_ship_to_address1
13197: , x_intermed_ship_to_address2 => x_intermed_ship_to_address2
13198: , x_intermed_ship_to_address3 => x_intermed_ship_to_address3

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

13239: prior_exists := 'Y';
13240: x_line_changed_attr_tbl(ind).attribute_name := 'invoice_to_contact';
13241: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13242: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13243: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13244: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
13245: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13246: END IF;
13247: END IF; /* PRIOR */

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

13241: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13242: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13243: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13244: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
13245: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13246: END IF;
13247: END IF; /* PRIOR */
13248: /****************************/
13249: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

13250: IF OE_Globals.Equal(
13251: p_curr_rec.invoice_to_contact_id,
13252: p_next_rec.invoice_to_contact_id) THEN
13253: IF prior_exists = 'Y' THEN
13254: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13255: END IF;
13256: null;
13257: ELSE
13258: IF prior_exists = 'N' THEN

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

13260: END IF;
13261: x_line_changed_attr_tbl(ind).attribute_name := 'invoice_to_contact';
13262: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13263: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
13264: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13265: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13266: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13267: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoice_to_contact_id;
13268: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);

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

13262: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13263: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoice_to_contact_id;
13264: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13265: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13266: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13267: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoice_to_contact_id;
13268: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);
13269: END IF;
13270: END IF; /* NEXT */

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

13264: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.invoice_To_Contact(p_prior_rec.invoice_to_contact_id);
13265: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_contact_id;
13266: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.invoice_To_Contact(p_curr_rec.invoice_to_contact_id);
13267: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoice_to_contact_id;
13268: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.invoice_To_Contact(p_next_rec.invoice_to_contact_id);
13269: END IF;
13270: END IF; /* NEXT */
13271:
13272: /* END invoice_to_contact_id*/

Line 13291: OE_ID_TO_VALUE.invoice_to_Org

13287: x_line_changed_attr_tbl(ind).attribute_name := 'invoice_to_location';
13288: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13289: if p_curr_rec.invoice_to_org_id is not null then
13290:
13291: OE_ID_TO_VALUE.invoice_to_Org
13292: ( p_invoice_to_org_id => p_curr_rec.invoice_to_org_id
13293: , x_invoice_to_address1 => x_invoice_to_address1
13294: , x_invoice_to_address2 => x_invoice_to_address2
13295: , x_invoice_to_address3 => x_invoice_to_address3

Line 13322: OE_ID_TO_VALUE.invoice_to_Org

13318: x_line_changed_attr_tbl(ind).current_value := x_current_invoice_to_address;
13319: end if;
13320:
13321: if p_prior_rec.invoice_to_org_id is not null then
13322: OE_ID_TO_VALUE.invoice_to_Org
13323: ( p_invoice_to_org_id => p_prior_rec.invoice_to_org_id
13324: , x_invoice_to_address1 => x_invoice_to_address1
13325: , x_invoice_to_address2 => x_invoice_to_address2
13326: , x_invoice_to_address3 => x_invoice_to_address3

Line 13369: OE_ID_TO_VALUE.invoice_to_Org

13365: x_line_changed_attr_tbl(ind).attribute_name := 'invoice_to_location';
13366: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13367:
13368: if p_prior_rec.invoice_to_org_id is not null then
13369: OE_ID_TO_VALUE.invoice_to_Org
13370: ( p_invoice_to_org_id => p_prior_rec.invoice_to_org_id
13371: , x_invoice_to_address1 => x_invoice_to_address1
13372: , x_invoice_to_address2 => x_invoice_to_address2
13373: , x_invoice_to_address3 => x_invoice_to_address3

Line 13399: OE_ID_TO_VALUE.invoice_to_Org

13395: x_line_changed_attr_tbl(ind).prior_value := x_prior_invoice_to_address;
13396: end if;
13397:
13398: if p_curr_rec.invoice_to_org_id is not null then
13399: OE_ID_TO_VALUE.invoice_to_Org
13400: ( p_invoice_to_org_id => p_curr_rec.invoice_to_org_id
13401: , x_invoice_to_address1 => x_invoice_to_address1
13402: , x_invoice_to_address2 => x_invoice_to_address2
13403: , x_invoice_to_address3 => x_invoice_to_address3

Line 13428: OE_ID_TO_VALUE.invoice_to_Org

13424: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoice_to_org_id;
13425: x_line_changed_attr_tbl(ind).current_value := x_current_invoice_to_address;
13426: end if;
13427: if p_next_rec.invoice_to_org_id is not null then
13428: OE_ID_TO_VALUE.invoice_to_Org
13429: ( p_invoice_to_org_id => p_next_rec.invoice_to_org_id
13430: , x_invoice_to_address1 => x_invoice_to_address1
13431: , x_invoice_to_address2 => x_invoice_to_address2
13432: , x_invoice_to_address3 => x_invoice_to_address3

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

13552: prior_exists := 'Y';
13553: x_line_changed_attr_tbl(ind).attribute_name := 'invoicing_rule';
13554: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13555: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13556: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13557: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
13558: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13559: END IF;
13560: END IF; /* PRIOR */

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

13554: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13555: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13556: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13557: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
13558: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13559: END IF;
13560: END IF; /* PRIOR */
13561: /****************************/
13562: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

13563: IF OE_Globals.Equal(
13564: p_curr_rec.invoicing_rule_id,
13565: p_next_rec.invoicing_rule_id) THEN
13566: IF prior_exists = 'Y' THEN
13567: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13568: END IF;
13569: null;
13570: ELSE
13571: IF prior_exists = 'N' THEN

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

13573: END IF;
13574: x_line_changed_attr_tbl(ind).attribute_name := 'invoicing_rule';
13575: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13576: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
13577: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13578: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13579: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13580: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoicing_rule_id;
13581: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);

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

13575: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13576: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.invoicing_rule_id;
13577: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13578: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13579: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13580: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoicing_rule_id;
13581: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);
13582: END IF;
13583: END IF; /* NEXT */

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

13577: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Invoicing_Rule(p_prior_rec.invoicing_rule_id);
13578: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.invoicing_rule_id;
13579: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Invoicing_Rule(p_curr_rec.invoicing_rule_id);
13580: x_line_changed_attr_tbl(ind).next_id := p_next_rec.invoicing_rule_id;
13581: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Invoicing_Rule(p_next_rec.invoicing_rule_id);
13582: END IF;
13583: END IF; /* NEXT */
13584:
13585: /* END invoicing_rule_id*/

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

13640: prior_exists := 'Y';
13641: x_line_changed_attr_tbl(ind).attribute_name := 'ITEM_TYPE_CODE';
13642: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13643: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13644: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13645: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ITEM_TYPE_CODE;
13646: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13647: END IF;
13648: END IF; /* PRIOR */

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

13642: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13643: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13644: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13645: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ITEM_TYPE_CODE;
13646: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13647: END IF;
13648: END IF; /* PRIOR */
13649: /****************************/
13650: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

13651: IF OE_Globals.Equal(
13652: p_curr_rec.ITEM_TYPE_CODE,
13653: p_next_rec.ITEM_TYPE_CODE) THEN
13654: IF prior_exists = 'Y' THEN
13655: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13656: END IF;
13657: ELSE
13658: IF prior_exists = 'N' THEN
13659: ind := ind+1;

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

13660: END IF;
13661: x_line_changed_attr_tbl(ind).attribute_name := 'ITEM_TYPE_CODE';
13662: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13663: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ITEM_TYPE_CODE;
13664: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13665: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13666: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13667: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ITEM_TYPE_CODE;
13668: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_next_rec.ITEM_TYPE_CODE);

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

13662: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13663: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ITEM_TYPE_CODE;
13664: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13665: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13666: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13667: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ITEM_TYPE_CODE;
13668: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_next_rec.ITEM_TYPE_CODE);
13669: END IF;
13670: END IF; /* NEXT */

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

13664: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.item_type(p_prior_rec.ITEM_TYPE_CODE);
13665: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ITEM_TYPE_CODE;
13666: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.item_type(p_curr_rec.ITEM_TYPE_CODE);
13667: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ITEM_TYPE_CODE;
13668: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.item_type(p_next_rec.ITEM_TYPE_CODE);
13669: END IF;
13670: END IF; /* NEXT */
13671:
13672: /* END ITEM_TYPE_CODE*/

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

13809: prior_exists := 'Y';
13810: x_line_changed_attr_tbl(ind).attribute_name := 'order_source_dsp';
13811: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13812: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13813: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13814: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
13815: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13816: END IF;
13817: END IF; /* PRIOR */

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

13811: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13812: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13813: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13814: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
13815: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13816: END IF;
13817: END IF; /* PRIOR */
13818: /****************************/
13819: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

13820: IF OE_Globals.Equal(
13821: p_curr_rec.order_source_id,
13822: p_next_rec.order_source_id) THEN
13823: IF prior_exists = 'Y' THEN
13824: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13825: END IF;
13826: ELSE
13827: IF prior_exists = 'N' THEN
13828: ind := ind+1;

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

13829: END IF;
13830: x_line_changed_attr_tbl(ind).attribute_name := 'order_source_dsp';
13831: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13832: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
13833: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13834: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13835: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13836: x_line_changed_attr_tbl(ind).next_id := p_next_rec.order_source_id;
13837: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);

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

13831: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13832: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.order_source_id;
13833: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13834: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13835: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13836: x_line_changed_attr_tbl(ind).next_id := p_next_rec.order_source_id;
13837: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);
13838: END IF;
13839: END IF; /* NEXT */

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

13833: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.order_source(p_prior_rec.order_source_id);
13834: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.order_source_id;
13835: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.order_source(p_curr_rec.order_source_id);
13836: x_line_changed_attr_tbl(ind).next_id := p_next_rec.order_source_id;
13837: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.order_source(p_next_rec.order_source_id);
13838: END IF;
13839: END IF; /* NEXT */
13840:
13841: /* END order_source_id*/

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

13896: prior_exists := 'Y';
13897: x_line_changed_attr_tbl(ind).attribute_name := 'LINE_TYPE';
13898: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13899: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13900: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13901: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.LINE_TYPE_ID;
13902: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13903: END IF;
13904: END IF; /* PRIOR */

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

13898: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13899: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13900: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13901: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.LINE_TYPE_ID;
13902: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13903: END IF;
13904: END IF; /* PRIOR */
13905: /****************************/
13906: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

13907: IF OE_Globals.Equal(
13908: p_curr_rec.LINE_TYPE_ID,
13909: p_next_rec.LINE_TYPE_ID) THEN
13910: IF prior_exists = 'Y' THEN
13911: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13912: END IF;
13913: ELSE
13914: IF prior_exists = 'N' THEN
13915: ind := ind+1;

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

13916: END IF;
13917: x_line_changed_attr_tbl(ind).attribute_name := 'LINE_TYPE';
13918: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13919: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.LINE_TYPE_ID;
13920: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13921: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13922: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13923: x_line_changed_attr_tbl(ind).next_id := p_next_rec.LINE_TYPE_ID;
13924: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_next_rec.LINE_TYPE_ID);

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

13918: x_line_changed_attr_tbl(ind).line_number := x_line_number;
13919: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.LINE_TYPE_ID;
13920: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13921: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13922: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13923: x_line_changed_attr_tbl(ind).next_id := p_next_rec.LINE_TYPE_ID;
13924: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_next_rec.LINE_TYPE_ID);
13925: END IF;
13926: END IF; /* NEXT */

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

13920: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.line_type(p_prior_rec.LINE_TYPE_ID);
13921: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.LINE_TYPE_ID;
13922: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.line_type(p_curr_rec.LINE_TYPE_ID);
13923: x_line_changed_attr_tbl(ind).next_id := p_next_rec.LINE_TYPE_ID;
13924: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.line_type(p_next_rec.LINE_TYPE_ID);
13925: END IF;
13926: END IF; /* NEXT */
13927:
13928: /* END LINE_TYPE_ID*/

Line 14193: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Billing_Option

14189: prior_exists := 'Y';
14190: x_line_changed_attr_tbl(ind).attribute_name := 'SERVICE_BILLING_OPTION';
14191: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14192: If p_curr_rec.service_bill_option_code is NOT NULL THEN
14193: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Billing_Option
14194: (p_service_bill_option_code => p_curr_rec.service_bill_option_code);
14195: End If;
14196: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_bill_option_code;
14197: If p_prior_rec.service_bill_option_code is NOT NULL THEN

Line 14198: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Billing_Option

14194: (p_service_bill_option_code => p_curr_rec.service_bill_option_code);
14195: End If;
14196: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_bill_option_code;
14197: If p_prior_rec.service_bill_option_code is NOT NULL THEN
14198: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Billing_Option
14199: (p_service_bill_option_code => p_prior_rec.service_bill_option_code);
14200: End If;
14201: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_bill_option_code;
14202: END IF;

Line 14211: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Billing_Option

14207: p_curr_rec.service_bill_option_code,
14208: p_next_rec.service_bill_option_code) THEN
14209: IF prior_exists = 'Y' THEN
14210: If p_curr_rec.service_bill_option_code is NOT NULL THEN
14211: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Billing_Option
14212: (p_service_bill_option_code => p_curr_rec.service_bill_option_code);
14213: End If;
14214: x_line_changed_attr_tbl(ind).next_id := p_curr_rec.service_bill_option_code;
14215: END IF;

Line 14223: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Billing_Option

14219: END IF;
14220: x_line_changed_attr_tbl(ind).attribute_name := 'SERVICE_BILLING_OPTION';
14221: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14222: If p_prior_rec.service_bill_option_code is NOT NULL THEN
14223: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Billing_Option
14224: (p_service_bill_option_code => p_prior_rec.service_bill_option_code);
14225: End If;
14226: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_bill_option_code;
14227: If p_curr_rec.service_bill_option_code is NOT NULL THEN

Line 14228: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Billing_Option

14224: (p_service_bill_option_code => p_prior_rec.service_bill_option_code);
14225: End If;
14226: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_bill_option_code;
14227: If p_curr_rec.service_bill_option_code is NOT NULL THEN
14228: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Billing_Option
14229: (p_service_bill_option_code => p_curr_rec.service_bill_option_code);
14230: End If;
14231: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_bill_option_code;
14232: If p_next_rec.service_bill_option_code is NOT NULL THEN

Line 14233: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Billing_Option

14229: (p_service_bill_option_code => p_curr_rec.service_bill_option_code);
14230: End If;
14231: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_bill_option_code;
14232: If p_next_rec.service_bill_option_code is NOT NULL THEN
14233: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Billing_Option
14234: (p_service_bill_option_code => p_next_rec.service_bill_option_code);
14235: End If;
14236: x_line_changed_attr_tbl(ind).next_id := p_next_rec.service_bill_option_code;
14237: END IF;

Line 14252: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Coverage_Template

14248: prior_exists := 'Y';
14249: x_line_changed_attr_tbl(ind).attribute_name := 'SERVICE_COVERAGE_TEMPLATE';
14250: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14251: If p_curr_rec.service_cov_template_id is NOT NULL THEN
14252: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Coverage_Template
14253: (p_service_cov_template_id => p_curr_rec.service_cov_template_id);
14254: End If;
14255: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_cov_template_id;
14256: If p_prior_rec.service_cov_template_id is NOT NULL THEN

Line 14257: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Coverage_Template

14253: (p_service_cov_template_id => p_curr_rec.service_cov_template_id);
14254: End If;
14255: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_cov_template_id;
14256: If p_prior_rec.service_cov_template_id is NOT NULL THEN
14257: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Coverage_Template
14258: (p_service_cov_template_id => p_prior_rec.service_cov_template_id);
14259: End If;
14260: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_cov_template_id;
14261: END IF;

Line 14270: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Coverage_Template

14266: p_curr_rec.service_cov_template_id,
14267: p_next_rec.service_cov_template_id) THEN
14268: IF prior_exists = 'Y' THEN
14269: If p_curr_rec.service_cov_template_id is NOT NULL THEN
14270: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Coverage_Template
14271: (p_service_cov_template_id => p_curr_rec.service_cov_template_id);
14272: End If;
14273: x_line_changed_attr_tbl(ind).next_id := p_curr_rec.service_cov_template_id;
14274: END IF;

Line 14282: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Coverage_Template

14278: END IF;
14279: x_line_changed_attr_tbl(ind).attribute_name := 'SERVICE_COVERAGE_TEMPLATE';
14280: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14281: If p_prior_rec.service_cov_template_id is NOT NULL THEN
14282: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Coverage_Template
14283: (p_service_cov_template_id => p_prior_rec.service_cov_template_id);
14284: End If;
14285: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_cov_template_id;
14286: If p_curr_rec.service_cov_template_id is NOT NULL THEN

Line 14287: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Coverage_Template

14283: (p_service_cov_template_id => p_prior_rec.service_cov_template_id);
14284: End If;
14285: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_cov_template_id;
14286: If p_curr_rec.service_cov_template_id is NOT NULL THEN
14287: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Coverage_Template
14288: (p_service_cov_template_id => p_curr_rec.service_cov_template_id);
14289: End If;
14290: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_cov_template_id;
14291: If p_next_rec.service_cov_template_id is NOT NULL THEN

Line 14292: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Coverage_Template

14288: (p_service_cov_template_id => p_curr_rec.service_cov_template_id);
14289: End If;
14290: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_cov_template_id;
14291: If p_next_rec.service_cov_template_id is NOT NULL THEN
14292: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Coverage_Template
14293: (p_service_cov_template_id => p_next_rec.service_cov_template_id);
14294: End If;
14295: x_line_changed_attr_tbl(ind).next_id := p_next_rec.service_cov_template_id;
14296: END IF;

Line 14311: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Subscription_Template

14307: prior_exists := 'Y';
14308: x_line_changed_attr_tbl(ind).attribute_name := 'SERVICE_SUBSCRIPTION_TEMPLATE';
14309: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14310: If p_curr_rec.service_subs_template_id is NOT NULL THEN
14311: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Subscription_Template
14312: (p_service_subs_template_id => p_curr_rec.service_subs_template_id);
14313: End If;
14314: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_subs_template_id;
14315: If p_prior_rec.service_subs_template_id is NOT NULL THEN

Line 14316: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Subscription_Template

14312: (p_service_subs_template_id => p_curr_rec.service_subs_template_id);
14313: End If;
14314: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_subs_template_id;
14315: If p_prior_rec.service_subs_template_id is NOT NULL THEN
14316: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Subscription_Template
14317: (p_service_subs_template_id => p_prior_rec.service_subs_template_id);
14318: End If;
14319: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_subs_template_id;
14320: END IF;

Line 14329: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Subscription_Template

14325: p_curr_rec.service_subs_template_id,
14326: p_next_rec.service_subs_template_id) THEN
14327: IF prior_exists = 'Y' THEN
14328: If p_curr_rec.service_subs_template_id is NOT NULL THEN
14329: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Subscription_Template
14330: (p_service_subs_template_id => p_curr_rec.service_subs_template_id);
14331: End If;
14332: x_line_changed_attr_tbl(ind).next_id := p_curr_rec.service_subs_template_id;
14333: END IF;

Line 14341: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Subscription_Template

14337: END IF;
14338: x_line_changed_attr_tbl(ind).attribute_name := 'SERVICE_SUBSCRIPTION_TEMPLATE';
14339: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14340: If p_prior_rec.service_subs_template_id is NOT NULL THEN
14341: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Subscription_Template
14342: (p_service_subs_template_id => p_prior_rec.service_subs_template_id);
14343: End If;
14344: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_subs_template_id;
14345: If p_curr_rec.service_subs_template_id is NOT NULL THEN

Line 14346: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Subscription_Template

14342: (p_service_subs_template_id => p_prior_rec.service_subs_template_id);
14343: End If;
14344: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_subs_template_id;
14345: If p_curr_rec.service_subs_template_id is NOT NULL THEN
14346: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Subscription_Template
14347: (p_service_subs_template_id => p_curr_rec.service_subs_template_id);
14348: End If;
14349: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_subs_template_id;
14350: If p_next_rec.service_subs_template_id is NOT NULL THEN

Line 14351: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Subscription_Template

14347: (p_service_subs_template_id => p_curr_rec.service_subs_template_id);
14348: End If;
14349: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_subs_template_id;
14350: If p_next_rec.service_subs_template_id is NOT NULL THEN
14351: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Subscription_Template
14352: (p_service_subs_template_id => p_next_rec.service_subs_template_id);
14353: End If;
14354: x_line_changed_attr_tbl(ind).next_id := p_next_rec.service_subs_template_id;
14355: END IF;

Line 14370: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Billing_Profile

14366: prior_exists := 'Y';
14367: x_line_changed_attr_tbl(ind).attribute_name := 'SERVICE_BILLING_PROFILE';
14368: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14369: If p_curr_rec.service_bill_profile_id is NOT NULL THEN
14370: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Billing_Profile
14371: (p_service_bill_profile_id => p_curr_rec.service_bill_profile_id);
14372: End If;
14373: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_bill_profile_id;
14374: If p_prior_rec.service_bill_profile_id is NOT NULL THEN

Line 14375: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Billing_Profile

14371: (p_service_bill_profile_id => p_curr_rec.service_bill_profile_id);
14372: End If;
14373: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_bill_profile_id;
14374: If p_prior_rec.service_bill_profile_id is NOT NULL THEN
14375: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Billing_Profile
14376: (p_service_bill_profile_id => p_prior_rec.service_bill_profile_id);
14377: End If;
14378: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_bill_profile_id;
14379: END IF;

Line 14388: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Billing_Profile

14384: p_curr_rec.service_bill_profile_id,
14385: p_next_rec.service_bill_profile_id) THEN
14386: IF prior_exists = 'Y' THEN
14387: If p_curr_rec.service_bill_profile_id is NOT NULL THEN
14388: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Billing_Profile
14389: (p_service_bill_profile_id => p_curr_rec.service_bill_profile_id);
14390: End If;
14391: x_line_changed_attr_tbl(ind).next_id := p_curr_rec.service_bill_profile_id;
14392: END IF;

Line 14400: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Billing_Profile

14396: END IF;
14397: x_line_changed_attr_tbl(ind).attribute_name := 'SERVICE_BILLING_PROFILE';
14398: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14399: If p_prior_rec.service_bill_profile_id is NOT NULL THEN
14400: x_line_changed_attr_tbl(ind).prior_value:= OE_ID_TO_VALUE.Billing_Profile
14401: (p_service_bill_profile_id => p_prior_rec.service_bill_profile_id);
14402: End If;
14403: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_bill_profile_id;
14404: If p_curr_rec.service_bill_profile_id is NOT NULL THEN

Line 14405: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Billing_Profile

14401: (p_service_bill_profile_id => p_prior_rec.service_bill_profile_id);
14402: End If;
14403: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.service_bill_profile_id;
14404: If p_curr_rec.service_bill_profile_id is NOT NULL THEN
14405: x_line_changed_attr_tbl(ind).current_value:= OE_ID_TO_VALUE.Billing_Profile
14406: (p_service_bill_profile_id => p_curr_rec.service_bill_profile_id);
14407: End If;
14408: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_bill_profile_id;
14409: If p_next_rec.service_bill_profile_id is NOT NULL THEN

Line 14410: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Billing_Profile

14406: (p_service_bill_profile_id => p_curr_rec.service_bill_profile_id);
14407: End If;
14408: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.service_bill_profile_id;
14409: If p_next_rec.service_bill_profile_id is NOT NULL THEN
14410: x_line_changed_attr_tbl(ind).next_value:= OE_ID_TO_VALUE.Billing_Profile
14411: (p_service_bill_profile_id => p_next_rec.service_bill_profile_id);
14412: End If;
14413: x_line_changed_attr_tbl(ind).next_id := p_next_rec.service_bill_profile_id;
14414: END IF;

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

14500: prior_exists := 'Y';
14501: x_line_changed_attr_tbl(ind).attribute_name := 'Over_Ship_Reason';
14502: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14503: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
14504: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14505: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Over_Ship_Reason_code;
14506: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14507: END IF;
14508: END IF; /* PRIOR */

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

14502: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14503: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
14504: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14505: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Over_Ship_Reason_code;
14506: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14507: END IF;
14508: END IF; /* PRIOR */
14509: /****************************/
14510: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

14511: IF OE_Globals.Equal(
14512: p_curr_rec.Over_Ship_Reason_code,
14513: p_next_rec.Over_Ship_Reason_code) THEN
14514: IF prior_exists = 'Y' THEN
14515: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14516: END IF;
14517: ELSE
14518: IF prior_exists = 'N' THEN
14519: ind := ind+1;

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

14520: END IF;
14521: x_line_changed_attr_tbl(ind).attribute_name := 'Over_Ship_Reason';
14522: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14523: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Over_Ship_Reason_code;
14524: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14525: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
14526: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14527: x_line_changed_attr_tbl(ind).next_id := p_next_rec.Over_Ship_Reason_code;
14528: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_next_rec.Over_Ship_Reason_code);

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

14522: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14523: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Over_Ship_Reason_code;
14524: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14525: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
14526: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14527: x_line_changed_attr_tbl(ind).next_id := p_next_rec.Over_Ship_Reason_code;
14528: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_next_rec.Over_Ship_Reason_code);
14529: END IF;
14530: END IF; /* NEXT */

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

14524: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_prior_rec.Over_Ship_Reason_code);
14525: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Over_Ship_Reason_code;
14526: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_curr_rec.Over_Ship_Reason_code);
14527: x_line_changed_attr_tbl(ind).next_id := p_next_rec.Over_Ship_Reason_code;
14528: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Over_Ship_Reason(p_next_rec.Over_Ship_Reason_code);
14529: END IF;
14530: END IF; /* NEXT */
14531:
14532: /* END Over_Ship_Reason_code*/

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

14586: prior_exists := 'Y';
14587: x_line_changed_attr_tbl(ind).attribute_name := 'TERMS';
14588: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14589: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14590: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14591: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
14592: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14593: END IF;
14594: END IF; /* PRIOR */

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

14588: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14589: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14590: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14591: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
14592: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14593: END IF;
14594: END IF; /* PRIOR */
14595: /****************************/
14596: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

14597: IF OE_Globals.Equal(
14598: p_curr_rec.payment_term_id,
14599: p_next_rec.payment_term_id) THEN
14600: IF prior_exists = 'Y' THEN
14601: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14602: END IF;
14603: ELSE
14604: IF prior_exists = 'N' THEN
14605: ind := ind+1;

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

14606: END IF;
14607: x_line_changed_attr_tbl(ind).attribute_name := 'TERMS';
14608: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14609: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
14610: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14611: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14612: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14613: x_line_changed_attr_tbl(ind).next_id := p_next_rec.payment_term_id;
14614: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_next_rec.payment_term_id);

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

14608: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14609: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.payment_term_id;
14610: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14611: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14612: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14613: x_line_changed_attr_tbl(ind).next_id := p_next_rec.payment_term_id;
14614: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_next_rec.payment_term_id);
14615: END IF;
14616: END IF; /* NEXT */

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

14610: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Payment_Term(p_prior_rec.payment_term_id);
14611: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.payment_term_id;
14612: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Payment_Term(p_curr_rec.payment_term_id);
14613: x_line_changed_attr_tbl(ind).next_id := p_next_rec.payment_term_id;
14614: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Payment_Term(p_next_rec.payment_term_id);
14615: END IF;
14616: END IF; /* NEXT */
14617:
14618: /* END payment_term_id*/

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

14712: prior_exists := 'Y';
14713: x_line_changed_attr_tbl(ind).attribute_name := 'PRICE_LIST';
14714: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14715: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14716: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14717: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
14718: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14719: END IF;
14720: END IF; /* PRIOR */

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

14714: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14715: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14716: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14717: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
14718: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14719: END IF;
14720: END IF; /* PRIOR */
14721: /****************************/
14722: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

14723: IF OE_Globals.Equal(
14724: p_curr_rec.PRICE_LIST_ID,
14725: p_next_rec.PRICE_LIST_ID) THEN
14726: IF prior_exists = 'Y' THEN
14727: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14728: END IF;
14729: ELSE
14730: IF prior_exists = 'N' THEN
14731: ind := ind+1;

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

14732: END IF;
14733: x_line_changed_attr_tbl(ind).attribute_name := 'PRICE_LIST';
14734: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14735: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
14736: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14737: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14738: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14739: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PRICE_LIST_ID;
14740: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);

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

14734: x_line_changed_attr_tbl(ind).line_number := x_line_number;
14735: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PRICE_LIST_ID;
14736: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14737: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14738: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14739: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PRICE_LIST_ID;
14740: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);
14741: END IF;
14742: END IF; /* NEXT */

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

14736: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.PRICE_LIST(p_prior_rec.PRICE_LIST_ID);
14737: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PRICE_LIST_ID;
14738: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.PRICE_LIST(p_curr_rec.PRICE_LIST_ID);
14739: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PRICE_LIST_ID;
14740: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.PRICE_LIST(p_next_rec.PRICE_LIST_ID);
14741: END IF;
14742: END IF; /* NEXT */
14743:
14744: /* END PRICE_LIST_ID*/

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

15245: prior_exists := 'Y';
15246: x_line_changed_attr_tbl(ind).attribute_name := 'PROJECT_NUMBER';
15247: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15248: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
15249: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
15250: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PROJECT_ID;
15251: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
15252: END IF;
15253: END IF; /* PRIOR */

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

15247: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15248: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
15249: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
15250: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PROJECT_ID;
15251: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
15252: END IF;
15253: END IF; /* PRIOR */
15254: /****************************/
15255: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

15256: IF OE_Globals.Equal(
15257: p_curr_rec.PROJECT_ID,
15258: p_next_rec.PROJECT_ID) THEN
15259: IF prior_exists = 'Y' THEN
15260: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
15261: END IF;
15262: ELSE
15263: IF prior_exists = 'N' THEN
15264: ind := ind+1;

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

15265: END IF;
15266: x_line_changed_attr_tbl(ind).attribute_name := 'PROJECT_NUMBER';
15267: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15268: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PROJECT_ID;
15269: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
15270: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
15271: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
15272: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PROJECT_ID;
15273: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_next_rec.PROJECT_ID);

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

15267: x_line_changed_attr_tbl(ind).line_number := x_line_number;
15268: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.PROJECT_ID;
15269: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
15270: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
15271: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
15272: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PROJECT_ID;
15273: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_next_rec.PROJECT_ID);
15274: END IF;
15275: END IF; /* NEXT */

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

15269: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Project(p_prior_rec.PROJECT_ID);
15270: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.PROJECT_ID;
15271: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Project(p_curr_rec.PROJECT_ID);
15272: x_line_changed_attr_tbl(ind).next_id := p_next_rec.PROJECT_ID;
15273: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Project(p_next_rec.PROJECT_ID);
15274: END IF;
15275: END IF; /* NEXT */
15276:
15277: /* END PROJECT_ID*/

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

16064: prior_exists := 'Y';
16065: x_line_changed_attr_tbl(ind).attribute_name := 'RETURN_REASON';
16066: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16067: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
16068: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
16069: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
16070: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
16071: END IF;
16072: END IF; /* PRIOR */

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

16066: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16067: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
16068: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
16069: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
16070: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
16071: END IF;
16072: END IF; /* PRIOR */
16073: /****************************/
16074: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

16075: IF OE_Globals.Equal(
16076: p_curr_rec.RETURN_REASON_CODE,
16077: p_next_rec.RETURN_REASON_CODE) THEN
16078: IF prior_exists = 'Y' THEN
16079: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
16080: END IF;
16081: null;
16082: ELSE
16083: IF prior_exists = 'N' THEN

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

16085: END IF;
16086: x_line_changed_attr_tbl(ind).attribute_name := 'RETURN_REASON';
16087: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16088: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
16089: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
16090: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
16091: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
16092: x_line_changed_attr_tbl(ind).next_id := p_next_rec.RETURN_REASON_CODE;
16093: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);

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

16087: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16088: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.RETURN_REASON_CODE;
16089: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
16090: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
16091: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
16092: x_line_changed_attr_tbl(ind).next_id := p_next_rec.RETURN_REASON_CODE;
16093: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);
16094: END IF;
16095: END IF; /* NEXT */

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

16089: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.RETURN_REASON(p_prior_rec.RETURN_REASON_CODE);
16090: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.RETURN_REASON_CODE;
16091: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.RETURN_REASON(p_curr_rec.RETURN_REASON_CODE);
16092: x_line_changed_attr_tbl(ind).next_id := p_next_rec.RETURN_REASON_CODE;
16093: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.RETURN_REASON(p_next_rec.RETURN_REASON_CODE);
16094: END IF;
16095: END IF; /* NEXT */
16096:
16097: /* END RETURN_REASON_CODE*/

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

16151: prior_exists := 'Y';
16152: x_line_changed_attr_tbl(ind).attribute_name := 'SALESREP';
16153: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16154: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
16155: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
16156: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
16157: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
16158: END IF;
16159: END IF; /* PRIOR */

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

16153: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16154: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
16155: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
16156: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
16157: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
16158: END IF;
16159: END IF; /* PRIOR */
16160: /****************************/
16161: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

16162: IF OE_Globals.Equal(
16163: p_curr_rec.SALESREP_ID,
16164: p_next_rec.SALESREP_ID) THEN
16165: IF prior_exists = 'Y' THEN
16166: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
16167: END IF;
16168: ELSE
16169: IF prior_exists = 'N' THEN
16170: ind := ind+1;

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

16171: END IF;
16172: x_line_changed_attr_tbl(ind).attribute_name := 'SALESREP';
16173: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16174: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
16175: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
16176: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
16177: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
16178: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SALESREP_ID;
16179: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);

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

16173: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16174: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SALESREP_ID;
16175: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
16176: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
16177: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
16178: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SALESREP_ID;
16179: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);
16180: END IF;
16181: END IF; /* NEXT */

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

16175: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SALESREP(p_prior_rec.SALESREP_ID);
16176: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SALESREP_ID;
16177: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SALESREP(p_curr_rec.SALESREP_ID);
16178: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SALESREP_ID;
16179: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SALESREP(p_next_rec.SALESREP_ID);
16180: END IF;
16181: END IF; /* NEXT */
16182:
16183: /* END SALESREP_ID*/

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

16321: prior_exists := 'Y';
16322: x_line_changed_attr_tbl(ind).attribute_name := 'SHIPMENT_PRIORITY';
16323: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16324: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
16325: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
16326: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
16327: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
16328: END IF;
16329: END IF; /* PRIOR */

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

16323: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16324: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
16325: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
16326: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
16327: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
16328: END IF;
16329: END IF; /* PRIOR */
16330: /****************************/
16331: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

16332: IF OE_Globals.Equal(
16333: p_curr_rec.SHIPMENT_PRIORITY_CODE,
16334: p_next_rec.SHIPMENT_PRIORITY_CODE) THEN
16335: IF prior_exists = 'Y' THEN
16336: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
16337: END IF;
16338: ELSE
16339: IF prior_exists = 'N' THEN
16340: ind := ind+1;

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

16341: END IF;
16342: x_line_changed_attr_tbl(ind).attribute_name := 'SHIPMENT_PRIORITY';
16343: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16344: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
16345: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
16346: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
16347: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
16348: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPMENT_PRIORITY_CODE;
16349: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);

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

16343: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16344: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPMENT_PRIORITY_CODE;
16345: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
16346: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
16347: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
16348: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPMENT_PRIORITY_CODE;
16349: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);
16350: END IF;
16351: END IF; /* NEXT */

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

16345: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_prior_rec.SHIPMENT_PRIORITY_CODE);
16346: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPMENT_PRIORITY_CODE;
16347: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_curr_rec.SHIPMENT_PRIORITY_CODE);
16348: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPMENT_PRIORITY_CODE;
16349: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.SHIPMENT_PRIORITY(p_next_rec.SHIPMENT_PRIORITY_CODE);
16350: END IF;
16351: END IF; /* NEXT */
16352:
16353: /* END SHIPMENT_PRIORITY_CODE*/

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

16408: prior_exists := 'Y';
16409: x_line_changed_attr_tbl(ind).attribute_name := 'SHIPPING_METHOD';
16410: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16411: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
16412: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
16413: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
16414: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
16415: END IF;
16416: END IF; /* PRIOR */

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

16410: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16411: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
16412: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
16413: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
16414: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
16415: END IF;
16416: END IF; /* PRIOR */
16417: /****************************/
16418: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

16419: IF OE_Globals.Equal(
16420: p_curr_rec.SHIPPING_METHOD_CODE,
16421: p_next_rec.SHIPPING_METHOD_CODE) THEN
16422: IF prior_exists = 'Y' THEN
16423: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
16424: END IF;
16425: ELSE
16426: IF prior_exists = 'N' THEN
16427: ind := ind+1;

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

16428: END IF;
16429: x_line_changed_attr_tbl(ind).attribute_name := 'SHIPPING_METHOD';
16430: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16431: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
16432: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
16433: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
16434: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
16435: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPPING_METHOD_CODE;
16436: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);

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

16430: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16431: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.SHIPPING_METHOD_CODE;
16432: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
16433: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
16434: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
16435: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPPING_METHOD_CODE;
16436: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);
16437: END IF;
16438: END IF; /* NEXT */

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

16432: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_method(p_prior_rec.SHIPPING_METHOD_CODE);
16433: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.SHIPPING_METHOD_CODE;
16434: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_method(p_curr_rec.SHIPPING_METHOD_CODE);
16435: x_line_changed_attr_tbl(ind).next_id := p_next_rec.SHIPPING_METHOD_CODE;
16436: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_method(p_next_rec.SHIPPING_METHOD_CODE);
16437: END IF;
16438: END IF; /* NEXT */
16439:
16440: /* END SHIPPING_METHOD_CODE*/

Line 16458: OE_ID_TO_VALUE.ship_from_Org

16454: prior_exists := 'Y';
16455: x_line_changed_attr_tbl(ind).attribute_name := 'ship_from_location';
16456: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16457: if p_curr_rec.ship_from_org_id is not null then
16458: OE_ID_TO_VALUE.ship_from_Org
16459: ( p_ship_from_org_id => p_curr_rec.ship_from_org_id
16460: , x_ship_from_address1 => x_ship_from_address1
16461: , x_ship_from_address2 => x_ship_from_address2
16462: , x_ship_from_address3 => x_ship_from_address3

Line 16481: OE_ID_TO_VALUE.ship_from_Org

16477: x_line_changed_attr_tbl(ind).current_value := x_current_ship_from_org;
16478: end if;
16479:
16480: if p_prior_rec.ship_from_org_id is not null then
16481: OE_ID_TO_VALUE.ship_from_Org
16482: ( p_ship_from_org_id => p_prior_rec.ship_from_org_id
16483: , x_ship_from_address1 => x_ship_from_address1
16484: , x_ship_from_address2 => x_ship_from_address2
16485: , x_ship_from_address3 => x_ship_from_address3

Line 16521: OE_ID_TO_VALUE.ship_from_Org

16517: x_line_changed_attr_tbl(ind).attribute_name := 'ship_from_Location';
16518: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16519:
16520: if p_prior_rec.ship_from_org_id is not null then
16521: OE_ID_TO_VALUE.ship_from_Org
16522: ( p_ship_from_org_id => p_prior_rec.ship_from_org_id
16523: , x_ship_from_address1 => x_ship_from_address1
16524: , x_ship_from_address2 => x_ship_from_address2
16525: , x_ship_from_address3 => x_ship_from_address3

Line 16544: OE_ID_TO_VALUE.ship_from_Org

16540: x_line_changed_attr_tbl(ind).prior_value := x_prior_ship_from_org;
16541:
16542: end if;
16543: if p_curr_rec.ship_from_org_id is not null then
16544: OE_ID_TO_VALUE.ship_from_Org
16545: ( p_ship_from_org_id => p_curr_rec.ship_from_org_id
16546: , x_ship_from_address1 => x_ship_from_address1
16547: , x_ship_from_address2 => x_ship_from_address2
16548: , x_ship_from_address3 => x_ship_from_address3

Line 16567: OE_ID_TO_VALUE.ship_from_Org

16563: x_line_changed_attr_tbl(ind).current_value := x_current_ship_from_org;
16564: end if;
16565:
16566: if p_next_rec.ship_from_org_id is not null then
16567: OE_ID_TO_VALUE.ship_from_Org
16568: ( p_ship_from_org_id => p_next_rec.ship_from_org_id
16569: , x_ship_from_address1 => x_ship_from_address1
16570: , x_ship_from_address2 => x_ship_from_address2
16571: , x_ship_from_address3 => x_ship_from_address3

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

16686: prior_exists := 'Y';
16687: x_line_changed_attr_tbl(ind).attribute_name := 'ship_to_contact';
16688: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16689: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16690: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16691: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
16692: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16693: END IF;
16694: END IF; /* PRIOR */

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

16688: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16689: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16690: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16691: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
16692: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16693: END IF;
16694: END IF; /* PRIOR */
16695: /****************************/
16696: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

16697: IF OE_Globals.Equal(
16698: p_curr_rec.ship_to_contact_id,
16699: p_next_rec.ship_to_contact_id) THEN
16700: IF prior_exists = 'Y' THEN
16701: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16702: END IF;
16703: ELSE
16704: IF prior_exists = 'N' THEN
16705: ind := ind+1;

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

16706: END IF;
16707: x_line_changed_attr_tbl(ind).attribute_name := 'ship_to_contact';
16708: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16709: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
16710: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16711: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16712: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16713: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ship_to_contact_id;
16714: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);

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

16708: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16709: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.ship_to_contact_id;
16710: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16711: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16712: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16713: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ship_to_contact_id;
16714: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);
16715: END IF; /* NEXT */
16716: END IF;

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

16710: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.ship_To_Contact(p_prior_rec.ship_to_contact_id);
16711: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.ship_to_contact_id;
16712: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.ship_To_Contact(p_curr_rec.ship_to_contact_id);
16713: x_line_changed_attr_tbl(ind).next_id := p_next_rec.ship_to_contact_id;
16714: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.ship_To_Contact(p_next_rec.ship_to_contact_id);
16715: END IF; /* NEXT */
16716: END IF;
16717:
16718: /* END ship_to_contact_id*/

Line 16735: OE_ID_TO_VALUE.ship_to_Org

16731: prior_exists := 'Y';
16732: x_line_changed_attr_tbl(ind).attribute_name := 'ship_to_location';
16733: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16734: if p_curr_rec.ship_to_org_id is not null then
16735: OE_ID_TO_VALUE.ship_to_Org
16736: ( p_ship_to_org_id => p_curr_rec.ship_to_org_id
16737: , x_ship_to_address1 => x_ship_to_address1
16738: , x_ship_to_address2 => x_ship_to_address2
16739: , x_ship_to_address3 => x_ship_to_address3

Line 16766: OE_ID_TO_VALUE.ship_to_Org

16762: x_line_changed_attr_tbl(ind).current_value := x_current_ship_to_address;
16763: end if;
16764:
16765: if p_prior_rec.ship_to_org_id is not null then
16766: OE_ID_TO_VALUE.ship_to_Org
16767: ( p_ship_to_org_id => p_prior_rec.ship_to_org_id
16768: , x_ship_to_address1 => x_ship_to_address1
16769: , x_ship_to_address2 => x_ship_to_address2
16770: , x_ship_to_address3 => x_ship_to_address3

Line 16813: OE_ID_TO_VALUE.ship_to_Org

16809: x_line_changed_attr_tbl(ind).attribute_name := 'ship_to_location';
16810: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16811:
16812: if p_prior_rec.ship_to_org_id is not null then
16813: OE_ID_TO_VALUE.ship_to_Org
16814: ( p_ship_to_org_id => p_prior_rec.ship_to_org_id
16815: , x_ship_to_address1 => x_ship_to_address1
16816: , x_ship_to_address2 => x_ship_to_address2
16817: , x_ship_to_address3 => x_ship_to_address3

Line 16843: OE_ID_TO_VALUE.ship_to_Org

16839: x_line_changed_attr_tbl(ind).prior_value := x_prior_ship_to_address;
16840: end if;
16841:
16842: if p_curr_rec.ship_to_org_id is not null then
16843: OE_ID_TO_VALUE.ship_to_Org
16844: ( p_ship_to_org_id => p_curr_rec.ship_to_org_id
16845: , x_ship_to_address1 => x_ship_to_address1
16846: , x_ship_to_address2 => x_ship_to_address2
16847: , x_ship_to_address3 => x_ship_to_address3

Line 16873: OE_ID_TO_VALUE.ship_to_Org

16869: x_line_changed_attr_tbl(ind).current_value := x_current_ship_to_address;
16870: end if;
16871:
16872: if p_next_rec.ship_to_org_id is not null then
16873: OE_ID_TO_VALUE.ship_to_Org
16874: ( p_ship_to_org_id => p_next_rec.ship_to_org_id
16875: , x_ship_to_address1 => x_ship_to_address1
16876: , x_ship_to_address2 => x_ship_to_address2
16877: , x_ship_to_address3 => x_ship_to_address3

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

16918: prior_exists := 'Y';
16919: x_line_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT';
16920: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16921: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16922: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16923: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
16924: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16925: END IF;
16926: END IF; /* PRIOR */

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

16920: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16921: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16922: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16923: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
16924: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16925: END IF;
16926: END IF; /* PRIOR */
16927: /****************************/
16928: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

16929: IF OE_Globals.Equal(
16930: p_curr_rec.TAX_EXEMPT_FLAG,
16931: p_next_rec.TAX_EXEMPT_FLAG) THEN
16932: IF prior_exists = 'Y' THEN
16933: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16934: END IF;
16935: ELSE
16936: IF prior_exists = 'N' THEN
16937: ind := ind+1;

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

16938: END IF;
16939: x_line_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT';
16940: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16941: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
16942: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16943: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16944: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16945: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_FLAG;
16946: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);

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

16940: x_line_changed_attr_tbl(ind).line_number := x_line_number;
16941: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_FLAG;
16942: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16943: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16944: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16945: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_FLAG;
16946: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);
16947: END IF;
16948: END IF; /* NEXT */

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

16942: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt(p_prior_rec.TAX_EXEMPT_FLAG);
16943: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_FLAG;
16944: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt(p_curr_rec.TAX_EXEMPT_FLAG);
16945: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_FLAG;
16946: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt(p_next_rec.TAX_EXEMPT_FLAG);
16947: END IF;
16948: END IF; /* NEXT */
16949:
16950: /* END TAX_EXEMPT_FLAG*/

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

17006: prior_exists := 'Y';
17007: x_line_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT_REASON';
17008: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17009: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
17010: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
17011: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
17012: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
17013: END IF;
17014: END IF; /* PRIOR */

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

17008: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17009: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
17010: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
17011: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
17012: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
17013: END IF;
17014: END IF; /* PRIOR */
17015: /****************************/
17016: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

17017: IF OE_Globals.Equal(
17018: p_curr_rec.TAX_EXEMPT_REASON_CODE,
17019: p_next_rec.TAX_EXEMPT_REASON_CODE) THEN
17020: IF prior_exists = 'Y' THEN
17021: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
17022: END IF;
17023: ELSE
17024: IF prior_exists = 'N' THEN
17025: ind := ind+1;

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

17026: END IF;
17027: x_line_changed_attr_tbl(ind).attribute_name := 'TAX_EXEMPT_REASON';
17028: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17029: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
17030: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
17031: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
17032: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
17033: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_REASON_CODE;
17034: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);

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

17028: x_line_changed_attr_tbl(ind).line_number := x_line_number;
17029: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.TAX_EXEMPT_REASON_CODE;
17030: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
17031: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
17032: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
17033: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_REASON_CODE;
17034: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);
17035: END IF;
17036: END IF; /* NEXT */

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

17030: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_prior_rec.TAX_EXEMPT_REASON_CODE);
17031: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.TAX_EXEMPT_REASON_CODE;
17032: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_curr_rec.TAX_EXEMPT_REASON_CODE);
17033: x_line_changed_attr_tbl(ind).next_id := p_next_rec.TAX_EXEMPT_REASON_CODE;
17034: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Tax_Exempt_Reason(p_next_rec.TAX_EXEMPT_REASON_CODE);
17035: END IF;
17036: END IF; /* NEXT */
17037:
17038: /* END TAX_EXEMPT_REASON_CODE*/

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

18115: prior_exists := 'Y';
18116: x_line_changed_attr_tbl(ind).attribute_name := 'STATUS';
18117: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18118: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
18119: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
18120: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.FLOW_STATUS_CODE;
18121: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
18122: END IF;
18123: END IF; /* PRIOR */

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

18117: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18118: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
18119: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
18120: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.FLOW_STATUS_CODE;
18121: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
18122: END IF;
18123: END IF; /* PRIOR */
18124: /****************************/
18125: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

18126: IF OE_Globals.Equal(
18127: p_curr_rec.FLOW_STATUS_CODE,
18128: p_next_rec.FLOW_STATUS_CODE) THEN
18129: IF prior_exists = 'Y' THEN
18130: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
18131: END IF;
18132: ELSE
18133: IF prior_exists = 'N' THEN
18134: ind := ind+1;

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

18135: END IF;
18136: x_line_changed_attr_tbl(ind).attribute_name := 'STATUS';
18137: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18138: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.FLOW_STATUS_CODE;
18139: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
18140: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
18141: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
18142: x_line_changed_attr_tbl(ind).next_id := p_next_rec.FLOW_STATUS_CODE;
18143: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_next_rec.FLOW_STATUS_CODE);

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

18137: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18138: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.FLOW_STATUS_CODE;
18139: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
18140: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
18141: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
18142: x_line_changed_attr_tbl(ind).next_id := p_next_rec.FLOW_STATUS_CODE;
18143: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_next_rec.FLOW_STATUS_CODE);
18144: END IF;
18145: END IF; /* NEXT */

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

18139: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Flow_Status(p_prior_rec.FLOW_STATUS_CODE);
18140: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.FLOW_STATUS_CODE;
18141: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Flow_Status(p_curr_rec.FLOW_STATUS_CODE);
18142: x_line_changed_attr_tbl(ind).next_id := p_next_rec.FLOW_STATUS_CODE;
18143: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Flow_Status(p_next_rec.FLOW_STATUS_CODE);
18144: END IF;
18145: END IF; /* NEXT */
18146:
18147: /* END FLOW_STATUS_CODE*/

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

18202: prior_exists := 'Y';
18203: x_line_changed_attr_tbl(ind).attribute_name := 'COMMITMENT';
18204: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18205: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
18206: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
18207: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.COMMITMENT_ID;
18208: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
18209: END IF;
18210: END IF; /* PRIOR */

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

18204: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18205: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
18206: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
18207: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.COMMITMENT_ID;
18208: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
18209: END IF;
18210: END IF; /* PRIOR */
18211: /****************************/
18212: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

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

18213: IF OE_Globals.Equal(
18214: p_curr_rec.COMMITMENT_ID,
18215: p_next_rec.COMMITMENT_ID) THEN
18216: IF prior_exists = 'Y' THEN
18217: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
18218: END IF;
18219: ELSE
18220: IF prior_exists = 'N' THEN
18221: ind := ind+1;

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

18222: END IF;
18223: x_line_changed_attr_tbl(ind).attribute_name := 'COMMITMENT';
18224: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18225: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.COMMITMENT_ID;
18226: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
18227: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
18228: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
18229: x_line_changed_attr_tbl(ind).next_id := p_next_rec.COMMITMENT_ID;
18230: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_next_rec.COMMITMENT_ID);

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

18224: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18225: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.COMMITMENT_ID;
18226: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
18227: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
18228: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
18229: x_line_changed_attr_tbl(ind).next_id := p_next_rec.COMMITMENT_ID;
18230: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_next_rec.COMMITMENT_ID);
18231: END IF;
18232: END IF; /* NEXT */

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

18226: x_line_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.Commitment(p_prior_rec.COMMITMENT_ID);
18227: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.COMMITMENT_ID;
18228: x_line_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.Commitment(p_curr_rec.COMMITMENT_ID);
18229: x_line_changed_attr_tbl(ind).next_id := p_next_rec.COMMITMENT_ID;
18230: x_line_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.Commitment(p_next_rec.COMMITMENT_ID);
18231: END IF;
18232: END IF; /* NEXT */
18233:
18234: /* END COMMITMENT_ID*/

Line 18253: OE_ID_TO_VALUE.Item_Relationship_Type

18249: prior_exists := 'Y';
18250: x_line_changed_attr_tbl(ind).attribute_name := 'Item_Relationship_Type_dsp';
18251: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18252: if p_curr_rec.Item_Relationship_Type is not null then
18253: OE_ID_TO_VALUE.Item_Relationship_Type
18254: ( p_Item_Relationship_Type => p_curr_rec.item_relationship_type
18255: , x_Item_Relationship_Type_Dsp => x_current_item_rel_type
18256: );
18257: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Item_Relationship_Type;

Line 18262: OE_ID_TO_VALUE.Item_Relationship_Type

18258: x_line_changed_attr_tbl(ind).current_value := x_current_item_rel_type;
18259: end if;
18260:
18261: if p_prior_rec.Item_Relationship_Type is not null then
18262: OE_ID_TO_VALUE.Item_Relationship_Type
18263: ( p_Item_Relationship_Type => p_prior_rec.item_relationship_type
18264: , x_Item_Relationship_Type_Dsp => x_prior_item_rel_type
18265: );
18266:

Line 18289: OE_ID_TO_VALUE.item_relationship_type

18285: x_line_changed_attr_tbl(ind).attribute_name := 'Item_Relationship_Type_dsp';
18286: x_line_changed_attr_tbl(ind).line_number := x_line_number;
18287:
18288: if p_prior_rec.Item_Relationship_Type is not null then
18289: OE_ID_TO_VALUE.item_relationship_type
18290: ( p_Item_Relationship_Type => p_prior_rec.item_relationship_type
18291: , x_Item_Relationship_Type_Dsp => x_prior_item_rel_type
18292: );
18293: x_line_changed_attr_tbl(ind).prior_id := p_prior_rec.Item_Relationship_Type;

Line 18298: OE_ID_TO_VALUE.Item_Relationship_Type

18294: x_line_changed_attr_tbl(ind).prior_value := x_prior_item_rel_type;
18295: end if;
18296:
18297: if p_curr_rec.Item_Relationship_Type is not null then
18298: OE_ID_TO_VALUE.Item_Relationship_Type
18299: ( p_Item_Relationship_Type => p_curr_Rec.item_relationship_type
18300: , x_Item_Relationship_Type_Dsp => x_current_item_rel_type
18301: );
18302: x_line_changed_attr_tbl(ind).current_id := p_curr_rec.Item_Relationship_Type;

Line 18307: OE_ID_TO_VALUE.Item_Relationship_Type

18303: x_line_changed_attr_tbl(ind).current_value := x_current_item_rel_type;
18304: END IF;
18305:
18306: if p_next_rec.Item_Relationship_Type is not null then
18307: OE_ID_TO_VALUE.Item_Relationship_Type
18308: ( p_Item_Relationship_Type => p_next_Rec.item_relationship_type
18309: , x_Item_Relationship_Type_Dsp => x_next_item_rel_type
18310: );
18311: x_line_changed_attr_tbl(ind).next_id := p_next_rec.Item_Relationship_Type;

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

19178: null;
19179: ELSE
19180: ind := ind+1;
19181: prior_exists := 'Y';
19182: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19183: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute1';
19184: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute1;
19185: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute1;
19186: END IF;

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

19196: ELSE
19197: IF prior_exists = 'N' THEN
19198: ind := ind+1;
19199: END IF;
19200: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19201: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute1';
19202: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute1;
19203: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute1;
19204: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute1;

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

19219: null;
19220: ELSE
19221: ind := ind+1;
19222: prior_exists := 'Y';
19223: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19224: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute2';
19225: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute2;
19226: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute2;
19227: END IF;

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

19237: ELSE
19238: IF prior_exists = 'N' THEN
19239: ind := ind+1;
19240: END IF;
19241: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19242: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute2';
19243: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute2;
19244: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute2;
19245: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute2;

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

19259: null;
19260: ELSE
19261: ind := ind+1;
19262: prior_exists := 'Y';
19263: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19264: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute3';
19265: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute3;
19266: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute3;
19267: END IF;

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

19277: ELSE
19278: IF prior_exists = 'N' THEN
19279: ind := ind+1;
19280: END IF;
19281: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19282: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute3';
19283: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute3;
19284: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute3;
19285: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute3;

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

19300: null;
19301: ELSE
19302: ind := ind+1;
19303: prior_exists := 'Y';
19304: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19305: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute4';
19306: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute4;
19307: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute4;
19308: END IF;

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

19318: ELSE
19319: IF prior_exists = 'N' THEN
19320: ind := ind+1;
19321: END IF;
19322: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19323: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute4';
19324: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute4;
19325: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute4;
19326: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute4;

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

19340: null;
19341: ELSE
19342: ind := ind+1;
19343: prior_exists := 'Y';
19344: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19345: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute5';
19346: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute5;
19347: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute5;
19348: END IF;

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

19358: ELSE
19359: IF prior_exists = 'N' THEN
19360: ind := ind+1;
19361: END IF;
19362: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19363: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute5';
19364: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute5;
19365: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute5;
19366: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute5;

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

19381: null;
19382: ELSE
19383: ind := ind+1;
19384: prior_exists := 'Y';
19385: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19386: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute6';
19387: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute6;
19388: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute6;
19389: END IF;

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

19400: IF prior_exists = 'N' THEN
19401: ind := ind+1;
19402: END IF;
19403: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute6';
19404: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19405: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute6;
19406: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute6;
19407: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute6;
19408: END IF;

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

19421: null;
19422: ELSE
19423: ind := ind+1;
19424: prior_exists := 'Y';
19425: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19426: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute7';
19427: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute7;
19428: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute7;
19429: END IF;

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

19439: ELSE
19440: IF prior_exists = 'N' THEN
19441: ind := ind+1;
19442: END IF;
19443: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19444: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute7';
19445: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute7;
19446: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute7;
19447: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute7;

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

19462: null;
19463: ELSE
19464: ind := ind+1;
19465: prior_exists := 'Y';
19466: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19467: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute8';
19468: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute8;
19469: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute8;
19470: END IF;

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

19480: ELSE
19481: IF prior_exists = 'N' THEN
19482: ind := ind+1;
19483: END IF;
19484: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19485: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute8';
19486: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute8;
19487: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute8;
19488: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute8;

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

19502: null;
19503: ELSE
19504: ind := ind+1;
19505: prior_exists := 'Y';
19506: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19507: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute9';
19508: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute9;
19509: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute9;
19510: END IF;

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

19520: ELSE
19521: IF prior_exists = 'N' THEN
19522: ind := ind+1;
19523: END IF;
19524: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19525: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute9';
19526: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute9;
19527: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute9;
19528: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute9;

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

19543: null;
19544: ELSE
19545: ind := ind+1;
19546: prior_exists := 'Y';
19547: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19548: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute10';
19549: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute10;
19550: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute10;
19551: END IF;

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

19561: ELSE
19562: IF prior_exists = 'N' THEN
19563: ind := ind+1;
19564: END IF;
19565: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19566: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute10';
19567: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute10;
19568: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute10;
19569: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute10;

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

19584: null;
19585: ELSE
19586: ind := ind+1;
19587: prior_exists := 'Y';
19588: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19589: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute11';
19590: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute11;
19591: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute11;
19592: END IF;

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

19602: ELSE
19603: IF prior_exists = 'N' THEN
19604: ind := ind+1;
19605: END IF;
19606: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19607: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute11';
19608: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute11;
19609: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute11;
19610: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute11;

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

19625: null;
19626: ELSE
19627: ind := ind+1;
19628: prior_exists := 'Y';
19629: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19630: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute12';
19631: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute12;
19632: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute12;
19633: END IF;

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

19643: ELSE
19644: IF prior_exists = 'N' THEN
19645: ind := ind+1;
19646: END IF;
19647: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19648: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute12';
19649: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute12;
19650: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute12;
19651: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute12;

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

19666: null;
19667: ELSE
19668: ind := ind+1;
19669: prior_exists := 'Y';
19670: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19671: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute13';
19672: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute13;
19673: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute13;
19674: END IF;

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

19684: ELSE
19685: IF prior_exists = 'N' THEN
19686: ind := ind+1;
19687: END IF;
19688: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19689: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute13';
19690: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute13;
19691: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute13;
19692: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute13;

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

19707: null;
19708: ELSE
19709: ind := ind+1;
19710: prior_exists := 'Y';
19711: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19712: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute14';
19713: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute14;
19714: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute14;
19715: END IF;

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

19725: ELSE
19726: IF prior_exists = 'N' THEN
19727: ind := ind+1;
19728: END IF;
19729: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19730: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute14';
19731: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute14;
19732: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute14;
19733: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute14;

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

19748: null;
19749: ELSE
19750: ind := ind+1;
19751: prior_exists := 'Y';
19752: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19753: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute15';
19754: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute15;
19755: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute15;
19756: END IF;

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

19766: ELSE
19767: IF prior_exists = 'N' THEN
19768: ind := ind+1;
19769: END IF;
19770: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19771: x_header_sc_changed_attr_tbl(ind).attribute_name := 'attribute15';
19772: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute15;
19773: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute15;
19774: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute15;

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

19788: null;
19789: ELSE
19790: ind := ind+1;
19791: prior_exists := 'Y';
19792: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19793: x_header_sc_changed_attr_tbl(ind).attribute_name := 'context';
19794: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.context;
19795: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.context;
19796: END IF;

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

19806: ELSE
19807: IF prior_exists = 'N' THEN
19808: ind := ind+1;
19809: END IF;
19810: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19811: x_header_sc_changed_attr_tbl(ind).attribute_name := 'context';
19812: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.context;
19813: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.context;
19814: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.context;

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

19830: null;
19831: ELSE
19832: ind := ind+1;
19833: prior_exists := 'Y';
19834: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19835: x_header_sc_changed_attr_tbl(ind).attribute_name := 'PERCENT';
19836: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.PERCENT;
19837: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.PERCENT;
19838: END IF;

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

19848: ELSE
19849: IF prior_exists = 'N' THEN
19850: ind := ind+1;
19851: END IF;
19852: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19853: x_header_sc_changed_attr_tbl(ind).attribute_name := 'PERCENT';
19854: x_header_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.PERCENT;
19855: x_header_sc_changed_attr_tbl(ind).current_value := p_curr_rec.PERCENT;
19856: x_header_sc_changed_attr_tbl(ind).next_value := p_next_rec.PERCENT;

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

19870: null;
19871: ELSE
19872: ind := ind+1;
19873: prior_exists := 'Y';
19874: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19875: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19876: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19877: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19878: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;

Line 19877: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

19873: prior_exists := 'Y';
19874: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19875: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19876: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19877: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19878: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19879: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19880: END IF;
19881: END IF; /* PRIOR */

Line 19879: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);

19875: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19876: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19877: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19878: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19879: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19880: END IF;
19881: END IF; /* PRIOR */
19882: /****************************/
19883: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 19888: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

19884: IF OE_Globals.Equal(
19885: p_curr_rec.sales_credit_type_id,
19886: p_next_rec.sales_credit_type_id) THEN
19887: IF prior_exists = 'Y' THEN
19888: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19889: END IF;
19890: ELSE
19891: IF prior_exists = 'N' THEN
19892: ind := ind+1;

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

19890: ELSE
19891: IF prior_exists = 'N' THEN
19892: ind := ind+1;
19893: END IF;
19894: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19895: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19896: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19897: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19898: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;

Line 19897: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);

19893: END IF;
19894: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19895: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19896: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19897: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19898: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19899: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19900: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
19901: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);

Line 19899: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

19895: x_header_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
19896: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
19897: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19898: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19899: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19900: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
19901: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);
19902: END IF;
19903: END IF; /* NEXT */

Line 19901: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);

19897: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
19898: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
19899: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
19900: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
19901: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);
19902: END IF;
19903: END IF; /* NEXT */
19904:
19905: /* END sales_credit_type_id*/

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

19921: null;
19922: ELSE
19923: ind := ind+1;
19924: prior_exists := 'Y';
19925: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19926: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19927: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19928: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19929: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;

Line 19928: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

19924: prior_exists := 'Y';
19925: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19926: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19927: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19928: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19929: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19930: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19931: END IF;
19932: END IF; /* PRIOR */

Line 19930: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);

19926: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19927: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19928: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19929: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19930: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19931: END IF;
19932: END IF; /* PRIOR */
19933: /****************************/
19934: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 19939: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

19935: IF OE_Globals.Equal(
19936: p_curr_rec.sales_group_id,
19937: p_next_rec.sales_group_id) THEN
19938: IF prior_exists = 'Y' THEN
19939: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19940: END IF;
19941: ELSE
19942: IF prior_exists = 'N' THEN
19943: ind := ind+1;

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

19941: ELSE
19942: IF prior_exists = 'N' THEN
19943: ind := ind+1;
19944: END IF;
19945: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19946: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19947: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19948: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19949: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;

Line 19948: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);

19944: END IF;
19945: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19946: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19947: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19948: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19949: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19950: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19951: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
19952: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);

Line 19950: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

19946: x_header_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
19947: x_header_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
19948: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19949: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19950: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19951: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
19952: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);
19953: END IF;
19954: END IF; /* NEXT */

Line 19952: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);

19948: x_header_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
19949: x_header_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
19950: x_header_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
19951: x_header_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
19952: x_header_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);
19953: END IF;
19954: END IF; /* NEXT */
19955:
19956: /* END sales_group_id*/

Line 19966: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);

19962: p_prior_rec.salesrep_id,
19963: p_curr_rec.salesrep_id) THEN
19964: If p_prior_version IS NOT NULL THEN
19965: ind := ind+1;
19966: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);
19967: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19968: x_header_sc_changed_attr_tbl(ind).current_value := null;
19969: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
19970: ind := ind+1;

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

19967: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19968: x_header_sc_changed_attr_tbl(ind).current_value := null;
19969: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
19970: ind := ind+1;
19971: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19972: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19973: x_header_sc_changed_attr_tbl(ind).current_value := null;
19974: x_header_sc_changed_attr_tbl(ind).next_value := 'ADD';
19975: END IF; /* prior version is not null */

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

19979: p_curr_rec.salesrep_id,
19980: p_next_rec.salesrep_id) THEN
19981: IF p_next_version IS NOT NULL THEN
19982: ind := ind+1;
19983: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
19984: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19985: x_header_sc_changed_attr_tbl(ind).current_value := null;
19986: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
19987: ind := ind+1;

Line 19988: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);

19984: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19985: x_header_sc_changed_attr_tbl(ind).current_value := null;
19986: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
19987: ind := ind+1;
19988: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);
19989: x_header_sc_changed_attr_tbl(ind).prior_value := null;
19990: x_header_sc_changed_attr_tbl(ind).current_value := null;
19991: x_header_sc_changed_attr_tbl(ind).next_value := 'ADD';
19992: END IF; /* next version is not null */

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

20008: IF l_debug_level > 0 THEN
20009: oe_debug_pub.add(' Prior is not there - current is there');
20010: END IF;
20011: ind := ind+1;
20012: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20013: x_header_sc_changed_attr_tbl(ind).prior_value := null;
20014: x_header_sc_changed_attr_tbl(ind).current_value := 'ADD';
20015: x_header_sc_changed_attr_tbl(ind).next_value := null;
20016: ELSIF (p_curr_rec_exists = 'N' and p_next_rec_exists = 'Y') THEN

Line 20021: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);

20017: IF l_debug_level > 0 THEN
20018: oe_debug_pub.add(' Current is not there - next is there');
20019: END IF;
20020: ind := ind+1;
20021: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);
20022: x_header_sc_changed_attr_tbl(ind).prior_value := null;
20023: x_header_sc_changed_attr_tbl(ind).current_value := null;
20024: x_header_sc_changed_attr_tbl(ind).next_value := 'ADD';
20025: end if;

Line 20042: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);

20038: IF l_debug_level > 0 THEN
20039: oe_debug_pub.add(' Prior is there - current is not there');
20040: END IF;
20041: ind := ind+1;
20042: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);
20043: x_header_sc_changed_attr_tbl(ind).prior_value := null;
20044: x_header_sc_changed_attr_tbl(ind).current_value := 'DELETE';
20045: x_header_sc_changed_attr_tbl(ind).next_value := null;
20046: ELSIF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'N' THEN

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

20052: IF l_debug_level > 0 THEN
20053: oe_debug_pub.add(' Current is there - next is not there');
20054: END IF;
20055: ind := ind+1;
20056: x_header_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20057: x_header_sc_changed_attr_tbl(ind).prior_value := null;
20058: x_header_sc_changed_attr_tbl(ind).current_value := null;
20059: x_header_sc_changed_attr_tbl(ind).next_value := 'DELETE';
20060: --end if;

Line 20603: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20599: ELSE
20600: ind := ind+1;
20601: prior_exists := 'Y';
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 := 'attribute1';
20605: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute1;
20606: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute1;
20607: END IF;

Line 20622: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20618: IF prior_exists = 'N' THEN
20619: ind := ind+1;
20620: END IF;
20621: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20622: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20623: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute1';
20624: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute1;
20625: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute1;
20626: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute1;

Line 20646: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20642: ELSE
20643: ind := ind+1;
20644: prior_exists := 'Y';
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 := 'attribute2';
20648: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute2;
20649: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute2;
20650: END IF;

Line 20665: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20661: IF prior_exists = 'N' THEN
20662: ind := ind+1;
20663: END IF;
20664: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20665: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20666: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute2';
20667: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute2;
20668: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute2;
20669: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute2;

Line 20688: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20684: ELSE
20685: ind := ind+1;
20686: prior_exists := 'Y';
20687: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20688: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20689: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute3';
20690: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute3;
20691: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute3;
20692: END IF;

Line 20707: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20703: IF prior_exists = 'N' THEN
20704: ind := ind+1;
20705: END IF;
20706: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20707: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20708: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute3';
20709: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute3;
20710: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute3;
20711: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute3;

Line 20731: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20727: ELSE
20728: ind := ind+1;
20729: prior_exists := 'Y';
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 := 'attribute4';
20733: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute4;
20734: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute4;
20735: END IF;

Line 20750: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20746: IF prior_exists = 'N' THEN
20747: ind := ind+1;
20748: END IF;
20749: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20750: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20751: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute4';
20752: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute4;
20753: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute4;
20754: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute4;

Line 20773: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20769: ELSE
20770: ind := ind+1;
20771: prior_exists := 'Y';
20772: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20773: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20774: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute5';
20775: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute5;
20776: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute5;
20777: END IF;

Line 20792: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20788: IF prior_exists = 'N' THEN
20789: ind := ind+1;
20790: END IF;
20791: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20792: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20793: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute5';
20794: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute5;
20795: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute5;
20796: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute5;

Line 20816: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20812: ELSE
20813: ind := ind+1;
20814: prior_exists := 'Y';
20815: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20816: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20817: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute6';
20818: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute6;
20819: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute6;
20820: END IF;

Line 20836: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20832: ind := ind+1;
20833: END IF;
20834: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20835: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute6';
20836: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20837: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute6;
20838: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute6;
20839: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute6;
20840: END IF;

Line 20858: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20854: ELSE
20855: ind := ind+1;
20856: prior_exists := 'Y';
20857: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20858: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20859: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute7';
20860: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute7;
20861: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute7;
20862: END IF;

Line 20877: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20873: IF prior_exists = 'N' THEN
20874: ind := ind+1;
20875: END IF;
20876: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20877: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20878: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute7';
20879: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute7;
20880: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute7;
20881: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute7;

Line 20901: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20897: ELSE
20898: ind := ind+1;
20899: prior_exists := 'Y';
20900: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20901: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20902: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute8';
20903: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute8;
20904: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute8;
20905: END IF;

Line 20920: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20916: IF prior_exists = 'N' THEN
20917: ind := ind+1;
20918: END IF;
20919: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20920: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20921: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute8';
20922: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute8;
20923: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute8;
20924: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute8;

Line 20943: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20939: ELSE
20940: ind := ind+1;
20941: prior_exists := 'Y';
20942: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20943: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20944: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute9';
20945: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute9;
20946: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute9;
20947: END IF;

Line 20962: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20958: IF prior_exists = 'N' THEN
20959: ind := ind+1;
20960: END IF;
20961: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20962: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20963: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute9';
20964: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute9;
20965: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute9;
20966: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute9;

Line 20986: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

20982: ELSE
20983: ind := ind+1;
20984: prior_exists := 'Y';
20985: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
20986: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
20987: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute10';
20988: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute10;
20989: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute10;
20990: END IF;

Line 21005: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21001: IF prior_exists = 'N' THEN
21002: ind := ind+1;
21003: END IF;
21004: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21005: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21006: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute10';
21007: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute10;
21008: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute10;
21009: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute10;

Line 21029: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21025: ELSE
21026: ind := ind+1;
21027: prior_exists := 'Y';
21028: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21029: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21030: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute11';
21031: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute11;
21032: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute11;
21033: END IF;

Line 21048: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21044: IF prior_exists = 'N' THEN
21045: ind := ind+1;
21046: END IF;
21047: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21048: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21049: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute11';
21050: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute11;
21051: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute11;
21052: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute11;

Line 21072: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21068: ELSE
21069: ind := ind+1;
21070: prior_exists := 'Y';
21071: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21072: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21073: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute12';
21074: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute12;
21075: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute12;
21076: END IF;

Line 21091: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21087: IF prior_exists = 'N' THEN
21088: ind := ind+1;
21089: END IF;
21090: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21091: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21092: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute12';
21093: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute12;
21094: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute12;
21095: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute12;

Line 21115: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21111: ELSE
21112: ind := ind+1;
21113: prior_exists := 'Y';
21114: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21115: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21116: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute13';
21117: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute13;
21118: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute13;
21119: END IF;

Line 21134: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21130: IF prior_exists = 'N' THEN
21131: ind := ind+1;
21132: END IF;
21133: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21134: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21135: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute13';
21136: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute13;
21137: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute13;
21138: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute13;

Line 21158: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21154: ELSE
21155: ind := ind+1;
21156: prior_exists := 'Y';
21157: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21158: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21159: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute14';
21160: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute14;
21161: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute14;
21162: END IF;

Line 21177: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21173: IF prior_exists = 'N' THEN
21174: ind := ind+1;
21175: END IF;
21176: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21177: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21178: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute14';
21179: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute14;
21180: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute14;
21181: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute14;

Line 21201: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21197: ELSE
21198: ind := ind+1;
21199: prior_exists := 'Y';
21200: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21201: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21202: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute15';
21203: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute15;
21204: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute15;
21205: END IF;

Line 21220: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21216: IF prior_exists = 'N' THEN
21217: ind := ind+1;
21218: END IF;
21219: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21220: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21221: x_line_sc_changed_attr_tbl(ind).attribute_name := 'attribute15';
21222: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.attribute15;
21223: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.attribute15;
21224: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.attribute15;

Line 21243: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21239: ELSE
21240: ind := ind+1;
21241: prior_exists := 'Y';
21242: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21243: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21244: x_line_sc_changed_attr_tbl(ind).attribute_name := 'context';
21245: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.context;
21246: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.context;
21247: END IF;

Line 21262: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21258: IF prior_exists = 'N' THEN
21259: ind := ind+1;
21260: END IF;
21261: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21262: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21263: x_line_sc_changed_attr_tbl(ind).attribute_name := 'context';
21264: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.context;
21265: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.context;
21266: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.context;

Line 21287: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21283: ELSE
21284: ind := ind+1;
21285: prior_exists := 'Y';
21286: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21287: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21288: x_line_sc_changed_attr_tbl(ind).attribute_name := 'PERCENT';
21289: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.PERCENT;
21290: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.PERCENT;
21291: END IF;

Line 21306: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21302: IF prior_exists = 'N' THEN
21303: ind := ind+1;
21304: END IF;
21305: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21306: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21307: x_line_sc_changed_attr_tbl(ind).attribute_name := 'PERCENT';
21308: x_line_sc_changed_attr_tbl(ind).prior_value := p_prior_rec.PERCENT;
21309: x_line_sc_changed_attr_tbl(ind).current_value := p_curr_rec.PERCENT;
21310: x_line_sc_changed_attr_tbl(ind).next_value := p_next_rec.PERCENT;

Line 21329: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21325: ELSE
21326: ind := ind+1;
21327: prior_exists := 'Y';
21328: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21329: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21330: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
21331: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
21332: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
21333: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;

Line 21332: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

21328: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21329: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21330: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
21331: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
21332: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
21333: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
21334: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
21335: END IF;
21336: END IF; /* PRIOR */

Line 21334: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);

21330: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
21331: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
21332: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
21333: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
21334: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
21335: END IF;
21336: END IF; /* PRIOR */
21337: /****************************/
21338: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 21343: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

21339: IF OE_Globals.Equal(
21340: p_curr_rec.sales_credit_type_id,
21341: p_next_rec.sales_credit_type_id) THEN
21342: IF prior_exists = 'Y' THEN
21343: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
21344: END IF;
21345: ELSE
21346: IF prior_exists = 'N' THEN
21347: ind := ind+1;

Line 21350: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21346: IF prior_exists = 'N' THEN
21347: ind := ind+1;
21348: END IF;
21349: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21350: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21351: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
21352: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
21353: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
21354: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;

Line 21353: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);

21349: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21350: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21351: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
21352: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
21353: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
21354: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
21355: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
21356: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
21357: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);

Line 21355: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);

21351: x_line_sc_changed_attr_tbl(ind).attribute_name := 'sales_credit_type';
21352: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_credit_type_id;
21353: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
21354: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
21355: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
21356: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
21357: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);
21358: END IF;
21359: END IF; /* NEXT */

Line 21357: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);

21353: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.sales_credit_type(p_prior_rec.sales_credit_type_id);
21354: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_credit_type_id;
21355: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.sales_credit_type(p_curr_rec.sales_credit_type_id);
21356: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_credit_type_id;
21357: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.sales_credit_type(p_next_rec.sales_credit_type_id);
21358: END IF;
21359: END IF; /* NEXT */
21360:
21361: /* END sales_credit_type_id*/

Line 21377: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21373: ELSE
21374: ind := ind+1;
21375: prior_exists := 'Y';
21376: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21377: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21378: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
21379: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
21380: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
21381: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;

Line 21380: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

21376: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21377: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21378: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
21379: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
21380: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
21381: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
21382: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
21383: END IF;
21384: END IF; /* PRIOR */

Line 21382: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);

21378: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
21379: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
21380: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
21381: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
21382: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
21383: END IF;
21384: END IF; /* PRIOR */
21385: /****************************/
21386: IF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'Y' THEN

Line 21391: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

21387: IF OE_Globals.Equal(
21388: p_curr_rec.sales_group_id,
21389: p_next_rec.sales_group_id) THEN
21390: IF prior_exists = 'Y' THEN
21391: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
21392: END IF;
21393: ELSE
21394: IF prior_exists = 'N' THEN
21395: ind := ind+1;

Line 21398: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21394: IF prior_exists = 'N' THEN
21395: ind := ind+1;
21396: END IF;
21397: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21398: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21399: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
21400: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
21401: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
21402: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;

Line 21401: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);

21397: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21398: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21399: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
21400: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
21401: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
21402: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
21403: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
21404: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
21405: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);

Line 21403: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);

21399: x_line_sc_changed_attr_tbl(ind).attribute_name := 'SALES_GROUP';
21400: x_line_sc_changed_attr_tbl(ind).prior_id := p_prior_rec.sales_group_id;
21401: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
21402: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
21403: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
21404: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
21405: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);
21406: END IF;
21407: END IF; /* NEXT */

Line 21405: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);

21401: x_line_sc_changed_attr_tbl(ind).prior_value := OE_ID_TO_VALUE.get_sales_group_name(p_prior_rec.sales_group_id);
21402: x_line_sc_changed_attr_tbl(ind).current_id := p_curr_rec.sales_group_id;
21403: x_line_sc_changed_attr_tbl(ind).current_value := OE_ID_TO_VALUE.get_sales_group_name(p_curr_rec.sales_group_id);
21404: x_line_sc_changed_attr_tbl(ind).next_id := p_next_rec.sales_group_id;
21405: x_line_sc_changed_attr_tbl(ind).next_value := OE_ID_TO_VALUE.get_sales_group_name(p_next_rec.sales_group_id);
21406: END IF;
21407: END IF; /* NEXT */
21408:
21409: /* END sales_group_id*/

Line 21421: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);

21417: p_curr_rec.salesrep_id) THEN
21418: IF p_prior_version IS NOT NULL THEN
21419: ind := ind+1;
21420: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21421: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);
21422: x_line_sc_changed_attr_tbl(ind).prior_value := null;
21423: x_line_sc_changed_attr_tbl(ind).current_value := null;
21424: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
21425: ind := ind+1;

Line 21427: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21423: x_line_sc_changed_attr_tbl(ind).current_value := null;
21424: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
21425: ind := ind+1;
21426: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21427: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21428: x_line_sc_changed_attr_tbl(ind).prior_value := null;
21429: x_line_sc_changed_attr_tbl(ind).current_value := null;
21430: x_line_sc_changed_attr_tbl(ind).next_value := 'ADD';
21431: END IF; /*prior version is not null */

Line 21440: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21436: p_next_rec.salesrep_id) THEN
21437: IF p_next_version IS NOT NULL THEN
21438: ind := ind+1;
21439: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21440: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21441: x_line_sc_changed_attr_tbl(ind).prior_value := null;
21442: x_line_sc_changed_attr_tbl(ind).current_value := null;
21443: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
21444: ind := ind+1;

Line 21446: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);

21442: x_line_sc_changed_attr_tbl(ind).current_value := null;
21443: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
21444: ind := ind+1;
21445: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21446: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);
21447: x_line_sc_changed_attr_tbl(ind).prior_value := null;
21448: x_line_sc_changed_attr_tbl(ind).current_value := null;
21449: x_line_sc_changed_attr_tbl(ind).next_value := 'ADD';
21450: END IF; /*next version is not null */

Line 21471: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21467: oe_debug_pub.add(' Prior is not there - current is there');
21468: END IF;
21469: ind := ind+1;
21470: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21471: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21472: x_line_sc_changed_attr_tbl(ind).prior_value := null;
21473: x_line_sc_changed_attr_tbl(ind).current_value := 'ADD';
21474: x_line_sc_changed_attr_tbl(ind).next_value := null;
21475: ELSIF (p_curr_rec_exists = 'N' and p_next_rec_exists = 'Y') THEN

Line 21481: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);

21477: oe_debug_pub.add(' Current is not there - next is there');
21478: END IF;
21479: ind := ind+1;
21480: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21481: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_next_rec.salesrep_id);
21482: x_line_sc_changed_attr_tbl(ind).prior_value := null;
21483: x_line_sc_changed_attr_tbl(ind).current_value := null;
21484: x_line_sc_changed_attr_tbl(ind).next_value := 'ADD';
21485: end if;

Line 21503: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);

21499: oe_debug_pub.add(' Prior is there - current is not there');
21500: END IF;
21501: ind := ind+1;
21502: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21503: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_prior_rec.salesrep_id);
21504: x_line_sc_changed_attr_tbl(ind).prior_value := null;
21505: x_line_sc_changed_attr_tbl(ind).current_value := 'DELETE';
21506: x_line_sc_changed_attr_tbl(ind).next_value := null;
21507: ELSIF p_curr_rec_exists = 'Y' and p_next_rec_exists = 'N' THEN

Line 21518: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);

21514: oe_debug_pub.add(' Current is there - next is not there');
21515: END IF;
21516: ind := ind+1;
21517: x_line_sc_changed_attr_tbl(ind).line_number := x_line_number;
21518: x_line_sc_changed_attr_tbl(ind).attribute_value := OE_ID_TO_VALUE.Salesrep(p_curr_rec.salesrep_id);
21519: x_line_sc_changed_attr_tbl(ind).prior_value := null;
21520: x_line_sc_changed_attr_tbl(ind).current_value := null;
21521: x_line_sc_changed_attr_tbl(ind).next_value := 'DELETE';
21522: --end if;