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