BrightSide Workbench Full Report + Source Code
org.turro.erp.purchase.ReceiptGroupEdit Class Reference
Inheritance diagram for org.turro.erp.purchase.ReceiptGroupEdit:
Collaboration diagram for org.turro.erp.purchase.ReceiptGroupEdit:

Public Member Functions

void onUser (Event event)
 
void onOK ()
 
void onSave ()
 
void onCancel ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 35 of file ReceiptGroupEdit.java.

Member Function Documentation

◆ onCancel()

void org.turro.erp.purchase.ReceiptGroupEdit.onCancel ( )

Definition at line 64 of file ReceiptGroupEdit.java.

64  {
65  draftcoGroupForm.detach();
66  }

◆ onOK()

void org.turro.erp.purchase.ReceiptGroupEdit.onOK ( )

Definition at line 49 of file ReceiptGroupEdit.java.

Here is the call graph for this function:

◆ onSave()

void org.turro.erp.purchase.ReceiptGroupEdit.onSave ( )

Definition at line 53 of file ReceiptGroupEdit.java.

53  {
54  Dao dao = new ErpPU();
55  for(Object o : draftReceiptSummary.orders) {
56  ReceiptItem dro = (ReceiptItem) o;
57  dro.setDocumentDate(docdate.getValue());
58  dro.setDocumentNumber(docnumber.getValue());
59  dao.saveObject(dro);
60  }
61  draftcoGroupForm.detach();
62  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onUser()

void org.turro.erp.purchase.ReceiptGroupEdit.onUser ( Event  event)

Definition at line 43 of file ReceiptGroupEdit.java.

43  {
44  draftReceiptSummary = (ReceiptItemModel.ReceiptItemSummary) event.getData();
45  docdate.setValue(draftReceiptSummary.getReceipt(0).getDocumentDate());
46  docnumber.setValue(draftReceiptSummary.getReceipt(0).getDocumentNumber());
47  }

The documentation for this class was generated from the following file: