码迷,mamicode.com
首页 > 其他好文 > 详细

PO_标准采购流程请购采购接受入库(流程)

时间:2014-06-06 16:45:41      阅读:472      评论:0      收藏:0      [点我收藏+]

标签:des   c   style   blog   code   a   

2014-06-03 BaoXinjian

bubuko.com,布布扣一、摘要


介绍一个完整的采购流程,包括操作与对应的底层数据表查询,流程包含了请购->采购->接受->入库

1. 开立请购单

2. 对请购单进行审批

3. 通过自动匹配产生采购单

4. 对采购单进行审批

5. 接收采购单

6. 进行入库交易

 

bubuko.com,布布扣二、流程操作


1. 开立请购单

    (1). Path: PO-->申请-->申请

    bubuko.com,布布扣

    请购单PLSQL    

            SELECT prh.requisition_header_id, prh.segment1, prh.type_lookup_code,

                        description, authorization_status, prl.requisition_line_id, line_num,

                        item_id, item_description, category_id, unit_meas_lookup_code,

                        unit_price, quantity, quantity_delivered, prl.destination_type_code,

                        destination_organization_id, deliver_to_location_id, to_person_id,

                        destination_subinventory, prl.vendor_id, prl.vendor_site_id,

                        prl.vendor_contact_id

             FROM po_requisition_headers_all prh, po_requisition_lines_all prl

           WHERE prh.requisition_header_id = prl.requisition_header_id

                AND prh.segment1 = ‘14302‘ 

 

2. 对请购单进行审批

    (1). 点击审批

    bubuko.com,布布扣

    审批状态PLSQL

                SELECT segment1, authorization_status, wf_item_type, wf_item_key

                  FROM po_requisition_headers_all

                WHERE segment1 = ‘14302‘    

    

3. 通过自动匹配产生采购单

    (1). 通过自动匹配功能产生

    bubuko.com,布布扣   

    bubuko.com,布布扣

    请购单对应的采购单PLSQL

            SELECT pr_pha.requisition_header_id, pr_pha.segment1,

                        pr_pla.requisition_line_id, pr_pla.line_num, pr_pla.item_description,

                        po_pla.po_line_id, po_pla.line_num, po_pla.item_description,

                        po_pha.po_header_id, po_pha.segment1

            FROM po_requisition_headers_all pr_pha,

                        po_requisition_lines_all pr_pla,

                        po_line_locations_all pll,

                        po_lines_all po_pla,

                        po_headers_all po_pha

          WHERE pr_pha.requisition_header_id = pr_pla.requisition_header_id

              AND pr_pla.line_location_id = pll.line_location_id

              AND pll.po_line_id = po_pla.po_line_id

              AND po_pla.po_header_id = po_pha.po_header_id

              AND pr_pha.segment1 = ‘14302‘

    (2). 产生的采购单

    bubuko.com,布布扣

    po_headers_all  po_lines_all

    (3). 采购单发运信息

    bubuko.com,布布扣

    po_line_locations_all

    (4). 采购单分配信息

    bubuko.com,布布扣

    po_distributions_all

    

4. 对采购单进行审批

    SELECT segment1, authorization_status, wf_item_type, wf_item_key
       FROM po_headers_all
      WHERE segment1 = ‘6025‘

 

5. 接收采购单

    (1). 接收题头

        bubuko.com,布布扣

        rcv_shipment_headers

    (2). 接收事物处理

        bubuko.com,布布扣

   rcv_shipment_lines

 

6. 进行入库交易

 bubuko.com,布布扣

mtl_material_transactions

 

Thanks and Regards

bubuko.com,布布扣

PO_标准采购流程请购采购接受入库(流程),布布扣,bubuko.com

PO_标准采购流程请购采购接受入库(流程)

标签:des   c   style   blog   code   a   

原文地址:http://www.cnblogs.com/eastsea/p/3766398.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!