首页 > 其他分享 >EBS:税务管理-应用产品税选项

EBS:税务管理-应用产品税选项

时间:2024-11-25 09:44:45浏览次数:3  
标签:CODE OPTION 税务 FLV 产品税 LOOKUP ZPO EBS DEF

-- N: 税务管理员>>默认值和控制>>应用产品税选项
-- 应用产品税选项
SELECT HOU.SHORT_CODE ||'-'|| HOU.NAME AS ORG_NAME ,
       FA.APPLICATION_SHORT_NAME||'-'||FA.APPLICATION_NAME AS "应用程序名称",
       DEF_OPTION_HIER_1_CODE AS "默认顺序1",
       CASE ZPO.APPLICATION_ID WHEN 201 THEN 
         (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_PO_DEFAULT_HIERARCHY' --'ZX_TAX_METHOD_OPTIONS'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_1_CODE)
          WHEN 200 THEN 
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_AP_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_1_CODE)
          WHEN 8407 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_IGC_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_1_CODE)
          WHEN 222 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE ='ZX_AR_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_1_CODE)
          WHEN 275 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE ='ZX_PA_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_1_CODE
          ) ELSE  ZPO.DEF_OPTION_HIER_1_CODE
          END AS DEF_OPTION_HIER_1_NAME,
         DEF_OPTION_HIER_2_CODE AS "默认顺序2",
         CASE ZPO.APPLICATION_ID WHEN 201 THEN 
         (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_PO_DEFAULT_HIERARCHY' --'ZX_TAX_METHOD_OPTIONS'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_2_CODE)
          WHEN 200 THEN 
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_AP_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_2_CODE)
          WHEN 8407 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_IGC_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_2_CODE)
          WHEN 222 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE ='ZX_AR_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_2_CODE)
          WHEN 275 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE ='ZX_PA_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_2_CODE
          ) ELSE  ZPO.DEF_OPTION_HIER_2_CODE
          END AS DEF_OPTION_HIER_2_NAME,  
         DEF_OPTION_HIER_3_CODE AS "默认顺序3",
         CASE ZPO.APPLICATION_ID WHEN 201 THEN 
         (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_PO_DEFAULT_HIERARCHY' --'ZX_TAX_METHOD_OPTIONS'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_3_CODE)
          WHEN 200 THEN 
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_AP_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_3_CODE)
          WHEN 8407 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_IGC_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_3_CODE)
          WHEN 222 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE ='ZX_AR_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_3_CODE)
          WHEN 275 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE ='ZX_PA_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_3_CODE
          ) ELSE  ZPO.DEF_OPTION_HIER_3_CODE
          END AS DEF_OPTION_HIER_3_NAME,
         DEF_OPTION_HIER_4_CODE AS "默认顺序4",
         CASE ZPO.APPLICATION_ID WHEN 201 THEN 
         (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_PO_DEFAULT_HIERARCHY' --'ZX_TAX_METHOD_OPTIONS'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_4_CODE)
          WHEN 200 THEN 
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_AP_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_4_CODE)
          WHEN 8407 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE = 'ZX_IGC_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_4_CODE)
          WHEN 222 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE ='ZX_AR_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_4_CODE)
          WHEN 275 THEN
          (SELECT MEANING FROM APPS.FND_LOOKUP_VALUES_VL  FLV  
          WHERE  FLV.LOOKUP_TYPE ='ZX_PA_DEFAULT_HIERARCHY'
          AND FLV.LOOKUP_CODE = ZPO.DEF_OPTION_HIER_4_CODE
          ) ELSE  ZPO.DEF_OPTION_HIER_4_CODE
          END AS DEF_OPTION_HIER_4_NAME,
         TAX_CLASSIFICATION_CODE AS "财务选项税分类"
        ,ZPO.*
  FROM ZX.ZX_PRODUCT_OPTIONS_ALL ZPO,
       APPS.HR_OPERATING_UNITS HOU,
       APPS.FND_APPLICATION_VL FA
 where 1=1 -- AND ZPO.LAST_UPDATE_DATE > SYSDATE - 1 
  AND ZPO.ORG_ID = HOU.organization_id
  AND ZPO.APPLICATION_ID = FA.APPLICATION_ID 
ORDER BY ZPO.ORG_ID , ZPO.APPLICATION_ID ;

  

标签:CODE,OPTION,税务,FLV,产品税,LOOKUP,ZPO,EBS,DEF
From: https://www.cnblogs.com/samrv/p/18566990

相关文章

  • 基于uniapp的全局监听websocket连接及自动拨打电话号码
    定义一个全局的socket类,放在util目录下//定义一个socket类classWebSocket{constructor(url){this.url=urlthis.time=null;}//建立连接connet(){let_this=this;uni.connectSocket({url:_this.u......
  • k8s阶段03 持久卷, PV和PVC, CSI存储方案示例csi-driver-nfs, OpenEBS, ConfigMap, Se
    2持久卷PV和PVC在Pod级别定义存储卷有两个弊端卷对象的生命周期无法独立于Pod而存在用户必须要足够熟悉可用的存储及其详情才能在Pod上配置和使用卷PV和PVC可用于降低这种耦合关系PV(PersistentVolume)是集群级别的资源,负责将存储空间引入到集群中,通常由管理员定义......
  • WebSocket入门到精通,就差这一篇了
    目录一、概述二、对比Http(介绍特点)1.通信模式对比2.连接机制3.数据传输效率4.实时性5.使用场景三、websocket通信原理1、建立连接连接1.客户端发起HTTP请求2.服务器处理请求并响应3.升级到WebSocket协议4.双向通信2、通信内容(websocket帧)1.Heade......
  • Chromium 中HTML5 WebSocket收发消息分析c++(一)
    一、WebSocket前端接口定义:WebSocket 对象提供了用于创建和管理 WebSocket 连接,以及可以通过该连接发送和接收数据的API。使用 WebSocket() 构造函数来构造一个 WebSocket。构造函数WebSocket(url[,protocols])返回一个 WebSocket 对象。常量ConstantValueWeb......
  • Chromium 中HTML5 WebSocket收发消息分析c++(二)
    看下websocket调用过程:基本定义参考上一篇:Chromium中HTML5WebSocket收发消息分析c++(一)-CSDN博客一、前端测试用例 参考:HTML5WebSocket|菜鸟教程(runoob.com) websocket.html文件如下:<!DOCTYPEHTML><html><head><metacharset="utf-8"><title>Web......
  • C++可用的websocket库
    库说明优势劣势是否免费商用QtWebSocketsQt框架中的WebSocket模块。不需要额外集成第三方库;支持异步处理,适合在Qt应用程序中处理并发WebSocket请求。性能较差付费libwebsockets轻量级的C库,用于开发WebSocket服务器和客户端。高性能,低内存占用,支持多种平台,包......
  • 基于SpringBoot+Vue+uniapp的税务门户网站的详细设计和实现(源码+lw+部署文档+讲解等)
    文章目录前言详细视频演示具体实现截图技术栈后端框架SpringBoot前端框架Vue持久层框架MyBaitsPlus系统测试系统测试目的系统功能测试系统测试结论为什么选择我代码参考数据库参考源码获取前言......
  • 聊天室(Websocket+Node)
    文章目录目录文章目录前言二、使用步骤1.服务端代码 2.客户端代码3.成果展示总结前言使用Websocket+Node实现一个简单的聊天室的功能,以及包含保持websocket长时间连接永不断开的两种方法一、Websocket是什么?WebSocket是一种网络通信协议,是 HTML5 开始提供......
  • EBS 发票状态【选定发票以便付款】处理
    当发票状态为【选定发票以便付款】时,无法再发起发票的完全支付处理处理方式:1、在计划付款页签页面找到如下的付款请求2、打开【付款管理器】界面,将发票界面的【付款请求】放到【付款处理请求】栏位进行查询,将查询道德数据终止即可3、付款请求终止后,发票状态变为【已验证......
  • yt downloader website
     isanonlinewebsitethatoffersaconvenienttoolfordownloadingcontentfromYouTube. Whatisit?Itisknownasytdownloader,whichisafreeonlineYouTubedownloadtool.ItprovidesuserswithaneasywaytoobtainvarioustypesofmediafromYo......