[Home] [Help]
352: -- Function :
353: -- Pre-reqs :
354: -- Parameters :
355: --
356: -- Standard IN Parameters :
357: -- p_api_version IN NUMBER Required
358: -- p_init_msg_list IN VARCHAR2 Default FND_API.G_FALSE
359: -- p_commit IN VARCHAR2 Default FND_API.G_FALSE
360: -- p_validation_level IN NUMBER Default FND_API.G_VALID_LEVEL_FULL
360: -- p_validation_level IN NUMBER Default FND_API.G_VALID_LEVEL_FULL
361: -- Based on this flag, the API will set the default attributes.
362: -- p_module_type In VARCHAR2 Default NULL
363: -- This will be null.
364: -- Standard OUT Parameters :
365: -- x_return_status OUT VARCHAR2 Required
366: -- x_msg_count OUT NUMBER Required
367: -- x_msg_data OUT VARCHAR2 Required
368: --
560: -- ARUNJK included cursor for cancel reservation for WO-WO supply WO Cancel Marshalling2 Ends
561:
562: BEGIN
563: ----------------------------------
564: -- Standard Start of API savepoint
565: ----------------------------------
566: SAVEPOINT Process_Serialnum_Change;
567:
568: -------------------------------------------------------------
579: AHL_DEBUG_PUB.debug( 'enter ahl_prd_sern_change_pvt. Process Serialnum Change','+PRDSRN+');
580: END IF;
581:
582: ------------------------------------------------
583: -- Standard call to check for call compatibility.
584: ------------------------------------------------
585: IF FND_API.to_boolean(p_init_msg_list)
586: THEN
587: FND_MSG_PUB.initialize;
1174: END IF;
1175: end if; -- ARUNJK Changes End
1176: ------------------------End of Body---------------------------------------
1177:
1178: --Standard check to count messages
1179: x_msg_count := Fnd_Msg_Pub.count_msg;
1180:
1181: /*
1182: IF l_msg_count > 0 THEN
1185: RAISE Fnd_Api.G_EXC_ERROR;
1186: END IF;
1187: */
1188:
1189: --Standard check for commit
1190: IF Fnd_Api.TO_BOOLEAN(p_commit) THEN
1191: COMMIT;
1192: END IF;
1193: