Sha256: c5c2ac25fd1a6e896ec3395cd9d0ec47bfc4bc72449bc936979d15c593734eb9

Contents?: true

Size: 1.1 KB

Versions: 4

Compression:

Stored size: 1.1 KB

Contents

module NetSuite
  module Records
    class AssemblyBuild
      include Support::Fields
      include Support::RecordRefs
      include Support::Actions
      include Support::Records
      include Namespaces::TranInvt

      actions :get, :add, :initialize, :delete, :update, :upsert, :upsert_list,
        :search

      fields :bin_numbers, :buildable, :created_date, :expiration_date,
        :last_modified_date, :memo, :quantity, :serial_numbers, :total,
        :tran_date, :tran_id

      record_refs :klass, :created_from, :item, :custom_form,
        :department, :job, :location, :posting_period, :revision,
        :subsidiary, :units

      field :component_list,        AssemblyComponentList
      field :inventory_detail,      InventoryDetail


      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

4 entries across 4 versions & 1 rubygems

Version Path
netsuite-0.8.3 lib/netsuite/records/assembly_build.rb
netsuite-0.8.2 lib/netsuite/records/assembly_build.rb
netsuite-0.8.1 lib/netsuite/records/assembly_build.rb
netsuite-0.8.0 lib/netsuite/records/assembly_build.rb