內部訂單撿料成功,ship confirm後delivery_id消失,出貨不成功的處理過程
今天遇到一筆內部訂單撿料成功,ship confirm後delivery_id消失,出貨不成功.查item屬性無問題[@more@]後查到出貨界面的LINES/LPNS的details中picked qty為null.利用help/diagnostice/examine把picked qty補進,存盤後,assignment 一delivery_id後,再ship confirm就成功了.
同一delivery_id中部分的訂單單身狀態都是closed,出貨界面為shipped.
今天遇到兩筆訂單單身狀態都是closed,出貨界面為shipped.經查是該line出貨還沒扣帳且還有保留記錄,在inv的transaction interface中有卡[@more@]用如下方法處理:1.查inv的出貨狀況2.發現transaction open interface有資料3.刪除保留的資料4.run submit transaction open interfacxe5. run: Inventory Interface - SRS即告ok.
在om的shipping transaction中增加assign freight costs的權限
user提出要增加om的shipping transaction中增加assign freight costs的權限我用om_supperuser_xx的權限進入,是有該權限的.但用user的respensibilities登錄使用時,提示:Function not available to this repensibility,Change respensibilities or contact your System Administrator.[@more@]按提示,應是respensibility的權限不同.由respensibility跟蹤memu,由memu跟蹤子memu.對比之下得知user的respensibility中沒有Freight Costs Form這個function.加上後,user重新登錄即可.
清除web記錄方法
http://wongtaisin.2myweb.net/other/list.htm[@more@]轉自http://wongtaisin.2myweb.net/other/list.htm如何清除上網時文字輸入區的文字表單A. 刪除一般上網自動記錄的輸入文字表單B. 刪除 Google 自動記錄的輸入文字表單A. 刪除一般上網自動記錄的輸入文字表單上網時, 時常有一些文字輸入區要輸入一些文字, 這些文字包括個人密碼及字串, 而字串會自動記錄成文字表單. 有時是為了清理磁碟, 有時是為了私隱, 我們間中總會想到要刪去這些密碼及字串表. 刪除記錄及cookie, 不用說都知道是在Internet Explorer的"工具(T)" -> &q
由備份區把workflow資料恢复回來的sql_script
由於在整理資料時,不小心把prod上的好多workflow資料purge了.現在想用db_link(prod570)的方式把測試區的資料回寫.sql_script如下[@more@]由於在整理資料時,不小心把prod上的好多workflow資料purge了.現在想用db_link的方式把測試區的資料回寫.sql_script如下declare/*create table lll02 asselect header_id,org_id,order_number ,oh.CREATION_DATE,oh.FLOW_STATUS_CODE,oh.ORDERED_DATEfrom oe_order_headers_all@prod570 ohwhere not exists (select 1 from wf_items@prod570 wi where wi.item_key=to_char(oh.header_id))and oh.FLOW_S
出貨不成功,出貨界面為shipped, 部分訂單為booked的處理過程.(有修改)
問題:delivery number:2357335 ,FW2CC008CP-GTA1 /100PCS 至今還是SHIPPED狀態,銷貨不成功。用如下sql查[@more@]問題:delivery number:2357335 ,FW2CC008CP-GTA1 /100PCS 至今還是SHIPPED狀態,銷貨不成功。步驟一.用如下sql查--**** CHECK status--依delivery_id 查出貨後status是否正常,如有沒有拋ar,inv_iterfaeced等.--begindbms_application_info.set_client_info('2');end;select wda.delivery_id,wi.item_key, wdd.source_header_number, oola.line_id, oola.FLOW_STATUS_CODE status,msib.segment1, wdd.shipped_quantity ship_q
訂單尚未完全出貨,但order header的 workflow被puges後的恢复處理
因為order header的 workflow被puges在訂單單身中為picked 或 shipped在shipping transaction為interfaced[@more@]/*因為order header的 workflow被puges在訂單單身中為picked 或 shipped在shipping transaction為interfaced補回來的SQL以下587667字樣為訂單header_id3140010656字樣為訂單號在實際應用中要替換為真正的資料TO_DATE('11/28/2006 14:17:08', 'MM/DD/YYYY HH24:MI:SS')為日期時間,依情況定'ORG_ID', 3為公司id*/beginInsert into WF_ITEMS (item_type, item_key, root_activity, root_activity_version, owner_role, begin
開銷退單時出現FRM-40212: Invalid value for field ORDERED_ITEM_DSP.
開銷退單時出現FRM-40212: Invalid value for field ORDERED_ITEM_DSP.同樣的customer,同樣的item,在前一個月能成功完成,今天卻不成功了.[@more@] 查了眾多資料,得到修正sql為:Update mtl_customer_items set address_id = xxxx where CUSTOMER_ITEM_NUMBER='XXX' and CUSTOMER_ID=123這個address_id就是銷退單單頭的ship_to_org_id對應的地址. 按以往,這個address_id是不用我們這樣修正的,可能是dba上了某些patch或做了某些設定的原故吧.
在用package方式產生.xml時由於有&造成問題的處理
近日用做omr066x(用package,上挂到oracle erp,輸出excel)時問題多,所謂一波三折.[@more@]開始是nescape環境下,view output後會有save it to disk的功能,我的output format為xml.當輸出內容沒有中文時,可以從oracle erp中直接open成excel.當輸出內容有中文時,可以把其存到文件夾,然後用記事本打開,並再其再另存為unicode後,就可以用excel打開了.然而台灣與北美等地區的user,沒有裝nescape,都是用ie瀏覽器.個別user的view output後並沒有save it to disk的選項.從而出現error對此,把omr066x的output format由xml改為txt,view output後就可以
感謝cooldy
在cooldy(zhangyu5120@hotmail.com)的幫助下,實現了用form直接導出excel的方法.[@more@]環境:student/student@mgreporttable:person/levbutton:declare V_LEV NUMBER(5);out_file text_io.file_type;cursor c1rec isselect person.id,person.name,lev from person,levwhere person.id=lev.id(+) for update nowait;beginout_file:=text_io.fopen('d:person.csv','w');text_io.putf(out_file,'%sn',' A YU ');text_io.putf(out_file,'%sn',' ***Person***');text_io.putf(out_file,'%sn',to_char(sysdate,' yy/mm/dd hh24:mi:ss'));text_io
oracle 練習之table初始化script
最好建一新的user,如student等.以便環境清潔[@more@]begin/*create table dept (DEPTNO NUMBER(2) not null,DNAME VARCHAR2(14),LOC VARCHAR2(13),CONSTRAINT dept_deptno_pk PRIMARY KEY (deptNO));*/insert into deptvalues(10, 'ACCOUNTING', 'NEW YORK');insert into deptvalues(20, 'RESEARCH', 'DALLAS');insert into deptvalues(30, 'SALES', 'CHICAGO');insert into deptvalues(40, 'OPERATIONS', 'BOSTON');/*create table emp (EMPNO NUMBER(4) NOT NULL,ENAME VARCHAR2(10),JOB VARCHAR2(9),MGR NUMBER(4),HIREDATE DATE,SAL N
ORACLE ERP維護與開發中常用到的變數
You will need to make sure that the line SRW.USER_EXIT('FND SRWINIT'); occurs above this line (in the Before Report Trigger or in one of the parameter form triggers) to set up the correct environment.用此方式調整正確的當前咝协h境,特別是在multi_org環境下(在報表前,報表後均要執行因有可能在咝羞^程中變量被人為改變)[@more@]有一些view用到org環境參數的,一般要如下設定後,才能select到記錄:begindbms_application_info.set_client_info(:org_id);--如1,2,3之類的end;可用'FND_PROFILE.GET' function 查看以下一些參數
從事oracle erp系統工作建立的固定函數
多年來應用oracle erp中建到的function[@more@]1, get_frist_line_id2, get_from_primal_line_id3, get_om_mtr_reason_name4, get_om_mtr_reason_description5, get_shipped_subinventory6, get_supname7, gobo_char_to_mon8, gobo_convert9, gobo_getnumber10, gobo_get_available11, gobo_get_bucket_information12, gobo_get_container, 13, gobo_get_container_item14, gobo_get_container_unit_volume15, gobo_get_container_weight16, gobo_get_customer_item17, gobo_get_customer_packing18, gobo_get_day_on19, gobo_get_item_co
ORACLE基本知識
ORACLE应用经验JAN-1(January) FEB-2(February) MAR-3(March)APR-4(April) MAY-5(May) JUN-6(June)JUL-7(July) AUG-8(August) SEP-9(September)OCT-10(October) NOV-11(November) DEC-12(December)[@more@]Sunday-1(周日) Monday-2(周一) Tuesday-3(周二) Wednesday-4(周三) Thursday-5(周四) Friday-6(周五) Saturday-7(周六)****************************常用设置********************************---on-log 触发器编写示范(form)Declareflag varchar2(80):=null;cou number:=1;n number;BeginLooplogon(USERNAME,PASSWORD||'@'||CONNEC
客製custom.pll實例
oracle erp 11.5.10限定org_id為14與57的,在shiping transaction的delivery頁簽下的waybill與ship method為必須,且只在輸入後才可以撿料與ship confirm.[@more@]方法為改..au/11.5.0/resource/下的custom.pllPROCEDURE EVENT(EVENT_NAME VARCHAR2) is...begin.../* Subject: Making Waybill and Ship Method fields of the Shipping Transactions form required fields for GUAC(14) and GUCA(57) only Author: Henry Tuan Date: August 21, 2006 modify by: longson.long at 2006.09 */ if FND_PROFILE.VALUE('ORG_ID') IN (14,57) and f
工單未完工但訂單已做 ship confirm 造成訂單shipped卡住,但訂單closed, 工單無法完工入庫
問題點: 工單未完工但訂單已做 ship confirm 造成訂單shipped卡住,但訂單closed, 工單無法完工入庫作法1.在後台先把庫存保留及訂單與工單關聯去掉(mtl_reservations)[@more@]2.這時工單與訂單關連消失,進行正常生產入庫3.在後台將訂單line狀態改為非closed(BOOKED), open_flag狀態改為Y4.在訂單line/tool/schedule/reservations details/指定保留數量,存檔 5 . 在訂單shipping/interface/run: Order Management Interface – SRSInventory Interface - SRS
用excel檔把item與price導入oracle erp
1, 先把excel整理成item,price兩欄,此兩欄要是用'值'的方式保存,且不含小數,如有小數,先變成整數,如要2位小數,則全部*100.=round(price,2)*1002,把excel另存為.dbf檔3,用工具把.dbf導入oracle erp db中的import_price(item varchar2(20),item varchar2(20))臨時table4,用以下plus sql更新db[@more@]declare ifhave number; v_list_line_id number; v_list_header_id number;cursor cur_into(p_list_header_id in number) is select b.inventory_item_id ,round(a.price/100,2) price from (select distinct item,price from import_price)
Xml 功能在erp report中應用的模式比較
是年公司的oracle erp升級到11.5.10,由我研究Xml 功能在erp report中的應用[@more@]共同點Output format都是選xmlView output 後看到的都是xml格式1, 用package的方式,挂Concurrent Programs時executable method選PL/SQL Stored Procedure优點: 生成的xml可以在view output或另存後直接用excel工具open,從而可以使用excel工具作進一步的處理,可依需求寫入多個sheet維護性高,可將相同參數的多種需求打包在一起,達到多種’layout’輸出的效果.對item description等比較長的字段,可以完整的展示給user.對開發人員來說,不用花大時間調layout,開
博客,我來了
'博客'這個詞,在今天的網絡與報紙媒體,乃至電視媒體,都是一個流行詞.今年有一段時間在深圳的報紙媒體,把'博客'作為主題大做文章,宣說2006年是博客年.好久以來,也想有一個自己的博客.好多人說,博客就是網上日記.去年去廣州參加微軟的ed2005大會,在會場上總听到講師叫大家有空到他們的博客看看,交流互動.時更是想擁有一個自己的博客.也曾幾何登錄過一些blog,多多少少都有收獲.時時在想,總是'偷窺'他人的經驗結果,很不義.今日,立下心在itput上來個blog.一來,itpub是我有空必來的家.二來,在itpub,這里有好多自已的同行.三,在這里能找到it最前沿