DBA Data[Home] [Help]

PACKAGE: APPS.WMS_COSTGROUPENGINE_PVT

Source


1 PACKAGE WMS_CostGroupEngine_PVT AUTHID CURRENT_USER AS
2 /* $Header: WMSVPPGS.pls 120.0.12020000.1 2012/06/26 09:00:13 appldev ship $*/
3 --
4 
5 --Input Type
6 --	Assign_cost_group takes two types of input: move order lines
7 --	and material transaction lines.  The input type differentiates
8 --	between the two.
9 
10 g_input_mmtt	NUMBER := 1;
11 g_input_mtrl	NUMBER := 2;
12 
13 --Current Input Type
14 -- This variable holds the current input type passed to the function
15 -- The value is used by WMS_COST_GROUPS_INPUT_V to build the view
16 g_current_input_type	NUMBER;
17 
18 -- Simulation Mode
19 -- This parameter is used by the rules simulation form to simulate
20 -- cost group rules.
21 g_no_simulation		NUMBER := 0;
22 g_strategy_mode		NUMBER := 1;
23 g_rule_mode		NUMBER := 2;
24 
25 -- Global variable to hold counter values for each rule type which would be used to buffer the counter
26 -- for a given session
27 g_rule_list_cg_ctr   	NUMBER;
28 
29 
30 /*assign_cost_group
31  */
32 PROCEDURE  assign_cost_group(
33    p_api_version                  IN   NUMBER
34   ,p_init_msg_list                IN   VARCHAR2 DEFAULT fnd_api.g_false
35   ,p_commit                       IN   VARCHAR2 DEFAULT fnd_api.g_false
36   ,p_validation_level             IN   NUMBER   DEFAULT fnd_api.g_valid_level_full
37   ,x_return_status                OUT  NOCOPY VARCHAR2
38   ,x_msg_count                    OUT  NOCOPY NUMBER
39   ,x_msg_data                     OUT  NOCOPY VARCHAR2
40   ,p_line_id                      IN   NUMBER
41   ,p_input_type                   IN   NUMBER
42   ,p_simulation_mode		  IN   NUMBER DEFAULT 0
43   ,p_simulation_id                IN   NUMBER DEFAULT NULL
44 );
45 
46 --Current Input Type
47 FUNCTION GetCurrentInputType RETURN NUMBER;
48 
49 END WMS_CostGroupEngine_PVT;