19 package org.turro.erp.reference;
21 import java.util.Collection;
22 import java.util.HashMap;
23 import org.turro.elephant.db.WhereClause;
24 import org.turro.erp.db.ErpPU;
25 import org.turro.erp.entity.OrderReference;
26 import org.turro.erp.menu.ErpMenu;
27 import org.turro.jpa.Dao;
28 import org.turro.zkoss.dialog.Listeners;
29 import org.turro.zkoss.input.CollectionListbox;
30 import org.zkoss.zk.ui.event.Events;
41 this.orderReference = orderReference;
51 private void fillCollection() {
53 wc.
addClause(
"select or from OrderReference or");
54 wc.
addClause(
"where or.workOrder.productId = or.productId");
55 wc.
addClause(
"order by productId, quantity");
64 super.setObjectValue(value);
65 idRef = value !=
null ? value.
getId() : 0L;
void addClause(String clause)
String getSomeDescription()
void setObjectValue(OrderReference value)
ProductReferenceListbox(OrderReference orderReference)
String convertToString(OrderReference v)
OrderReference getObjectValue()