DBA Data[Home] [Help]

PACKAGE BODY: APPS.CSE_COST_DISTRIBUTION_STUB

Source


1 PACKAGE BODY CSE_COST_DISTRIBUTION_STUB AS
2 -- $Header: CSECSTDB.pls 120.1 2005/06/21 10:36:17 appldev ship $
3 
4 -- This procedure is dynamically called by Costing's Cost Distribution.
5 --
6 -- Sets O_hook_used to 0, means costing uses its default functionality
7 -- for creating GL entries, if :
8 --                       - Item is Not NL trackable.
9 --                       - Item is NL Trackable but Normal.
10 --
11 --
12 -- Sets O_hook_used to 1, means costing does NOT uses its default
13 -- functionality for creating GL entries, if :
14 --                       - Item is NL trackable and Depreciable.
15 --11/07/2002 No more creates the GL entries.
16 --Restored back to create GL entries.
17 
18 --05/15  After discussion with Product team and Costing team
19 ---     Modified to NOT to create zero amount entries for
20 ---      Receipt transactions
21 
22 --06/21/05 Null out the code as CST is no longer call the Cost Distribution Hook from R12.
23 
24 PROCEDURE cost_distribution(
25 			         p_transaction_id	    IN	NUMBER,
26                                  O_hook_used                OUT NOCOPY NUMBER,
27                                  O_err_num                  OUT NOCOPY NUMBER,
28                                  O_err_code                 OUT NOCOPY NUMBER,
29                                  O_err_msg                  OUT NOCOPY VARCHAR2)
30 IS
31 
32 BEGIN
33 --Initialized the O_hook_used to 0. Is set it to 1 for IB tracked depreciable item.
34 
35 O_hook_used := 0;
36 END cost_distribution ;
37 
38 END cse_cost_distribution_stub;