這篇文章主要介紹了WMS問題處理的示例分析,具有一定借鑒價(jià)值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。
成都創(chuàng)新互聯(lián)公司始終堅(jiān)持【策劃先行,效果至上】的經(jīng)營理念,通過多達(dá)十多年累計(jì)超上千家客戶的網(wǎng)站建設(shè)總結(jié)了一套系統(tǒng)有效的營銷推廣解決方案,現(xiàn)已廣泛運(yùn)用于各行各業(yè)的客戶,其中包括:軟裝設(shè)計(jì)等企業(yè),備受客戶稱揚(yáng)。
采購訂單沒有生成上傳訂單號(hào)
pkg_inpurchase_task.p_rk_sc_rkd_zc
iv_yzid ----- ZDA
iv_djbh ---- KPD00014712
銷售訂單下傳下去后直接轉(zhuǎn)歷史表
select * from INTERFACE_OUT_SALE_M t where djbh like '%XSGYMA00220297%'
日志表查詢結(jié)果
ORA-01400: 無法將 NULL 插入 ("WMS_ZD"."OUT_SALE_BILLING_M"."RY_KPY")
pkg_inf_new.p_task_xsdd
ov_result ------Y
內(nèi)復(fù)核提示單行子查詢返回多行
select t.*,t.rowid from out_sale_barcode t where djbh='XSGYMA00220712'
select * from out_sale_task_d t where djbh_fpd='2017120594831'
無返回值
將out_sale_barcode表中djbh_fpd='2017120594831' 刪除
查看用戶名密碼
select t.*,t.rowid from zhiydoc t where dzycode='admin'
proc_decode
中 encodepass 賦予 Kl值
開啟不合格移庫功能
select t.*,t.rowid from SYS_DEFFUN T WHERE FUN_NAME LIKE '%不合格%'
將can_use 的值1改為0
修改入庫類型,收貨前將rktype 修改成所需類型
select t.*,t.rowid from in_purchase_orders_m t where djbh in ('XSTYMA00029852','XSTYMA00029849','XSTYMA00029848', 'XSTYMA00029847','XSTYMA00029845','XSTYMA00029841','XSTYMA00029840', 'XSTYMA00029839', 'XSTYMA00029838','XSTYMA00029837', 'XSTYMA00029836')
銷退空退寫錯(cuò)
select t.*,t.rowid from IN_PURCHASE_ORDERS_m t where djbh='XSTYMA00030579';
update IN_PURCHASE_ORDERS_m set sf_zx='刪' where djbh='XSTYMA00030579' and sf_zx='否';
update IN_PURCHASE_ORDERS_d set sf_zx='刪' where djbh='XSTYMA00030579' and sf_zx='否';
數(shù)據(jù)庫慢了可以先看會(huì)話里是否有鎖然后重新分析索引
analyze table out_sale_billing_m compute statistics;
analyze table out_sale_billing_d compute statistics;
analyze table out_sale_billing_m_hty compute statistics;
analyze table out_sale_billing_d_hty compute statistics;
analyze table out_sale_task_d compute statistics;
analyze table out_sale_task_m compute statistics;
analyze table out_sale_task_d_hty compute statistics;
analyze table out_sale_task_m_hty compute statistics;
銷售開票單下傳WMS后無任務(wù)就轉(zhuǎn)歷史
select t.,t.rowid from out_sale_billing_m t where djbh='XSGYMA00281145'
select t.,t.rowid from out_sale_task_d_hty t where djbh='XSGYMA00281145'
select t.,t.rowid from interface_out_sale_m_hty t where djbh='XSGYMA00281145'
select t.,t.rowid from out_sale_task_d t where djbh='XSGYMA00281145'
select t.*,t.rowid from inf_error_log t where code='XSGYMA00281145'
select t.*,t.rowid from interface_out_sale_m_hty t where djbh='XSGYMA00291738'
看xf_xs 為否,如果是否則查詢RY_YWY中開票員名字是否有 ?。ㄓ寐殕T名字也有用職員ID)
加入執(zhí)行 看過程proc_out_dowm_to_bill是否要執(zhí)行
select t.,t.rowid from inf_xsck_bill t where djbh ='XSGYMA00322995';
select t.,t.rowid from inf_xsck_bill_old t where djbh ='XSGYMA00322995';
select t.,t.rowid from inf_error_log t where code='XSGYMA00322995'
\ORA-01400: 無法將 NULL 插入 ("WMS_ZD"."OUT_SALE_BILLING_M"."RY_KPY")
select t.,t.rowid from out_sale_task_d t where djbh ='XSGYMA00322995'
查詢出庫任務(wù)狀態(tài)
select t.*,t.rowid from out_sale_task_d t where spid ='SPH00014714' and rwzt<6;
中藥庫內(nèi)復(fù)核確認(rèn)存盤時(shí)提示 ORA-02290: 違反檢查約束條件(wms_zd.ckc_sl_ckyfp_kc_spzkc)
ORA-06512:在 wms_zd.pkg_outsale_pick ,line 11347
--查看商品任務(wù)狀態(tài)
select rwzt,t. from out_sale_task_d t where djbh = 'XSGYMA00348786';
--查看此商品總預(yù)占數(shù)量
select from out_sale_task_d where rwzt < '6' and spid = 'SPH00020269';
--查看商品庫存出庫狀態(tài)將此兩表的SL_CKYFP中數(shù)量1改為2
select t.,rowid from stock_lot_storagespaces t where spid = 'SPH00020269';
select t.,rowid from stock t where spid = 'SPH00020269';
--刪除配送單無法清空暫存區(qū)的數(shù)據(jù)
UPDATE PS_ZCD_HZ T SET T.SF_FH='是',t.sf_fhwc='是' where t.sf_fh= '否' AND SF_FHWC = '否'
AND SF_TY = '否' and T.DJBH='ZCD00060245'--.rq <= to_date('2019-07-11','YYYY-MM-DD')
--托運(yùn)單據(jù)條件SF_TY='是' --處理鎖死 select Distinct 'alter system kill session '||chr(39)||b.sid||','||b.serial#||chr(39)||';'
As cmd,b.username,b.logon_time
from v$locked_object a,v$session b
where a.session_id=b.sid;
SELECT /+ RULE /
LPAD(' ', DECODE(L.XIDUSN, 0, 3, 0)) || L.ORACLE_USERNAME USER_NAME,
S.STATUS,
O.OWNER,
O.OBJECT_NAME,
O.OBJECT_TYPE,
S.SID,
S.SERIAL#,
S.MACHINE,
S.TERMINAL,
S.SQL_HASH_VALUE,
S.SECONDS_IN_WAIT,
(SELECT SQL_FULLTEXT
FROM V$SQL
WHERE HASH_VALUE = S.SQL_HASH_VALUE
AND ROWNUM = 1) SQL_TEXT
FROM V$LOCKED_OBJECT L, DBA_OBJECTS O, V$SESSION S
WHERE L.OBJECT_ID = O.OBJECT_ID
AND L.SESSION_ID = S.SID
ORDER BY S.SECONDS_IN_WAIT DESC, O.OBJECT_ID, XIDUSN DESC;
--殺進(jìn)程 ALTER SYSTEM KILL SESSION '35,4293'; -- Create table
create table JG_INFO
(
yez_id VARCHAR2(30) not null,
ruckd_no VARCHAR2(20) not null,
jiang_cd VARCHAR2(30) not null,
caoz_staff VARCHAR2(30) not null,
oper_date DATE default SYSDATE not null,
danw_id VARCHAR2(30) not null,
shangc_flg VARCHAR2(2) default 'N' not null,
jiang_type VARCHAR2(3) not null,
shangp_id VARCHAR2(80) not null,
fenpd_no VARCHAR2(20) default ' ',
tiaom_type VARCHAR2(2) not null,
bzlb VARCHAR2(2),
phid VARCHAR2(30),
status VARCHAR2(6),
billno VARCHAR2(20),
lineno VARCHAR2(20),
jgscy VARCHAR2(20),
hwid VARCHAR2(20)
)
tablespace USERS
pctfree 10
initrans 1
maxtrans 255
storage
(
initial 80K
next 16K
minextents 1
maxextents unlimited
);
-- Add comments to the table
comment on table JG_INFO
is '監(jiān)管出庫信息表';
-- Add comments to the columns
comment on column JG_INFO.yez_id
is '業(yè)主內(nèi)碼';
comment on column JG_INFO.ruckd_no
is '入出庫單號(hào)';
comment on column JG_INFO.jiang_cd
is '監(jiān)管碼';
comment on column JG_INFO.caoz_staff
is '操作員';
comment on column JG_INFO.oper_date
is '操作日期';
comment on column JG_INFO.danw_id
is '單位內(nèi)碼';
comment on column JG_INFO.shangc_flg
is '是否上傳';
comment on column JG_INFO.jiang_type
is '監(jiān)管類型(業(yè)務(wù)類型 ;0購進(jìn)入庫, 1 銷售退回 ,2 銷售出庫, 3 購進(jìn)退出)';
comment on column JG_INFO.shangp_id
is '商品內(nèi)碼';
comment on column JG_INFO.fenpd_no
is '分配單編號(hào)';
comment on column JG_INFO.tiaom_type
is '條碼類型(1:監(jiān)管碼 2:防竄碼)';
comment on column JG_INFO.bzlb
is '包裝類別(0整件,1中包裝,2小包裝)';
comment on column JG_INFO.billno
is 'ERP單據(jù)編號(hào)';
comment on column JG_INFO.lineno
is 'ERP細(xì)單行號(hào)';
comment on column JG_INFO.jgscy
is '監(jiān)管碼刪除用';
comment on column JG_INFO.hwid
is '貨位ID';
-- Create/Recreate indexes
create index IND_JG_INFO_DATE on JG_INFO (OPER_DATE)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 43M
next 1M
minextents 1
maxextents unlimited
);
create unique index PK_JG_INFO on JG_INFO (YEZ_ID, RUCKD_NO, SHANGP_ID, JIANG_CD)
tablespace USERS
pctfree 10
initrans 2
maxtrans 255
storage
(
initial 64K
next 1M
minextents 1
maxextents unlimited
);
感謝你能夠認(rèn)真閱讀完這篇文章,希望小編分享的“WMS問題處理的示例分析”這篇文章對大家有幫助,同時(shí)也希望大家多多支持創(chuàng)新互聯(lián),關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道,更多相關(guān)知識(shí)等著你來學(xué)習(xí)!
標(biāo)題名稱:WMS問題處理的示例分析
文章鏈接:http://aaarwkj.com/article24/jpoice.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供建站公司、外貿(mào)建站、ChatGPT、定制開發(fā)、網(wǎng)站設(shè)計(jì)、網(wǎng)站收錄
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)