Class: ErpIntegration::ProductionOrder

Inherits:
Resource
  • Object
show all
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

Attributes inherited from Resource

#raw_api_response

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_doneObject

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

#attachmentsObject

Returns the value of attribute attachments.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def attachments
  @attachments
end

#bomObject

Returns the value of attribute bom.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def bom
  @bom
end

#byproduct_costObject

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

#companyObject

Returns the value of attribute company.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def company
  @company
end

#company_currency_digitsObject

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

#costObject

Returns the value of attribute cost.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def cost
  @cost
end

#create_dateObject

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_uidObject

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

#descriptionObject

Returns the value of attribute description.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def description
  @description
end

#effective_dateObject

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_dateObject

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_locationObject

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

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def id
  @id
end

#inputsObject

Returns the value of attribute inputs.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def inputs
  @inputs
end

#inventory_costObject

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_cacheObject

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_costObject

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_cacheObject

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_modificationObject

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

#locationObject

Returns the value of attribute location.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def location
  @location
end

#messagesObject

Returns the value of attribute messages.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def messages
  @messages
end

#metadataObject

Returns the value of attribute metadata.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def 
  @metadata
end

#numberObject

Returns the value of attribute number.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def number
  @number
end

#on_holdObject

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

#originObject

Returns the value of attribute origin.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def origin
  @origin
end

#outputsObject

Returns the value of attribute outputs.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def outputs
  @outputs
end

#outsourced_work_costObject

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_cacheObject

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_atObject

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

#pickerObject

Returns the value of attribute picker.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def picker
  @picker
end

#picking_statusObject

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_dateObject

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_dateObject

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

#priorityObject

Returns the value of attribute priority.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def priority
  @priority
end

#private_notesObject

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

#productObject

Returns the value of attribute product.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def product
  @product
end

#product_codeObject

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_batchObject

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_notesObject

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_linesObject

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

#quantityObject

Returns the value of attribute quantity.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def quantity
  @quantity
end

#quantity_doneObject

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_remainingObject

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_blurbObject

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_nameObject

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

#referenceObject

Returns the value of attribute reference.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def reference
  @reference
end

#reporting_dateObject

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

#routingObject

Returns the value of attribute routing.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def routing
  @routing
end

#sales_order_numberObject

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_referenceObject

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

#shipmentsObject

Returns the value of attribute shipments.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def shipments
  @shipments
end

#stateObject

Returns the value of attribute state.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def state
  @state
end

#subtitleObject

Returns the value of attribute subtitle.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def subtitle
  @subtitle
end

#supervisorObject

Returns the value of attribute supervisor.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def supervisor
  @supervisor
end

#thumbnailObject

Returns the value of attribute thumbnail.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def thumbnail
  @thumbnail
end

#titleObject

Returns the value of attribute title.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def title
  @title
end

#to_locationObject

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

#tsvObject

Returns the value of attribute tsv.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def tsv
  @tsv
end

#unit_digitsObject

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

#uomObject

Returns the value of attribute uom.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def uom
  @uom
end

#uom_categoryObject

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

#warehouseObject

Returns the value of attribute warehouse.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def warehouse
  @warehouse
end

#work_centerObject

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

#worksObject

Returns the value of attribute works.



7
8
9
# File 'lib/erp_integration/production_order.rb', line 7

def works
  @works
end

#write_dateObject

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_uidObject

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