Sha256: 83fe52b44d21dba28330a3ac21d245e2583319a1a2228a7b3ef1f6b1d0543352

Contents?: true

Size: 1.1 KB

Versions: 8

Compression:

Stored size: 1.1 KB

Contents

module NetSuite
  module Records
    class InboundShipment
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::TranPurch

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

      fields :shipment_number, :external_document_number, :shipment_status, :expected_shipping_date,
            :actual_shipping_date, :expected_delivery_date, :actual_delivery_date, :shipment_memo,
            :vessel_number, :bill_of_lading

      field :items_list,           InboundShipmentItemList
      field :custom_field_list,   CustomFieldList

      record_refs :custom_form

      attr_reader :internal_id
      attr_accessor :external_id
      attr_accessor :search_joins

      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

8 entries across 8 versions & 1 rubygems

Version Path
netsuite-0.8.10 lib/netsuite/records/inbound_shipment.rb
netsuite-0.8.9 lib/netsuite/records/inbound_shipment.rb
netsuite-0.8.8 lib/netsuite/records/inbound_shipment.rb
netsuite-0.8.7 lib/netsuite/records/inbound_shipment.rb
netsuite-0.8.6 lib/netsuite/records/inbound_shipment.rb
netsuite-0.8.5 lib/netsuite/records/inbound_shipment.rb
netsuite-0.8.4 lib/netsuite/records/inbound_shipment.rb
netsuite-0.8.3 lib/netsuite/records/inbound_shipment.rb