Can't choose serial number for return to vendor

Unable to Return Serialized Item, 0 choice for Serial Number LOV, FRM-40212 (文档 ID 1053770.1) 转到底部转到底部

In this Document


Symptoms

Cause

Solution

References


APPLIES TO:

Oracle Inventory Management - Version 12.0.0 to 12.1.3 [Release 12.0 to 12.1]
Information in this document applies to any platform.
Form:RCVTXERE.FMB - Enter Returns


SYMPTOMS

When attempting to perform a return for some serial controlled items of specific purchase order , the LOV on Serial Number does not retrieve any valid serial number
(see message choices in list = 0)  

Steps to reproduce
The issue can be reproduced at will with the following steps:
1. Onhand window shows that the item with the serial is available in stock
2. Navigate to Enter returns form RCVTXERE 
3. Search for the PO
4. Record is available for return to supplier
5. Click on Lot / Serial button
6. In Serial Entry form
LOV for serial number does not return any record and error displays:

FRM-40212: Invalid value for FM_SERIAL_NUMBER.
  When trying to view a list of serial numbers   
FRM-41830: List of Values Contains no entries
   

What has been checked 
The serial number is available to transact when doing a miscellaneous issue transaction. 
However, it is not available when trying to perform a return.
The subinventory is a normal quantity tracked subinventory.
There is sufficient On-hand Available Quantity for the serial number in the Subinventory/Locator where the initial deliver transaction was performed.
The serial number exists in the table mtl_serial_numbers, resides in store and is not marked.
There are no pending transactions in mtl_transactions_interface and no material transactions in mtl_material_transactions_temp for this serial number. 

CAUSE

The issue is caused by incorrect validation in file RCVCOTRX.pld as explained in 
Bug 8839059 RETURN RECEIPT: FRM-40212 INVALID VALUE FIELD FM_SERIAL_NUMBER

There is one restriction to prevent returning serials against earlier deliver, as the serial is also delivered by another later deliver transaction.

This issue has been fixed 
. In release 12.0.x in the file RCVCOTRX.pld 120.32.12000000.52 or higher
. In release 12.1.x in the file RCVCOTRX.pld  120.53.12010000.25 or higher


The raw trace shows the last instruction that returns no record is the following 

Select serial_number from (select distinct mut.serial_number from mtl_material_transactions mmt, mtl_unit_transactions mut, mtl_serial_numbers msn, rcv_transactions rt where mut.transaction_id = mmt.transaction_id and mut.organization_id = :1 and msn.current_status = 3 and (msn.group_mark_id is null or msn.group_mark_id = -1) and (rt.transaction_id = :2 or rt.parent_transaction_id = :3) and mmt.rcv_transaction_id = rt.transaction_id and msn.inventory_item_id = mmt.inventory_item_id and mmt.inventory_item_id = mut.inventory_item_id and msn.inventory_item_id = :4 and msn.serial_number = mut.serial_number and nvl(msn.lpn_id,-1) = nvl(:5,-1) and not exists (select 'No Lot Info' from mtl_transaction_lot_numbers mtln where mmt.transaction_id = mtln.transaction_id) and nvl(msn.owning_tp_type,2) = decode(nvl(:6,'N'),'N',2,'Y',1) and inv_material_status_grp.is_status_applicable(:7 ,:8 ,:9 ,NULL ,:10 ,:11 ,:12 ,NULL ,NULL ,NULL ,mut.serial_number , 'S' ) = 'Y' and not exists (select 'No Other deliver txn' FROM rcv_transactions RT2, mtl_material_transactions mmt2, mtl_unit_transactions mut2 WHERE RT2.transaction_id > rt.transaction_id AND RT2.transaction_type = 'DELIVER' AND RT2.transaction_id = mmt2.rcv_transaction_id AND MMT2.transaction_id = mut2.transaction_id AND MUT2.serial_number = mut.serial_number AND MUT2.inventory_item_id = mut.inventory_item_id AND MUT2.organization_id = mut.organization_id )union select distinct mut.serial_number from mtl_material_transactions mmt, mtl_unit_transactions mut, mtl_transaction_lot_numbers mtln, mtl_serial_numbers msn, rcv_transactions rt where mut.transaction_id = mtln.serial_transaction_id and mtln.transaction_id = mmt.transaction_id and msn.inventory_item_id = mmt.inventory_item_id and mmt.inventory_item_id = mut.inventory_item_id and msn.inventory_item_id = :13 and msn.serial_number = mut.serial_number and msn.current_status = 3 and (msn.group_mark_id is null or msn.group_mark_id = -1) and nvl(msn.lpn_id,-1) = nvl(:14,-1) and (rt.transaction_id = :15 or rt.parent_transaction_id = :16) and mmt.rcv_transaction_id = rt.transaction_id and mtln.lot_number =:17 and mtln.organization_id = :18 and nvl(msn.owning_tp_type,2) = decode(nvl(:19,'N'),'N',2,'Y',1) and inv_material_status_grp.is_status_applicable(:20 ,:21 ,:22 ,NULL ,:23 ,:24 ,:25 ,NULL ,NULL ,NULL ,mut.serial_number , 'S' ) = 'Y' and not exists (select 'No Other deliver txn' FROM rcv_transactions RT2, mtl_material_transactions mmt2, mtl_unit_transactions mut2,mtl_transaction_lot_numbers mtln2 WHERE RT2.transaction_id > rt.transaction_id AND RT2.transaction_type = 'DELIVER' AND RT2.transaction_id = mmt2.rcv_transaction_id AND mut2.transaction_id = mtln2.serial_transaction_id and mtln2.transaction_id = mmt2.transaction_id AND MUT2.serial_number = mut.serial_number AND MUT2.inventory_item_id = mut.inventory_item_id AND mtln2.organization_id = mtln.organization_id )) WHERE SERIAL_NUMBER LIKE :26


The serial numbers that have been first delivered for PO 1586 
have later been issued by miscellaneous issues and delivered via RMA receipt: 

Material Transactions form shows the following transactions occurred for item 507019 Serial: GB89469 
after initial PO receipt 
Source Type Source Transaction type 
Inventory Miscellaneous receipt 
Inventory Miscellaneous issue 
Inventory Subinventory transfer 
Inventory Subinventory transfer 
RMA 200901... RMA Receipt 
Sales Order 200923....Sales Order issue 
Sales Order 200923.... Sales Order Pick 
Sales Order 200923.... Sales Order Pick 
Purchase Order 1586 PO Receipt 


Rcv11i output for PO 1586 shows the deliver transaction in rcv_transactions table has 
transaction_id= 1737312 

The following sql script returns a RMA record 

Select rt2.* from rcv_transactions RT2, mtl_material_transactions mmt2, mtl_unit_transactions mut2 
WHERE RT2.transaction_id >1737312 
AND RT2.transaction_type = 'DELIVER' 
AND RT2.transaction_id = mmt2.rcv_transaction_id 
AND MMT2.transaction_id = mut2.transaction_id 
AND MUT2.serial_number ='GB89469' 
AND MUT2.inventory_item_id = 689007 
AND MUT2.organization_id = 778; 

it returns a record with 
TRANSACTION_TYPE DELIVER 
INTERFACE_SOURCE_CODE RCV 
SOURCE_DOCUMENT_CODE RMA 

As a consequence the serial numbers will not appear in the LOV

SOLUTION

For Release 12.0.x
--------------------
1. Download and review the readme and pre-requisites for Patch 8839059:R12.PO.A

2. Ensure that you have taken a backup of your system before applying the recommended patch. 

3. Apply the patch in a test environment. 

4. Confirm the following file versions: 
resource/RCVCOTRX.pld 120.32.12000000.52 

You can use the commands like the following: 
strings -a $AU_TOP/resource/RCVCOTRX.pll |grep '$Header' 

5. Retest the issue.

6. Migrate the solution as appropriate to other environments.


For Release 12.1.x
---------------------
1. Download and review the readme and pre-requisites for Patch 10302131:R12.PO.B

2. Ensure that you have taken a backup of your system before applying the recommended patch.

3. Apply the patch in a test environment.

4. Confirm the following file versions:
          RCVCOTRX.pld  120.53.12010000.53

   You can use the commands like the following: 
   strings -a $AU_TOP/resource/RCVCOTRX.pll |grep '$Header' 

5. Retest the issue.

6. Migrate the solution as appropriate to other environments.

REFERENCES

NOTE:950873.1 - Return or Correctin on PO Receipt: Frm-40212 Invalid Value For Field FM_SERIAL_NUMBER

NOTE:859312.1 - No Serial Numbers Are Listed Down When Doing Return or Correction FRM-40212 Invalid value for FM_SERIAL_NUMBER FRM-41830
请使用浏览器的分享功能分享到微信等