DBA Data[Home] [Help]

PACKAGE: APPS.WIP_JSI_HOOKS

Source


1 package WIP_JSI_Hooks AUTHID CURRENT_USER as
2 /* $Header: wipjsihs.pls 120.0.12010000.2 2009/06/12 16:01:46 shjindal ship $ */
3 
4 
5 --
6 -- This function will be called for each request in WIP_JOB_SCHEDULE_INTERFACE
7 -- to create or update a discrete job. It is called with the following
8 -- parameters:
9 --
10 --   P_INTERFACE_ID -- value of the INTERFACE_ID column in the
11 --     WIP_JOB_SCHEDULE_INTERFACE record being validated
12 --
13 --   P_CURRENT_BUILD_SEQUENCE -- current value of the BUILD_SEQUENCE
14 --     column in the WIP_JOB_SCHEDULE_INTERFACE record being validated
15 --
16 -- This function should not commit, and should not rollback unless to
17 -- an internally-defined savepoint.
18 -- The function's return value will replace the value in the BUILD_SEQUENCE
19 -- column before request validation continues.
20 --
21 
22 function
23 get_default_build_sequence (
24   p_interface_id in number,
25   p_current_build_sequence in number
26   )
27 return number ;
28 
29 --
30 -- This function will be called for each request in WIP_JOB_SCHEDULE_INTERFACE
31 -- to create or update a discrete job. It is called with the following
32 -- parameters:
33 --
34 --   P_INTERFACE_ID -- value of the INTERFACE_ID column in the
35 --     WIP_JOB_SCHEDULE_INTERFACE record being validated
36 --
37 --   P_CURRENT_SCHEDULE_GROUP_ID -- current value of the SCHEDULE_GROUP_ID
38 --     column in the WIP_JOB_SCHEDULE_INTERFACE record being validated
39 --
40 -- This function should not commit, and should not rollback unless to
41 -- an internally-defined savepoint.
42 -- The function's return value will replace the value in the SCHEDULE_GROUP_ID
43 -- column before request validation continues.
44 --
45 -- Fixed bug 7638816
46 function
47 get_default_schedule_group_id (
48   p_interface_id in number,
49   p_current_schedule_group_id in number
50   )
51 return number ;
52 
53 end WIP_JSI_Hooks ;