Training

For Online SCM Functional Training Please Contact -
Gmail # rishitechnologies9@gmail.com
Cell # 9071883639

Monday, February 2, 2015

Inventory Issues -Pending Transaction Issues

Issues 1 - Transaction Struck as pending for a perticular Period ( NOV - 14 ) and because of this we are unable to close NOV-14 Period.

Reason 1 - These are few interorg transfer orders From M1 to M2 org and initially we missed out standard cost of item in price and corresponding transactions got failed, So now we added Items to the price list, but the destination org M2 is closed for Nov-14 Period, so they failed again.

Solution - Change the transaction date to Dec 1 to push the transactions.

Issue 2 -  We have few uncosted transactions with following error in material transaction form.

CST_INVALID_ACCT_ALIAS  - The Account Alias Is Not Defined For This Org

Reason - Few account alias issue transactions having transaction_source_id as NULL in mtl_material_transactions Tables. To find the transaction details which are having transaction_source_id as NULL please user below Query.



SELECT TRANSACTION_ID, TRANSACTION_SOURCE_ID
FROM   MTL_MATERIAL_TRANSACTIONS
WHERE TRANSACTION_SOURCE_TYPE_ID = 6  --  Source Type = Account alias
AND ((TRANSACTION_SOURCE_ID IS NULL) OR (TRANSACTION_SOURCE_ID is not null
AND NOT EXISTS
(SELECT 1 FROM MTL_GENERIC_DISPOSITIONS
WHERE DISPOSITION_ID = TRANSACTION_SOURCE_ID)));

NOTE - The table MTL_GENERIC_DISPOSITIONS holds the list of account aliases

Solution - First test the solution in TEST Instance

1st Run the below script to to take back up.

CREATE TABLE TESTTABLE123 AS ( SELECT * FROM MTL_MATERIAL_TRANSACTIONS MMT
WHERE COSTED_FLAG IN ('N','E')
AND TRANSACTION_SOURCE_TYPE_ID = 6 
AND ORGANIZATION_ID =  999  -- Your Inventory Org ID
AND TRANSACTION_SOURCE_ID IS NULL);

2. Run the below update script.

UPDATE mtl_material_transactions mmt
SET transaction_source_id = (SELECT DISPOSITION_ID FROM MTL_GENERIC_DISPOSITIONS
                             WHERE organization_id = mmt.organization_id
                             AND   description = '&&alias_desc'),
costed_flag = 'N',
error_code = NULL,
error_explanation = NULL,
transaction_group_id = NULL,
last_updated_by  = -6352950
WHERE costed_flag in ('N','E')
AND transaction_source_type_id = 6  
AND organization_id =  &org_id  --  -- Your Inventory Org ID
AND transaction_source_id IS NULL
AND exists (SELECT DISPOSITION_ID FROM MTL_GENERIC_DISPOSITIONS
             WHERE organization_id = mmt.organization_id
               AND description = '&alias_desc');

2 comments:

  1. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in ORACLE SCM, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on ORACLE SCM We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us.
    Saurabh Srivastava
    MaxMunus
    E-mail: saurabh@maxmunus.com
    Skype id: saurabhmaxmunus
    Ph:+91 8553576305 / 080 - 41103383
    http://www.maxmunus.com/


    ReplyDelete