My Oracle Support Banner

Performance Issue With Receipt Returns Search (Doc ID 2834543.1)

Last updated on FEBRUARY 09, 2022

Applies to:

Oracle Inventory Management - Version 12.2.6 and later
Information in this document applies to any platform.

Symptoms

Actual Behavior

Find there is a performance issue when trying to search for receipts to be returned. This occurs when searching the records by entering supplier and item, supplier only etc.

Steps
The issue can be reproduced at will with the following steps:
1. Navigate to Purchasing responsibility->Receiving->Returns
2. Enter Supplier, Item and hit on ‘Search’

The sql statement taking the longest time is:

SELECT VENDOR_ITEM_NUMBER,EXPECTED_RECEIPT_DATE,UNIT_OF_MEASURE,ITEM_REVISION,
  ITEM_DESCRIPTION,VENDOR_LOT_NUM,COMMENTS,PACKING_SLIP,
  RECEIPT_EXCEPTION_FLAG,USSGL_TRANSACTION_CODE,LPN_ID,TRANSFER_LPN_ID,
  SUBINVENTORY_DSP,org_id,PO_NUMBER,PO_RELEASE_NUMBER,PO_LINE_NUMBER,
  PO_SHIPMENT_NUMBER,VENDOR,ORDERED_QTY,QUANTITY,WIP_ENTITY_ID,WIP_LINE_ID,
  WIP_REPETITIVE_SCHEDULE_ID,WIP_OPERATION_SEQ_NUM,WIP_RESOURCE_SEQ_NUM,
  DEPARTMENT_CODE,BOM_RESOURCE_ID,PRIMARY_QUANTITY,TO_ORGANIZATION_ID,
  RCV_TRANSACTION_ID,RECEIPT_NUM,RECEIPT_SOURCE_CODE,ROUTING_NAME,
  NOTE_TO_RECEIVER,PLL_NOTE_TO_RECEIVER,SERIAL_NUMBER_CONTROL_CODE,
  LOT_CONTROL_CODE,REVISION_QTY_CONTROL_CODE,DESTINATION_CONTEXT,
  DESTINATION_TYPE_CODE,PRIMARY_UNIT_OF_MEASURE,ALLOWED_UNITS_LOOKUP_CODE,
  TRANSACTION_TYPE,ITEM_ID,LOCATION_ID,FINAL_LOCATION_ID,
  RESTRICT_LOCATORS_CODE,ITEM_LOCATOR_CONTROL,DELIVER_TO_LOCATION_ID,
  DELIVER_TO_PERSON_ID,SHIPMENT_LINE_ID,LOCATOR_ID,REASON_ID,HAZARD_CLASS_ID,
  UN_NUMBER_ID,VENDOR_ID,BILL_OF_LADING,FREIGHT_CARRIER,CURRENT_LOCATION,
  PO_LINE_ID,PO_HEADER_ID,PO_RELEASE_ID,PO_LINE_LOCATION_ID,
  INSPECTION_STATUS_CODE,CURRENCY_CODE,CURRENCY_CONVERSION_TYPE,
  CURRENCY_CONVERSION_DATE,CURRENCY_CONVERSION_RATE,SHIPMENT_HEADER_ID,
  VENDOR_SITE_ID,PO_DISTRIBUTION_ID,TRANSACTION_DATE,CREATION_DATE,
  ATTRIBUTE_CATEGORY,ATTRIBUTE1,ATTRIBUTE2,ATTRIBUTE3,ATTRIBUTE4,ATTRIBUTE5,
  ATTRIBUTE6,ATTRIBUTE7,ATTRIBUTE8,ATTRIBUTE9,ATTRIBUTE10,ATTRIBUTE11,
  ATTRIBUTE12,ATTRIBUTE13,ATTRIBUTE14,ATTRIBUTE15,SOURCE_DOCUMENT_CODE,
  PO_REVISION_NUM,PO_UNIT_PRICE,ROUTING_STEP_ID,ROUTING_HEADER_ID,CATEGORY_ID,
  MOVEMENT_ID,SUBSTITUTE_UNORDERED_CODE,INSPECTION_QUALITY_CODE,
  OE_ORDER_HEADER_ID,OE_ORDER_NUM,OE_ORDER_LINE_ID,OE_ORDER_LINE_NUM,
  CUSTOMER_ID,CUSTOMER_SITE_ID,SECONDARY_UNIT_OF_MEASURE,
  SECONDARY_ORDERED_QTY,SECONDARY_DEFAULT_IND,CONSIGNED_FLAG,PO_TYPE,
  ORDERED_UOM,SECONDARY_ORDERED_UOM,LCM_SHIPMENT_LINE_ID,UNIT_LANDED_COST
FROM
 RCV_RETURNS_V WHERE TO_ORGANIZATION_ID = :1 and (RECEIPT_SOURCE_CODE=:2) and
  (ITEM_ID=:3) and (VENDOR_ID=:4) order by rcv_transaction_id desc



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.