◆ CustomerOrderFilter()
org.turro.erp.sales.CustomerOrderFilter.CustomerOrderFilter |
( |
| ) |
|
◆ checkGroup()
void org.turro.erp.sales.CustomerOrderFilter.checkGroup |
( |
Grid |
grid, |
|
|
CustomerOrder |
customerOrder, |
|
|
boolean |
open |
|
) |
| |
Definition at line 63 of file CustomerOrderFilter.java.
64 if(lastId == 0 || lastId != customerOrder.getCustomerId()) {
65 lastId = customerOrder.getCustomerId();
66 Group group =
new GroupExtended(customerOrder.getCustomer().getFullDescription());
68 grid.getRows().appendChild(group);
◆ getCustomerOrders()
Definition at line 46 of file CustomerOrderFilter.java.
48 Dao dao =
new ErpPU();
50 WhereClause wc = createCriteria(values);
51 if(!Strings.isEmpty(wc.getClause())) {
52 Query q = dao.createQuery(wc.getClause());
53 wc.setNamedParameters(q);
54 return q.getResultList();
56 return Collections.EMPTY_LIST;
The documentation for this class was generated from the following file: