首页 > 其他 > 详细

销售出库流程

时间:2016-01-13 12:34:11      阅读:749      评论:0      收藏:0      [点我收藏+]

发运行

技术分享

 

1、视图
   WSH_DELIVERABLES_V
    1.1 显示条件
       1.1.1 Nvl (Wdd.Line_Direction, ‘O‘) IN (‘O‘ , ‘IO‘)
             Nvl(Wda.Type, ‘S‘ ) IN ( ‘S‘, ‘C‘ )
       1.1.2 有发运行和分配
   2、表
   WSH_DELIVERY_DETAILS  --Wdd
   WSH_DELIVERY_ASSIGNMENTS  --Wda
   3、相关值集
   --Wdd.Source_Code
   SELECT Flv.Lookup_Code
         ,Flv.Meaning
     FROM Fnd_Lookup_Values Flv
    WHERE Flv.Lookup_Type = ‘SOURCE_SYSTEM‘       
      AND Flv.Language = ‘ZHS‘ --Userenv(‘LANG‘)
      AND Flv.View_Application_Id = 665
      AND Flv.Security_Group_Id = 0 ;

    技术分享

  --Wdd.Released_Status
   SELECT Meaning
         ,Flv_Released.Lookup_Code
     FROM Fnd_Lookup_Values Flv_Released
    WHERE Flv_Released.Lookup_Type = ‘PICK_STATUS‘
      AND Flv_Released.Language = ‘ZHS‘ --Userenv(‘LANG‘)
      AND Flv_Released.View_Application_Id = 665
      AND Flv_Released.Security_Group_Id = 0
     技术分享

 

交货行
   1、视图
   WSH_DLVB_DLVY_V
   1.1 显示条件
       1.1.1 Wnd.Delivery_Type = ‘STANDARD‘
             Nvl(Wnd.Shipment_Direction, ‘O‘ ) IN ( ‘O‘, ‘IO‘ )
             Nvl(Wda.Type, ‘S‘ ) IN ( ‘S‘, ‘O‘ )
       1.1.2 有发货行和分配行
  
   2、表
   WSH_NEW_DELIVERIES --Wnd
   WSH_DELIVERY_ASSIGNMENTS  --Wda
   关联字段:Delivery_Id
   3、相关值集
   --Wnd.Status_Code --交货状态
   SELECT Lookup_Code
         ,Meaning
         , Description
     FROM Fnd_Lookup_Values Lv
    WHERE LANGUAGE = ‘ZHS‘ --Userenv(‘LANG‘)
      AND View_Application_Id = 665
      AND Security_Group_Id = 0
      AND Lookup_Type = ‘DELIVERY_STATUS‘ ;
   技术分享
 
 
保留
   1、视图
   MTL_RESERVATIONS_ALL_V
   查询条件:
   Demand_Source_Type_Id = 2    ---需求来源 SELECT * FROM Apps.Mtl_Txn_Source_Types;  2-->销售订单
   Demand_Source_Header_Id = 147461  -- Mtl_Sales_Orders.Sales_Order_Id
   Demand_Source_Line_Id = 207663  -- Oe_Order_Lines.Line_Id

 

销售出库流程

原文:http://www.cnblogs.com/hemerocallis/p/5126634.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!