Rfq_quotation_po With Queries.docx

  • Uploaded by: korlapati Manikanta
  • 0
  • 0
  • December 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Rfq_quotation_po With Queries.docx as PDF for free.

More details

  • Words: 131
  • Pages: 7
RFQ - 317 ; QUOTATION - 517 ; PO - 6128 1) If we provide PO number, query should populate RFQ and Quotation num. SELECT R.SEGMENT1 AS RFQ_NUM, Q.SEGMENT1 AS QUOTATION_NUM FROM PO_HEADERS_ALL R, PO_HEADERS_ALL Q, PO_HEADERS_ALL P WHERE R.PO_HEADER_ID = Q.FROM_HEADER_ID AND Q.PO_HEADER_ID = P.FROM_HEADER_ID AND P.SEGMENT1 = '6128';

2) If we provide RFQ number , query should provide PO number and Quotation number SELECT P.SEGMENT1 AS PO_NUMBER, Q.SEGMENT1 AS QUOTATION_NUM FROM PO_HEADERS_ALL R, PO_HEADERS_ALL Q, PO_HEADERS_ALL P WHERE R.PO_HEADER_ID = Q.FROM_HEADER_ID AND Q.PO_HEADER_ID = P.FROM_HEADER_ID AND R.SEGMENT1 = '317';

3) If we provide Quotatio number, query should provide PO number and RFQ number SELECT P.SEGMENT1 AS PO_NUMBER, R.SEGMENT1 AS RFQ_NUM FROM PO_HEADERS_ALL R, PO_HEADERS_ALL Q, PO_HEADERS_ALL P WHERE R.PO_HEADER_ID = Q.FROM_HEADER_ID AND Q.PO_HEADER_ID = P.FROM_HEADER_ID AND Q.SEGMENT1 = '517';

Related Documents

With Gandhi
November 2019 19
With You
October 2019 49
With Suggestion.docx
December 2019 22
With The.docx
April 2020 18
With Dinosaur
October 2019 20
Band With
May 2020 2

More Documents from ""