|
@@ -112,6 +112,8 @@ public class M30PfxxPlugin extends AbstractSOPfxxPlugin {
|
|
|
bodyvo.setNtaxprice(nqtorigtaxprice);
|
|
|
bodyvo.setNpiece(nqtorigprice);
|
|
|
bodyvo.setNtaxnetprice(nqtorigtaxprice);
|
|
|
+ bodyvo.setNorigtaxnetprice(nqtorigtaxprice);
|
|
|
+ bodyvo.setNorignetprice(nqtorigprice);
|
|
|
bodyvo.setNnetprice(nqtorigprice);
|
|
|
bodyvo.setNmny(norigmny);
|
|
|
bodyvo.setNtaxmny(norigtaxmny);
|
|
@@ -128,36 +130,24 @@ public class M30PfxxPlugin extends AbstractSOPfxxPlugin {
|
|
|
UFDouble foreignAmount= currRateUtil.getAmountByOpp(corigcurrencyid,
|
|
|
ccurrencyid, norigprice, foreignrate, headvo.getDbilldate());
|
|
|
bodyvo.setNtaxprice(foreignAmount);
|
|
|
-
|
|
|
UFDouble ngprice=currRateUtil.getAmountByOpp(corigcurrencyid,
|
|
|
ccurrencyid, bodyvo.getNorigprice(), foreignrate, headvo.getDbilldate());
|
|
|
-
|
|
|
bodyvo.setNprice(ngprice);
|
|
|
-
|
|
|
bodyvo.setNqtprice(ngprice);
|
|
|
-
|
|
|
bodyvo.setNqttaxprice(foreignAmount);
|
|
|
-
|
|
|
-
|
|
|
UFDouble nmny=currRateUtil.getAmountByOpp(corigcurrencyid,
|
|
|
ccurrencyid, bodyvo.getNorigmny(), foreignrate, headvo.getDbilldate());
|
|
|
-
|
|
|
bodyvo.setNmny(nmny);
|
|
|
-
|
|
|
UFDouble ntaxmny=currRateUtil.getAmountByOpp(corigcurrencyid,
|
|
|
ccurrencyid, bodyvo.getNorigtaxmny(), foreignrate, headvo.getDbilldate());
|
|
|
-
|
|
|
bodyvo.setNtaxmny(ntaxmny);
|
|
|
-
|
|
|
bodyvo.setNcaltaxmny(nmny);
|
|
|
bodyvo.setNqtnetprice(ngprice);
|
|
|
bodyvo.setNnetprice(ngprice);
|
|
|
-
|
|
|
+ bodyvo.setNorignetprice(ngprice);
|
|
|
bodyvo.setNqttaxnetprice(foreignAmount);
|
|
|
bodyvo.setNtaxnetprice(foreignAmount);
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ bodyvo.setNorigtaxnetprice(foreignAmount);
|
|
|
bodyvo.setNtax(ntaxmny.sub(nmny));
|
|
|
}
|
|
|
|