IDEMPIERE-3625
This commit is contained in:
parent
72b21f1df1
commit
ceb42f14c6
|
|
@ -1154,6 +1154,9 @@ public class MInOut extends X_M_InOut implements DocAction
|
||||||
+ ", @SO_CreditLimit@=" + bp.getSO_CreditLimit();
|
+ ", @SO_CreditLimit@=" + bp.getSO_CreditLimit();
|
||||||
return DocAction.STATUS_Invalid;
|
return DocAction.STATUS_Invalid;
|
||||||
}
|
}
|
||||||
|
if (!MBPartner.SOCREDITSTATUS_NoCreditCheck.equals(bp.getSOCreditStatus())
|
||||||
|
&& Env.ZERO.compareTo(bp.getSO_CreditLimit()) != 0)
|
||||||
|
{
|
||||||
BigDecimal notInvoicedAmt = MBPartner.getNotInvoicedAmt(getC_BPartner_ID());
|
BigDecimal notInvoicedAmt = MBPartner.getNotInvoicedAmt(getC_BPartner_ID());
|
||||||
if (MBPartner.SOCREDITSTATUS_CreditHold.equals(bp.getSOCreditStatus(notInvoicedAmt)))
|
if (MBPartner.SOCREDITSTATUS_CreditHold.equals(bp.getSOCreditStatus(notInvoicedAmt)))
|
||||||
{
|
{
|
||||||
|
|
@ -1164,6 +1167,7 @@ public class MInOut extends X_M_InOut implements DocAction
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Lines
|
// Lines
|
||||||
MInOutLine[] lines = getLines(true);
|
MInOutLine[] lines = getLines(true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue