Wednesday, July 18, 2018

Oracle EBS Module Purchasing (PR and PO)

Module PO ในระบบ Oracle EBS หลักๆ

PR

-       po_requisition_headers_all

-        po_requisition_lines_all

-        po_req_distributions_all

PO

-        po_headers_all

-        po_lines_all

-        po_distributions_all

-        po_line_locations_all

 

การ link table จะเป็นในรูปแบบ นี้ เป็นการหา ข้อมูล จาก เลข PO หรือจะ ดึง ข้อมูล โดยมีเลข PR ก็ได้

            select prh.requisition_header_id, prh.segment1, prh.description

            from po_headers_all po

            ,       po_lines_all pod

            ,       po_line_locations_all pll

            ,       po_distributions_all po_dis

            ,       po_req_distributions_all pr_dis

            ,       po_requisition_lines_all prd

            ,       po_requisition_headers_all  prh

            where po.po_header_id=pod.po_header_id(+)

            and  po.org_id=pod.org_id(+)

            and pod.po_line_id = pll.po_line_id(+)

            and pod.org_id= pll.org_id(+)

            and pll.line_location_id = po_dis.line_location_id(+)

            and po_dis.req_distribution_id =pr_dis.distribution_id (+)

            and prd.requisition_line_id=pr_dis.requisition_line_id

            and prh.requisition_header_id=prd.requisition_header_id           

and po.po_header_id = p_po_header_id;

 

 
 
 

 
 

No comments:

Post a Comment

How to Create shell script to Start Database and Checking Table Space

 #dr_check_db_ERPGF.sh #!/bin/bash #run ./dr_check_db_ERPGF.sh | tee dr_ERPGF.out echo -e "\n" echo -e "+++++ Start Check Dat...