◆ onCancel()
void org.turro.erp.purchase.OrderGroupEdit.onCancel |
( |
| ) |
|
◆ onOK()
void org.turro.erp.purchase.OrderGroupEdit.onOK |
( |
| ) |
|
◆ onSave()
void org.turro.erp.purchase.OrderGroupEdit.onSave |
( |
| ) |
|
Definition at line 55 of file OrderGroupEdit.java.
56 Dao dao =
new ErpPU();
57 for(Object o : orderItemSummary.orders) {
58 OrderItem oi = (OrderItem) o;
59 oi.setDocumentDate(docdate.getValue());
60 oi.setDocumentNumber(docnumber.getValue());
61 oi.setSent(sent.isChecked());
62 if(oi.isSent() && oi.getDocumentDate() ==
null) {
63 oi.setDocumentDate(
new Date());
67 draftcoGroupForm.detach();
◆ onUser()
void org.turro.erp.purchase.OrderGroupEdit.onUser |
( |
Event |
event | ) |
|
Definition at line 44 of file OrderGroupEdit.java.
45 orderItemSummary = (OrderItemModel.OrderItemSummary) event.getData();
46 docdate.setValue(orderItemSummary.getOrder(0).getDocumentDate());
47 docnumber.setValue(orderItemSummary.getOrder(0).getDocumentNumber());
48 sent.setChecked(orderItemSummary.getOrder(0).isSent());
The documentation for this class was generated from the following file: