1: PACKAGE BODY GMD_OPERATION_ACTIVITIES_PUB AS
2: /* $Header: GMDPOPAB.pls 120.0.12010000.2 2009/03/16 06:34:37 kannavar ship $
3: +=========================================================================+
4: | FILENAME |
5: | GMDPOPAB.pls |
12: | 21-AUG-2002 Sandra Dulyk Created |
13: | 20-FEB-2004 NSRIVAST Bug# 3222090 |
14: | Removed call to FND_PROFILE.VALUE('AFLOG_ENABLED')|
15: +=========================================================================+
16: API Name : GMD_OPERATION_ACTIVITIES_PUB
17: Type : Public
18: Function : This package contains public procedures used to create, modify, and delete operation activties
19: Pre-reqs : N/A
20: Parameters: Per function
122: /* Make sure we are call compatible */
123: IF NOT FND_API.compatible_api_call(l_api_version
124: ,p_api_version
125: ,'insert_operation_activity'
126: ,'gmd_operation_activities_pub') THEN
127: RAISE invalid_version;
128: END IF;
129:
130: /* Operation number ID must be passed, otherwise give error, also check operation exists */
287: ( p_api_version IN NUMBER
288: , p_init_msg_list IN BOOLEAN
289: , p_commit IN BOOLEAN
290: , p_oprn_line_id IN gmd_operation_activities.oprn_line_id%TYPE
291: , p_update_table IN gmd_operation_activities_pub.update_tbl_type
292: , x_message_count OUT NOCOPY NUMBER
293: , x_message_list OUT NOCOPY VARCHAR2
294: , x_return_status OUT NOCOPY VARCHAR2) IS
295:
328: /* Make sure we are call compatible */
329: IF NOT FND_API.compatible_api_call(l_api_version
330: ,p_api_version
331: ,'update_operation_activity'
332: ,'gmd_operation_activities_pub') THEN
333: RAISE invalid_version;
334: END IF;
335:
336: IF (l_debug = 'Y') THEN
483: , x_message_count OUT NOCOPY NUMBER
484: , x_message_list OUT NOCOPY VARCHAR2
485: , x_return_status OUT NOCOPY VARCHAR2) IS
486:
487: v_update_table gmd_operation_activities_pub.update_tbl_type;
488: v_count NUMBER;
489: l_retn_status VARCHAR2(1);
490: l_api_version NUMBER := 1.0;
491: l_oprn_id NUMBER(15);
611: FND_MSG_PUB.COUNT_AND_GET (P_count => x_message_count,
612: P_data => x_message_list);
613: END delete_operation_activity;
614:
615: END GMD_OPERATION_ACTIVITIES_PUB;