2014年8月28日 星期四

[ Oracle ERP ] Show Barcode in View Output

1) Oracle Report using Barcode -
     http://tomkuo139.blogspot.tw/2009/02/oracle-report-barcode.html
     http://hi.baidu.com/eebevkrtwgbgxzd/item/1e8145c68d1b9a57bcef6924
     缺點: 必須下載安裝
     優點: 生成的Barcode 是圖檔

2) 利用外部程式產生資料 iReport 架設一台Server 將資料寫入再丟參數

3) Client Server 只要在Report 上設定字型即可產生, 但遇到ERP上, 掛載沒有字型一樣無法產生Barcode

4) 我個人最喜歡的解決方法

產生HTML 報表, 在字型上套用 Barcode 字型
優點: 只需要User電腦安裝Barcode字型即可, 不需要架設Server 或安裝其他開發工具
實際拿出掃描器可以描條碼

HTML 語法

<font style="font-family: ChinaDragon_39_BarCode; font-size: 40px;">*1234567*</font>



2014年8月27日 星期三

[ Oracle ERP FORM ] 客製FORM 顯示會計科目節段 show Accounting Flexfield in FORM

因為Oracle ERP 這領域太少人願意分享資源, 知識, 與技術
也看到有少部份的人在努力, 我也在他們的Blog 上面得到許多, 
我也僅能以自己測試寫出來的東西, 一點一滴的累積起來與分享, 
希望能讓有心學習的人, 得到一點點的幫助

--=============================================================================
-- Propose: Show Accounting Flexfield in Custom-Form
--=============================================================================
-- Reference Form: Inventory \ Setup \ Organizations \ Subinvetories
-- Form Name: INVSDSUB.fmb
--=============================================================================
-- Program Units (1) :  flexfield_defn
-- Program Units (2) : INVSDSUB_PKG.When_New_Form_Instance
--                Form-Level - Trigger - WHEN-NEW-FORM-INSTANCE
                   INVSDSUB_PKG.When_New_Form_Instance;
--=============================================================================

摸擬操作





Program Unit




Setting Item




Using Custom Form

Save Accounting ID



2014年8月26日 星期二

[ Oracle ERP FORM ] 於FORM 顯示日曆 Calendar


呈現結果:於ERP 的FORM上面可以從視窗中點選Calendar 


Step 1: Property Palette

1) Data Type :必須為 Datetime
2) Format Mask :若不設定則自動抓取預設格式
3) List of Values:ENABLED_LIST_LAMP
4) Validate form List :No



Step 2: Add KEY-LISTVAL Trigger 

Trigger 內容: calendar.show;