|
|
@ -832,7 +832,7 @@ public class SDNYMainProcessController extends AbstractController { |
|
|
|
sapInvoiceDetail.setZSM(getZSM(tax.toString())); |
|
|
|
sapInvoiceDetail.setZSM(getZSM(tax.toString())); |
|
|
|
BigDecimal tax1 = tax.multiply(new BigDecimal("100")); |
|
|
|
BigDecimal tax1 = tax.multiply(new BigDecimal("100")); |
|
|
|
sapInvoiceDetail.setZTAX(tax1.toString()); |
|
|
|
sapInvoiceDetail.setZTAX(tax1.toString()); |
|
|
|
if (tax1.compareTo(new BigDecimal("100")) > 0) { |
|
|
|
if (tax1.compareTo(new BigDecimal("100")) >= 0) { |
|
|
|
sapInvoiceDetail.setZTAX(taxRate); |
|
|
|
sapInvoiceDetail.setZTAX(taxRate); |
|
|
|
}else if (tax1.scale() > 2){ |
|
|
|
}else if (tax1.scale() > 2){ |
|
|
|
DecimalFormat decimalFormat = new DecimalFormat("#.00"); |
|
|
|
DecimalFormat decimalFormat = new DecimalFormat("#.00"); |
|
|
|