Validator for Stock

This commit is contained in:
hodianto 2018-07-10 09:05:42 +07:00
parent c852e3da39
commit 507e67026d
2 changed files with 29 additions and 33 deletions

View File

@ -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>

View File

@ -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 "";
}
}