2014年3月17日 星期一

大批付款一直無法捉取負項 AP Invoice

一般可能都是銀行帳戶沒有維護好的問題,可以先檢查 Reject Report看看被 Reject的有那些, 再來查詢 Selected Payment Schedules Report內 Unselected Scheduled Payments and Credits, 如果有出現 Credit reduces payment amount below zero的話,請先檢查該供應商所有該付的 Invoice,不管正、負, Schedule Payment內銀行帳號是否都有值或是正確的,如果沒有的話,請先維護正確,再重新跑一次看看是否問題解決了沒。

2014年2月11日 星期二

Oracle EBS R12 為何更改 AP Invoice date但 due date確不會自動更新


請至 supplier設定功能先檢查 Invoice Management ==> Term ==> Terms Date Basis是不是有設定正確,如果想要更改 invoice date後 due date就會自動更新的話,請把它設為 Invoice,其它值的話,請就參考下列的文章



參考文件:R12: How is a Payables Invoice Due Date Calculated? (Doc ID 1136143.1)

2013年10月23日 星期三

Extjs 4 使用 google speech api



想要在自行開發的網頁上能使用 google speech api 的話,input 要加上 x-webkit-speec 和 speech,
那如果使用 Extjs上要如何作呢。

因為我是使用 Extjs MVC,所以原本要在 Controller上加上 render function,但都沒有作用,所以還是把 render移回到 view上,程式碼如下

View :原本程式碼加上 listener

xtype: 'textfield',
,renderTo: Ext.getBody()
,listeners:: {
    render: function(cmp) {
cmp.el.dom.firstChild.firstChild.lastChild.firstChild.setAttribute("x-webkit-speech","x-webkit-speech");
cmp.el.dom.firstChild.firstChild.lastChild.firstChild.setAttribute("speech","speech");
     }

}

Controller: 加上 webkitspeechchange function

init: function() {
    this.control({
               'tellist textfield[name=param]' :{
        
            /* for google speech api*/
                    ,webkitspeechchange: function(fld,e) {
       
        this.doFetchTel();
                   }
     
                 }

    });  
     
}

這樣應該就可以使用了

2013年9月9日 星期一

已收料但後來 cancel 的 po還可以作退料嗎

跟據原廠的文件,答案是 no cancel line or line 是 final close的狀態,就不能作任何收退料的交易了。

Use the Receiving Returns window to return delivered items to receiving and to return received or delivered externally sourced items to the supplier if the purchase order has neither been cancelled nor final closed.

2013年8月7日 星期三

GL 主帳本 reversed journal 不設定自動轉至次帳本的可能原因

主帳本(Primary ledger) reversed 的Journal是否會自動拋至次帳本(Secondary Ledger)

上一次有說如何設定自動拋轉,但我們公司的設定是不自動拋轉,可能的原因之一就是在 FA有建立 Tax Book而且資料會拋至 GL,這樣在 GL 的主帳本和次帳本都會有由 FA Corporate Book, Tax Book的 Journal,使用者就可以在 GL主帳本把 FA Tax Book的資料作 reverse,然後再去 GL次帳本把 FA Corporate Book的資料作 reverse。在不同的 GL帳本就可以用來看不同 FA的帳本了。

2013年6月20日 星期四

Oracle EBS R12 WEB ADI Oracle.Jbo.Toomanyobjectsexception 可解決的方式之一

如果有碰到這個問題,可以先更新  Patch 12992932看看

R12: Error "Oracle.Jbo.Toomanyobjectsexception: JBO-27120 OR JBO-25013: Too Many Objects Match The Primary Key" When Viewing Seeded Integrators [ID 1389445.1]

WEB ADI Supplier, Supplier Site Java Component範例

這邊有一個範例可以參考,讓 Supplier Site可以針對所選的 Supplier而透出相對應的 Site,實作後是可行的,不過針對第四點好像只能透過這個指令執行,而不能在 ERP define component的網頁上設定。 而目前我碰到最大的問題是重新compile java code後 (我要加上 org_id的條件),系統還是會執行舊的程式,必需要重新 bounce( reboot) ERP,我有參考 bne cache clear的文件,但還是沒用,所以只好重開。 目前正常 work。

參考文件
Dependent LOV(List of Values) in Oracle Web ADI with steps and source code

BNE Cache clear for Desktop Integrator