zoukankan      html  css  js  c++  java
  • Oracle EBS FA 资产取值

    SELECT fb.book_type_code,
           fth.ASSET_NUMBER,
           fdh.units_assigned,
           fdh.assigned_to,
           pf.FULL_NAME,
           fl.segment3 location_name
      FROM FA_ADDITIONS_V          fth,
           fa_distribution_history fdh,
           gl_code_combinations    gcc,
           fa_books                fb,
           per_people_f            pf,
           FA_LOCATIONS            fl
     WHERE fth.ASSET_ID = fdh.asset_id
       and fth.ASSET_ID = fb.asset_id
       and fdh.code_combination_id = gcc.code_combination_id
       and (gcc.segment2 = '0' or gcc.segment9 = '0')
       and fdh.assigned_to = pf.PERSON_ID(+)
       and fdh.location_id = fl.location_id(+)
       and not exists (select null
              from FA_RETIREMENTS_V fr
             where fth.ASSET_ID = fr.ASSET_ID)
       and nvl(fdh.date_ineffective, sysdate) >= sysdate
     order by fth.ASSET_NUMBER;
    
    select * from FA_LOCATIONS
  • 相关阅读:
    Fusion access
    组网架构
    DHCP中继
    Vxlan配置
    redis多实例
    ansible实现redis角色
    ansible如何ssh免密链接(基于key验证)
    MySQL主从复制
    MySQL范例
    Ubuntu2004安装
  • 原文地址:https://www.cnblogs.com/jenrry/p/10130766.html
Copyright © 2011-2022 走看看