Sha256: 26471a2e091fd6e135eec34b2cae29b4380b1e1dfef1c71a78b12d446724d512

Contents?: true

Size: 750 Bytes

Versions: 57

Compression:

Stored size: 750 Bytes

Contents

module NetSuite
  module Records
    class InventoryAssignment
      include Support::Records
      include Support::RecordRefs
      include Support::Fields
      include Namespaces::PlatformCommon

      fields :date_time, :quantity, :quantity_available, :expiration_date, 
        :receipt_inventory_number

      record_refs :bin_number, :issue_inventory_number, :to_bin_number

      attr_reader   :internal_id
      attr_accessor :external_id

      def initialize(attributes = {})
        @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
        @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
        initialize_from_attributes_hash(attributes)
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/inventory_assignment.rb
netsuite-0.9.2 lib/netsuite/records/inventory_assignment.rb
netsuite-0.9.1 lib/netsuite/records/inventory_assignment.rb
netsuite-0.9.0 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.12 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.11 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.10 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.9 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.8 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.7 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.6 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.5 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.4 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.3 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.2 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.1 lib/netsuite/records/inventory_assignment.rb
netsuite-0.8.0 lib/netsuite/records/inventory_assignment.rb
netsuite-0.7.9 lib/netsuite/records/inventory_assignment.rb
netsuite-0.7.8 lib/netsuite/records/inventory_assignment.rb
netsuite-0.7.7 lib/netsuite/records/inventory_assignment.rb