Class: OLE_QA::Framework::OLEFS::Receipt_Notes_Line
- Inherits:
-
Subline_Object
- Object
- Common_Object
- Data_Object
- Line_Object
- Subline_Object
- OLE_QA::Framework::OLEFS::Receipt_Notes_Line
- Defined in:
- lib/olefs/subobjects/receipt_notes_line.rb
Overview
A Receipt Notes Line in an OLE Financial System Receiving Document
Instance Attribute Summary
Attributes inherited from Subline_Object
Attributes inherited from Line_Object
Attributes inherited from Common_Object
Instance Method Summary collapse
-
#set_elements ⇒ Object
Set receipt notes elements.
Methods inherited from Subline_Object
Methods inherited from Line_Object
#initialize, #line_id, #set_subline
Methods inherited from Common_Object
Methods included from Helpers
#browser, #load_yml, #set_element, #set_function
Constructor Details
This class inherits a constructor from OLE_QA::Framework::Subline_Object
Instance Method Details
#set_elements ⇒ Object
Set receipt notes elements.
19 20 21 22 23 |
# File 'lib/olefs/subobjects/receipt_notes_line.rb', line 19 def set_elements super element(:note_type_selector) {b.select_list(:id => "document.item[#{@parent_line.line_id}].receiptNoteList[#{line_id}].noteTypeId")} element(:note_field) {b.text_field(:id => "document.item[#{@parent_line.line_id}].receiptNoteList[#{line_id}].notes")} end |