Class: ErpIntegration::StockBinTransfer

Inherits:
Resource
  • Object
show all
Defined in:
lib/erp_integration/stock_bin_transfer.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#raw_api_response

Instance Method Summary collapse

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

#attachmentsObject

Returns the value of attribute attachments.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def attachments
  @attachments
end

#companyObject

Returns the value of attribute company.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def company
  @company
end

#create_dateObject

Returns the value of attribute create_date.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def create_date
  @create_date
end

#create_uidObject

Returns the value of attribute create_uid.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def create_uid
  @create_uid
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def description
  @description
end

#effective_dateObject

Returns the value of attribute effective_date.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def effective_date
  @effective_date
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def id
  @id
end

#messagesObject

Returns the value of attribute messages.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def messages
  @messages
end

#metadataObject

Returns the value of attribute metadata.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def 
  @metadata
end

#metafieldsObject

Returns the value of attribute metafields.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def metafields
  @metafields
end

#movesObject

Returns the value of attribute moves.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def moves
  @moves
end

#numberObject

Returns the value of attribute number.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def number
  @number
end

#originObject

Returns the value of attribute origin.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def origin
  @origin
end

#pickerObject

Returns the value of attribute picker.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def picker
  @picker
end

#picking_statusObject

Returns the value of attribute picking_status.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def picking_status
  @picking_status
end

#planned_dateObject

Returns the value of attribute planned_date.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def planned_date
  @planned_date
end

#priorityObject

Returns the value of attribute priority.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def priority
  @priority
end

#private_notesObject

Returns the value of attribute private_notes.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def private_notes
  @private_notes
end

#public_notesObject

Returns the value of attribute public_notes.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def public_notes
  @public_notes
end

#quantity_totalObject

Returns the value of attribute quantity_total.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def quantity_total
  @quantity_total
end

#rec_blurbObject

Returns the value of attribute rec_blurb.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def rec_blurb
  @rec_blurb
end

#rec_nameObject

Returns the value of attribute rec_name.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def rec_name
  @rec_name
end

#referenceObject

Returns the value of attribute reference.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def reference
  @reference
end

#stateObject

Returns the value of attribute state.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def state
  @state
end

#storage_zoneObject

Returns the value of attribute storage_zone.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def storage_zone
  @storage_zone
end

#warehouseObject

Returns the value of attribute warehouse.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def warehouse
  @warehouse
end

#write_dateObject

Returns the value of attribute write_date.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def write_date
  @write_date
end

#write_uidObject

Returns the value of attribute write_uid.



5
6
7
# File 'lib/erp_integration/stock_bin_transfer.rb', line 5

def write_uid
  @write_uid
end

Instance Method Details

#assign_forceObject



12
13
14
# File 'lib/erp_integration/stock_bin_transfer.rb', line 12

def assign_force
  self.class.adapter.assign_force(id)
end

#doneObject



16
17
18
# File 'lib/erp_integration/stock_bin_transfer.rb', line 16

def done
  self.class.adapter.done(id)
end