Commit 02f5eaf6 authored by dpawar's avatar dpawar

debit note amt is less zero than amt is zero


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94206 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7c28e73b
......@@ -177,6 +177,9 @@ public class ProofOfDeliveryConf extends ActionHandlerEJB implements ProofOfDeli
debitNoteAmtDetail=getDebitNoteAmount(rateInv,qtyInv);
debitNoteAmtHdr=debitNoteAmtHdr+debitNoteAmtDetail;
detail3Amt=(PODrate - aprvRate) * PODqty;
if(detail3Amt < 0){
detail3Amt=0;
}
if(detail3Amt < 0){
System.out.println("debit note amount less than 0--------");
detail3Amt=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment