Validator for Stock
This commit is contained in:
parent
c852e3da39
commit
507e67026d
|
|
@ -1,33 +1,26 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<feature
|
<feature
|
||||||
id="andromedia.midsuit.feature"
|
id="andromedia.midsuit.feature"
|
||||||
label="Feature"
|
label="Feature"
|
||||||
version="1.0.0.qualifier">
|
version="1.0.0.qualifier">
|
||||||
|
|
||||||
<description url="http://www.example.com/description">
|
<description url="http://www.example.com/description">
|
||||||
[Enter Feature Description here.]
|
[Enter Feature Description here.]
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<copyright url="http://www.example.com/copyright">
|
<copyright url="http://www.example.com/copyright">
|
||||||
[Enter Copyright Description here.]
|
[Enter Copyright Description here.]
|
||||||
</copyright>
|
</copyright>
|
||||||
|
|
||||||
<license url="http://www.example.com/license">
|
<license url="http://www.example.com/license">
|
||||||
[Enter License Description here.]
|
[Enter License Description here.]
|
||||||
</license>
|
</license>
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="andromedia.midsuit.project"
|
id="andromedia.midsuit.project"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="0.0.0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
</feature>
|
||||||
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();
|
.firstId();
|
||||||
InOut.setC_BPartner_Location_ID(C_BPartner_Location_ID);
|
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 "";
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue