DBA Data[Home] [Help]

APPS.AS_GAR_OPPTYS_PUB dependencies on AS_GAR_OPPTYS_PUB

Line 1: PACKAGE BODY AS_GAR_OPPTYS_PUB AS

1: PACKAGE BODY AS_GAR_OPPTYS_PUB AS
2: /* $Header: asxgropb.pls 120.8 2006/02/02 21:29 amagupta noship $ */
3:
4: ---------------------------------------------------------------------------
5: -- Start of Comments

Line 7: -- PACKAGE NAME: AS_GAR_OPPTYS_PUB

3:
4: ---------------------------------------------------------------------------
5: -- Start of Comments
6: ---------------------------------------------------------------------------
7: -- PACKAGE NAME: AS_GAR_OPPTYS_PUB
8: -- ---------------------------------------------------------------------
9: -- PURPOSE
10: -- --------
11: -- This package contains procedures to accomplish each of the following

Line 103: AS_GAR_OPPTYS_PUB.EXPLODE_GROUPS_OPPTYS(

99: COMMIT;
100:
101: -- Explode GROUPS if any inside winners
102: AS_GAR.LOG(G_ENTITY || AS_GAR.G_CALL_TO || AS_GAR.G_CEX_GROUPS || AS_GAR.G_START);
103: AS_GAR_OPPTYS_PUB.EXPLODE_GROUPS_OPPTYS(
104: x_errbuf => l_errbuf,
105: x_retcode => l_retcode,
106: p_terr_globals => l_terr_globals,
107: x_return_status => l_return_status);

Line 121: AS_GAR_OPPTYS_PUB.EXPLODE_TEAMS_OPPTYS(

117: COMMIT;
118:
119: -- Explode TEAMS if any inside winners
120: AS_GAR.LOG(G_ENTITY || AS_GAR.G_CALL_TO || AS_GAR.G_CEX_TEAMS || AS_GAR.G_START);
121: AS_GAR_OPPTYS_PUB.EXPLODE_TEAMS_OPPTYS(
122: x_errbuf => l_errbuf,
123: x_retcode => l_retcode,
124: p_terr_globals => l_terr_globals,
125: x_return_status => l_return_status);

Line 139: AS_GAR_OPPTYS_PUB.SET_TEAM_LEAD_OPPTYS(

135: COMMIT;
136:
137: -- Set team leader for Opptys
138: AS_GAR.LOG(G_ENTITY || AS_GAR.G_CALL_TO || AS_GAR.G_STLEAD || AS_GAR.G_START);
139: AS_GAR_OPPTYS_PUB.SET_TEAM_LEAD_OPPTYS(
140: x_errbuf => l_errbuf,
141: x_retcode => l_retcode,
142: p_terr_globals => l_terr_globals,
143: x_return_status => l_return_status);

Line 155: AS_GAR_OPPTYS_PUB.INSERT_ACCESSES_OPPTYS(

151: End If;
152:
153: -- Insert into Oppty Accesses from Winners
154: AS_GAR.LOG(G_ENTITY || AS_GAR.G_CALL_TO || AS_GAR.G_INSACC || AS_GAR.G_START);
155: AS_GAR_OPPTYS_PUB.INSERT_ACCESSES_OPPTYS(
156: x_errbuf => l_errbuf,
157: x_retcode => l_retcode,
158: p_terr_globals => l_terr_globals,
159: x_return_status => l_return_status);

Line 171: AS_GAR_OPPTYS_PUB.INSERT_TERR_ACCESSES_OPPTYS(

167: End If;
168:
169: -- Insert into territory Accesses
170: AS_GAR.LOG(G_ENTITY || AS_GAR.G_CALL_TO || AS_GAR.G_INSTERRACC || AS_GAR.G_START);
171: AS_GAR_OPPTYS_PUB.INSERT_TERR_ACCESSES_OPPTYS(
172: x_errbuf => l_errbuf,
173: x_retcode => l_retcode,
174: p_terr_globals => l_terr_globals,
175: x_return_status => l_return_status);

Line 187: AS_GAR_OPPTYS_PUB.PERFORM_OPPTY_CLEANUP(

183: End If;
184:
185: -- Remove (soft delete) records in access table that are not qualified
186: AS_GAR.LOG(G_ENTITY || AS_GAR.G_CALL_TO || AS_GAR.G_CC || AS_GAR.G_START);
187: AS_GAR_OPPTYS_PUB.PERFORM_OPPTY_CLEANUP(
188: x_errbuf => l_errbuf,
189: x_retcode => l_retcode,
190: p_terr_globals => l_terr_globals,
191: x_return_status => l_return_status);

Line 207: AS_GAR_OPPTYS_PUB.ASSIGN_OPPTY_OWNER(

203: /* ----------------------------------------------------------------------+
204: | G_TAP_FLAG is set to avoid calling the leads buid trigger .
205: +------------------------------------------------------------------------*/
206: AS_GAR.G_TAP_FLAG := 'Y';
207: AS_GAR_OPPTYS_PUB.ASSIGN_OPPTY_OWNER(
208: x_errbuf => l_errbuf,
209: x_retcode => l_retcode,
210: p_terr_globals => l_terr_globals,
211: x_return_status => l_return_status);

Line 2001: END AS_GAR_OPPTYS_PUB;

1997: /**************************** End Assign Lead Owner ********************/
1998:
1999:
2000:
2001: END AS_GAR_OPPTYS_PUB;
2002: