DBA Data[Home] [Help]

APPS.OKC_OC_INT_SALESCDT_PVT dependencies on OKC_OC_INT_SALESCDT_PVT

Line 1: Package body OKC_OC_INT_SALESCDT_PVT AS

1: Package body OKC_OC_INT_SALESCDT_PVT AS
2: /* $Header: OKCRSCTB.pls 120.2 2006/03/01 13:46:28 smallya noship $ */
3:
4: l_debug VARCHAR2(1) := NVL(FND_PROFILE.VALUE('AFLOG_ENABLED'),'N');
5: /**************************************************************

Line 15: a single call to OKC_OC_INT_SALESCDT_PVT.create_k_sales_credit passing

11: Details for order to contract as follows:
12:
13: For quote to contract:
14: OKC_OC_INT_QTK_PVT.create_k_from_quote calls this package through
15: a single call to OKC_OC_INT_SALESCDT_PVT.create_k_sales_credit passing
16: as parameters the contract header id, quote header id and
17: PL/SQL table p_rel_tab which has contract lines along
18: with related order lines.
19:

Line 45: |---OKC_OC_INT_SALESCDT_PVT.create_k_sales_credit()

41: okx_qte_sls_credits_v
42:
43:
44: Flow:
45: |---OKC_OC_INT_SALESCDT_PVT.create_k_sales_credit()
46: | |---get_sales_credit() called twice at header level AND line level
47: | | |---get_sales_credit_tab() at header level OR line level
48: | | (as called)
49: | |---OKC_SALES_CREDIT_PVT.create_sales_credit

Line 123: okc_util.print_trace(1, '>START - OKC_OC_INT_SALESCDT_PVT.CLEANUP - Initialize global PL/SQL Tables');

119: -----------------------------------------------------------------------------
120: PROCEDURE cleanup(x_return_status OUT NOCOPY varchar2 ) IS
121: BEGIN
122: IF (l_debug = 'Y') THEN
123: okc_util.print_trace(1, '>START - OKC_OC_INT_SALESCDT_PVT.CLEANUP - Initialize global PL/SQL Tables');
124: okc_util.print_trace(1, ' ');
125: END IF;
126:
127: x_return_status := OKC_API.G_RET_STS_SUCCESS;

Line 139: okc_util.print_trace(1, '

135: lx_sales_credit_tab.DELETE;
136:
137: IF (l_debug = 'Y') THEN
138: okc_util.print_trace(2, 'Done Cleaning up');
139: okc_util.print_trace(1, ' 140: END IF;
141: EXCEPTION
142: WHEN OTHERS THEN
143: OKC_API.set_message(G_APP_NAME,

Line 206: OKC_UTIL.print_trace(1, '>START - ******* OKC_OC_INT_SALESCDT_PVT.create_k_sales_credit -');

202: IF (l_debug = 'Y') THEN
203: OKC_UTIL.print_trace(1, ' ');
204: OKC_UTIL.print_trace(1, 'Create Contract Sales Credit');
205: OKC_UTIL.print_trace(1, '-----------------------------------------------');
206: OKC_UTIL.print_trace(1, '>START - ******* OKC_OC_INT_SALESCDT_PVT.create_k_sales_credit -');
207: END IF;
208:
209:
210: --<>

Line 332: OKC_UTIL.print_trace(1, '>END - ******* OKC_OC_INT_SALESCDT_PVT.create_k_sales_credit -');

328: -----------------------------------------------
329:
330:
331: IF (l_debug = 'Y') THEN
332: OKC_UTIL.print_trace(1, '>END - ******* OKC_OC_INT_SALESCDT_PVT.create_k_sales_credit -');
333: END IF;
334:
335:
336: EXCEPTION

Line 1625: END OKC_OC_INT_SALESCDT_PVT ;

1621:
1622:
1623:
1624:
1625: END OKC_OC_INT_SALESCDT_PVT ;