RCV_TRANSACTIONS TABLE

Hi Oracle Team Members,
I want to know on what scenarios RCV_TRANSACTIONS is inserted and updated.
When we receive PO items a line will be inserted. and when we return item to supplier then also a line will be inserted into rcv_transactions table.
Is there any scenarios where previously inserted lines will get update in rcv transactions table.
In our project a line in rcv_transaction table is created in in year 2011 (creation_date 02-NOV-2011) but last updated date is showing recent date (last_UPDATE_DATE 11-SEP-2014).
transaction which created in year 2011 is as part of receiving. I am not sure  why last update date is showing as recent date.
There is no custom  triggers and custom code that update rcv_transaction tables in out project.
Need some information on what scenarios RCV_TRANSACTIONS is inserted and updated.
Thanks & Regards
Gopal

Hi Sanjay,
I verified the supplier setup.
Pay on Code for PO supplier site is setup as NULL.
and rct_transaction table INVOICE_STATUS_CODE value is also null.
Thanks & Regards
Gopal

Similar Messages

  • Rcv_transactions table problem

    Hi,
    When I queried rcv_transactions table and I found an interesting event.
    When the transaction_type = 'DELIVER' the po_distribution_id field always have a value in it.
    but
    when the transaction_type ='RECEIVE' the po_distribution_id field most of the time is empty but in few cases it has a value in it.
    I don't understand the logic behind.
    Can anyone let me know the actual facts?
    Regards,
    Rubayat

    Hi Sanjay,
    I verified the supplier setup.
    Pay on Code for PO supplier site is setup as NULL.
    and rct_transaction table INVOICE_STATUS_CODE value is also null.
    Thanks & Regards
    Gopal

  • Joining table between XLA_AE_HEADERS and RCV_TRANSACTIONS

    Hi ,
    In the rcv_receiving_sub_ledger with the rcv_transaction_id we can tie in the rcv_transactions
    table with the transaction_id, so:
    rrsl.rcv_transaction_id = rt.transaction_id
    But is this true for Process Manufacturing Organization also ?
    If i make a receipt in Process Manufacturing Organization (OPM Enabled) then shall data populate in rcv_receiving_sub_ledger at the time of accounting ...
    Regards,
    prakhar

    Pl see if ML Doc 558514.1 (How To Join XLA_AE_HEADERS and RCV_TRANSACTIONS?) can help
    HTH
    Srini

  • How to get Manual Receipt Data using PO & RCV tables in R12

    Hi,
    I'm building a query using PO & RCV tables, I need to select all the Manual Receipts (not the receipts generated automatically using the ASN & RCV files).
    What condition should I use in the where clause for capturing only Manual Receipts?
    Thanks.

    Hi,
    All the manual receipts will have NULL value in the INTERFACE_SOURCE_LINES_ID column in the RCV_TRANSACTIONS table for the TRANSACTION_TYPE="RECEIVE".
    Thanks,
    PS.

  • For only 'Deliver' transaction when one step receiving is done.

    Hello,
    per clients business process, client performs one step receiving transaction manually.
    So this act produces 'Receive' entry in rcv_transactions table. So technically now we want to perform only 'Deliver' transaction.
    So, per Oracle Note 731097.1, I only populated rcv_transactions_interface table and didn't populated rcv_header_transaction table.
    Now,
    After population of a test record in rcv_transactions_interface I ran 'Receiving transaction processor.'
    Every time I run the program, it isn't processing the record[ PROCESSING_STATUS_CODE - ERROR].
    When checked in PO_INTERFACE_ERRORS table, following error I'm getting;
    "Error: The SOURCE_DOCUMENT_CODE specified is invalid.  The value specified (PO) does not match the expected value (INVENTORY)."
    Where as actually my SOURCE_DOCUMENT_CODE is PO.
    Here is the insert statement for reference;
    INSERT INTO rcv_transactions_interface
                (interface_transaction_id, parent_transaction_id, GROUP_ID,
                 last_update_date, last_updated_by, creation_date, created_by,
                 last_update_login, transaction_type, transaction_date,
                 processing_status_code, processing_mode_code,
                 transaction_status_code, po_header_id, po_line_id, item_id,
                 quantity, unit_of_measure, po_line_location_id,
                 auto_transact_code, receipt_source_code, to_organization_code,
                 source_document_code, header_interface_id, validation_flag,
                 org_id, subinventory, locator_id
         VALUES (585715, 662634,185818,
                 SYSDATE, 3625, SYSDATE, 3625,
                 0, 'DELIVER', SYSDATE,
                 'PENDING', 'BATCH',
                 'PENDING', 379023, 491608, 3,
                 10, 'EACH', 483726,
                 'DELIVER', 'VENDOR', 'K04',
                 'PO', NULL, 'Y',
                 82, 'DMATERIAL', 8
    Can anyone please guide me How shall I over come this error?
    -SaurabhDJ

    Did you find any solution ?
    I am also stuck in similar problem. I am extracting information of all recipients by only reading the message file and using
    mimeMessage.getAllRecipients() but due to the incorrect format according to the javamail I am getting AddressException . So I need a way to extract all recipients with / without correct format as saved in the actual message file .

  • How to access updated receipts in rcv_shipment_headers using triigger

    Hi,
    I am working on PUT Away Label Report :
    The process is as follows:
    When receipt is saved , a trigger will fire on RCV_SHIPMENT_HEADERS and in trigger a package will be called which in turn will submit the report for the receipt that is newly created.
    The problem here is trigger is working fine when new receipt is created,But when receipt is updated using ADD to receipt option or In case of Internal sales order.The trigger is not firing as trigger is fired for every new insertion.
    I am not able to find any column to know that receipt is updated and to track the quantity that is receipted recently . Since RCV_SHIPMENT_LINES table will have the track of the Total receipted quantity till date.
    I am attaching the script of Trigger i am using for insertion.Please suggest me how to approach in this scenario.
    Trigger that is used for new receipt insertion:
    AFTER INSERT
    ON rcv_shipment_headers
    FOR EACH ROW
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    l_request_id1 NUMBER;
    BEGIN
    BEGIN
    If :NEW.RECEIPT_NUM IS NOT NULL
    Then
    l_request_id1 :=
    fnd_request.submit_request ('XXINV',
    'MTUPUTAWAY',
    NULL,
    :NEW.RECEIPT_NUM,
    :new.SHIP_TO_ORG_ID
    commit;
    End If;
    END;
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    Thanks in advance,
    Best Regards,
    Mahesh

    Hi,
    All the manual receipts will have NULL value in the INTERFACE_SOURCE_LINES_ID column in the RCV_TRANSACTIONS table for the TRANSACTION_TYPE="RECEIVE".
    Thanks
    Bobby

  • Receiving transaction processor populates quantity_received = 0

    Hello Everyone,
    I'm populating a non-zero value into rcv_transactions_interface.quantity field. After Receiving Transaction Processor is run, a record is created in rcv_shipment_headers table and rcv_shipment_lines tables. But rcv_shipment_lines.quantity_received is popilated with 0 where as quantity_shipped is populated correctly with the value that is inserted in the interface table.
    When this happens the shipment_line_status_code is 'EXPECTED' and there is no record created in rcv_transactions table.
    Can any one please let me why this happens??
    Thanks in Advance
    Sunny.

    Hi,
    Check out metalink Note:219958.1
    cause: The parent_transaction_id loaded into the rcv_transactions_interface table did not exist

  • Purchasing - Ordered vs Received Quantity

    Hi All,
    EBS: 11.5.10.2
    In a PO, there there is a line item with quantity say 15 and this quantity is split into multiple lines in the shipment say 10 and 5. Now my user wants a report which shows the ordered quantity and received quantity. I'm facing a problem on joining these two.
    I have taken the ordered quantity from po_line_locations_all and the received quantity from rcv_transactions. The reason why am taking rcv_transactions is that the user wants receipt_number which am rcv_shipment_headers.
    So when am joining rcv_transactions using po_line_location_id, it is becoming a cross join which is resulting in doubled quantity.
    Need help asap.
    Thanks in advance.

    I have a po and say 1 line in the po. Now the quantity here is what we want from the vendor, but we want the quantity delivered on 2 different dates say half of the quantity today and remaining half after 10 days. Now i want to track how much we have ordered and how much we have received. So when am joining the rcv_transactions table, as there are two different lines for the same po_line_location_id, my ordered_quantity is being doubled.
    For Eg:
    Item Code----------Quantity--------------Received_Qty
    ABC00001---------- 100 -------------- 50
    ABC00001---------- 100 -------------- 50
    200 --------------- 100
    So, my ordered quantity is doubled in this case. I think am more clear now.

  • Information on Receiving Routing types

    Hello all,
    I am working on Purchase order receipts and internal requisitions receipt.
    There is a field named 'Routing Receipt type' at the PO Line level. (Its there at several levels like Organization, Item, PO level)
    It is 3 Types
    1. Standard Receipt
    supplier ----------> sub inventory
    2. Direct delivery
    supplier---->recieving area(stagging area)------>sub inventory
    3. Inspection Required
    supplier----> recieving area------->inspection(done)---->sub inventory.
    but if we create receipt for Standard , Inspection types -- its creating 1 transaction with DELIVER line in rcv_transactions table And onhand quantity is not incrementing.
    If we create receipt for Direct delivery -- its creating 2 trxs with DELIVER and RECEIVE lines in rcv_transactions table and onhand qty is incrementing.
    Can you tell me when the Inv qty wil be incremented for Standard, Inspection Routing types. Do we need to run any other programs or anything to do inorder to increment th inv qty.
    Thanks inadvance,
    Amarnadh js

    Hi Amarnadh,
    I think you have the options a bit jumbled, so I have changed to what is the functionality depending on routing option. I have put in the the source or location and in ( ) the operation that is moving the goods. Once the DELIVER bit is executed the Inv wty is increased. DELIVER is done manually with the routing options Standard, Inspection Required.
    1. Standard Receipt
    supplier (Receipt) receiving area (Deliver) sub inventory
    2. Direct delivery
    supplier (Receipt and Deliver) sub inventory
    3. Inspection Required
    supplier (Receipt) to be inspected (inspection) Inspected/Receiving Area (Deliver) sub inventory.
    /Niels LM

  • Receiving Transactions interface

    Some records are there in rcv_headers_interface & rcv_transactions_interface whose processing_status_code is in error or pending but still we are able to see that records are successfully processed to base tables i.e rcv_shipment_headers, rcv_shipment_lines and rcv_transactions.
    Kindly let me know how can we trace the error records which are not processed to rcv_shipment_headers, rcv_shipment_lines and rcv_transactions.

    the below script shows all the shipment lines along with shipment_header_id that are either 'EXPECTED' or 'PARTIALLY RECEIVED' these would not have made it to the rcv_transactions table.
    find these shipment lines in the interface and try to process them.
    SELECT * FROM po.rcv_shipment_lines rsl
    WHERE rsl.SHIPMENT_LINE_STATUS_CODE != ''FULLY RECEIVED'
    if you have errored records in the rcv_transactions_interface and rcv_headers_interface that are not received.
    use the below script to find
    SELECT rti.SHIPMENT_LINE_ID FROM po.rcv_transactions_interface rti
    MINUS
    SELECT rt.shipment_line_id FROM
    po.rcv_transactions rt,
    po.rcv_transactions_interface rti
    WHERE rt.SHIPMENT_LINE_ID(+) = rti.SHIPMENT_LINE_ID
    To check errors
    select * from po.po_interface_errors pie
    where pie.INTERFACE_LINE_ID = 24126926 (this is interface_transaction_id from receiving_transactions_interface for the errored record or you can use batch_id/group_id which the Receiving_transaction_processor program errors out with)

  • 11i to R12 Upgrade- Doubt in XLA tables

    Hi All,
         I am migrating the 11i AP reports to R12..
         In the below query I have commented the obselete and changed 11i columns & tables , but I wasnt able to find the alternate column in WHERE clause for 2 columns in xla_ae_lines and 1 in xla_ae_headers.
         I have marked the ones for which I didn't find the alternate column in red
    SELECT  c.check_id,
            to_char(c.check_number) check_num ,
            i.invoice_id,
            i.invoice_num,
            c.amount,
            ael.accounted_dr accounted_dr,
            ael.entered_dr entered_dr,
            &p_flexdata4 c_flexdata4,
            aeh.accounting_date check_date,
            c.doc_sequence_value voucher_number,
            --ael.ae_line_type_code acct_line_type,
            ael.accounting_class_code acct_line_type,
            l3.displayed_field acct_line_type_name,
            ael.code_combination_id code_combination_id,
            ael.description comments ,
            v.segment1 vendor_num,
            v.vendor_name vendor_name,
            vs.vendor_site_code third_party_sub_name,
            c.check_date trx_date ,
            c.check_number trx_number_n,
            c.bank_account_name bank_account_name,
            abb.bank_name,
            aba.bank_account_num
    FROM 
          --ap_bank_accounts_all aba,
          --ap_bank_branches abb,
          ce_bank_accounts aba,
          ce_bank_branches_v abb,
          ap_invoice_distributions_all d,
          ap_invoices_all i,
          ap_invoice_payments_all p,
          ap_checks_all c,
          --ap_accounting_events_all ae,
          --ap_ae_headers_all aeh,
          --ap_ae_lines_all ael,
          xla_events ae,
          xla_ae_headers aeh,
          xla_ae_lines ael,
          xla_transaction_entities xte,
          ce_statement_lines sl,
          --ce_statement_headers_all sh,
          ce_statement_headers sh,
          ce_statement_reconcils_all csr,
          --po_vendor_sites_all vs,
          --po_vendors v,
          --ap_tax_codes AT,
          ap_supplier_sites_all vs,
          ap_suppliers v,
          zx_lines zl,
          rcv_shipment_headers rsh,
          po_releases_all pr,
          po_headers_all ph,
          po_distributions_all pd,
          rcv_transactions rct,
          gl_je_categories jc,
          gl_daily_conversion_types glct,
          fnd_document_sequences fd,
          fnd_document_sequences fd2,
          ap_lookup_codes l1,
          ap_lookup_codes l2 ,
          ap_lookup_codes l3 ,
          ap_lookup_codes l4 ,
          ap_lookup_codes l5 ,
          ap_lookup_codes l6,
          ap_lookup_codes l7,
          ap_lookup_codes l8 ,
          ap_lookup_codes l9 ,
          ap_lookup_codes l10 ,
          ap_lookup_codes l11 ,
          ap_lookup_codes l12,
          ap_lookup_codes l13,
          gl_code_combinations gcc1
    WHERE c.bank_account_id =aba.bank_account_id
          --AND aba.bank_branch_id =abb.bank_branch_id
          AND aba.bank_branch_id =abb.branch_party_id
          AND ael.code_combination_id =gcc1.code_combination_id(+)
          AND l1.lookup_code = c.payment_method_lookup_code
          AND l1.lookup_type = 'PAYMENT METHOD'
          AND l2.lookup_code(+) = d.line_type_lookup_code
          AND l2.lookup_type(+) = 'INVOICE DISTRIBUTION TYPE'
          --AND l3.lookup_code = ael.ae_line_type_code
          AND l3.lookup_code = ael.accounting_class_code
          AND l3.lookup_type = 'AE LINE TYPE'
          --AND l4.lookup_code = aeh.gl_transfer_flag
          AND l4.lookup_code = aeh.gl_transfer_status_code
          AND l4.lookup_type = 'POSTING STATUS'
          AND l5.lookup_code = ae.event_type_code
          AND l5.lookup_type = 'EVENT TYPE'
    --AND l6.lookup_code(+) = aeh.accounting_error_code
          AND l6.lookup_type(+) = 'ACCOUNTING ERROR TYPE'
    --AND l7.lookup_code(+) = ael.accounting_error_code
          AND l7.lookup_type(+) = 'ACCOUNTING ERROR TYPE'
          AND l8.lookup_code = 'Payments'
          AND l8.lookup_type = 'POSTING CATEGORY'
    --AND l9.lookup_code(+) = ael.gl_transfer_error_code
          AND l9.lookup_type(+) = 'POSTING EXCEPTIONS'
          AND l10.lookup_code = 'EVENT'
          AND l10.lookup_type = 'VIEW_ACCOUNTING'
          AND l11.lookup_code = 'LINE'
          AND l11.lookup_type = 'VIEW_ACCOUNTING'
          AND l12.lookup_code = 'APPLIED_TO'
          AND l12.lookup_type = 'VIEW_ACCOUNTING'
          AND l13.lookup_code = 'BANK_STATEMENT'
          AND l13.lookup_type = 'VIEW_ACCOUNTING'
          --AND AT.tax_id(+) = ael.tax_code_id
          AND i.invoice_id = zl.trx_id(+)
          AND zl.entity_code = 'AP_INVOICES'
          --AND jc.je_category_name = aeh.ae_category
          AND jc.je_category_name = aeh.je_category_name
          AND rsh.shipment_header_id = rct.shipment_header_id
          AND d.rcv_transaction_id = rct.transaction_id
          AND pr.po_release_id(+) = pd.po_release_id
          AND ph.po_header_id(+) = pd.po_header_id
          AND pd.po_distribution_id(+) = d.po_distribution_id
          AND ael.currency_conversion_type = glct.conversion_type(+)
          AND c.doc_sequence_id = fd.doc_sequence_id
          AND sh.doc_sequence_id = fd2.doc_sequence_id
          --AND ael.third_party_sub_id = vs.vendor_site_id
          --AND ael.third_party_id = v.vendor_id
          AND ael.party_site_id = vs.vendor_site_id
          AND ael.party_id = v.vendor_id
          AND i.invoice_id(+) = p.invoice_id
          --AND c.check_id = ae.source_id
          --AND ae.source_table = 'AP_CHECKS'
          --AND ae.accounting_event_id = aeh.accounting_event_id
          --AND aeh.ae_header_id = ael.ae_header_id
          AND i.invoice_id = xte.source_id_int_1
          AND xte.entity_code = 'AP_CHECKS'
          AND aeh.ae_header_id = ael.ae_header_id
          AND aeh.application_id = ael.application_id
          AND aeh.event_id=ae.event_id
          AND aeh.application_id = ae.application_id
          AND ae.entity_id=xte.entity_id
          AND ae.application_id = xte.application_id
          AND sl.statement_header_id = sh.statement_header_id(+)
          AND csr.statement_line_id = sl.statement_line_id(+)
          AND c.check_id = csr.reference_id(+)
          AND csr.reference_type = 'PAYMENT'
          AND csr.current_record_flag(+) = 'Y'
          AND decode(ael.source_table,'AP_INVOICE_PAYMENTS', ael.source_id,NULL) = p.invoice_payment_id(+)
          AND decode(ael.source_table,'AP_INVOICE_DISTRIBUTIONS', ael.source_id,NULL) = d.invoice_distribution_id(+)
          AND ael.accounted_dr IS NOT NULL
          AND (v.segment1 = :p_vendor_code
          OR :p_vendor_code IS NULL)
          AND (v.vendor_name = :p_vendor_name
          OR :p_vendor_name IS NULL)
          AND (abb.bank_name = :p_bank_name
          OR :p_bank_name IS NULL)
          AND (c.currency_code = :p_currency
          OR :p_currency IS NULL)
          AND (c.doc_sequence_value = :p_doc_sequence_value
          OR :p_doc_sequence_value IS NULL)
          AND (i.pay_group_lookup_code = :p_paygroup
          OR :p_paygroup IS NULL)
          AND ( c.check_date IS NULL
          OR trunc(c.check_date) = nvl(:p_payment_date, trunc(c.check_date)))
    Thanks and Regards,
    Madonna

    Hi Cheryl,
         Thank you for the reply..
         It would be nice if you could illustrate with a sample code..
    Thanks and Regards,
    Madonna

  • Table joins from Expediture Items to Po distribution

    Hi,
    I have a requirement to add the column PO.PO_DISTRIBUTIONS_ALL.DELIVER_TO_PERSON_ID to an existing report that is built using the following tables:
    pa_expend_items_adjust2_v
    pa_cost_distribution_lines_all
    po_vendors
    ap_invoices_v
    gl_code_combinations
    gl_periods
    The view pa_expend_items_adjust2_v is based on the following tables:
    pa_projects_all
    pa_tasks
    pa_expenditure_items_all
    pa_expenditures_all
    pa_project_types_all
    pa_transaction_sources
    hr_all_organization_units_tl
    per_jobs
    I am unable to find the table linkage between the tables already used in the report to the column in the table I need to add. I can easily get the PO_NUMBER in the report but can't get down to the LINE_ID and/or PO_DISTRIBUTION_ID level.
    Does anyone have a query for doing this?
    Thank you very much!
    Suzanne

    This is overkill, but try this...
    (Make sure to set the item master org on the 9th line from the end)
    SELECT
    mmx.project_num,
    mmx.project_name,
    mmx.task_num,
    mmx.task_name,
    mmx.system_linkage_function slf,
    mmx.po_num po,
    mmx.po_line,
    NVL(mmx.po_vendor_name,mmx.vendor_name) vendor,
    mmx.exp_cat,
    mmx.expenditure_type exp_type,
    mmx.job_name,
    mmx.item_number,
    mmx.item_description,
    mmx.exp_comment,
    mmx.item_cat,
    mmx.incurred_by_org,
    mmx.incurred_by_person,
    mmx.quantity,
    mmx.raw_cost cost,
    mmx.gl_period,
         TO_CHAR(mmx.expenditure_item_date,'YYYY-MM-DD')     item_date
    FROM
    (SELECT
    FROM
    (SELECT
    DECODE(peia.transaction_source, 'PJM_CSTBP_INV_NO_ACCOUNTS', rt.po_distribution_id, 'PO RECEIPT', exp.orig_exp_txn_reference1, NULL ) AS po_distribution_id,
    org.name AS incurred_by_org,
    et.expenditure_category AS exp_cat,
    pv.vendor_name,
    job.name AS job_name,
    com.expenditure_comment AS exp_comment,
    cdl.recvr_gl_period_name AS gl_period,
    peo.full_name AS incurred_by_person,
    pa.segment1 AS project_num,
    pa.name AS project_name,
    pt.task_number AS task_num,
    pt.task_name AS task_name,
    peia.*
    FROM
    pa_expenditure_items_all peia,
    pa_expenditures_all exp,
    pa_expenditure_types et,
    rcv_transactions rt,
    mtl_material_transactions mmt,
    pa_projects_all pp,
    hr_all_organization_units org,
    po_vendors pv,
    per_jobs_tl job,
    pa_expenditure_comments com,
    pa_cost_distribution_lines_all cdl,
    per_all_people_f peo,
    pa_projects_all pa,
    pa_tasks pt
    WHERE 1=1
    AND DECODE(peia.transaction_source,'PJM_CSTBP_INV_NO_ACCOUNTS',peia.orig_transaction_reference,NULL) = mmt.transaction_id (+)
    AND mmt.rcv_transaction_id = rt.transaction_id (+)
    AND pp.project_id = peia.project_id
    AND org.organization_id (+) = exp.incurred_by_organization_id
    AND exp.vendor_id = pv.vendor_id (+)
    AND peia.expenditure_id = exp.expenditure_id
    AND peia.expenditure_type = et.expenditure_type
    AND job.job_id (+) = peia.job_id
    AND com.expenditure_item_id (+) = peia.expenditure_item_id
    AND cdl.expenditure_item_id = peia.expenditure_item_id
    AND exp.incurred_by_person_id = peo.person_id (+)
    AND NVL(peo.effective_end_date,TO_DATE('01-01-2200','dd-mm-yyyy')) > SYSDATE
    AND pa.project_id = peia.project_id
    AND pa.project_id = pt.project_id
    AND pt.task_id = peia.task_id
    ) expenditure,
    (SELECT
    ph.segment1 AS po_num,
    pl.line_num AS po_line,
    mc.segment1 AS item_cat,
    pd.po_distribution_id AS po_dist_id,
    pv.vendor_name AS po_vendor_name,
    msi.segment1 AS item_number,
    pl.item_description
    FROM
    po_headers_all ph,
    po_lines_all pl,
    mtl_categories mc,
    po_distributions_all pd,
    po_vendors pv,
    mtl_system_items_b msi
    WHERE 1=1
    AND ph.po_header_id = pl.po_header_id
    AND pl.category_id = mc.category_id
    AND pl.po_line_id = pd.po_line_id
    AND ph.vendor_id = pv.vendor_id
    AND pl.item_id = msi.inventory_item_id (+)
    AND msi.organization_id (+) = 103 --set this to your Item Master Org Id
    ) po
    WHERE 1=1
    AND expenditure.po_distribution_id = po.po_dist_id (+)
    ) mmx
    WHERE 1=1
         AND mmx.project_num LIKE ?
    ORDER BY
    1,3,5,6,7

  • WSH_EXCEPTIONS Table becomes 38 GB

    Follwoing are the tables which are consuming space for tablespace APPS_TS_TX_DATA.
    select segment_name, sum(bytes)
      from dba_segments
    where tablespace_name = 'APPS_TS_TX_DATA'
    group by segment_name
    order by 2 desc;
            SEGMENT_NAME                     SUM(BYTES)
    1     WSH_EXCEPTIONS                          38420873216
    2     MLOG$_OE_ORDER_LINES_ALL          23646830592
    3     WF_ITEM_ACTIVITY_STATUSES          20170014720
    4     MLOG$_XXCS_SALES_MATRIX_SA          17160470528
    5     MLOG$_WSH_DELIVERY_DETAILS          16620978176
    6     ZX_LINES_DET_FACTORS               15658385408
    7     FND_LOG_MESSAGES                  13132890112
    8     WF_ITEM_ATTRIBUTE_VALUES          13027115008
    9     MTL_MATERIAL_TRANSACTIONS          12053774336
    10     ZX_LINES                             11223040000
    11     OE_ORDER_LINES_ALL                     9180807168
    12     RA_CUSTOMER_TRX_LINES_ALL          8896380928
    13     XXCS_ORDERS_AUDIT_DATA               8323989504
    14     MRP_ATP_SCHEDULE_TEMP               6258294784
    15     MLOG$_RA_CUSTOMER_TRX_LINE          6062604288
    16     MTL_TRANSACTION_LOT_NUMBERS          5516427264
    17     WSH_DELIVERY_DETAILS                     5389287424
    18     XXCS_SALES_MATRIX_CTS_DTL_2          4675993600
    19     RA_CUST_TRX_LINE_GL_DIST_ALL          3809607680
    20     ZX_REP_TRX_DETAIL_T                     3797942272
    21     XXCS_SALES_MATRIX_SALES_DATA          3698065408
    22     MLOG$_MTL_MATERIAL_TRANSAC          3564634112
    23     XXCS_RA_CUSTOMER_TRX_LINES_U1          3269984256
    24     MLOG$_MTL_TRANSACTION_LOT_          3174432768
    25     AR_DISTRIBUTIONS_ALL               3041263616
    26     MLOG$_MTL_ONHAND_QUANTITIE          2833252352
    27     OE_PRICE_ADJUSTMENTS               2668625920
    28     FND_ENV_CONTEXT                    2499018752
    29     MTL_TXN_REQUEST_LINES               2406088704
    30     OE_PROCESSING_MSGS_TL               2246311936
    31     MLOG$_RA_CUSTOMER_TRX_ALL          2076835840
    32     XXCS_ORDERS_DATA               1659240448
    33     AR_RECEIVABLE_APPLICATIONS_ALL          1582039040
    34     WF_ITEMS                    1580859392
    35     RA_CUST_TRX_LINE_SALESREPS_ALL          1519517696
    36     OE_PROCESSING_MSGS               1474953216
    37     MLOG$_OE_PRICE_ADJUSTMENTS          1370882048
    38     XXCS_SALES_MATRIX_D               1276772352
    39     RA_CUSTOMER_TRX_ALL               1214251008
    40     XXCS_SAP_EXTRACTS_ALL               1173749760
    41     IDX$$_2DF80001                    1141506048
    42     AR_PAYMENT_SCHEDULES_ALL          1115029504
    43     OE_SALES_CREDITS               1109524480
    44     OE_PRICE_ADJ_ATTRIBS               1103626240
    45     IDX$$_2AD80001                    1038614528
    46     XLA_EVENTS                    1037303808
    47     MTL_MATERIAL_TRANSACTIONS_PZ_1          1013579776
    48     XXCS_SAP_EXTRACTS_B               989855744
    49     MRP_SO_LINES_TEMP               978452480
    50     WSH_NEW_DELIVERIES               937295872
    51     WSH_TRIP_STOPS                    894566400
    52     XXCS_SAP_EXTRACTS_ALL_PRN          878182400
    53     MTL_MATERIAL_TRANSACTIONS_PZN4          839385088
    54     XLA_TRANSACTION_ENTITIES          833093632
    55     WSH_DELIVERY_ASSIGNMENTS          804782080
    56     XXPZ_OE_ORD_LNES_ALL               790102016
    57     RCV_TRANSACTIONS               752222208
    58     WSH_DELIVERY_DETAILS_N99          724697088
    59     XLA_DISTRIBUTION_LINKS               709492736
    60     FND_CONCURRENT_REQUESTS               692715520
    61     OE_ORDER_HEADERS_ALL               684982272
    62     MLOG$_AR_PAYMENT_SCHEDULES          632684544
    63     XXCS_DATA_POOL                    625213440
    64     RA_CUSTOMER_TRX_LINES_ALL_P_1          609091584
    65     XXCS_RA_CUSTOMER_TRX_U1               594280448
    66     WSH_DELIVERY_DETAILS_PZ_1          574095360
    67     XXCS_SALES_MATRIX_D_PZ_4          554303488
    68     RA_SALES_ORDER_LINE_N13               551157760
    69     XXCS_RCTL_LINECONTEXT_IDX          508559360
    71     IDX$$_2DDB0007                    471728128
    70     AR_CASH_RECEIPTS_ALL               471728128First of all i tried to cop with WSH_EXCEPTIONS , for that i ran the script which mentioned at metalink Note: 842728.1 - Sample API To Purge WSH_EXCEPTIONS Using WSH_EXCEPTIONS_PUB, but invane sripts given within this document ran successfully with the user WSH (owner of WSH_EXCEPTIONS) but still the size of this table presist as before , how can i purge this table to reclaim space as i am running out of space for database.
    the output of that scrip as follows.
    SQL> declare
      2  x_msg_count NUMBER;
      3  x_msg_data VARCHAR2(200);
      4  x_return_status VARCHAR2(200);
      5  p_exception_rec WSH_EXCEPTIONS_PUB.XC_ACTION_REC_TYPE;
      6  begin
      7  FND_GLOBAL.apps_initialize(-1, 51277, 665);
      8  p_exception_rec.status := 'CLOSED';
      9  --call WSH_EXCEPTIONS_PUB.Exception_Action,
    10  WSH_EXCEPTIONS_PUB.Exception_Action (
    11  -- Standard parameters
    12  1, --p_api_version
    13  NULL, --p_init_msg_list
    14  NULL, --p_validation_level
    15  FND_API.G_TRUE, --p_commit
    16  x_msg_count, --OUT
    17  x_msg_data, --OUT
    18  x_return_status, --OUT
    19  -- Program specific parameters
    20  p_exception_rec, --IN OUT
    21  'PURGE' --p_action
    22  );
    23  COMMIT;
    24  --
    25  DBMS_OUTPUT.PUT_LINE (FND_API.G_TRUE);
    26  DBMS_OUTPUT.PUT_LINE (x_msg_count);
    27  DBMS_OUTPUT.PUT_LINE (x_msg_data);
    28  DBMS_OUTPUT.PUT_LINE (x_return_status);
    29  DBMS_OUTPUT.PUT_LINE ('Purging Change Status');
    30  end;
    31  --------------------------------------------------------------------------------
    32 
    33 
    34  /
    SQL> /
    T
    1
    1966516 records Resolved/Purged successfully.
    S
    Purging Change Status
    PL/SQL procedure successfully completedEdited by: user13653962 on Sep 11, 2011 11:53 AM

    I have found NO_ACTION_REQUIRED exception is to in abundant numbers , following are the output from UAT which is for dated 2 months back , in production it would be doubeld than this one.Anyway when i run the script to Purge WSH_EXCEPTIONS Using WSH_EXCEPTIONS_PUB [ID 842728.1] for the status NO_ACTION_REQUIRED , it does nothing.How can i purge it please help.
    SQL>select count(*),status
          from wsh_exceptions
         group by status
    COUNT(*)     STATUS
    62575          OPEN
    29753088     NO_ACTION_REQUIRED
    SQL> declare
      2  x_msg_count NUMBER;
      3  x_msg_data VARCHAR2(200);
      4  x_return_status VARCHAR2(200);
      5  p_exception_rec WSH_EXCEPTIONS_PUB.XC_ACTION_REC_TYPE;
      6  begin
      7  FND_GLOBAL.apps_initialize(-1, 51277, 665);
      8  p_exception_rec.status := 'NO_ACTION_REQUIRED';
      9  --call WSH_EXCEPTIONS_PUB.Exception_Action,
    10  WSH_EXCEPTIONS_PUB.Exception_Action (
    11  -- Standard parameters
    12  1, --p_api_version
    13  NULL, --p_init_msg_list
    14  NULL, --p_validation_level
    15  FND_API.G_TRUE, --p_commit
    16  x_msg_count, --OUT
    17  x_msg_data, --OUT
    18  x_return_status, --OUT
    19  -- Program specific parameters
    20  p_exception_rec, --IN OUT
    21  'PURGE' --p_action
    22  );
    23  COMMIT;
    24  --
    25  DBMS_OUTPUT.PUT_LINE (FND_API.G_TRUE);
    26  DBMS_OUTPUT.PUT_LINE (x_msg_count);
    27  DBMS_OUTPUT.PUT_LINE (x_msg_data);
    28  DBMS_OUTPUT.PUT_LINE (x_return_status);
    29  DBMS_OUTPUT.PUT_LINE ('Purging Change Status');
    30  end;
    31  --------------------------------------------------------------------------------
    32 
    33 
    34  /
    T
    3
    E
    Purging Change Status
    PL/SQL procedure successfully completed

  • Joins for PO & RCV tables in R12

    Could you provide me joins for below tables
    rcv_shipment_headers rsh
    rcv_shipment_lines rsl
    rcv_transactions rct
    po_headers_all poh
    po_lines_all pol
    Thanks

    rsh.shipment_header_id = rsl.shipment_header_id
    AND rsl.po_header_id = rct.po_header_id
    AND rsl.po_line_id = rct.po_line_id
    AND rct.po_header_id = poh.po_header_id
    AND rct.po_line_id = pol.po_line_id
    AND poh.po_header_id = pol.po_header_id
    Thanks,
    PS.

  • MTL_MATERIAL_TRANSACTION TABLE  column TRANSACTION_SOURCE_ID shows

    Dear All,
    MTL_MATERIAL_TRANSACTION TABLE column TRANSACTION_SOURCE_ID show null when transaction type is More order issue and Miscellaneous receipt
    Please guide how can i solve this iessue.
    Query
    SELECT
    MSI.SEGMENT1,
    MSI.SEGMENT2,
    MSI.DESCRIPTION,
    MSI.PRIMARY_UNIT_OF_MEASURE,
    (SELECT MTT.TRANSACTION_TYPE_NAME FROM MTL_TRANSACTION_TYPES MTT WHERE MTT.TRANSACTION_TYPE_ID = A.TRANSACTION_TYPE_ID) TRANSACTION_TYPE,
    A.*
    FROM
    MTL_SYSTEM_ITEMS MSI
    ,MTL_ITEM_CATEGORIES_V MIC
    ,MTL_TRANSACTION_TYPES MTT
    (SELECT
    DISTINCT
    M.TRANSACTION_DATE, M.TRANSACTION_ID , M.ACTUAL_COST , M.INVENTORY_ITEM_ID , M.ORGANIZATION_ID , M.SUBINVENTORY_CODE ,
    M.TRANSACTION_TYPE_ID ,
    M.PRIMARY_QUANTITY , M.TRANSACTION_QUANTITY , phpl.ITEM_DESCRIPTION , phpl.UNIT_PRICE , phpl.QUANTITY , R.PO_UNIT_PRICE
    from
    mtl_material_transactions m
    left outer join rcv_transactions r
    on m.SOURCE_LINE_ID = r.transaction_id
    left outer join (select * from po_lines_all pl join po_headers_all ph
    on pl.PO_HEADER_ID = ph.po_header_id) phpl
    on r.po_line_id = phpl.po_line_id
    ) A
    WHERE
    MSI.INVENTORY_ITEM_ID = A.INVENTORY_ITEM_ID
    AND MSI.ORGANIZATION_ID = A.ORGANIZATION_ID
    AND MIC.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
    AND MIC.ORGANIZATION_ID = MSI.ORGANIZATION_ID
    and A.ORGANIZATION_ID = 110
    --AND MIC.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
    --AND MIC.ORGANIZATION_ID = MSI.ORGANIZATION_ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    What are you talking about?
    This forum is for issues with the SQL Developer tool...
    Regards,
    K.

Maybe you are looking for

  • How to Disable Event firing while updating a list item using poweshell

    Hi All, I am working on a powershell code which updates most of the list items in the entire web application. I am using SystemUpdate($false) to update the items so that 'modified' and 'modified By' and versions are not changed. However event receive

  • Is Adobe Director the software for me?

    Dear programmers and developers. I have a small project, and I would like to know, if Director is suited for me to do this work. I am to make a small CD-presentation containing a catalogue for a small music-booking agency. I have thought it out as a

  • Using a DOM Document in Graphical Mapping

    Hi, I have the following scenario: A string stream is received from a SOAP adapter. From this   I extract a part that is in essence a XML document. I then parse this into a DOM Document object.  I want to pass this XML structure on to other graphical

  • Very poor customer services

    cant beleive how bad bt r now, just signed up for 18mths provided everything was connected on 15th (phone n broadband) and they agreed, they were to send me out my new number (no sign of it), phoned them today after 2 weeks of nothing n now they say

  • IPhoto 9.5 sharpening drastically affects red channel

    I have the weirdest bug: opening a photo into the "edit" window recalculates the edits and ties the "sharpening slider" to the photo's "red channel." There are no visible slider changes, but a beautifully edited photo is suddenly converted to peaked