DBA Data[Home] [Help]

APPS.GME_FPL_PVT dependencies on FND_API

Line 270: x_return_status := fnd_api.g_ret_sts_success;

266: gme_debug.put_line ('p_batch_id:' || p_batch_header_rec.batch_id);
267: gme_debug.put_line ('p_organization_id :' || p_organization_id);
268: END IF;
269:
270: x_return_status := fnd_api.g_ret_sts_success;
271:
272: -- Initialize output batch header
273: x_batch_header_rec := p_batch_header_rec;
274: x_material_tbl := p_material_tbl;

Line 516: x_return_status := fnd_api.g_ret_sts_error;

512: FETCH cur_item_no INTO l_item_no;
513:
514: CLOSE cur_item_no;
515:
516: x_return_status := fnd_api.g_ret_sts_error;
517: fnd_message.set_name ('GMI', 'IC_API_UOM_CONVERSION_ERROR');
518: fnd_message.set_token ('ITEM_NO', l_item_no);
519: fnd_message.set_token ('FROM_UOM', l_from_uom);
520: fnd_message.set_token ('TO_UOM', l_to_uom);

Line 524: x_return_status := fnd_api.g_ret_sts_error;

520: fnd_message.set_token ('TO_UOM', l_to_uom);
521: fnd_msg_pub.ADD;
522: -- Bug 6908375
523: WHEN fpl_setup_error THEN
524: x_return_status := fnd_api.g_ret_sts_error;
525: FND_MESSAGE.SET_NAME('GME','GME_FPL_SETUP_ERROR');
526: APP_EXCEPTION.RAISE_EXCEPTION;
527: END;
528:

Line 532: ,p_init_msg_list IN VARCHAR2 := fnd_api.g_false

528:
529: PROCEDURE FPL_batch_details (
530: p_batch_header_rec IN gme_batch_header%ROWTYPE
531: ,p_called_from IN NUMBER DEFAULT 1 /*1 = Create Batch, 2 = Batch details */
532: ,p_init_msg_list IN VARCHAR2 := fnd_api.g_false
533: ,x_message_count OUT NOCOPY NUMBER
534: ,x_message_list OUT NOCOPY VARCHAR2
535: ,x_return_status OUT NOCOPY VARCHAR2
536: )

Line 555: x_return_status := fnd_api.g_ret_sts_success;

551: material_save_failed EXCEPTION;
552: setup_failure EXCEPTION;
553: error_update_batch EXCEPTION;
554: BEGIN
555: x_return_status := fnd_api.g_ret_sts_success;
556:
557: IF (g_debug <> -1) THEN
558: gme_debug.log_initialize ('FixedProcessLoss');
559: END IF;

Line 591: IF x_return_status <> fnd_api.g_ret_sts_success THEN

587: );
588: IF (g_debug = gme_debug.g_log_statement) THEN
589: gme_debug.put_line ('Return from Apply Fixed Proccess Loss is ' || x_return_status);
590: END IF;
591: IF x_return_status <> fnd_api.g_ret_sts_success THEN
592: RAISE Fixed_process_loss_failure;
593: END IF;
594: IF NOT gme_common_pvt.g_setup_done THEN
595: gme_common_pvt.g_setup_done :=

Line 599: x_return_status := fnd_api.g_ret_sts_error;

595: gme_common_pvt.g_setup_done :=
596: gme_common_pvt.setup (p_batch_header_rec.organization_id);
597:
598: IF NOT gme_common_pvt.g_setup_done THEN
599: x_return_status := fnd_api.g_ret_sts_error;
600: RAISE setup_failure;
601: END IF;
602: END IF;
603: gme_common_pvt.set_timestamp;

Line 628: x_return_status := FND_API.g_ret_sts_unexp_error;

624: IF (g_debug = gme_debug.g_log_statement) THEN
625: gme_debug.put_line ('Failed to apply FPL');
626: END IF;
627: WHEN error_update_batch THEN
628: x_return_status := FND_API.g_ret_sts_unexp_error;
629: WHEN material_save_failed THEN
630: IF (g_debug = gme_debug.g_log_statement) THEN
631: gme_debug.put_line ('Material save failed');
632: END IF;

Line 633: x_return_status := fnd_api.g_ret_sts_error;

629: WHEN material_save_failed THEN
630: IF (g_debug = gme_debug.g_log_statement) THEN
631: gme_debug.put_line ('Material save failed');
632: END IF;
633: x_return_status := fnd_api.g_ret_sts_error;
634: WHEN setup_failure THEN
635: --ROLLBACK TO SAVEPOINT create_batch;
636: --x_batch_header_rec := NULL;
637: gme_common_pvt.count_and_get (x_count => x_message_count

Line 638: ,p_encoded => fnd_api.g_false

634: WHEN setup_failure THEN
635: --ROLLBACK TO SAVEPOINT create_batch;
636: --x_batch_header_rec := NULL;
637: gme_common_pvt.count_and_get (x_count => x_message_count
638: ,p_encoded => fnd_api.g_false
639: ,x_data => x_message_list);
640: x_return_status := fnd_api.g_ret_sts_error;
641: END ;
642:

Line 640: x_return_status := fnd_api.g_ret_sts_error;

636: --x_batch_header_rec := NULL;
637: gme_common_pvt.count_and_get (x_count => x_message_count
638: ,p_encoded => fnd_api.g_false
639: ,x_data => x_message_list);
640: x_return_status := fnd_api.g_ret_sts_error;
641: END ;
642:
643: END gme_fpl_pvt;