{
	"table_name_local": "order",
	"table_number": 21,
	"name": "table/external/4d/manager/order/sales_order.json",
	"table_name": "sales_order",
	"field": [
		{
			"field_number": 79,
			"type": "integer",
			"name": "add_packing_cost"
		},
		{
			"field_number": 78,
			"type": "integer",
			"name": "add_packing_material"
		},
		{
			"field_number": 75,
			"type": "text",
			"name": "additional_data"
		},
		{
			"field_number": 63,
			"name": "change_id",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 45
		},
		{
			"field_number": 45,
			"type": "boolean",
			"name": "collection_invoice"
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 2,
			"name": "company_id",
			"nullable": true,
			"foreign_key": {
				"table": "company",
				"field": "company_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 51,
			"type": "date",
			"name": "confirmation_date"
		},
		{
			"field_number": 59,
			"name": "cost_center",
			"type": "varchar",
			"length": 80
		},
		{
			"field_number": 32,
			"type": "double",
			"name": "cost_price"
		},
		{
			"field_number": 20,
			"name": "country_of_destination",
			"type": "varchar",
			"length": 50
		},
		{
			"field_number": 19,
			"name": "country_of_origin",
			"type": "varchar",
			"length": 50
		},
		{
			"field_number": 66,
			"name": "covenant",
			"type": "varchar",
			"length": 80
		},
		{
			"field_number": 64,
			"name": "creator_id",
			"type": "varchar",
			"length": 20
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 16,
			"name": "currency_id",
			"nullable": true,
			"foreign_key": {
				"table": "currency",
				"field": "currency_id"
			},
			"type": "varchar",
			"length": 6
		},
		{
			"field_number": 58,
			"name": "customer_order_number",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 80
		},
		{
			"field_number": 39,
			"name": "customer_project",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 57,
			"type": "text",
			"name": "dealer_address"
		},
		{
			"field_number": 56,
			"name": "dealer_company_id",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 11,
			"type": "text",
			"name": "delivery_address"
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 10,
			"name": "delivery_company_id",
			"nullable": true,
			"foreign_key": {
				"table": "company",
				"field": "company_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 28,
			"type": "text",
			"name": "description_of_the_goods"
		},
		{
			"field_number": 23,
			"name": "destination",
			"type": "varchar",
			"length": 50
		},
		{
			"field_number": 22,
			"name": "discharge_place",
			"type": "varchar",
			"length": 50
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 18,
			"name": "employee_id",
			"nullable": true,
			"foreign_key": {
				"table": "employee",
				"field": "employee_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 40,
			"name": "eur_number",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 49,
			"type": "double",
			"name": "euro_rate"
		},
		{
			"field_number": 42,
			"type": "double",
			"name": "exchange_rate"
		},
		{
			"field_number": 44,
			"name": "firm_id",
			"constraint": [
				"index"
			],
			"type": "integer"
		},
		{
			"field_number": 38,
			"name": "first_delivery_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 52,
			"name": "freight_charges_payer",
			"type": "varchar",
			"length": 80
		},
		{
			"field_number": 24,
			"type": "double",
			"name": "gross_weight"
		},
		{
			"field_number": 4,
			"type": "text",
			"name": "info"
		},
		{
			"field_number": 12,
			"type": "text",
			"name": "invoicing_address"
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 17,
			"name": "invoicing_company_id",
			"nullable": true,
			"foreign_key": {
				"table": "company",
				"field": "company_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 30,
			"name": "mark",
			"type": "varchar",
			"length": 80
		},
		{
			"field_number": 70,
			"type": "double",
			"name": "material_cost"
		},
		{
			"field_number": 72,
			"type": "double",
			"name": "material_margin"
		},
		{
			"field_number": 71,
			"type": "double",
			"name": "material_margin_percentage"
		},
		{
			"field_number": 65,
			"name": "modifier_id",
			"type": "varchar",
			"length": 20
		},
		{
			"field_number": 25,
			"type": "double",
			"name": "net_weight"
		},
		{
			"field_number": 36,
			"type": "text",
			"name": "notes"
		},
		{
			"field_number": 62,
			"type": "integer",
			"name": "number_of_pallets"
		},
		{
			"field_number": 48,
			"name": "offer_number",
			"type": "varchar",
			"length": 10
		},
		{
			"field_number": 50,
			"type": "text",
			"name": "order_address"
		},
		{
			"field_number": 33,
			"name": "order_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 35,
			"type": "double",
			"name": "order_discount"
		},
		{
			"field_number": 34,
			"type": "double",
			"name": "order_discount_percentage"
		},
		{
			"field_number": 6,
			"name": "our_reference",
			"type": "varchar",
			"length": 35
		},
		{
			"field_number": 76,
			"type": "text",
			"name": "packing_info"
		},
		{
			"field_number": 73,
			"name": "packing_state",
			"constraint": [
				"index"
			],
			"type": "integer"
		},
		{
			"field_number": 27,
			"name": "place_of_departure",
			"type": "varchar",
			"length": 50
		},
		{
			"field_number": 77,
			"type": "date",
			"name": "postcalc_date"
		},
		{
			"field_number": 21,
			"name": "precarriage",
			"type": "varchar",
			"length": 20
		},
		{
			"field_number": 61,
			"name": "project_id",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 55,
			"name": "record_id",
			"constraint": [
				"unique"
			],
			"type": "varchar",
			"length": 45
		},
		{
			"field_number": 14,
			"type": "double",
			"name": "row_discount"
		},
		{
			"field_number": 13,
			"type": "double",
			"name": "row_discount_percentage"
		},
		{
			"field_number": 69,
			"type": "double",
			"name": "sales_margin"
		},
		{
			"field_number": 68,
			"type": "double",
			"name": "sales_margin_percentage"
		},
		{
			"field_number": 1,
			"name": "sales_order_id",
			"constraint": [
				"unique"
			],
			"type": "varchar",
			"length": 10
		},
		{
			"field_number": 15,
			"type": "double",
			"name": "sales_price_total"
		},
		{
			"field_number": 3,
			"type": "double",
			"name": "sales_price_wo_discount"
		},
		{
			"field_number": 74,
			"type": "double",
			"name": "sales_probability"
		},
		{
			"field_number": 43,
			"name": "state",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 2
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 41,
			"name": "supplier_id",
			"nullable": true,
			"foreign_key": {
				"table": "supplier",
				"field": "supplier_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 54,
			"type": "date",
			"name": "supplier_invoice_date"
		},
		{
			"field_number": 53,
			"name": "supplier_invoice_number",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 29,
			"name": "tariff_heading",
			"type": "varchar",
			"length": 80
		},
		{
			"field_number": 31,
			"name": "term_of_delivery",
			"type": "varchar",
			"length": 30
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 9,
			"name": "terms_of_payment_id",
			"nullable": true,
			"foreign_key": {
				"table": "terms_of_payment",
				"field": "terms_of_payment_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 60,
			"name": "transfer_id",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 60
		},
		{
			"field_number": 67,
			"type": "integer",
			"name": "transfer_state"
		},
		{
			"field_number": 8,
			"name": "type_",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 2
		},
		{
			"field_number": 37,
			"type": "double",
			"name": "vat_total"
		},
		{
			"field_number": 26,
			"type": "double",
			"name": "volume"
		},
		{
			"field_number": 5,
			"name": "way_of_delivery",
			"type": "varchar",
			"length": 30
		},
		{
			"field_number": 7,
			"name": "your_reference",
			"type": "varchar",
			"length": 35
		},
		{
			"field_number": 46,
			"name": "your_reference_of_delivery",
			"type": "varchar",
			"length": 35
		},
		{
			"field_number": 47,
			"name": "your_reference_of_invoice",
			"type": "varchar",
			"length": 35
		}
	],
	"table_prefix": "so",
	"record_type_local": "sales"
}