Blame view

lib/syspro/business_objects/models/por_detail.rb 6.12 KB
810ca84b   Isaac Lewis   wip purchase orde...
1
2
3
4
  module Syspro
    module BusinessObjects
      module Models
        class PorDetail
0e38c117   Chad Zink   Finished POR pars...
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
          attr_accessor :grn, :lot_number, :purchase_order, :purchase_order_line, :supplier, :supplier_name,
                        :supplier_class, :customer, :customer_name, :customer_po_number, :warehouse, :warehouse_desc,
                        :supplier_addr_1, :supplier_addr_2, :supplier_addr_3, :supplier_addr_3_locality,
                        :supplier_addr_4, :supplier_addr_5, :sup_postal_code, :currency, :local_supplier,
                        :description, :delivery_name, :delivery_addr_1, :delivery_addr_2, :delivery_addr_3,
                        :delivery_addr_3_locality, :delivery_addr_4, :delivery_addr_5, :postal_code, :delivery_gps_lat,
                        :delivery_gps_long, :order_status, :order_status_description, :exchange_rate_fixed_flag,
                        :po_exchange_rate, :blanket_po_contract, :ap_invoice_terms, :ap_invoice_terms_description,
                        :completed_date, :order_entry_date, :order_due_date, :memo_date, :memo_code, :order_type,
                        :payment_terms, :tax_status, :shipping_instrs, :order_discount, :amended_count, :buyer, :name,
                        :document_format, :include_in_mrp, :customform_fields, :purchase_order_line_merchandise,
                        :purchase_order_totals
  
          class CustomFormField
            attr_accessor :sequence, :name, :prompt, :column, :type, :length, :decimals, :default, :allow_null,
                          :validation_type, :value_null
          end
  
          class Merchandise
            attr_accessor :line,
                          :line_type,
                          :line_Type_description,
                          :m_stock_code,
                          :m_stock_des,
                          :long_desc,
                          :traceable_type,
                          :mass,
                          :volume,
                          :receipt_into_flag,
                          :m_warehouse,
                          :m_warehouse_desc,
                          :m_outstanding_qty,
                          :unedited__m_outstanding_qty,
                          :m_order_qty,
                          :unedited__m_order_qty,
                          :m_received_qty,
                          :unedited__m_received_qty,
                          :m_order_uom,
                          :m_complete_flag,
                          :m_job,
                          :include_in_mrp,
                          :m_price,
                          :edit_m_price,
                          :order_value,
                          :m_disc_pct1,
                          :m_disc_pct2,
                          :m_disc_pct3,
                          :m_disc_value,
                          :m_disc_val_flag,
                          :m_price_uom,
                          :m_latest_due_date,
                          :m_sup_catalogue,
                          :m_product_class,
                          :m_product_class_description,
                          :m_stocking_uom,
                          :m_decimals_to_prt,
                          :m_conv_fact_prc_um,
                          :m_mul_div_prc,
                          :m_tax_code,
                          :m_tax_code_description,
                          :m_conv_fact_ord_um,
                          :m_mul_div_alloc,
                          :m_gl_code,
                          :m_gl_code_description,
                          :m_orig_due_date,
                          :m_lct_confirmed,
                          :m_subcontract_op,
                          :m_version,
                          :m_release,
                          :asset_flag,
                          :capex_code,
                          :asset_capex_line,
                          :discount,
                          :last_receipt,
                          :ledger,
                          :requisition_line,
                          :requisition_no,
                          :requisition_user,
                          :reschedule,
                          :rev,
                          :release,
                          :selection_code,
                          :selection_type,
                          :currency,
                          :m_inspection_reqd,
                          :inspected_received,
                          :stock_and_alt_um,
                          :default_costing_method,
                          :default_price,
                          :edit_default_price,
                          :default_prum,
                          :costing_methods_available
  
          end # end of class MerchandiseDetail
  
          class CostingMethodsAvailable
            attr_accessor :manual_method_code,
              :manual_method_desc,
              :manual_method_price,
              :edit__manual_method_price,
              :manual_method_costing_prum,
              :total_cost_method_code,
              :total_cost_method_desc,
              :total_cost_method_price,
              :edit__total_cost_method_price,
              :total_cost_costing_prum,
              :purchase_price_method_code,
              :purchase_price_method_desc,
              :purchase_price_method_price,
              :edit__purchase_price_method_price,
              :purchase_price_costing_prum,
              :price_tax_method_code,
              :price_tax_method_desc,
              :price_tax_method_price,
              :edit__price_tax_method_price,
              :price_tax_costing_prum
          end # end of class CostingMethodsAvailable
  
          class PurchaseOrderTotals
            attr_accessor :local_values, :current_values, :first_receipt_date, :order_complete_date
  
          end
  
          class PurchaseOrderTotalsLocalValues
            attr_accessor :local_order_value, :local_received_to_date_value, :local_outstanding_value,
                          :edited_local_order_value, :edited_local_received_to_date_value,
                          :edited_local_outstanding_value
          end
  
          class PurchaseOrderTotalsCurrentValues
            attr_accessor :current_order_value, :current_received_to_date_value, :current_outstanding_value,
                          :edited_current_order_value, :edited_current_received_to_date_value,
                          :edited_current_outstanding_value
          end
  
810ca84b   Isaac Lewis   wip purchase orde...
140
141
142
143
        end
      end
    end
  end