eas銷售出庫單稅率價格問題修復

2021-08-18 14:06:08 字數 1426 閱讀 4288

eas銷售出庫單稅率**問題修復,用以下指令碼就可以啦,當然,根據不同的需求情況,作修改

update

t_im_saleissueentry t

set (

t.fsaleprice,--單價--t.flocalprice,--本位幣單價

t.factualprice,--實際單價

t.ftaxprice,--含稅單價

t.ftaxrate,--含稅稅率

t.fprice,--實際含稅單價

t.ftax,--稅額

t.flocaltax,--本位幣稅額

t.flocalamount,--價稅合計本位幣

t.famount,--價稅合計

t.fnontaxamount,--金額

t.flocalnontaxamount--金額本位幣

)=(select

x.fprice,--單價

x.factualprice,--實際單價

x.ftaxprice,--含稅單價

x.ftaxrate,--含稅稅率

x.factualtaxprice,--實際含稅單價

x.fqty*(

x.factualtaxprice - x.factualprice

),--稅額

t.fqty*(

x.factualtaxprice - x.factualprice

),--本位幣稅額

(x.ftaxprice*t.fqty)-x.fdiscountamount,--價稅合計

(x.ftaxprice*t.fqty)-x.fdiscountamount,--價稅合計本位幣

(x.fqty*x.factualprice),--金額

(x.fqty*x.factualprice)--金額本位幣

from

t_sd_saleorderentry x

where

x.fparentid = t.fsourcebillid

and x.fmaterialid = t.fmaterialid

and x.fid = t.fsourcebillentryid

and x.fseq = t.fsourcebillentryseq

)where

t.fparentid in(

select

xx.fid

from

t_im_saleissuebill xx

where

xx.fsourcebillid in(

select ***x.fid from t_sd_saleorder ***x where ***x.fnumber in('st18010038' --這裡輸入你要改的銷售訂單單號))

)and t.fispresent = 0;

銷售訂單 出庫 發運確認

declare parameter for wsh deliveries pub.delivery action p api version number number 1.0 p init msg list varchar2 30 x msg count number x msg data var...

真的銷售出幾百套軟體後的 快樂並痛苦 的程式人生

當軟體一套也賣不出去時會天天想著如何才能賣出幾套軟體,只要能賣出幾套了就會滿足的感覺,當真的賣出上百套後也會有很多麻煩的事情接踵而來,這時候心目中的目標又會發生很多變化,就不會只滿足於能賣出多少套了。1 每天後n多人加你qq,諮詢軟體的功能用法?售後服務?是否有原始碼?等等問題。這些估計需要聘請兼職...