IDEMPIERE-2668 Exclude Locators for Demand Operations

This commit is contained in:
tsvikruha 2015-07-01 11:01:25 -05:00
parent 611ca54e63
commit f56fd4a4f5
1 changed files with 1 additions and 1 deletions

View File

@ -567,7 +567,7 @@ public class MInOutLine extends X_M_InOutLine
}
// IDEMPIERE-2668
if (getParent().isSOTrx()) {
if (MInOut.MOVEMENTTYPE_CustomerShipment.equals(getParent().getMovementType())) {
if (locator.getM_LocatorType_ID() > 0) {
MLocatorType lt = MLocatorType.get(getCtx(), locator.getM_LocatorType_ID());
if (! lt.isAvailableForShipping()) {