MTL_TRANSACTIONS_INTERFACE

I need to move some inventory from one location to another in the mtl_onhand_quantities table. I belive that I should be using the mtl_transactions_interface to do so. Below is what i am writing but for some reason, i still see the inventory in the old location. please let me know if I am doing anything wrong in the query -
INSERT INTO INV.MTL_TRANSACTIONS_INTERFACE
(PROCESS_FLAG, source_code, source_line_id, source_header_id, transaction_mode, last_update_date, last_updated_by, creation_date, created_by,
inventory_item_id, item_segment1, organization_id, transaction_quantity, transaction_uom, transaction_date, subinventory_code, locator_id,
transaction_type_id, transfer_subinventory, transfer_organization, transfer_locator, transaction_source_name)
VALUES
(1,
'KIT_MOVE',
1,
111111,
3,
sysdate,
888888,
sysdate,
888888,
773867,
'OH.2.BB',
581,
-100,
'Ea',
sysdate,
'Components',
1554904,
2,
'Components',
581,
1554856,
'LM');

Based on the Insert statement, it seems that Sub inventory transfer is being requested for the same sub inventory (Subinventory_code and transfer_subinventory)
If it is sub inventory transfer, use a different Source and destination sub inventory.
If this is a one time correction, kindly use sub inventory transfer screen.
Thanks,
K.Nataraja Suthan,

Similar Messages

  • Open interface document - MTL_TRANSACTIONS_INTERFACE

    Hi,
    I'm looking for the open interface document related the MTL_TRANSACTIONS_INTERFACE (on hand quantities)
    Regards

    http://download.oracle.com/docs/cd/B40089_07/current/acrobat/120scmapi.pdf
    Regards
    Bilal SARIOZ

  • Problem in trigger when inserting in mtl_transactions_interface there is an added row

    hi,
    i have a problem in the trigger when i have a command of 2 lines and do a reception and insertion in table mtl_transactions_interface i found 3 lines, i didn't know where come the 3 row
    create or replace
    TRIGGER TOP_RCV_TRANSACTION_ACC_T2 AFTER
      INSERT ON PO.RCV_TRANSACTIONS FOR EACH ROW DECLARE
      CURSOR org_item_cur
      IS
        SELECT distinct organization_id,
          inventory_item_id
        FROM mtl_system_items_b
        WHERE inventory_item_id=
          (SELECT distinct item_id
          FROM rcv_shipment_lines
          WHERE shipment_line_id=:new.shipment_line_id
          CURSOR item_cur
          IS
          select distinct  RSL.item_id
    from
      RCV_SHIPMENT_HEADERS RSH
      ,RCV_shipment_lines RSL
      where :new.shipment_header_id=RSH.shipment_header_id
      and RSH.shipment_header_id=RSL.shipment_header_id;
      X_att_item      VARCHAR2(10);
      X__bc_ot        VARCHAR2(10);
      X_sum_qty       NUMBER;
      X_receipt_num   VARCHAR2(30);
      X_count_article NUMBER;
      X_item_org      NUMBER;
      X_org_id        NUMBER;
      X_serial_number NUMBER;
      X_dec_dou varchar2(100);
      X_DAE varchar2(100);
      X_LOCATOR_ID  NUMBER;
      X_ITEM_REVISION varchar2(3);
      X_ITEM_ID NUMBER ;
      X_PO_NUMBER VARCHAR2(20) ;
    BEGIN
    FOR item_rec IN item_cur
          LOOP
      IF (:new.transaction_type='DELIVER' and :new.organization_id=83 and (item_rec.item_id=61305 or item_rec.item_id=61306)) THEN
        SELECT distinct receipt_num
        INTO X_receipt_num
        FROM RCV_SHIPMENT_HEADERS
        WHERE shipment_header_id=:new.shipment_header_id;
    SELECT COUNT(*)
        INTO X_count_article
        FROM mtl_system_items_b
        WHERE inventory_item_id=
          (SELECT distinct item_id
          FROM rcv_shipment_lines
          WHERE shipment_line_id=:new.shipment_line_id
          --récupérer le numéro de commande à partir de la table PO_HEADERS_ALL
        select distinct PHA.segment1 
        into X_PO_NUMBER
        from PO_HEADERS_ALL PHA
        where PHA.PO_HEADER_ID=:new.PO_HEADER_ID;
         -- Récupérer la révision de l'article
          select distinct ITEM_REVISION
          into X_ITEM_REVISION
          from rcv_shipment_lines
          WHERE shipment_line_id=:new.shipment_line_id;
        IF (X_count_article > 1) THEN
          FOR org_item_rec IN org_item_cur
          LOOP
            IF (org_item_rec.organization_id=83 and(org_item_rec.inventory_item_id =61305 or org_item_rec.inventory_item_id =61306) ) THEN
              INSERT into inv.mtl_transactions_interface
                  transaction_interface_id,
                  SOURCE_CODE,
                  SOURCE_LINE_ID,
                  SOURCE_header_ID,
                  PROCESS_FLAG,
                  TRANSACTION_MODE,
                  INVENTORY_ITEM_ID,
                  REVISION,
                  ORGANIZATION_ID,
                  SUBINVENTORY_CODE,
                  TRANSACTION_QUANTITY,
                  TRANSACTION_UOM,
                  TRANSACTION_DATE,
                  TRANSACTION_TYPE_ID,
                  TRANSACTION_REFERENCE,
                  TRANSACTION_COST,
                  LAST_UPDATE_DATE,
                  LAST_UPDATED_BY,
                  CREATION_DATE,
                  CREATED_BY,
                  lock_flag,
                  transaction_source_name,
                  transaction_source_type_id,
                  Flow_Schedule,
                  Scheduled_Flag,
                  distribution_account_id ,
                  LOCATOR_ID
                VALUES
                  mtl_transactions_interface_s.nextval,
                  'INTERFACE',
                  0,
                  0,
                  1,
                  3,
                  org_item_rec.inventory_item_id,
                  X_ITEM_REVISION,
                  161,
                  'CENTRAL001',
                  :new.quantity,
                  :new.uom_code,
                  sysdate,
                  202,
                   X_PO_NUMBER,
                    :new.po_unit_price,
                  sysdate,
                  :new.LAST_UPDATED_BY,
                  sysdate,
                  :new.LAST_UPDATED_BY,
                  2,
                  X_receipt_num,
                  13,
                  'Y',
                  2,
                  347783,
                  :new.attribute1
            END IF;
          END LOOP;
          if org_item_cur%ISOPEN then
            close org_item_cur;
            end if;
    END IF;
      END IF;
       END LOOP;
    END;
    please help me and give me solutions to localisate the problem?

    This trigger will fire at the time of every PO receipt and receiving transactions such as Accept, Reject, Deliver, RTV etc.
    May be you forgot to put a WHEN clause in Trigger.

  • Sample script to insert  into mtl_transactions_interface for sales order

    Hi,
    can any one provide me the script to insert into mtl_transactions_interface for sales order transactions. actually i have to create the transactions for all the assemblies/components of C* item (configured item). as per the standard functionality it will create only for the C* item.
    Thanks in advance..
    Regards,
    Sreenath

    If I understood your question correctly, your requirement is as follows.
    You have a sales order for a configured item - say C*123.
    The components of C*123 are A and B.
    A and B as well as C*123 appear on the sales order.
    When you ship the sales order, Oracle will create sales order issue transaction for C*123.
    You would like to use the transactions interface to create sales order issue transactions for A & B.
    That is wrong thing to do.
    You should not create a sales order issue for A & B.
    You need to BUILD C*123 by creating a work order. You need to perform WIP component issue transaction for A & B.
    Hope this helps,
    Sandeep Gandhi

  • MTL_TRANSACTIONS_INTERFACE 에서 진행되지 않는 DATA 의 RESUBMISSION 방법.

    제품 : MFG_INV
    작성날짜 : 2004-05-25
    MTL_TRANSACTIONS_INTERFACE 에서 진행되지 않는 DATA 의 RESUBMISSION 방법.
    =============================================================
    PURPOSE
    MTL_TRANSACTIONS_INTERFACE 에서 진행되지 않는 DATA 의
    Resubmission 방법.
    Oracle Inventory Management 11.5
    Problem Description
    MTL_TRANSACTIONS_INTERFACE 에서 진행되지 않는 DATA 를 Resubmit 하여 처리되도록한다.
    Workaround
    N/A
    Solution Description
    1. Application에서의 Resubmission
    Navigation Inventory:Transactions:Transaction Open Interface
    해당 Record의 Submit 의 check box를 선택하여 저장한다.
    2. SQL*Plus 에서의 Resubmission
    SQL>Update MTL_TRANSACTIONS_INTERFACE
    Set PROCESS_FLAG = 1,
    LOCK_FLAG = 2,
    TRANSACTION_MODE = 3,
    VALIDATION_REQUIRED = 1,
    ERROR_CODE = NULL,
    ERROR_EXPLANATION = NULL
    Where PROCESS_FLAG IN (1,3);
    Reference Documents
    Note:209809.1 - How to resubmit unprocessed records stuck in the
    MTL_TRANSACTIONS_INTERFACE table

  • MTL_TRANSACTIONS_INTERFACE TABLE에 대한 분석

    제품 : MFG_INV
    작성날짜 : 2003-04-21
    MTL_TRANSACTIONS_INTERFACE TABLE에 대한 분석
    =======================================
    PURPOSE
    MTL_TRANSACTIONS_INTERFACE table의 사용 용도와 관련 program(Conc manager,Processors so on..)을 알면 Interface에 걸린 문제의 원인 및 해결방법을 보다 빨리 알 수 있다.
    Explanation
    이 Table은 non-INV application과 INV transactions module간의 Interface point이다.다른 말로 하면 INV가 아닌 INV로 update 하기 위하는 다른 module을 이 table을 꼭 통해야만 한다.
    즉, PO, WIP, OE들의 module들의 records는 validation을 위해 처음 MTI table을 pass 해야 한다.
    1.INV Processor 절차
    1) Conc Manager called the Transactions Manager(INCTCM)
    : MTI table의 records를 읽어 validate를 하고, pass된 transactions을
    MTL_MATERIAL_TRANSACTIONS_TEMP table로 이동시킨다.
    2) Submit Transaction Worker(sub-process-INCTCW)
    : data derivation,validate하고 MTL_TRANSACTION_INTERFACE,
    MTL_TRANSACTIONS_LOTS_INTERFACE,MTL_SERIAL_NUMBERS_INTERFACE 에 있는
    records를 TEMP tables로 transfer한다.
    3) MTI table이 INV processor에 의해 제대로 processing 하기 위해서는 아
    래 field의 값이 다음과 같이 setting 되어져 있어야 한다.
    Transaction_Mode = 3,
    Lock_flag = 2,
    Process_flag = 3
    2.Important Links
    1) MTI와 link되어 있는 주요 table
    MTL_SYSTEM_ITEMS,
    MTL_ITEM_LOCATIONS,
    MTL_SECONDARY_INVENTORIES,
    GL_CODE COMNINATIONS
    2) Link to the PO table-MTI.requisition_line_id
    PO_REQUISITION_LINES(requisition_line_id),
    PO_REQUISITION_LINES(blanket_po_line_id)
    3) Link to the WIP from MTI
    - schedule_id
    - operation_seq_num
    - wip_entity_name
    MTI.schedule_id
    wip_requirement_operations(repetitive_schedule_id)
    wip_operations(repetitive_schedule_id)
    wip_operations(wip_entity_id)
    wip_discrete_jobs(wip_entity_id)
    4) Link to Lots and Serials
    MTL_TRANSACTION_LOTS_INTERFACE
    MTL_SERIAL_NUMBERS_INTERFACE
    Example
    Reference Documents
    -------------------

  • Inventory- Sequence for TRANSACTION_HEADER_ID in MTL_TRANSACTIONS_INTERFACE

    Hi all.
    I'm new to Apps, and I'd like to know the best approach for extracting the TRANSACTION_HEADER_ID when importing inventory transactions using the open interface MTL_TRANSACTIONS_INTERFACE. Is there an appropriate sequence for that, or it can be user-defined?
    Thanks.
    Denis

    There is a sequence from which you can fetch the value for transaction_header_id
    SELECT mtl_material_transactions_s.NEXTVAL
    INTO l_hdr_id
    FROM DUAL;

  • Cost Elements in mtl_transactions_interface

    Hi all,
    We have EBS 11i (11.5.10.2) .
    We are migrating stock using MTL_TRANSACTIONS_INTERFACE . It's working fine but our problem is to migrate the value according to cost elements means we want to bifurcate the material value, Resource value, Material Overhead value , OSP value etc.
    How it is possible ? Please guide me me if you anybody has an idea.
    Thanks
    regards
    Sanjay

    Burak,
    Please see if these docs help.
    Note: 875702.1 - Interface Trip Stop Ends In Warning - Stuck In MTL_TRANSACTIONS_INTERFACE - No Concurrent Manager Is Defined
    Note: 278861.1 - Interface Trip Stop Ends In Warning. Records Stuck in MTL_TRANSACTIONS_INTERFACE
    Note: 981792.1 - Nonshippable Item Stuck With Sales Order Issue in MTI or MMTT / WSHINTERFACE - Interface Trip Stop (ITS) Completes in Warning
    Note: 863761.1 - FAQ: Troubleshooting Stuck Pick Release and Shipping Transactions]
    Thanks,
    Hussein

  • Lock Flag is 1 in mtl_transactions_interface

    HI Team,
    We can see that 5 Pending Transactions are stuck and can't close the inventory period.
    While checking we have found that the Lock Flag is 1 i the table mtl_transactions_interface for all the stuck transactions.
    Please advice
    Thanks
    Suresh.S>

    Burak,
    Please see if these docs help.
    Note: 875702.1 - Interface Trip Stop Ends In Warning - Stuck In MTL_TRANSACTIONS_INTERFACE - No Concurrent Manager Is Defined
    Note: 278861.1 - Interface Trip Stop Ends In Warning. Records Stuck in MTL_TRANSACTIONS_INTERFACE
    Note: 981792.1 - Nonshippable Item Stuck With Sales Order Issue in MTI or MMTT / WSHINTERFACE - Interface Trip Stop (ITS) Completes in Warning
    Note: 863761.1 - FAQ: Troubleshooting Stuck Pick Release and Shipping Transactions]
    Thanks,
    Hussein

  • MTL_TRANSACTIONS_INTERFACE Error

    Hello All,
    I am getting error ""|Transaction failed to transfer reservation|INV_XFR_RSV_FAILURE|Failed to update reservation|Update Reservation failed.|Warning: For Delivery Detail 1" in MTL_TRANSACTIONS_INTERFACE table.
    Has anybody come across this error?
    Thanks

    Duplicate post.
    MTL_TRANSACTIONS_INTERFACE ERROR
    MTL_TRANSACTIONS_INTERFACE ERROR

  • MTL_TRANSACTIONS_INTERFACE, Child LPN_ID, Parent CONTENT_LPN_ID.

    Gurus,
    Can you tell me, In MTL_TRANSACTIONS_INTERFACE
    which is the child LPN and which is Parent LPN columns
    Is Child LPN LPN_ID and the Parent LPN CONTENT_LPN_ID?
    Please reply as soon as possible.
    Thanks in advance.
    James

    LPN_ID NUMBER
    License Plate Number Identifier
    TRANSFER_LPN_ID NUMBER
    Transfer License Plate Number Identifier
    CONTENT_LPN_ID NUMBER
    Transfer License Plate Number Identifier

  • Material Transaction Open Interface Error

    Hi,
    I'm getting following Error in Cost Manager after running the Transaction Open Interface,
    Interface work well to update the stocks, but it returns error Layer Cost Worker Concurrent.
    Error1
    Bills of Material: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    CMCLCW module: Layer Cost Worker
    Current system time is 10-OCT-2012 14:16:32
    debug_level = 0
    CM_EXTENDED_DEBUG = 2
    CSTPLCIN.COST_INV_TXN:CSTPLVCP.interorg (160): ORA-00001: unique constraint (INV.MTL_CST_TXN_COST_DETAILS_U1) violated
    Failing Transaction ID is 28227
    Start of log messages from FND_FILE
    Standard costing org : -1
    Interorg transfer send org: (consume layers) ...
    84:5
    28227:1
    Entering get_layers_consumed for transaction 28227 and a required quantity of 2 with a consumption mode of NORMAL
    Trying custom layers
    There are 0 custom layers
    General consumption
    Using SQL SELECT inv_layer_id,layer_quantity FROM cst_inv_layers WHERE layer_id = :i AND inv_layer_id <> :j AND NVL(transaction_source_id,-2) <> :k AND layer_quantity > 0 ORDER BY creation_date, inv_layer_id with 1,-1,-1
    End of log messages from FND_FILE
    No completion options were requested.
    Output is not being printed because:
    The print option has been disabled for this report.
    Deleting output file.
    Concurrent request completed
    Current system time is 10-OCT-2012 14:16:32
    Error2
    Bills of Material: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    CMCLCW module: Layer Cost Worker
    Current system time is 10-OCT-2012 14:16:32
    debug_level = 0
    CM_EXTENDED_DEBUG = 2
    CSTPLCIN.COST_INV_TXN:CSTPACDP.insert_account (10) ORA-01400: cannot insert NULL into ("INV"."MTL_TRANSACTION_ACCOUNTS"."BASE_TRANSACTION_VALUE")
    Failing Transaction ID is 28228
    Start of log messages from FND_FILE
    Standard costing org : -1
    ----------l_to_method---------
    =5
    Interorg transfer receiving org: (create layers) ...
    90:5
    28228:2
    i_txn_id 28228
    1 records updated in mclacd for 15005
    1 records copied from mclacd for 15005
    interorg_cost_txn(..)
    transaction_id:28228
    org_id:90
    i_txn_org_id:90
    i_txf_org_id:84
    i_txf_txn_id:28227
    i_exp_item:0
    i_fob_point:0
    l_snd_rcv:2
    l_from_org:84
    l_to_org:90
    Sending org distributions
    Receiving org distributions
    l_intransit:0
    Calling Inventory acct
    In Inventory_accounts
    In insert accounts
    l_ussgl_tc :
    Payable amount(l_value): acct: 414240
    In insert accounts
    l_ussgl_tc :
    DS - others Exception, sqlcode = -1400
    End of log messages from FND_FILE
    No completion options were requested.
    Output is not being printed because:
    The print option has been disabled for this report.
    Deleting output file.
    Concurrent request completed
    Current system time is 10-OCT-2012 14:16:32
    My Coding
    insert into mtl_transactions_interface
    (transaction_type_id, --------------1
    transaction_uom, --------------2
    transaction_date, --------------3
    organization_id, --------------4
    transaction_quantity, --------------5
    last_update_date, --------------6
    last_updated_by, --------------7
    creation_date, --------------8
    created_by, --------------9
    transaction_mode, --------------10
    process_flag, --------------11
    source_header_id, --------------12
    source_line_id, --------------13
    source_code, --------------14
    transaction_header_id, --------------15
    inventory_item_id, --------------16
    transaction_interface_id, --------------17
    subinventory_code, --------------18
    distribution_account_id, --------------19
    transaction_cost, --------------20
    transaction_reference, --------------21
    transfer_organization, --------------22
    transfer_subinventory, --------------23
    -- transfer_cost, --------------24
    primary_quantity, --------------25
    lock_flag,
    transaction_action_id,
    transaction_source_type_id,
    dst_segment1,
    dst_segment2,
    dst_segment3,
    dst_segment4,
    dst_segment5,
    dst_segment6)
    values
    (v_trx_type_id, --------------1 ------transaction type id
    i.uom_code, --------------2 ------transaction_UoM
    sysdate, i.creation_date, ------------3 ------trasnsaction date
    i.from_organization_id, --------------4 ------org id
    nvl(i.quantity_delivered, i.quantity), --------------5 ------quantity
    sysdate, --------------6 ------Last update date
    -1, --------------7 ------last updated by
    sysdate, --------------8 ------creation date
    -1, --------------9 ------creation by
    3, --------------10 ------transactio mode
    1, --------------11 ------process flag
    1, --------------12 ------source_header_id
    1, --------------13 ------source_line_id
    i.mrn_trx_number, --'MRN Interface', --------------14 ------source code
    '999999', --------------15 ------transaction header id
    v_item_id, --------------16 ------inventory item id
    xx_mrn_mtl_trx_int_seq.nextval, --------------17 ------transaction_interface_id
    i.from_subinventory_code, --------------18 ------sub inventory
    v_code_id, --------------19 ------code compbination
    v_item_cost, --------------20 ------cost
    'MRN Interface', --------------21 ------reference
    i.organization_id, --------------22
    i.to_subinventory_code, --------------23
    -- (nvl(i.quantity_delivered, i.quantity) * v_item_cost) --------------24
    nvl(i.quantity_delivered, i.quantity),
    2,
    v_trx_action_id,
    v_trx_source_type_id,
                   '01',
                   '00',
                   '000',
                   '141013',
                   '000000',
                   '00000');
    Thanks

    Can you get the following for the errored transaction?
    SELECT   transaction_id txnid, transfer_transaction_id txfrtxnid
           , organization_id orgid, transfer_organization_id txfrorgid, subinventory_code subinv
           , transfer_subinventory txfrsubinv, cost_group_id cgid
           , transfer_cost_group_id txfrcgid       , prior_costed_quantity
           , transfer_prior_costed_quantity       , rcv_transaction_id rcvtxnid
           , transaction_action_id txnactid       , transaction_source_type_id txnsrctypid
           , transaction_type_id txntypid       , costed_flag cstdflg
           , transaction_group_id       , inventory_item_id invitmid
           , transaction_source_id wip_entity_id       , transaction_cost txncst
           , shipment_number shipnum       , new_cost       , prior_cost
           , actual_cost       , project_id       , transaction_uom txnuom
           , transaction_quantity txnqty       , primary_quantity priqty       , prior_costed_quantity priorqty
           , currency_code altcurr       , currency_conversion_rate currconvrt       , currency_conversion_date currconvdt
           , TO_CHAR (mmt.creation_date, 'dd-mm-yyyy hh24:mi:ss') creation_date
           , TO_CHAR (mmt.last_update_date, 'dd-mm-yyyy hh24:mi:ss')last_upd_date
           , ERROR_CODE errcode
           , error_explanation errexpl
        FROM mtl_material_transactions mmt
       WHERE transaction_id IN (&Trx_Id)   -- Error transaction_id
    ORDER BY transaction_id DESC

  • ESYU: MMT,MMTT,MTI (Sales Orders/Internal Orders)에 중복된 record 확인

    Purpose
    Oracle Inventory Management - Version: 11.5.4 to 11.5.10
    Information in this document applies to any platform.
    이 문서는 여러 errors 때문에 pending transactions(MMTT)이나 open interface(MTI)에 존재하는
    중복된 records를 찾는데 도움을 줄 것이다.
    Error를 분석하기 전에 어떤 duplicates record가 있는지 확인하는 작업을 할 수 있다.
    이 script는 Sales Orders/ Interface Sales Order transactions에 대해 사용된다.
    Solution
    A. 우선 WSHDDSHB.pls, TrxProcessor.java and BaseTransaction.java file version을 확인한다.
    이를 확인하기 위해 아래 command를 사용한다.
    strings -a $WSH_TOP/patch/115/sql/WSHDDSHB.pls |grep '$Header'
    그리고 java files version 확인을 위해 SQL에서 아래 command를 이용한다.
    set serveroutput on
    exec
    fnd_aolj_util.getclassversionfromdb('oracle.apps.inv.transaction.server.TrxProcessor');
    exec
    fnd_aolj_util.getclassversionfromdb('oracle.apps.inv.transaction.server.BaseTransaction');
    Note:
    1. Duplicate shipping transactions을 정정하기 위한 11.5.8 과 11.5.9 version 위에 적용해야 하는
    patches가 존재한다. 11.5.10 version에는 shipping transaction issue가 이미 포함되어져 있다.
    아래는 11.5.8과 11.5.9 를 위한 patches이다.
    11.5.8 - Patch 3211801 supplies WSHDDSHB.pls 115.229.1158.19
    11.5.9 - Patch 3259613 supplies WSHDDSHB.pls 115.258.1159.3
    2. 11.5.9 와 11.5.10에서 interface errors에 의해 duplicate가 생성되는것을 방지하는 patches가
    존재한다.
    11.5.9 - Patch 5859839 supplies
    TrxProcessor.java 115.103.11590.58
    BaseTransaction.java 115.170.11590.113
    11.5.10 - Patch 5710072 superseded by Patch 5935177 supplies
    TrxProcessor.java 115.130.115100.31
    BaseTransaction.java 115.235.115100.36
    INVTXMGB.pls 115.107.115100.18
    INVTRXWB.pls 115.256.115100.37
    B. 3개의 views를 생성하는 scripts를 실행
    1. MMTT와 MTI 사이에 중복되는 record가 있는지 확인하는 View
    create or replace view mmtt_mti_records_v as
    select a.transaction_interface_id ,
    a.picking_line_id from
    mtl_material_transactions_temp b, mtl_transactions_interface a
    where a.picking_line_id = b.picking_line_id
    and a.trx_source_line_id = b.trx_source_line_id
    and a.inventory_item_id = b.inventory_item_id
    and b.transaction_type_id = a.transaction_type_id
    and b.transaction_source_type_id in (2,8)
    and b.picking_line_id is not null ;
    2. MMT와 MMTT 사이에 중복되는 record가 있는지 확인하는 View
    create or replace view mmt_mmtt_records_v as
    select a.transaction_temp_id,
    a.picking_line_id from
    mtl_material_transactions b, mtl_material_transactions_temp a
    where a.picking_line_id = b.picking_line_id
    and a.trx_source_line_id = b.trx_source_line_id
    and a.inventory_item_id = b.inventory_item_id
    and b.transaction_type_id = a.transaction_type_id
    and b.transaction_source_type_id in ( 2,8)
    and b.picking_line_id is not null;
    3. MMT와 MTI 사이에 중복되는 record가 있는지 확인하는 View
    create or replace view mmt_mti_records_v as
    select a.transaction_interface_id ,
    a.picking_line_id from
    mtl_material_transactions b, mtl_transactions_interface a
    where a.picking_line_id = b.picking_line_id
    and a.trx_source_line_id = b.trx_source_line_id
    and a.inventory_item_id = b.inventory_item_id
    and b.transaction_type_id = a.transaction_type_id
    and b.transaction_source_type_id in (2,8)
    and b.picking_line_id is not null ;
    Views를 생성한 후 duplicate record가 있는지 count 확인:
    select count(*) from mmt_mmtt_records_v;
    select count(*) from mmtt_mti_records_v;
    select count(*) from mmt_mti_records_v;
    Notes:
    1. No Views
    View를 생성하지 않고 비슷한 SQL을 직접 실행할 수도 있다.
    select count(*)
    from mtl_material_transactions b, mtl_transactions_interface a
    where a.picking_line_id = b.picking_line_id
    and a.trx_source_line_id = b.trx_source_line_id
    and a.inventory_item_id = b.inventory_item_id
    and b.transaction_type_id = a.transaction_type_id
    and b.transaction_source_type_id in (2,8)
    and b.picking_line_id is not null ;
    2. 원인....
    중복 rows에 대한 원인은 매우 다양하다. 여러개의 common 한 patch list는 위에 update 되어 있고,
    mode 8의 transaction에 대한 정보는 Note 294391.1에서 볼 수있다.
    만일 위 3개의 view를 생성하여 그 count가 return 되는 경우 중복된 data가 있다는 의미이다.
    이 중복된 data는 data fix를 통해 처리해야 하므로 SR을 open 하여 Oracle Support 의 지원을
    받도록 한다.
    Reference
    Note 268973.1

  • MTL MATERIAL TRANSACTION error 'CALL_TO_CONTRACTS'. Please help.

    I am getting the following error from the MTL_TRANSACTIONS_INTERFACE table while running a material transaction.
    You have encountered an unexpected error in 'CALL_TO_CONTRACTS': (No Data Found).
    I know that there is an query not being properly fulfilled and it's giving me back this error.
    Does anybody know the specific reason that this error happens?
    I don't know how to track down where this query is. I'm trying to find the package that it is in.
    Any help would be meet with much thanks.

    I get this error too when trying to display a content area with a single URL element (displaying the CA as a portlet).
    When the URL is set to open in a NEW window no error.
    But if I select the URL item to open inside the folder (CA) I get the error.
    Pls let me know if you find a solution since I would like to have my CA shown ONLY as a portlet and not as a new window....

  • HKONG: Material Transaction Interface 의 data를 처리 Process들에 대한 정의

    PURPOSE
    Material Transaction Interface 의 data를 처리 Process들에 대해 정의하고자 함.
    Explanation
    관련된 정보는 다음과 같습니다.
    Material Transaction Interface 의 data를 처리하기 위해서는 다음의 2개의 Process가 수행됩니다.
    - INCTCM (Process transaction Interface)
    - INCTCW (Inventory transactions worker)
    (1)
    Records are processed into this table by the INCTCM - Process Transactions Interface from the Interface tables :
         MTL_TRANSACTIONS_INTERFACE     to MTL_MATERIAL_TRANSACTIONS_TEMP
         MTL_TRANSACTION_LOTS_INTERFACE     to MTL_TRANSACTION_LOTS_TEMP (Lot 사용시)
         MTL_SERIAL_NUMBERS_INTERFACE     to MTL_SERIAL_NUMBERS_TEMP (serial 사용시)
    ==> INCTCM 에 의해 interface table의 data가 validation후, temp table로 옮겨집니다.
    (2)
    After the records are processed from the MTL_TRANSACTIONS_INTERFACE into the MTL_MATERIAL_TRANSACTIONS_TEMP
    by the INCTCM - Process Transactions Interface,
    a worker will be launched to process the record from MTL_MATERIAL_TRANSACTIONS_TEMP into MTL_MATERIAL_TRANSACTIONS.
    The worker is called INCTCW - Inventory Transaction Worker.
    The INCTCM - Process Transactions Interface will launch a single INCTCW - Inventory Transaction Worker for all rows
    that meet the criteria in MTL_MATERIAL_TRANSACTIONS_TEMP :
         TRANSACTION_MODE     = 3
         LOCK_FLAG          = N
         PROCESS_FLAG          = Y
    Once the process is complete the records will be moved into the corresponding
    transaction table :
         MTL_MATERIAL_TRANSACTIONS_TEMP     to MTL_MATERIAL_TRANSACTIONS
         MTL_TRANSACTION_LOTS_TEMP     to MTL_TRANSACTION_LOT_NUMBERS
         MTL_SERIAL_NUMBERS_TEMP          to MTL_UNIT_TRANSACTIONS
    ==> INCTCM은 INCTCW를 call하게 되고, 이 Process에 의해 TEMP table로부터 MMT table과 Inventory table에
    DATA가 Insert됩니다.
    The rows in mtl_transactions_interface are processed in 5 phases.
    1. Derives dependant columns, eg:acct_period_id, primary_quantity etc..
    2. Detailed validation performed on the records
    3. On hand qty check for negative qty's etc..
    4. Reservations Relieved if demand was created in order entry
    5. Rows are moved to mtl_material_transactions_temp where the
    transaction processor is called to process these rows and update the inventory levels etc..
    Reference Documents
    -------------------

Maybe you are looking for

  • Will I be able to download songs I already own in 256Kbps?

    I was under the impression that when I subscribe to iTunes Match, songs I already own on CD will be able to be downloaded at 256Kbps on my computer.  The reason this would be of some value to me is some of the songs I imported from CDs were from slig

  • Sharing & permissions suddenly read only on files and folders

    Almost all folders and files including home folder have suddenly had their sharing and permissions privileges switched to read only No indication of why this happened. Tedious to go through each item, enter password, add parties and change to read an

  • Repostings of data in profit centers

    Hi! any one can tell me can we report revenues between profit centers as we will done in the case of Cost Centers ( KB11N,KB61)? Not through distribution and assessment. I have configured some  revenue elements to internal order in OKB9 and in intern

  • Google visualization charts

    I tried to add minor changes to the google visualization plugins but they were not taken into effect when the charts were rendered. Take, titlePosition and legend.position, for example. <pre> l_legend_position varchar2(30) := 'top'; apex_javascript.a

  • Problems with WPA

    Hi, I have a BEFW11S4 wireless linksys router and a problem with WPA. When I first create the password I am able to login perfectly, however when I log off and try to log back in I cannot, even with the correct passkey. What I have to do is go back t