Validator for Stock
This commit is contained in:
parent
c852e3da39
commit
507e67026d
|
|
@ -23,11 +23,4 @@
|
|||
version="0.0.0"
|
||||
unpack="false"/>
|
||||
|
||||
<plugin
|
||||
id="jpiere.plugin.delete"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="0.0.0"
|
||||
unpack="false"/>
|
||||
|
||||
</feature>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ public class MID_InOutValidator {
|
|||
.firstId();
|
||||
InOut.setC_BPartner_Location_ID(C_BPartner_Location_ID);
|
||||
}
|
||||
if(InOut.getC_Order().getDocStatus().equals("DR")) {
|
||||
return "Failed to Create new Shipment / Receipt for this Order"+InOut.getC_Order().getDocumentNo();
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue