[Home] [Help]
PACKAGE BODY: APPS.CTO_OM_WF_API
Source
1 package body CTO_OM_WF_API as
2 /* $Header: CTOOMWFB.pls 115.2 2003/11/06 02:40:49 ssawant noship $ */
3
4
5 /**************************************************************************
6
7 Procedure: Reservation_Exists
8 Parameters: p_application_id (standard signature format)
9 p_entity_short_name
10 p_validation_entity_short_name
11 p_validation_tmplt_short_name
12 p_record_set_short_name
13 p_scope
14 x_result
15 Description: This API with standard signature format is called from
16 the security constraints to validate whether a change is
17 allowed on an order line.
18 This API is associated with the Reservation_Exists validation Template.
19
20 *****************************************************************************/
21
22
23 PROCEDURE Reservation_Exists(
24 p_application_id IN NUMBER,
25 p_entity_short_name IN VARCHAR2,
26 p_validation_entity_short_name IN VARCHAR2,
27 p_validation_tmplt_short_name IN VARCHAR2,
28 p_record_set_short_name IN VARCHAR2,
29 p_scope IN VARCHAR2,
30 x_result OUT NOCOPY NUMBER
31 )
32 is
33 BEGIN
34
35 oe_debug_pub.add( 'CTO_OM_WF_API.reservation_exists: ' || ' going to call cto_workflow_api_pk.reservation_exists ' , 1 ) ;
36 x_result := 0 ;
37
38 CTO_WORKFLOW_API_PK.reservation_exists( p_application_id => p_application_id
39 , p_entity_short_name => p_entity_short_name
40 , p_validation_entity_short_name => p_validation_entity_short_name
41 , p_validation_tmplt_short_name => p_validation_tmplt_short_name
42 , p_record_set_short_name => p_record_set_short_name
43 , p_scope => p_scope
44 , x_result => x_result ) ;
45
46
47
48 oe_debug_pub.add( 'CTO_OM_WF_API.reservation_exists: ' || ' result returned is ' || x_result , 1 ) ;
49
50 END ;
51
52
53
54 end CTO_OM_WF_API ;