Class: OLE_QA::Framework::OLEFS::New_Receipt_Notes_Line
- Inherits:
-
Subline_Object
- Object
- Common_Object
- Data_Object
- Subline_Object
- OLE_QA::Framework::OLEFS::New_Receipt_Notes_Line
- Defined in:
- lib/olefs/subobjects/new_receipt_notes_line.rb
Overview
A new Receipt Notes Line on an OLE Financial System Receiving Document
Instance Attribute Summary
Attributes inherited from Subline_Object
#line_id, #line_number, #subline_id, #subline_number
Attributes inherited from Common_Object
Instance Method Summary collapse
-
#initialize(ole_session, line_number, which) ⇒ New_Receipt_Notes_Line
constructor
Initialize as a subclass of Subline_Object with a subline_number of 0.
-
#set_elements ⇒ Object
Set elements on a New Receipt Notes Line object.
Methods inherited from Common_Object
Methods included from Helpers
#browser, #load_yml, #set_element, #set_function
Constructor Details
#initialize(ole_session, line_number, which) ⇒ New_Receipt_Notes_Line
Initialize as a subclass of Subline_Object with a subline_number of 0.
19 20 21 |
# File 'lib/olefs/subobjects/new_receipt_notes_line.rb', line 19 def initialize(ole_session, line_number, which) super(ole_session, line_number, 0) end |
Instance Method Details
#set_elements ⇒ Object
Note:
Line_Object @line_number and @line_id will be used to perform substitutions in identifiers.
Note:
Subline_Object @line_number and @line_id will not be need in finding element IDs, as there will only ever be one new subline object on each line object.
Set elements on a New Receipt Notes Line object.
29 30 31 32 33 |
# File 'lib/olefs/subobjects/new_receipt_notes_line.rb', line 29 def set_elements super element(:note_type_selector) {b.select_list(:id => "document.item[#{@line_id}].noteTypeId")} element(:note_field) {b.text_field(:id => "document.item[#{@line_id}].receiptNotes")} end |