Oracle Ebs-sql (MRP-4): Check for exception information Query _ recommended cancellation _ Purchase requisition. SQL

Source: Internet
Author: User

Select

MSI.SEGMENT1 encoding

, Msi.description describes

, Number of mr.old_order_quantity

, Mipo.po_number please purchase order

, Mipo.purch_line_num Order Bar

, pv.vendor_name Suppliers

, Ppf.last_name Buyer

From

Mrp. Mrp_item_exceptions Mie

, Apps.mfg_lookups ML

Mrp. Mrp_item_purchase_orders Mipo

, Po.po_vendors PV

, Hr.per_all_people_f PPF

Mrp. Mrp_recommendations Mr

, INV. Mtl_system_items_b MSI

where

Mie.organization_id=x

and msi.organization_id=mie.organization_id

and msi.inventory_item_id=mie.inventory_item_id

and ml.lookup_type= ' Mrp_exception_code_type '

and Mie.exception_type=ml.lookup_code

and pv.vendor_id (+) =mr.vendor_id

and mie.exception_type=8

and mr.organization_id=mie.organization_id

and mr.inventory_item_id=mie.inventory_item_id

and mr.disposition_status_type=2

and mr.order_type=2

and mr.disposition_id=mipo.transaction_id

and msi.buyer_id=ppf.person_id

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.