Sha256: c5d2a3719addb9bac1eabe2e9013b11c43b7e43585b64da55c8b0746e0d822b8

Contents?: true

Size: 1.06 KB

Versions: 6

Compression:

Stored size: 1.06 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

      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

6 entries across 6 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/inbound_shipment.rb
netsuite-0.9.2 lib/netsuite/records/inbound_shipment.rb
netsuite-0.9.1 lib/netsuite/records/inbound_shipment.rb
netsuite-0.9.0 lib/netsuite/records/inbound_shipment.rb
netsuite-0.8.12 lib/netsuite/records/inbound_shipment.rb
netsuite-0.8.11 lib/netsuite/records/inbound_shipment.rb