use of com.storedobject.core.Entity in project SODevelopment by syampillai.
the class Remove method process.
@Override
protected boolean process() {
InventoryLocation from = locationFromField.getValue();
int action = actionField.getValue();
Entity entity = null;
if (RemoveItems.requiresEntity(action)) {
entity = orgField.getObject();
if (entity == null) {
warning("Please select organization");
return false;
}
}
close();
new RemoveItems(from, action, entity, dateField.getValue()).execute();
return true;
}
Aggregations