so_sales_order.rb 219 B

123456
  1. class SoSalesOrder < InflowServer
  2. self.table_name = 'So_SalesOrder'
  3. self.primary_key = 'SalesOrderId'
  4. has_many :lines, class_name: "SoSalesOrderLine", foreign_key: "SalesOrderId", primary_key: "SalesOrderId"
  5. end