rnsap 0.4.2 → 0.4.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/helper/rfc_helper.rb +19 -15
  3. data/lib/helper/util_helper.rb +39 -0
  4. data/lib/po_detail/all.rb +27 -0
  5. data/lib/po_detail/po_account.rb +93 -0
  6. data/lib/po_detail/po_addrdelivery.rb +115 -0
  7. data/lib/po_detail/po_all_versions.rb +55 -0
  8. data/lib/po_detail/po_components.rb +53 -0
  9. data/lib/po_detail/po_cond.rb +91 -0
  10. data/lib/po_detail/po_cond_header.rb +91 -0
  11. data/lib/po_detail/po_confirmation.rb +39 -0
  12. data/lib/po_detail/po_contract_limits.rb +21 -0
  13. data/lib/po_detail/po_exp_imp_header.rb +7 -0
  14. data/lib/po_detail/po_exp_imp_item.rb +21 -0
  15. data/lib/po_detail/po_extension_out.rb +13 -0
  16. data/lib/po_detail/po_header.rb +131 -0
  17. data/lib/po_detail/po_history.rb +107 -0
  18. data/lib/po_detail/po_history_ma.rb +37 -0
  19. data/lib/po_detail/po_history_totals.rb +51 -0
  20. data/lib/po_detail/po_inv_plan_header.rb +49 -0
  21. data/lib/po_detail/po_inv_plan_item.rb +51 -0
  22. data/lib/po_detail/po_item.rb +359 -0
  23. data/lib/po_detail/po_limits.rb +47 -0
  24. data/lib/po_detail/po_partner.rb +11 -0
  25. data/lib/po_detail/po_schedule.rb +59 -0
  26. data/lib/po_detail/po_serial_number.rb +13 -0
  27. data/lib/po_detail/po_services.rb +137 -0
  28. data/lib/po_detail/po_shipping_exp.rb +53 -0
  29. data/lib/po_detail/po_srv_access_values.rb +17 -0
  30. data/lib/po_detail/po_text_header.rb +13 -0
  31. data/lib/po_detail/po_text_item.rb +13 -0
  32. data/lib/po_release_info/all.rb +1 -0
  33. data/lib/po_release_info/po_release_final.rb +53 -0
  34. data/lib/preq_detail/all.rb +8 -0
  35. data/lib/preq_release_info/all.rb +4 -0
  36. data/lib/rnsap.rb +270 -83
  37. data/lib/rnsap_spec.rb +93 -0
  38. metadata +36 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac1b595002650c1c9c9c09c9b4903b47835f2212b2b8e8283c8ea16f61a67ba7
4
- data.tar.gz: 59a6dc350e3ae1ffe4cdbc7c0190c4e4ab3eb0e3d0a43b61ec9b0ec40f1f45d3
3
+ metadata.gz: 07f418d676742bf4e3102352227400ca2913f5c0299e6eb408ac2a2dc18126ab
4
+ data.tar.gz: 3e3601ed9fdbf771af8b5ddf98fc260c7f71822b9c914d567c80166a7097dee6
5
5
  SHA512:
6
- metadata.gz: ff0e3f429b4338d3a0668ccea5301c621603b7b480941a0b7bae4a17f3266b8243f7fd685d8a7e9a540f15ba49ebc470bc034ac7a5ecb77c809525aa9c4d2c66
7
- data.tar.gz: d78f451e59c5c3522f13c7b4c4e856c9c61352d259ed3c645e194aa31c28628bab041bf08ceca5087b48ff5c8234c6f6c844e2ccd7a2f6595a7af542249254da
6
+ metadata.gz: f2392d3c7b782641a1de705764be7999012cb3eb3ba676547f7b8b52e7cb665e3ddb0229f8a9ec23ee73ffc2f1534b596f79098ce9849683d5193ea947048179
7
+ data.tar.gz: 3676bee49742167c466652e6cd04acd9aa36ec621431a887aac3b0c5c2e79d6d5556ae14673cca38eb0097ede9d22e8be6c8207f87333e8441bb80503f699646
@@ -1,21 +1,25 @@
1
- def get_object_list(table, klass_name)
1
+ def get_object_list(table, klass)
2
2
  list = []
3
- avoid_list = ['!','__','+', '=','!', '?','~','>', '<']
4
3
  table.each do |row|
5
- obj = eval("#{klass_name}.new")
6
- obj.class.instance_methods.each do |method_name|
7
- begin
8
- if obj.respond_to?("#{method_name}=")
9
- unless avoid_list.any? { |word| method_name.to_s.include?(word)}
10
- value = row[method_name]
11
- eval("obj.#{method_name} = '#{value}'")
12
- end
13
- end
14
- rescue
15
- end
16
- end
17
- list.push(obj)
4
+ list.push(get_object(row, klass))
18
5
  end
19
6
 
20
7
  list
21
8
  end
9
+
10
+ AVOID_LIST ||= ['!','__','+', '=','!', '?','~','>', '<']
11
+ def get_object(struct, klass)
12
+ obj = klass.new #eval("#{klass.to_s}.new")
13
+ klass.instance_methods.each do |method_name|
14
+ begin
15
+ if obj.respond_to?("#{method_name}=")
16
+ unless AVOID_LIST.any? { |word| method_name.to_s.include?(word)}
17
+ value = struct[method_name]
18
+ eval("obj.#{method_name} = '#{value}'")
19
+ end
20
+ end
21
+ rescue
22
+ end
23
+ end
24
+ obj
25
+ end
@@ -0,0 +1,39 @@
1
+ module UtilHelper
2
+ require 'json'
3
+
4
+ def log(msg='no message')
5
+ puts obj_to_s(msg)
6
+ end
7
+
8
+ def obj_to_s(msg)
9
+ case msg.class
10
+ when Hash
11
+ JSON.pretty_generate(msg)
12
+ else
13
+ begin
14
+ JSON.pretty_generate(JSON.parse(msg.to_json))
15
+ rescue
16
+ msg
17
+ end
18
+ end
19
+ end
20
+
21
+ # def api_return(*options)
22
+ # puts 'options'
23
+ # log api_return2(options[1], options[0]) if options[0].class.to_s == 'Integer'
24
+ # log(options)
25
+ # end
26
+
27
+
28
+ def api_return(rc=0, message ='', obj=nil, exception=nil )
29
+ ret = {
30
+ rc: exception ? (rc > 0 ? rc : 8) : rc,
31
+ message: message
32
+ }
33
+ ret[:exception] = exception.to_s if exception
34
+ ret[:return] = obj if obj
35
+ ret
36
+ end
37
+
38
+
39
+ end
@@ -0,0 +1,27 @@
1
+ require 'po_detail/po_item'
2
+ require 'po_detail/po_addrdelivery'
3
+ require 'po_detail/po_schedule'
4
+ require 'po_detail/po_account'
5
+ require 'po_detail/po_cond_header'
6
+ require 'po_detail/po_cond'
7
+ require 'po_detail/po_limits'
8
+ require 'po_detail/po_contract_limits'
9
+ require 'po_detail/po_services'
10
+ require 'po_detail/po_srv_access_values'
11
+ require 'po_detail/po_text_header'
12
+ require 'po_detail/po_text_item'
13
+ require 'po_detail/po_exp_imp_item'
14
+ require 'po_detail/po_components'
15
+ require 'po_detail/po_shipping_exp'
16
+ require 'po_detail/po_history'
17
+ require 'po_detail/po_history_totals'
18
+ require 'po_detail/po_confirmation'
19
+ require 'po_detail/po_all_versions'
20
+ require 'po_detail/po_partner'
21
+ require 'po_detail/po_extension_out'
22
+ require 'po_detail/po_serial_number'
23
+ require 'po_detail/po_inv_plan_header'
24
+ require 'po_detail/po_inv_plan_item'
25
+ require 'po_detail/po_history_ma'
26
+ require 'po_detail/po_header'
27
+ require 'po_detail/po_exp_imp_header'
@@ -0,0 +1,93 @@
1
+ # class used to represent POACCOUNT. Used internally
2
+ class PoAccount
3
+ # @return [String] Activity Number
4
+ attr_accessor :activity
5
+ # @return [String] Activity Type
6
+ attr_accessor :acttype
7
+ # @return [String] Main Asset Number
8
+ attr_accessor :asset_no
9
+ # @return [String] FM: Budget Period
10
+ attr_accessor :budget_period
11
+ # @return [String] Business Area
12
+ attr_accessor :bus_area
13
+ # @return [String] Commitment Item
14
+ attr_accessor :cmmt_item
15
+ # @return [String] Commitment item
16
+ attr_accessor :cmmt_item_long
17
+ # @return [String] Cost Center
18
+ attr_accessor :costcenter
19
+ # @return [String] Cost Object
20
+ attr_accessor :costobject
21
+ # @return [String] Controlling Area
22
+ attr_accessor :co_area
23
+ # @return [String] Business Process
24
+ attr_accessor :co_busproc
25
+ # @return [Date] Date on Which Record Was Created
26
+ attr_accessor :creat_date
27
+ # @return [String] Deletion Indicator: Purchasing Document Account Assignment
28
+ attr_accessor :delete_ind
29
+ # @return [Integer] Distribution percentage in the case of multiple acct assgt
30
+ attr_accessor :distr_perc
31
+ # @return [String] Final Account Assignment Indicator
32
+ attr_accessor :final_ind
33
+ # @return [String] Final Account Assignment Reason Code
34
+ attr_accessor :final_reason
35
+ # @return [String] Functional Area
36
+ attr_accessor :func_area
37
+ # @return [String] Functional Area
38
+ attr_accessor :func_area_long
39
+ # @return [String] Fund
40
+ attr_accessor :fund
41
+ # @return [String] Funds Center
42
+ attr_accessor :funds_ctr
43
+ # @return [String] G/L Account Number
44
+ attr_accessor :gl_account
45
+ # @return [String] Grant
46
+ attr_accessor :grant_nbr
47
+ # @return [String] Goods recipient
48
+ attr_accessor :gr_rcpt
49
+ # @return [String] Sales Document Item
50
+ attr_accessor :itm_number
51
+ # @return [String] Network Number for Account Assignment
52
+ attr_accessor :network
53
+ # @return [Integer] Currency amount for BAPIS (with 9 decimal places)
54
+ attr_accessor :net_value
55
+ # @return [Integer] Currency amount for BAPIS (with 9 decimal places)
56
+ attr_accessor :nond_itax
57
+ # @return [String] Order Number
58
+ attr_accessor :orderid
59
+ # @return [String] Partner account number
60
+ attr_accessor :part_acct
61
+ # @return [String] Item Number of Purchasing Document
62
+ attr_accessor :po_item
63
+ # @return [String] Profit Center
64
+ attr_accessor :profit_ctr
65
+ # @return [Integer] Quantity
66
+ attr_accessor :quantity
67
+ # @return [String] Recovery Indicator
68
+ attr_accessor :rec_ind
69
+ # @return [Date] Reference date for settlement
70
+ attr_accessor :ref_date
71
+ # @return [String] Document Number for Earmarked Funds
72
+ attr_accessor :res_doc
73
+ # @return [String] Earmarked Funds: Document Item
74
+ attr_accessor :res_item
75
+ # @return [String] Internal Key for Real Estate Object
76
+ attr_accessor :rl_est_key
77
+ # @return [String] Schedule Line Number
78
+ attr_accessor :sched_line
79
+ # @return [String] Sales and Distribution Document Number
80
+ attr_accessor :sd_doc
81
+ # @return [String] Sequential Number of Account Assignment
82
+ attr_accessor :serial_no
83
+ # @return [String] Asset Subnumber
84
+ attr_accessor :sub_number
85
+ # @return [String] Tax Jurisdiction
86
+ attr_accessor :taxjurcode
87
+ # @return [String] Tax on Sales/Purchases Code
88
+ attr_accessor :tax_code
89
+ # @return [String] Unloading Point
90
+ attr_accessor :unload_pt
91
+ # @return [String] Work Breakdown Structure Element (WBS Element)
92
+ attr_accessor :wbs_element
93
+ end
@@ -0,0 +1,115 @@
1
+ # class used to represent POADDRDELIVERY. Used internally
2
+ class PoAddrDelivery
3
+ # @return [String] Address number
4
+ attr_accessor :addr_no
5
+ # @return [String] Address notes
6
+ attr_accessor :adr_notes
7
+ # @return [String] old: building (no. or abbreviation)
8
+ attr_accessor :building
9
+ # @return [String] Building (Number or Code)
10
+ attr_accessor :build_long
11
+ # @return [String] City file test status
12
+ attr_accessor :chckstatus
13
+ # @return [String] City
14
+ attr_accessor :city
15
+ # @return [String] City code for city/street file
16
+ attr_accessor :city_no
17
+ # @return [String] Communication Method (Key) (Business Address Services)
18
+ attr_accessor :comm_type
19
+ # @return [String] Country Key
20
+ attr_accessor :country
21
+ # @return [String] Country ISO code
22
+ attr_accessor :countryiso
23
+ # @return [String] Customer
24
+ attr_accessor :customer
25
+ # @return [String] c/o name
26
+ attr_accessor :c_o_name
27
+ # @return [String] (Not Supported) Post Delivery District
28
+ attr_accessor :deliv_dis
29
+ # @return [String] District code for City and Street file
30
+ attr_accessor :distrct_no
31
+ # @return [String] District
32
+ attr_accessor :district
33
+ # @return [String] E-Mail Address
34
+ attr_accessor :e_mail
35
+ # @return [String] First fax no.: extension
36
+ attr_accessor :fax_extens
37
+ # @return [String] First fax no.: dialling code+number
38
+ attr_accessor :fax_number
39
+ # @return [String] Floor in building
40
+ attr_accessor :floor
41
+ # @return [String] Form of address text
42
+ attr_accessor :formofaddr
43
+ # @return [String] House Number
44
+ attr_accessor :house_no
45
+ # @return [String] House number supplement
46
+ attr_accessor :house_no2
47
+ # @return [Integer] Language Key
48
+ attr_accessor :langu
49
+ # @return [String] 2-Character SAP Language Code
50
+ attr_accessor :langu_iso
51
+ # @return [String] Street 5
52
+ attr_accessor :location
53
+ # @return [String] Name 1
54
+ attr_accessor :name
55
+ # @return [String] Name 2
56
+ attr_accessor :name_2
57
+ # @return [String] Name 3
58
+ attr_accessor :name_3
59
+ # @return [String] Name 4
60
+ attr_accessor :name_4
61
+ # @return [String] City PO box code (City file)
62
+ attr_accessor :pboxcit_no
63
+ # @return [String] City postal code
64
+ attr_accessor :postl_cod1
65
+ # @return [String] PO Box Postal Code
66
+ attr_accessor :postl_cod2
67
+ # @return [String] Company Postal Code (for Large Customers)
68
+ attr_accessor :postl_cod3
69
+ # @return [String] PO Box
70
+ attr_accessor :po_box
71
+ # @return [String] PO Box city
72
+ attr_accessor :po_box_cit
73
+ # @return [String] Item Number of Purchasing Document
74
+ attr_accessor :po_item
75
+ # @return [String] Regional structure grouping
76
+ attr_accessor :regiogroup
77
+ # @return [String] Region (State, Province, County)
78
+ attr_accessor :region
79
+ # @return [String] Room or Appartment Number
80
+ attr_accessor :room_no
81
+ # @return [String] Subcontracting vendor
82
+ attr_accessor :sc_vendor
83
+ # @return [String] Search Term 1
84
+ attr_accessor :sort1
85
+ # @return [String] Search Term 2
86
+ attr_accessor :sort2
87
+ # @return [String] Street
88
+ attr_accessor :street
89
+ # @return [String] Street
90
+ attr_accessor :street_lng
91
+ # @return [String] Street Number for City/Street File
92
+ attr_accessor :street_no
93
+ # @return [String] (Not Supported) Abbreviation of Street Name
94
+ attr_accessor :str_abbr
95
+ # @return [String] Street 2
96
+ attr_accessor :str_suppl1
97
+ # @return [String] Street 3
98
+ attr_accessor :str_suppl2
99
+ # @return [String] Street 4
100
+ attr_accessor :str_suppl3
101
+ # @return [String] Vendor to be supplied/who is to receive delivery
102
+ attr_accessor :supp_vendor
103
+ # @return [String] Tax Jurisdiction
104
+ attr_accessor :taxjurcode
105
+ # @return [String] First Telephone No.: Extension
106
+ attr_accessor :tel1_ext
107
+ # @return [String] First telephone no.: dialling code+number
108
+ attr_accessor :tel1_numbr
109
+ # @return [String] Address time zone
110
+ attr_accessor :time_zone
111
+ # @return [String] Title text
112
+ attr_accessor :title
113
+ # @return [String] Transportation zone to or from which the goods are delivered
114
+ attr_accessor :transpzone
115
+ end
@@ -0,0 +1,55 @@
1
+ # class used to represent POALLVERSIONS. Used internally
2
+ class PoAllVersions
3
+ # @return [String] Status version completed
4
+ attr_accessor :completed
5
+ # @return [String] Name of Person Who Created the Object
6
+ attr_accessor :created_by
7
+ # @return [Date] Date on Which Record Was Created
8
+ attr_accessor :cr_on
9
+ # @return [Integer] Currency Key
10
+ attr_accessor :currency
11
+ # @return [String] ISO code currency
12
+ attr_accessor :currency_iso
13
+ # @return [String] Deletion indicator in purchasing document
14
+ attr_accessor :delete_ind
15
+ # @return [String] Description of version
16
+ attr_accessor :description
17
+ # @return [String] Object Number in Purchasing
18
+ attr_accessor :doc_number
19
+ # @return [String] Purchasing Document Category
20
+ attr_accessor :doc_type
21
+ # @return [String] Purchasing object: item
22
+ attr_accessor :item_number
23
+ # @return [Integer] Net Order Value in PO Currency
24
+ attr_accessor :net_value
25
+ # @return [Date] Posting date of version
26
+ attr_accessor :post_date
27
+ # @return [String] Reason for change
28
+ attr_accessor :reason
29
+ # @return [String] Entry time
30
+ attr_accessor :rec_time
31
+ # @return [String] Name of approving buyer
32
+ attr_accessor :releaseby_pur
33
+ # @return [Date] Date of buyer approval
34
+ attr_accessor :releasedate_pur
35
+ # @return [String] Name of person effecting release
36
+ attr_accessor :released_by
37
+ # @return [String] Time of buyer approval
38
+ attr_accessor :releasetime_pur
39
+ # @return [Date] Date of release
40
+ attr_accessor :release_date
41
+ # @return [String] Time of release
42
+ attr_accessor :release_time
43
+ # @return [String] Person requesting change
44
+ attr_accessor :req_by
45
+ # @return [String] External Change Number of Version
46
+ attr_accessor :req_by_ext
47
+ # @return [String] Version status
48
+ attr_accessor :status
49
+ # @return [String] Old processing state in purchasing document before version
50
+ attr_accessor :status_doc_old
51
+ # @return [Integer] Value change due to version
52
+ attr_accessor :value_changed
53
+ # @return [String] Version number in Purchasing
54
+ attr_accessor :version
55
+ end
@@ -0,0 +1,53 @@
1
+ # class used to represent POCOMPONENTS. Used internally
2
+ class PoComponents
3
+ # @return [String] Base Unit of Measure
4
+ attr_accessor :base_uom
5
+ # @return [String] Base unit of measure in ISO code
6
+ attr_accessor :base_uom_iso
7
+ # @return [String] Batch Number
8
+ attr_accessor :batch
9
+ # @return [String] Change Type (U, I, E, D)
10
+ attr_accessor :change_id
11
+ # @return [Integer] Requirement Quantity of Component
12
+ attr_accessor :entry_quantity
13
+ # @return [String] Unit of entry
14
+ attr_accessor :entry_uom
15
+ # @return [String] Unit of entry in ISO code
16
+ attr_accessor :entry_uom_iso
17
+ # @return [String] Quantity is fixed
18
+ attr_accessor :fixed_quan
19
+ # @return [String] Issue Storage Location
20
+ attr_accessor :iss_st_loc
21
+ # @return [String] Item category (bill of material)
22
+ attr_accessor :item_cat
23
+ # @return [String] Item Number of Reservation / Dependent Requirements
24
+ attr_accessor :item_no
25
+ # @return [String] Material Number
26
+ attr_accessor :material
27
+ # @return [String] Long Material Number for MATERIAL Field
28
+ attr_accessor :material_external
29
+ # @return [String] External GUID for MATERIAL Field
30
+ attr_accessor :material_guid
31
+ # @return [String] Material Number (40 Characters, needed f. technical reasons)
32
+ attr_accessor :material_long
33
+ # @return [String] Version Number for MATERIAL Field
34
+ attr_accessor :material_version
35
+ # @return [String] Material Provision Indicator
36
+ attr_accessor :mat_provision
37
+ # @return [String] Phantom item indicator
38
+ attr_accessor :phant_item
39
+ # @return [String] Plant
40
+ attr_accessor :plant
41
+ # @return [String] Item Number of Purchasing Document
42
+ attr_accessor :po_item
43
+ # @return [Date] Requirements date for the component
44
+ attr_accessor :req_date
45
+ # @return [Integer] Requirement Quantity
46
+ attr_accessor :req_quan
47
+ # @return [String] Requirement Segment
48
+ attr_accessor :req_segment
49
+ # @return [String] Revision level
50
+ attr_accessor :rev_lev
51
+ # @return [String] Schedule Line Number
52
+ attr_accessor :sched_line
53
+ end
@@ -0,0 +1,91 @@
1
+ # class used to represent POCOND. Used internally
2
+ class PoCond
3
+ # @return [String] Access sequence - Access number
4
+ attr_accessor :access_seq
5
+ # @return [String] Condition is Relevant for Accrual (e.g. Freight)
6
+ attr_accessor :accruals
7
+ # @return [String] Application
8
+ attr_accessor :applicatio
9
+ # @return [String] Calculation type for condition
10
+ attr_accessor :calctypcon
11
+ # @return [String] Change Type (U, I, E, D)
12
+ attr_accessor :change_id
13
+ # @return [Integer] Condition base value
14
+ attr_accessor :conbaseval
15
+ # @return [String] Condition changed manually
16
+ attr_accessor :condchaman
17
+ # @return [String] Condition class
18
+ attr_accessor :condclass
19
+ # @return [String] Condition control
20
+ attr_accessor :condcntrl
21
+ # @return [String] Condition for configuration
22
+ attr_accessor :condconfig
23
+ # @return [String] Sequential number of the condition
24
+ attr_accessor :condcount
25
+ # @return [String] Condition for inter-company billing
26
+ attr_accessor :condincomp
27
+ # @return [String] Condition is inactive
28
+ attr_accessor :condisacti
29
+ # @return [String] Number of the document condition
30
+ attr_accessor :condition_no
31
+ # @return [String] Origin of the condition
32
+ attr_accessor :condorigin
33
+ # @return [String] Condition category (examples: tax, freight, price, cost)
34
+ attr_accessor :condtype
35
+ # @return [String] Condition counter
36
+ attr_accessor :cond_count
37
+ # @return [String] Condition record number
38
+ attr_accessor :cond_no
39
+ # @return [Integer] Condition pricing unit
40
+ attr_accessor :cond_p_unt
41
+ # @return [String] Step number
42
+ attr_accessor :cond_st_no
43
+ # @return [String] Condition Type
44
+ attr_accessor :cond_type
45
+ # @return [String] Condition unit
46
+ attr_accessor :cond_unit
47
+ # @return [String] Condition unit of measure in UoM
48
+ attr_accessor :cond_unit_iso
49
+ # @return [String] Condition update
50
+ attr_accessor :cond_updat
51
+ # @return [Integer] Condition rate
52
+ attr_accessor :cond_value
53
+ # @return [Integer] Condition exchange rate for conversion to local currency
54
+ attr_accessor :conexchrat
55
+ # @return [String] Condition for invoice list
56
+ attr_accessor :coninvolst
57
+ # @return [Date] Condition pricing date
58
+ attr_accessor :conpricdat
59
+ # @return [Integer] Scale currency
60
+ attr_accessor :currenckey
61
+ # @return [String] ISO code currency
62
+ attr_accessor :currenckey_iso
63
+ # @return [Integer] Currency Key
64
+ attr_accessor :currency
65
+ # @return [String] ISO code currency
66
+ attr_accessor :currency_iso
67
+ # @return [Integer] Denominator for converting condition units to base units
68
+ attr_accessor :denominato
69
+ # @return [Integer] Factor for condition base value
70
+ attr_accessor :factbasval
71
+ # @return [String] Group condition
72
+ attr_accessor :groupcond
73
+ # @return [String] Condition item number
74
+ attr_accessor :itm_number
75
+ # @return [Integer] Numerator for converting condition units to base units
76
+ attr_accessor :numconvert
77
+ # @return [Integer] Scale base value of the condition
78
+ attr_accessor :scalbasval
79
+ # @return [String] Scale basis indicator
80
+ attr_accessor :scalebasin
81
+ # @return [String] Scale Type
82
+ attr_accessor :scaletype
83
+ # @return [String] Condition is used for statistics
84
+ attr_accessor :stat_con
85
+ # @return [String] Condition scale unit of measure
86
+ attr_accessor :unitmeasur
87
+ # @return [String] ISO code for unit of measurement
88
+ attr_accessor :unitmeasur_iso
89
+ # @return [String] Account Number of Vendor or Creditor
90
+ attr_accessor :vendor_no
91
+ end