Class: ErpIntegration::ProductionOrder
- Defined in:
- lib/erp_integration/production_order.rb
Overview
The ‘ErpIntegration::ProductionOrder` exposes an uniformed API for interaction with third-party ERP vendors.
Instance Attribute Summary collapse
-
#allow_partial_done ⇒ Object
Returns the value of attribute allow_partial_done.
-
#attachments ⇒ Object
Returns the value of attribute attachments.
-
#bom ⇒ Object
Returns the value of attribute bom.
-
#byproduct_cost ⇒ Object
Returns the value of attribute byproduct_cost.
-
#company ⇒ Object
Returns the value of attribute company.
-
#company_currency_digits ⇒ Object
Returns the value of attribute company_currency_digits.
-
#cost ⇒ Object
Returns the value of attribute cost.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#create_uid ⇒ Object
Returns the value of attribute create_uid.
-
#description ⇒ Object
Returns the value of attribute description.
-
#effective_date ⇒ Object
Returns the value of attribute effective_date.
-
#effective_start_date ⇒ Object
Returns the value of attribute effective_start_date.
-
#from_location ⇒ Object
Returns the value of attribute from_location.
-
#id ⇒ Object
Returns the value of attribute id.
-
#inputs ⇒ Object
Returns the value of attribute inputs.
-
#inventory_cost ⇒ Object
Returns the value of attribute inventory_cost.
-
#inventory_cost_cache ⇒ Object
Returns the value of attribute inventory_cost_cache.
-
#labor_cost ⇒ Object
Returns the value of attribute labor_cost.
-
#labor_cost_cache ⇒ Object
Returns the value of attribute labor_cost_cache.
-
#last_modification ⇒ Object
Returns the value of attribute last_modification.
-
#location ⇒ Object
Returns the value of attribute location.
-
#messages ⇒ Object
Returns the value of attribute messages.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#number ⇒ Object
Returns the value of attribute number.
-
#on_hold ⇒ Object
Returns the value of attribute on_hold.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#outputs ⇒ Object
Returns the value of attribute outputs.
-
#outsourced_work_cost ⇒ Object
Returns the value of attribute outsourced_work_cost.
-
#outsourced_work_cost_cache ⇒ Object
Returns the value of attribute outsourced_work_cost_cache.
-
#picked_at ⇒ Object
Returns the value of attribute picked_at.
-
#picker ⇒ Object
Returns the value of attribute picker.
-
#picking_status ⇒ Object
Returns the value of attribute picking_status.
-
#planned_date ⇒ Object
Returns the value of attribute planned_date.
-
#planned_start_date ⇒ Object
Returns the value of attribute planned_start_date.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#private_notes ⇒ Object
Returns the value of attribute private_notes.
-
#product ⇒ Object
Returns the value of attribute product.
-
#product_code ⇒ Object
Returns the value of attribute product_code.
-
#production_batch ⇒ Object
Returns the value of attribute production_batch.
-
#public_notes ⇒ Object
Returns the value of attribute public_notes.
-
#purchase_lines ⇒ Object
Returns the value of attribute purchase_lines.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#quantity_done ⇒ Object
Returns the value of attribute quantity_done.
-
#quantity_remaining ⇒ Object
Returns the value of attribute quantity_remaining.
-
#rec_blurb ⇒ Object
Returns the value of attribute rec_blurb.
-
#rec_name ⇒ Object
Returns the value of attribute rec_name.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#reporting_date ⇒ Object
Returns the value of attribute reporting_date.
-
#routing ⇒ Object
Returns the value of attribute routing.
-
#sales_order_number ⇒ Object
Returns the value of attribute sales_order_number.
-
#sales_order_reference ⇒ Object
Returns the value of attribute sales_order_reference.
-
#shipments ⇒ Object
Returns the value of attribute shipments.
-
#state ⇒ Object
Returns the value of attribute state.
-
#subtitle ⇒ Object
Returns the value of attribute subtitle.
-
#supervisor ⇒ Object
Returns the value of attribute supervisor.
-
#thumbnail ⇒ Object
Returns the value of attribute thumbnail.
-
#title ⇒ Object
Returns the value of attribute title.
-
#to_location ⇒ Object
Returns the value of attribute to_location.
-
#tsv ⇒ Object
Returns the value of attribute tsv.
-
#unit_digits ⇒ Object
Returns the value of attribute unit_digits.
-
#uom ⇒ Object
Returns the value of attribute uom.
-
#uom_category ⇒ Object
Returns the value of attribute uom_category.
-
#warehouse ⇒ Object
Returns the value of attribute warehouse.
-
#work_center ⇒ Object
Returns the value of attribute work_center.
-
#works ⇒ Object
Returns the value of attribute works.
-
#write_date ⇒ Object
Returns the value of attribute write_date.
-
#write_uid ⇒ Object
Returns the value of attribute write_uid.
Attributes inherited from Resource
Method Summary
Methods inherited from Resource
adapter, adapter_klass, adapter_path, adapter_type, #assign_attributes, #initialize, #method_missing, resource_name, respond_to_missing?
Methods included from Resources::Persistence
#destroy, included, #persisted?, #update
Methods included from Resources::Validations
#errors, #valid?, #validate_with
Constructor Details
This class inherits a constructor from ErpIntegration::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ErpIntegration::Resource
Instance Attribute Details
#allow_partial_done ⇒ Object
Returns the value of attribute allow_partial_done.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def allow_partial_done @allow_partial_done end |
#attachments ⇒ Object
Returns the value of attribute attachments.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def @attachments end |
#bom ⇒ Object
Returns the value of attribute bom.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def bom @bom end |
#byproduct_cost ⇒ Object
Returns the value of attribute byproduct_cost.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def byproduct_cost @byproduct_cost end |
#company ⇒ Object
Returns the value of attribute company.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def company @company end |
#company_currency_digits ⇒ Object
Returns the value of attribute company_currency_digits.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def company_currency_digits @company_currency_digits end |
#cost ⇒ Object
Returns the value of attribute cost.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def cost @cost end |
#create_date ⇒ Object
Returns the value of attribute create_date.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def create_date @create_date end |
#create_uid ⇒ Object
Returns the value of attribute create_uid.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def create_uid @create_uid end |
#description ⇒ Object
Returns the value of attribute description.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def description @description end |
#effective_date ⇒ Object
Returns the value of attribute effective_date.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def effective_date @effective_date end |
#effective_start_date ⇒ Object
Returns the value of attribute effective_start_date.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def effective_start_date @effective_start_date end |
#from_location ⇒ Object
Returns the value of attribute from_location.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def from_location @from_location end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def id @id end |
#inputs ⇒ Object
Returns the value of attribute inputs.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def inputs @inputs end |
#inventory_cost ⇒ Object
Returns the value of attribute inventory_cost.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def inventory_cost @inventory_cost end |
#inventory_cost_cache ⇒ Object
Returns the value of attribute inventory_cost_cache.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def inventory_cost_cache @inventory_cost_cache end |
#labor_cost ⇒ Object
Returns the value of attribute labor_cost.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def labor_cost @labor_cost end |
#labor_cost_cache ⇒ Object
Returns the value of attribute labor_cost_cache.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def labor_cost_cache @labor_cost_cache end |
#last_modification ⇒ Object
Returns the value of attribute last_modification.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def last_modification @last_modification end |
#location ⇒ Object
Returns the value of attribute location.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def location @location end |
#messages ⇒ Object
Returns the value of attribute messages.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def @messages end |
#metadata ⇒ Object
Returns the value of attribute metadata.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def @metadata end |
#number ⇒ Object
Returns the value of attribute number.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def number @number end |
#on_hold ⇒ Object
Returns the value of attribute on_hold.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def on_hold @on_hold end |
#origin ⇒ Object
Returns the value of attribute origin.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def origin @origin end |
#outputs ⇒ Object
Returns the value of attribute outputs.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def outputs @outputs end |
#outsourced_work_cost ⇒ Object
Returns the value of attribute outsourced_work_cost.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def outsourced_work_cost @outsourced_work_cost end |
#outsourced_work_cost_cache ⇒ Object
Returns the value of attribute outsourced_work_cost_cache.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def outsourced_work_cost_cache @outsourced_work_cost_cache end |
#picked_at ⇒ Object
Returns the value of attribute picked_at.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def picked_at @picked_at end |
#picker ⇒ Object
Returns the value of attribute picker.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def picker @picker end |
#picking_status ⇒ Object
Returns the value of attribute picking_status.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def picking_status @picking_status end |
#planned_date ⇒ Object
Returns the value of attribute planned_date.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def planned_date @planned_date end |
#planned_start_date ⇒ Object
Returns the value of attribute planned_start_date.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def planned_start_date @planned_start_date end |
#priority ⇒ Object
Returns the value of attribute priority.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def priority @priority end |
#private_notes ⇒ Object
Returns the value of attribute private_notes.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def private_notes @private_notes end |
#product ⇒ Object
Returns the value of attribute product.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def product @product end |
#product_code ⇒ Object
Returns the value of attribute product_code.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def product_code @product_code end |
#production_batch ⇒ Object
Returns the value of attribute production_batch.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def production_batch @production_batch end |
#public_notes ⇒ Object
Returns the value of attribute public_notes.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def public_notes @public_notes end |
#purchase_lines ⇒ Object
Returns the value of attribute purchase_lines.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def purchase_lines @purchase_lines end |
#quantity ⇒ Object
Returns the value of attribute quantity.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def quantity @quantity end |
#quantity_done ⇒ Object
Returns the value of attribute quantity_done.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def quantity_done @quantity_done end |
#quantity_remaining ⇒ Object
Returns the value of attribute quantity_remaining.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def quantity_remaining @quantity_remaining end |
#rec_blurb ⇒ Object
Returns the value of attribute rec_blurb.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def rec_blurb @rec_blurb end |
#rec_name ⇒ Object
Returns the value of attribute rec_name.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def rec_name @rec_name end |
#reference ⇒ Object
Returns the value of attribute reference.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def reference @reference end |
#reporting_date ⇒ Object
Returns the value of attribute reporting_date.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def reporting_date @reporting_date end |
#routing ⇒ Object
Returns the value of attribute routing.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def routing @routing end |
#sales_order_number ⇒ Object
Returns the value of attribute sales_order_number.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def sales_order_number @sales_order_number end |
#sales_order_reference ⇒ Object
Returns the value of attribute sales_order_reference.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def sales_order_reference @sales_order_reference end |
#shipments ⇒ Object
Returns the value of attribute shipments.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def shipments @shipments end |
#state ⇒ Object
Returns the value of attribute state.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def state @state end |
#subtitle ⇒ Object
Returns the value of attribute subtitle.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def subtitle @subtitle end |
#supervisor ⇒ Object
Returns the value of attribute supervisor.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def supervisor @supervisor end |
#thumbnail ⇒ Object
Returns the value of attribute thumbnail.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def thumbnail @thumbnail end |
#title ⇒ Object
Returns the value of attribute title.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def title @title end |
#to_location ⇒ Object
Returns the value of attribute to_location.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def to_location @to_location end |
#tsv ⇒ Object
Returns the value of attribute tsv.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def tsv @tsv end |
#unit_digits ⇒ Object
Returns the value of attribute unit_digits.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def unit_digits @unit_digits end |
#uom ⇒ Object
Returns the value of attribute uom.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def uom @uom end |
#uom_category ⇒ Object
Returns the value of attribute uom_category.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def uom_category @uom_category end |
#warehouse ⇒ Object
Returns the value of attribute warehouse.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def warehouse @warehouse end |
#work_center ⇒ Object
Returns the value of attribute work_center.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def work_center @work_center end |
#works ⇒ Object
Returns the value of attribute works.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def works @works end |
#write_date ⇒ Object
Returns the value of attribute write_date.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def write_date @write_date end |
#write_uid ⇒ Object
Returns the value of attribute write_uid.
7 8 9 |
# File 'lib/erp_integration/production_order.rb', line 7 def write_uid @write_uid end |