金蝶KIS專業版固定資產報表各列出現錯位

有客戶曾經出現了這樣一個問題:打開固定資產模塊,固定資產清單、報表、明細賬中固定資產信息顯示錯列,這個問題比較少見
問題原因:主要是因爲數卡片信息中包括的回車符、換行符、table符等等,導致南通金蝶KIS專業版在讀取的時候出現了錯誤,須由金蝶公司專業技術人員來解決。
解決方法:需要在數據庫裏更正卡片代碼
update t_facard set fassetnumber=replace(fassetnumber,char(10)+char(13),'')  where charindex(char(10)+char(13),fassetnumber)>0
update  t_fabalcard set fassetnumber=replace(fassetnumber,char(10)+char(13),'')  where charindex(char(10)+char(13),fassetnumber)>0  
更正卡片名稱  
update t_facard set fassetname=replace(fassetname,char(10)+char(13),'') where charindex(char(10)+char(13),fassetname)>0
update  t_fabalcard  set fassetname=replace(fassetname,char(10)+char(13),'')  where charindex(char(10)+char(13),fassetname)>0  
更正卡片計量單位  
update t_facard set Funit=replace(Funit,char(10)+char(13),'')  where charindex(char(10)+char(13),Funit)>0  
update t_fabalcard set Funit=replace(Funit,char(10)+char(13),'')  where charindex(char(10)+char(13),Funit)>0  
更正卡片型號  
update t_facard set Fmodel=replace(Fmodel,char(10)+char(13),'')  where charindex(char(10)+char(13),Fmodel)>0  
update t_fabalcard set Fmodel=replace(Fmodel,char(10)+char(13),'')  where charindex(char(10)+char(13),Fmodel)>0  
更正卡片供應商
update t_facard set Fvender=replace(Fvender,char(10)+char(13),'')  where charindex(char(10)+char(13),Fvender)>0  
update t_fabalcard set Fvender=replace(Fvender,char(10)+char(13),'')  where charindex(char(10)+char(13),Fvender)>0  
更正卡片製造商  
update t_facard set Fmanufacturer=replace(Fmanufacturer,char(10)+char(13),'')  where charindex(char(10)+char(13),Fmanufacturer)>0
update  t_fabalcard set Fmanufacturer=replace(Fmanufacturer,char(10)+char(13),'')  where charindex(char(10)+char(13),Fmanufacturer)>0  
更正卡片產地  
Fproductingarea=replace(Fproductingarea,char(10)+char(13),'')  where charindex(char(10)+char(13),Fproductingarea)>0  
update t_fabalcard set Fproductingarea=replace(Fproductingarea,char(10)+char(13),'')  where charindex(char(10)+char(13),Fproductingarea)>0  
更正卡片備註  
update t_faalterset Fexplanation=replace(Fexplanation,char(10)+char(13),'')  where charindex(char(10)+char(13),Fexplanation)>0  
更正卡片類別  
update t_fagroup set fnumber=replace(fnumber,char(10)+char(13),''),fshortnumber=replace(fshortnumber,char(10)+char(13),''),fname replace( fname,char(10)+char(13),''),fdefaultunit=replace(fdefaultunit,char(10)+ char(13),''),fnumberrule=replace(fnumberrule,char(10)+char(13),'')  
更正卡片存放地點  
update t_falocation set fnumber=replace(fnumber,char(10)+char(13),'')  ,fshortnumber=replace(fshortnumber,char(10)+char(13),''),fname=replace (fname,char(10)+char(13),'')

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章