DBA Data[Home] [Help]

APPS.RCV_ROI_PREPROCESSOR dependencies on RCV_ROI_HEADER

Line 628: rcv_roi_header.process_vendor_header(x_header_record);

624: IF x_header_record.header_record.transaction_type = 'NEW' THEN --{
625: -- Second, switch on the header receipt source code
626: IF x_header_record.header_record.receipt_source_code = 'VENDOR' THEN
627: -- This is either a PO, ASN, or ASBN RECEIVE or SHIP
628: rcv_roi_header.process_vendor_header(x_header_record);
629: ELSIF x_header_record.header_record.receipt_source_code = 'CUSTOMER' THEN
630: -- This is an RMA RECEIVE
631: rcv_roi_header.process_customer_header(x_header_record);
632: /* Bug 3314675.

Line 631: rcv_roi_header.process_customer_header(x_header_record);

627: -- This is either a PO, ASN, or ASBN RECEIVE or SHIP
628: rcv_roi_header.process_vendor_header(x_header_record);
629: ELSIF x_header_record.header_record.receipt_source_code = 'CUSTOMER' THEN
630: -- This is an RMA RECEIVE
631: rcv_roi_header.process_customer_header(x_header_record);
632: /* Bug 3314675.
633: * Change the receipt_source_code to INVENTORY from INTERNAL and
634: * Call process_internal_order_header to process inter-org shipment
635: * receipts.

Line 639: rcv_roi_header.process_internal_order_header(x_header_record);

635: * receipts.
636: */
637: ELSIF x_header_record.header_record.receipt_source_code = 'INVENTORY' THEN
638: -- This is an Inter-Org Transfer RECEIVE
639: rcv_roi_header.process_internal_order_header(x_header_record);
640: ELSIF x_header_record.header_record.receipt_source_code = 'INTERNAL ORDER' THEN
641: -- This is an Internal Order RECEIVE
642: rcv_roi_header.process_internal_order_header(x_header_record);
643: END IF; -- Switch on receipt source code

Line 642: rcv_roi_header.process_internal_order_header(x_header_record);

638: -- This is an Inter-Org Transfer RECEIVE
639: rcv_roi_header.process_internal_order_header(x_header_record);
640: ELSIF x_header_record.header_record.receipt_source_code = 'INTERNAL ORDER' THEN
641: -- This is an Internal Order RECEIVE
642: rcv_roi_header.process_internal_order_header(x_header_record);
643: END IF; -- Switch on receipt source code
644: ELSE --}{ txn not new
645: IF (x_header_record.header_record.transaction_type = 'CANCEL') THEN --{
646: -- Cancelling an ASN or ASBN

Line 647: rcv_roi_header.process_cancellation(x_header_record);

643: END IF; -- Switch on receipt source code
644: ELSE --}{ txn not new
645: IF (x_header_record.header_record.transaction_type = 'CANCEL') THEN --{
646: -- Cancelling an ASN or ASBN
647: rcv_roi_header.process_cancellation(x_header_record);
648:
649: IF (x_header_record.error_record.error_status NOT IN('S', 'W')) THEN --{
650: -- the cancellation failed
651: IF (g_asn_debug = 'Y') THEN

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

679: to_char(x_cascaded_table(n).interface_transaction_id) ||', set error_status to E');
680: END IF;
681: x_header_record.error_record.error_status := 'E';
682: -- need to insert po_inerface_errors
683: rcv_error_pkg.set_error_message('RCV_ROI_HEADER_MISSING');
684: rcv_error_pkg.set_token('TXN_TYPE', x_cascaded_table(n).transaction_type);
685: rcv_error_pkg.log_interface_error('HEADER_INTERFACE_ID', FALSE);
686: END IF; --} this is the check for whether header is processed
687:

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

765: to_char(x_cascaded_table(n).interface_transaction_id) ||', set error_status to E');
766: END IF;
767: x_header_record.error_record.error_status := 'E';
768: -- need to insert po_inerface_errors
769: rcv_error_pkg.set_error_message('RCV_ROI_HEADER_MISSING');
770: rcv_error_pkg.set_token('TXN_TYPE', x_cascaded_table(n).transaction_type);
771: rcv_error_pkg.log_interface_error('HEADER_INTERFACE_ID', FALSE);
772:
773: END IF;

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

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

Line 983: RCV_ROI_HEADER_COMMON.default_receipt_info(x_header_record);

979: IF (g_asn_debug = 'Y') THEN
980: asn_debug.put_line('Generate Receipt Number');
981: END IF;
982:
983: RCV_ROI_HEADER_COMMON.default_receipt_info(x_header_record);
984:
985: IF (g_asn_debug = 'Y') THEN
986: asn_debug.put_line('Generated Receipt Number:' || x_header_record.header_record.receipt_num);
987: END IF;