Class: OLE_QA::Framework::OLEFS::New_Exception_Notes_Line

Inherits:
Subline_Object show all
Defined in:
lib/olefs/subobjects/new_exception_notes_line.rb

Overview

A new Exception Notes Line on an OLE Financial System Receiving Line.

Instance Attribute Summary

Attributes inherited from Subline_Object

#line_id, #line_number, #subline_id, #subline_number

Attributes inherited from Common_Object

#elements, #functions, #ole

Instance Method Summary collapse

Methods inherited from Common_Object

#set_functions

Methods included from Helpers

#browser, #load_yml, #set_element, #set_function

Constructor Details

#initialize(ole_session, line_number, which) ⇒ New_Exception_Notes_Line

Initialize as a subclass of Subline_Object with a subline_number of 0.



19
20
21
# File 'lib/olefs/subobjects/new_exception_notes_line.rb', line 19

def initialize(ole_session, line_number, which)
  super(ole_session, line_number, 0)
end

Instance Method Details

#set_elementsObject

Set elements on a New Exception Notes Line.



24
25
26
27
28
# File 'lib/olefs/subobjects/new_exception_notes_line.rb', line 24

def set_elements
  element(:exception_type_selector)               {b.select_list(:id => "document.item[#{@line_id}].exceptionTypeId")}
  element(:note_field)                            {b.text_field(:id => "document.item[#{@line_id}].exceptionNotes")}
  element(:note_type_selector)                    {b.select_list(:id => "document.item[#{@line_id}].exceptionTypeId")}
end