DBA Data[Home] [Help]

PACKAGE: APPS.WIP_RES_INST_VALIDATIONS

Source


1 PACKAGE WIP_RES_INST_VALIDATIONS AS
2 /* $Header: wiprivds.pls 120.0 2005/05/25 07:43:53 appldev noship $ */
3 
4 /********************** ERROR HANDLING *********************************/
5 /* Is there errors for the previous validations? It doesn't pass more resource
6    parameters, because it is unique up to resource_seq_num */
7 function IS_Error(p_group_id            number,
8                         p_wip_entity_id         number,
9                         p_organization_id       number,
10                         p_substitution_type     number,
11                         p_operation_seq_num     number,
12                         p_resource_seq_num      number) return number;
13 
14 /* Check errors occurred when there could be NULL data */
15 /*
16 function Info_Missing(p_group_id                number,
17                    p_wip_entity_id              number,
18                    p_organization_id            number,
19                    p_substitution_type          number,
20                    p_operation_seq_num          number) return number;
21 */
22 
23 Procedure Add_Resource_Instance(p_group_id               number,
24                         p_wip_entity_id         number,
25                         p_organization_id       number,
26                         p_substitution_type     number,
27                         p_err_code   out NOCOPY     varchar2,
28                         p_err_msg    out NOCOPY     varchar2);
29 
30 Procedure Change_Resource_Instance(p_group_id               number,
31                         p_wip_entity_id         number,
32                         p_organization_id       number,
33                         p_substitution_type     number,
34                         p_err_code   out NOCOPY     varchar2,
35                         p_err_msg    out NOCOPY     varchar2);
36 
37 Procedure Delete_Resource_Instance(p_group_id               number,
38                         p_wip_entity_id         number,
39                         p_organization_id       number,
40                         p_substitution_type     number,
41                         p_err_code   out NOCOPY     varchar2,
42                         p_err_msg    out NOCOPY     varchar2);
43 END WIP_RES_INST_VALIDATIONS;