1 PACKAGE HZ_EXTRACT_ACCT_CONT_BO_PVT AUTHID CURRENT_USER AS
2 /*$Header: ARHECCVS.pls 120.2 2005/07/13 21:26:54 awu noship $ */
3 /*
4 * This package contains the private APIs for logical customer account contact.
5 * @rep:scope private
6 * @rep:product HZ
7 * @rep:displayname customer account contact
8 * @rep:category BUSINESS_ENTITY
9 * @rep:lifecycle active
10 * @rep:doccd 115hztig.pdf customer account contact Get APIs
11 */
12
13 --------------------------------------
14 --
15 -- PROCEDURE get_cust_acct_contact_bo
16 --
17 -- DESCRIPTION
18 -- Get a logical customer account contact.
19 --
20 -- EXTERNAL PROCEDURES/FUNCTIONS ACCESSED
21 --
22 -- ARGUMENTS
23 -- IN:
24 -- p_init_msg_list Initialize message stack if it is set to
25 -- p_cust_acct_contact_id customer account contact ID.
26 -- FND_API.G_TRUE. Default is FND_API.G_FALSE.
27 -- OUT:
28 -- x_cust_acct_contact_objs Logical customer account contact records.
29 -- x_return_status Return status after the call. The status can
30 -- be fnd_api.g_ret_sts_success (success),
31 -- fnd_api.g_ret_sts_error (error),
32 -- FND_API.G_RET_STS_UNEXP_ERROR (unexpected error).
33 -- x_msg_count Number of messages in message stack.
34 -- x_msg_data Message text if x_msg_count is 1.
35 --
36 -- NOTES
37 --
38 -- MODIFICATION HISTORY
39 --
40 --
41 -- 8-JUN-2005 AWU Created.
42 --
43
44 /*
45
46 The Get customer account contact API Procedure is a retrieval service that returns a full customer account contact business object.
47 The user identifies a particular Organization Contact business object using the TCA identifier and/or the object's Source System
48 information. Upon proper validation of the object, the full Organization Contact business object is returned.
49 The object consists of all data included within the Organization Contact business object, at all embedded levels.
50 This includes the set of all data stored in the TCA tables for each embedded entity.
51
52
53 Embedded BO Mandatory Multiple Logical API Procedure Comments
54
55 Org Contact Y N get_org_contact_bo
56
57
58 To retrieve the appropriate embedded entities within the 'Customer Account Contact' business object, the Get procedure returns
59 all records for the particular contact from these TCA entity tables.
60
61 Embedded TCA Entity Mandatory Multiple TCA Table Entities
62
63 Customer Account Role N N HZ_CUST_ACCOUNT_ROLES
64 Role Responsibility N Y HZ_ROLE_RESPONSIBILITY
65
66 */
67
68
69
70 PROCEDURE get_cust_acct_contact_bos(
71 p_init_msg_list IN VARCHAR2 := fnd_api.g_false,
72 p_parent_id IN NUMBER,
73 p_cust_acct_contact_id IN NUMBER,
74 p_action_type IN VARCHAR2 := NULL,
75 x_cust_acct_contact_objs OUT NOCOPY HZ_CUST_ACCT_CONTACT_BO_TBL,
76 x_return_status OUT NOCOPY VARCHAR2,
77 x_msg_count OUT NOCOPY NUMBER,
78 x_msg_data OUT NOCOPY VARCHAR2
79 );
80
81
82 END HZ_EXTRACT_ACCT_CONT_BO_PVT;