設為首頁收藏本站

艾歐踢論壇

 找回密碼
 立即註冊

QQ登錄

只需一步,快速開始

搜索
熱搜: 活動 交友 discuz
查看: 760|回復: 0
打印 上一主題 下一主題

ifs 20007 web translation

[複製鏈接]
跳轉到指定樓層
樓主
發表於 2016-7-9 07:14:22 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
CREATE OR REPLACE VIEW IFSAPP.LANGUAGE_TRANSLATION_EXP AS
SELECT C.module MODULE,
       C.context_id       CONTEXT_ID,
       C.path             PATH,
       A.name             NAME,
       C.main_type        MAIN_TYPE,
       C.sub_type         SUB_TYPE,
       substrb(Language_Tr_Method_API.Decode(A.method),1,50) METHOD,
       A.method           METHOD_DB,
       A.prog_text        PROG_TEXT,
       substrb(Language_Obsolete_API.Decode(A.obsolete),1,50) OBSOLETE,
       A.obsolete         OBSOLETE_DB,
       A.attribute_id     ATTRIBUTE_ID,
       E.lang_code        LANG_CODE,
       Language_Translation_API.Get_Text( A.attribute_id, E.lang_code )                  TEXT,
       Language_Translation_API.Get_Diff_Text( A.attribute_id, E.lang_code )             DIFF_TEXT,
       substrb(Language_Translation_API.Get_Status( A.attribute_id, E.lang_code ),1,50)   STATUS,
       substrb(Language_Translation_API.Get_Status_Db( A.attribute_id, E.lang_code ),1,1) STATUS_DB,
       Language_Translation_API.Get_Last_Update( A.attribute_id, E.lang_code )           LAST_UPDATE,
       substrb(Language_Translation_API.Get_Objid_( A.attribute_id, E.lang_code),1,200)   OBJID,
       Language_Translation_API.Get_Objversion_( A.attribute_id, E.lang_code)            OBJVERSION
FROM   language_attribute_tab A,
       language_context_tab C,
       language_code_tab E
WHERE  C.context_id = A.context_id
  AND  A.obsolete = 'N'
  AND  E.status = 'A'
WITH read only

select * from language_attribute_tab
where context_id = 3874
  AND obsolete = 'N'
-->attribute_id =3778
SELECT text
      FROM LANGUAGE_TRANSLATION
      WHERE attribute_id = 3778
      AND   lang_code = 'en';
status ='A' AUTO
        'N' NOT TRANSLATED
        'O' OK

<Context name="ORDERWBACKORDEROVWAUTHORIZECODE"><Attribute name="Text"><Text>Coordinator</Text></Attribute></Context><Context name="ORDERWBACKORDEROVWAUTHORIZECODES"><Attribute name="Text"><Text>Coordinator</Text></Attribute></Context><Context name="ORDERWBACKORDEROVWBACKORDER"><Attribute name="Text"><Text>Query - Backorders</Text></Attribute></Context><Context name="ORDERWBACKORDEROVWBUYQTYDUEQTYSHIPPED"><Attribute name="Text"><Text>Qty To Deliver</Text></Attribute></Context><Context name="ORDERWBACKORDEROVWCATALOGNO"><Attribute name="Text"><Text>Sales Part No</Text></Attribute></Context><Context name="ORDERWBACKORDEROVWCATALOGNOS"><Attribute name="Text"><Text>Sales Part No</Text></Attribute></Context><Context name="ORDERWBACKORDEROVWCONDITIOCODE"><Attribute name="Text"><Text>Condition Code</Text></Attribute></Context><Context name="ORDERWBACKORDEROVWCONDITIOCODEDESC"><Attribute name="Text"><Text>Condition Code Description</Text></Attribute></Context>
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 轉播轉播 分享分享 分享淘帖
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

小黑屋|Archiver|手機版|艾歐踢創新工坊    

GMT+8, 2024-5-17 00:06 , Processed in 0.244634 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表