Class: Collmex::Api::SalesOrderGet

Inherits:
Line
  • Object
show all
Defined in:
lib/collmex/api.rb

Class Method Summary collapse

Methods inherited from Line

default_hash, hashify, #initialize, #to_a, #to_csv, #to_h, #to_stringified_array

Constructor Details

This class inherits a constructor from Collmex::Api::Line

Class Method Details

.specificationObject



457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
# File 'lib/collmex/api.rb', line 457

def self.specification
  [
    {name: :identifyer,             type: :string, fix: "SALES_ORDER_GET"},
    {name: :order_id,               type: :string},
    {name: :company_id,             type: :integer},
    {name: :customer_id,            type: :integer},
    {name: :date_from,              type: :date},
    {name: :date_to,                type: :date},
    {name: :order_id_for_customer,  type: :string},
    {name: :format,                 type: :string}, # 1 means ZIP file with PDF
    {name: :changed_only,           type: :integer},
    {name: :system_name,            type: :string},
    {name: :created_by_system_only, type: :integer}, # 1 means take only records created by the "system_name"
    {name: :without_stationary,     type: :integer}
  ]
end