DBA Data[Home] [Help]

APPS.RCV_ROI_PREPROCESSOR dependencies on RCV_ROI_HEADER

Line 516: rcv_roi_header.process_vendor_header(x_header_record);

512: IF x_header_record.header_record.transaction_type = 'NEW' THEN --{
513: -- Second, switch on the header receipt source code
514: IF x_header_record.header_record.receipt_source_code = 'VENDOR' THEN
515: -- This is either a PO, ASN, or ASBN RECEIVE or SHIP
516: rcv_roi_header.process_vendor_header(x_header_record);
517: ELSIF x_header_record.header_record.receipt_source_code = 'CUSTOMER' THEN
518: -- This is an RMA RECEIVE
519: rcv_roi_header.process_customer_header(x_header_record);
520: /* Bug 3314675.

Line 519: rcv_roi_header.process_customer_header(x_header_record);

515: -- This is either a PO, ASN, or ASBN RECEIVE or SHIP
516: rcv_roi_header.process_vendor_header(x_header_record);
517: ELSIF x_header_record.header_record.receipt_source_code = 'CUSTOMER' THEN
518: -- This is an RMA RECEIVE
519: rcv_roi_header.process_customer_header(x_header_record);
520: /* Bug 3314675.
521: * Change the receipt_source_code to INVENTORY from INTERNAL and
522: * Call process_internal_order_header to process inter-org shipment
523: * receipts.

Line 527: rcv_roi_header.process_internal_order_header(x_header_record);

523: * receipts.
524: */
525: ELSIF x_header_record.header_record.receipt_source_code = 'INVENTORY' THEN
526: -- This is an Inter-Org Transfer RECEIVE
527: rcv_roi_header.process_internal_order_header(x_header_record);
528: ELSIF x_header_record.header_record.receipt_source_code = 'INTERNAL ORDER' THEN
529: -- This is an Internal Order RECEIVE
530: rcv_roi_header.process_internal_order_header(x_header_record);
531: END IF; -- Switch on receipt source code

Line 530: rcv_roi_header.process_internal_order_header(x_header_record);

526: -- This is an Inter-Org Transfer RECEIVE
527: rcv_roi_header.process_internal_order_header(x_header_record);
528: ELSIF x_header_record.header_record.receipt_source_code = 'INTERNAL ORDER' THEN
529: -- This is an Internal Order RECEIVE
530: rcv_roi_header.process_internal_order_header(x_header_record);
531: END IF; -- Switch on receipt source code
532: ELSE --}{ txn not new
533: IF (x_header_record.header_record.transaction_type = 'CANCEL') THEN --{
534: -- Cancelling an ASN or ASBN

Line 535: rcv_roi_header.process_cancellation(x_header_record);

531: END IF; -- Switch on receipt source code
532: ELSE --}{ txn not new
533: IF (x_header_record.header_record.transaction_type = 'CANCEL') THEN --{
534: -- Cancelling an ASN or ASBN
535: rcv_roi_header.process_cancellation(x_header_record);
536:
537: IF (x_header_record.error_record.error_status NOT IN('S', 'W')) THEN --{
538: -- the cancellation failed
539: IF (g_asn_debug = 'Y') THEN

Line 571: rcv_error_pkg.set_error_message('RCV_ROI_HEADER_MISSING');

567: to_char(x_cascaded_table(n).interface_transaction_id) ||', set error_status to E');
568: END IF;
569: x_header_record.error_record.error_status := 'E';
570: -- need to insert po_inerface_errors
571: rcv_error_pkg.set_error_message('RCV_ROI_HEADER_MISSING');
572: rcv_error_pkg.set_token('TXN_TYPE', x_cascaded_table(n).transaction_type);
573: rcv_error_pkg.log_interface_error('HEADER_INTERFACE_ID', FALSE);
574: END IF; --} this is the check for whether header is processed
575:

Line 657: /* bug 4368726, for asn cancel's the call rcv_roi_header.process_cancellation(x_header_record)

653: asn_debug.put_line('x_cascaded_table(n).error_status=' || x_cascaded_table(n).error_status);
654: asn_debug.put_line('x_cascaded_table(n).error_message=' || x_cascaded_table(n).error_message);
655: END IF;
656:
657: /* bug 4368726, for asn cancel's the call rcv_roi_header.process_cancellation(x_header_record)
658: will delete all the pending RTI rows and insert new RTI rows ready for the processor.
659: Processing these deleted rows causes an unhandled exception when deleting the ROWID later on
660: which will produce the invalid transaction error and then will cause all the subsequent transactions
661: in the group to fail. What's the point of even having transactions to a cancel because it's entirely

Line 837: RCV_ROI_HEADER_COMMON.default_receipt_info(x_header_record);

833: IF (g_asn_debug = 'Y') THEN
834: asn_debug.put_line('Generate Receipt Number');
835: END IF;
836:
837: RCV_ROI_HEADER_COMMON.default_receipt_info(x_header_record);
838:
839: IF (g_asn_debug = 'Y') THEN
840: asn_debug.put_line('Generated Receipt Number:' || x_header_record.header_record.receipt_num);
841: END IF;