問題現(xiàn)象:用友u8批量修改計(jì)價(jià)方式?

如果初始的時(shí)候沒有對(duì)存貨檔案選擇計(jì)價(jià)方式,那么就在在數(shù)據(jù)庫(kù)里修改

select * cValueType from Inventory where is null

update Inventory set cValueType='移動(dòng)平均法' where  cValueType is null

若是你們?cè)x擇過其他計(jì)價(jià)方式 需要批量修改的話 只把 is null 改成'你選擇的計(jì)價(jià)方式'  比如你曾經(jīng)把計(jì)價(jià)方式由全月平均法  改成移動(dòng)平均法 應(yīng)這樣寫update Inventory set cValueType='移動(dòng)平均法' where  cValueType ='全月平均法'