{
	"name": "table/external/4d/manager/order/sales_order_row.json",
	"table_name": "sales_order_row",
	"table_prefix": "sor",
	"table_number": 23,
	"table_name_local": "order_row",
	"record_type_local": "sales",
	"field": [
	{
		"type": "varchar",
		"length": 0,
		"field_number": 92,
		"name": "additional_data"
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 65,
		"name": "amount_to_collect"
	},
	{
		"type": "double",
		"field_number": 22,
		"name": "calc_sales_price_total"
	},
	{
		"type": "varchar",
		"length": 90,
		"field_number": 83,
		"name": "change_id"
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 66,
		"name": "collected_amount"
	},
	{
		"type": "double",
		"field_number": 48,
		"name": "commission"
	},
	{
		"type": "double",
		"field_number": 44,
		"name": "commission__unit"
	},
	{
		"type": "double",
		"field_number": 46,
		"name": "commission_percent"
	},
	{
		"type": "date",
		"field_number": 35,
		"name": "confirmed_delivery_date"
	},
	{
		"type": "varchar",
		"length": 160,
		"field_number": 71,
		"name": "cost_center"
	},
	{
		"type": "double",
		"field_number": 8,
		"name": "cost_price_total"
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 84,
		"name": "creator_id"
	},
	{
		"type": "date",
		"field_number": 75,
		"name": "critical_start_date"
	},
	{
		"type": "double",
		"field_number": 80,
		"name": "critical_start_difference"
	},
	{
		"type": "time without time zone",
		"field_number": 76,
		"name": "critical_start_time"
	},
	{
		"type": "varchar",
		"length": 80,
		"field_number": 77,
		"name": "customer_project"
	},
	{
		"type": "varchar",
		"length": 20,
		"field_number": 19,
		"name": "customer_row_number"
	},
	{
		"type": "double",
		"field_number": 26,
		"name": "delivered_before"
	},
	{
		"type": "date",
		"field_number": 6,
		"name": "delivered_date"
	},
	{
		"type": "double",
		"field_number": 10,
		"name": "delivered_quantity"
	},
	{
		"type": "date",
		"field_number": 36,
		"name": "delivery_date"
	},
	{
		"type": "varchar",
		"length": 4,
		"field_number": 21,
		"name": "delivery_state"
	},
	{
		"type": "varchar",
		"length": 100,
		"field_number": 51,
		"name": "delivery_time"
	},
	{
		"type": "double",
		"field_number": 5,
		"name": "discount_amount"
	},
	{
		"type": "double",
		"field_number": 4,
		"name": "discount_percentage"
	},
	{
		"field_number": 12,
		"nullable": true,
		"type": "varchar",
		"length": 20,
		"name": "dispatch_note_id",
		"foreign_key": {
			"field": "dispatch_note_id",
			"table": "dispatch_note"
		}
	},
	{
		"type": "double",
		"field_number": 81,
		"name": "est_finish_difference"
	},
	{
		"type": "date",
		"field_number": 73,
		"name": "est_manufacture_date"
	},
	{
		"type": "time without time zone",
		"field_number": 74,
		"name": "est_manufacture_time"
	},
	{
		"type": "varchar",
		"length": 0,
		"field_number": 24,
		"name": "explanation"
	},
	{
		"type": "integer",
		"field_number": 69,
		"name": "firm_id"
	},
	{
		"type": "date",
		"field_number": 55,
		"name": "first_conf_delivery_date"
	},
	{
		"type": "boolean",
		"field_number": 29,
		"name": "in_dispatch_note"
	},
	{
		"type": "boolean",
		"field_number": 52,
		"name": "in_enclosure"
	},
	{
		"type": "varchar",
		"length": 0,
		"field_number": 20,
		"name": "info"
	},
	{
		"type": "varchar",
		"length": 20,
		"field_number": 14,
		"name": "invoice_id"
	},
	{
		"type": "boolean",
		"field_number": 34,
		"name": "make_invoice"
	},
	{
		"type": "double",
		"field_number": 49,
		"name": "marketing_support"
	},
	{
		"type": "double",
		"field_number": 45,
		"name": "marketing_support__unit"
	},
	{
		"type": "double",
		"field_number": 47,
		"name": "marketing_support_percent"
	},
	{
		"type": "date",
		"field_number": 50,
		"name": "material_act_arrival_date"
	},
	{
		"type": "double",
		"field_number": 89,
		"name": "material_cost"
	},
	{
		"type": "date",
		"field_number": 43,
		"name": "material_est_arrival_date"
	},
	{
		"type": "double",
		"field_number": 91,
		"name": "material_margin"
	},
	{
		"type": "double",
		"field_number": 90,
		"name": "material_margin_percentage"
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 85,
		"name": "modifier_id"
	},
	{
		"type": "integer",
		"field_number": 82,
		"name": "need_calculation_type"
	},
	{
		"type": "boolean",
		"field_number": 32,
		"name": "no_printing"
	},
	{
		"type": "double",
		"field_number": 30,
		"name": "number_of_packets"
	},
	{
		"type": "double",
		"field_number": 60,
		"name": "order_amount_2"
	},
	{
		"type": "varchar",
		"length": 4,
		"field_number": 39,
		"name": "order_state"
	},
	{
		"type": "double",
		"field_number": 7,
		"name": "ordered_amount"
	},
	{
		"type": "double",
		"field_number": 53,
		"name": "packet__length"
	},
	{
		"type": "varchar",
		"length": 100,
		"field_number": 38,
		"name": "pallet_number"
	},
	{
		"type": "varchar",
		"length": 60,
		"field_number": 33,
		"name": "parcel_code"
	},
	{
		"type": "smallint",
		"field_number": 16,
		"name": "partial_delivery_number"
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 41,
		"name": "position_"
	},
	{
		"type": "date",
		"field_number": 94,
		"name": "postcalc_date"
	},
	{
		"type": "double",
		"field_number": 9,
		"name": "price__unit"
	},
	{
		"type": "double",
		"field_number": 62,
		"name": "price__unit_2"
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 67,
		"name": "price_group"
	},
	{
		"type": "double",
		"field_number": 64,
		"name": "price_with_vat__unit"
	},
	{
		"type": "integer",
		"field_number": 93,
		"name": "pricing_state"
	},
	{
		"field_number": 2,
		"nullable": true,
		"type": "varchar",
		"length": 88,
		"name": "product_id",
		"foreign_key": {
			"field": "product_id",
			"table": "product"
		}
	},
	{
		"field_number": 42,
		"nullable": true,
		"type": "varchar",
		"length": 70,
		"name": "production_lot",
		"foreign_key": {
			"field": "production_lot",
			"table": "work_order"
		}
	},
	{
		"type": "varchar",
		"length": 4,
		"field_number": 56,
		"name": "production_state"
	},
	{
		"type": "varchar",
		"length": 80,
		"field_number": 78,
		"name": "project_id"
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 70,
		"name": "purchase_order__row"
	},
	{
		"field_number": 68,
		"type": "varchar",
		"length": 90,
		"name": "record_id",
		"constraint": [
			"unique"
		]
	},
	{
		"type": "boolean",
		"field_number": 31,
		"name": "remove_from_stock"
	},
	{
		"type": "smallint",
		"field_number": 15,
		"name": "row_number"
	},
	{
		"type": "double",
		"field_number": 88,
		"name": "sales_margin"
	},
	{
		"type": "double",
		"field_number": 87,
		"name": "sales_margin_percentage"
	},
	{
		"field_number": 3,
		"nullable": true,
		"type": "varchar",
		"length": 12,
		"name": "sales_order_code_id",
		"foreign_key": {
			"field": "sales_order_code_id",
			"table": "sales_order_code"
		}
	},
	{
		"field_number": 1,
		"nullable": true,
		"type": "varchar",
		"length": 20,
		"name": "sales_order_id",
		"foreign_key": {
			"field": "sales_order_id",
			"table": "sales_order"
		}
	},
	{
		"type": "double",
		"field_number": 17,
		"name": "sales_price_total"
	},
	{
		"type": "double",
		"field_number": 95,
		"name": "sales_probability"
	},
	{
		"type": "varchar",
		"length": 50,
		"field_number": 28,
		"name": "serial_number"
	},
	{
		"type": "varchar",
		"length": 20,
		"field_number": 13,
		"name": "stock_event"
	},
	{
		"type": "varchar",
		"length": 30,
		"field_number": 37,
		"name": "tariff_heading"
	},
	{
		"type": "varchar",
		"length": 120,
		"field_number": 72,
		"name": "transfer_id"
	},
	{
		"type": "integer",
		"field_number": 86,
		"name": "transfer_state"
	},
	{
		"type": "varchar",
		"length": 4,
		"field_number": 27,
		"name": "type_"
	},
	{
		"type": "varchar",
		"length": 10,
		"field_number": 18,
		"name": "unit"
	},
	{
		"type": "varchar",
		"length": 10,
		"field_number": 61,
		"name": "unit_2"
	},
	{
		"type": "double",
		"field_number": 63,
		"name": "unit_price__volume"
	},
	{
		"type": "double",
		"field_number": 54,
		"name": "units__packet"
	},
	{
		"type": "double",
		"field_number": 57,
		"name": "units__x_packet"
	},
	{
		"type": "double",
		"field_number": 58,
		"name": "units__y_packet"
	},
	{
		"type": "double",
		"field_number": 23,
		"name": "vat_percentage"
	},
	{
		"type": "double",
		"field_number": 25,
		"name": "vat_price"
	},
	{
		"type": "double",
		"field_number": 59,
		"name": "volume"
	},
	{
		"type": "double",
		"field_number": 11,
		"name": "waiting_for_delivery"
	},
	{
		"type": "varchar",
		"length": 40,
		"field_number": 79,
		"name": "waybill_id"
	},
	{
		"type": "smallint",
		"field_number": 40,
		"name": "work_phase_number"
	}
]
}
