DBA Data[Home] [Help]

APPS.HZ_PARTY_V2PUB dependencies on HZ_CLASSIFICATION_V2PUB

Line 1077: -- call hz_classification_v2pub.set_primary_code_assignment when

1073: --4232060
1074: l_created_by_module := nvl(p_group_rec.created_by_module,l_created_by_module);
1075: END IF;
1076:
1077: -- call hz_classification_v2pub.set_primary_code_assignment when
1078: -- CATEGORY_CODE is specified for a user entered party.
1079: -- you can have customer category for a person not just organization.
1080: -- we should remove category_code from the party_rec once CRM uptake the
1081: -- new TCA classification model. Other application should not use the

Line 1097: hz_classification_v2pub.set_primary_code_assignment(

1093: -- l_party_rec.category_code <> FND_API.G_MISS_CHAR AND
1094: l_party_rec.category_code <> l_old_party_rec.category_code) AND
1095: l_data_source_type = G_MISS_CONTENT_SOURCE_TYPE
1096: THEN
1097: hz_classification_v2pub.set_primary_code_assignment(
1098: p_owner_table_name => 'HZ_PARTIES',
1099: p_owner_table_id => l_party_rec.party_id,
1100: p_class_category => 'CUSTOMER_CATEGORY',
1101: p_class_code => l_party_rec.category_code,

Line 1153: -- call hz_classification_v2pub.set_primary_code_assignment.

1149: fnd_msg_pub.add;
1150: RAISE FND_API.G_EXC_ERROR;
1151: END IF;
1152:
1153: -- call hz_classification_v2pub.set_primary_code_assignment.
1154: -- if sic_code_type is not 'OTHER', then make the sic_code as the primary
1155: -- industrial class code for the party by calling
1156: -- hz_classification_v2pub.set_primary_code_assignment.
1157: -- if local_activity_code has a value, call

Line 1156: -- hz_classification_v2pub.set_primary_code_assignment.

1152:
1153: -- call hz_classification_v2pub.set_primary_code_assignment.
1154: -- if sic_code_type is not 'OTHER', then make the sic_code as the primary
1155: -- industrial class code for the party by calling
1156: -- hz_classification_v2pub.set_primary_code_assignment.
1157: -- if local_activity_code has a value, call
1158: -- hz_classification_v2pub.set_primary_code_assignment.
1159:
1160: IF l_sic_code=FND_API.G_MISS_CHAR

Line 1158: -- hz_classification_v2pub.set_primary_code_assignment.

1154: -- if sic_code_type is not 'OTHER', then make the sic_code as the primary
1155: -- industrial class code for the party by calling
1156: -- hz_classification_v2pub.set_primary_code_assignment.
1157: -- if local_activity_code has a value, call
1158: -- hz_classification_v2pub.set_primary_code_assignment.
1159:
1160: IF l_sic_code=FND_API.G_MISS_CHAR
1161: AND l_sic_code_type=FND_API.G_MISS_CHAR
1162: AND p_old_organization_rec.sic_code_type IS NOT NULL

Line 1180: hz_classification_v2pub.set_primary_code_assignment(

1176: OR -- Bug 4043346
1177: NVL(p_organization_rec.sic_code_type, FND_API.G_MISS_CHAR) <>
1178: p_old_organization_rec.sic_code_type))
1179: THEN
1180: hz_classification_v2pub.set_primary_code_assignment(
1181: p_owner_table_name => 'HZ_PARTIES',
1182: p_owner_table_id => p_organization_rec.party_rec.party_id,
1183: p_class_category => l_sic_code_type,
1184: p_class_code => l_sic_code,

Line 1218: hz_classification_v2pub.set_primary_code_assignment(

1214: if(l_local_activity_code_type = '4' OR l_local_activity_code_type = '5') then
1215: l_local_activity_code_type := 'NACE';
1216: end if;
1217:
1218: hz_classification_v2pub.set_primary_code_assignment(
1219: p_owner_table_name => 'HZ_PARTIES',
1220: p_owner_table_id => p_organization_rec.party_rec.party_id,
1221:
1222: -- p_class_category => 'NACE',