1: PACKAGE BODY EGO_PARTY_PUB AS
2: /*$Header: EGOPRTYB.pls 120.12 2010/06/18 20:49:18 atjen ship $ */
3:
4: -- ------------------------------------------------------------
5: -- -------------- Global variables and constants --------------
3:
4: -- ------------------------------------------------------------
5: -- -------------- Global variables and constants --------------
6: -- ------------------------------------------------------------
7: G_PKG_NAME CONSTANT VARCHAR2(30) := 'EGO_PARTY_PUB';
8:
9: -- refer to bug 2465636
10: -- G_OWNER_GROUP_REL_TYPE CONSTANT VARCHAR2(30) := 'EGO_GROUP_OWNERSHIP';
11: -- G_OWNER_GROUP_REL_CODE CONSTANT VARCHAR2(30) := 'OWNER_OF';
133: -- These valuee is stored at
134: -- hz_relationships.PARTY_RELATIONSHIP_ID
135: --
136: -- Called From:
137: -- ego_party_pub.create_group
138: -- ego_party_pub.add_group_member
139: --
140: -- Version: Current Version 1.0
141: -- Previous Version : None
134: -- hz_relationships.PARTY_RELATIONSHIP_ID
135: --
136: -- Called From:
137: -- ego_party_pub.create_group
138: -- ego_party_pub.add_group_member
139: --
140: -- Version: Current Version 1.0
141: -- Previous Version : None
142: -- Notes :
365: -- if number of messages is 1, then this parameter
366: -- contains the message itself
367: --
368: -- Called From:
369: -- ego_party_pub.update_group
370: -- ego_party_pub.remove_group_member
371: --
372: -- Version: Current Version 1.0
373: -- Previous Version : None
366: -- contains the message itself
367: --
368: -- Called From:
369: -- ego_party_pub.update_group
370: -- ego_party_pub.remove_group_member
371: --
372: -- Version: Current Version 1.0
373: -- Previous Version : None
374: -- Notes :
668: ---------------------------------------------------------------------
669: --
670: -- getting the application id
671: --
672: l_group_rec.application_id := EGO_PARTY_PUB.get_application_id;
673: l_group_rec.created_by_module := CREATED_BY_MODULE;
674:
675: l_group_rec.party_rec := l_party_rec;
676: fnd_profile.put('HZ_GENERATE_PARTY_NUMBER','Y');
708: l_contact_point_rec.contact_point_type := 'EMAIL';
709: l_contact_point_rec.owner_table_name := 'HZ_PARTIES';
710: l_contact_point_rec.owner_table_id := l_group_id;
711: l_contact_point_rec.created_by_module := CREATED_BY_MODULE;
712: l_contact_point_rec.application_id := EGO_PARTY_PUB.get_application_id;
713: l_email_rec.email_address := p_email_address;
714:
715: mdebug(' Before calling HZ_CONTACT_POINT_V2PUB.create_contact_point');
716: HZ_CONTACT_POINT_V2PUB.create_contact_point
1059: l_contact_point_rec.contact_point_type := 'EMAIL';
1060: l_contact_point_rec.owner_table_name := 'HZ_PARTIES';
1061: l_contact_point_rec.owner_table_id := p_group_id;
1062: l_contact_point_rec.created_by_module := CREATED_BY_MODULE;
1063: l_contact_point_rec.application_id := EGO_PARTY_PUB.get_application_id;
1064: l_email_rec.email_address := p_email_address;
1065: mdebug(' UPDATE_GROUP: Creating Contact point now !!! ');
1066: HZ_CONTACT_POINT_V2PUB.create_contact_point
1067: (p_init_msg_list => NVL(p_init_msg_list, 'F')
2708: NULL;
2709: END setup_enterprise_user_cp;
2710:
2711:
2712: END EGO_PARTY_PUB;