zoukankan      html  css  js  c++  java
  • Query to Join Delivery Details and MTL Material Table

    SELECT wdd.source_header_number,
           wdd.source_line_id,
           wdd.delivery_detail_id,
           wdd.released_status,
           oe_interfaced_flag,
           inv_interfaced_flag,
           wdd.creation_date,
           mtl.transaction_id,
           l.flow_status_code,
           l.open_flag,
           l.cancelled_flag
      FROM apps.wsh_delivery_details      wdd,
           apps.mtl_material_transactions mtl,
           apps.oe_order_lines_all        l
     WHERE l.line_id = wdd.source_line_id
       AND wdd.delivery_detail_id = mtl.picking_line_id
       AND wdd.source_code = 'OE'
       AND wdd.oe_interfaced_flag = 'Y'
       --AND wdd.released_status = 'Y';

    also below is query to join order line with MTL_MATERIAL_TRANSACTIONS

    select mtl.transaction_id,l.flow_status_code,l.open_flag,l.cancelled_flag,l.shipped_quantity

    from mtl_material_transactions mtl,oe_order_lines_all l where mtl.trx_source_line_id = l.line_id

  • 相关阅读:
    函数指针实例二
    函数指针实例一
    【计算机系统】指令流水线
    函数指针实例
    好书记录
    GPIO程序在PC上的模拟学习
    gcc——预处理(预编译),编译,汇编,链接
    gdb调试时查看内存
    结构体指针变量的定义
    VC++ 定制应用程序的外观
  • 原文地址:https://www.cnblogs.com/benio/p/2371734.html
Copyright © 2011-2022 走看看