{
	"table_name": "purchase_order",
	"record_type_local": "purchase",
	"table_prefix": "po",
	"field": [
		{
			"length": 45,
			"field_number": 32,
			"constraint": [
				"index"
			],
			"name": "change_id",
			"type": "varchar"
		},
		{
			"length": 12,
			"foreign_key": {
				"field": "company_id",
				"table": "company"
			},
			"field_number": 19,
			"constraint": [
				"index"
			],
			"name": "company_id",
			"nullable": true,
			"type": "varchar"
		},
		{
			"length": 80,
			"field_number": 29,
			"name": "cost_center",
			"type": "varchar"
		},
		{
			"length": 20,
			"field_number": 33,
			"name": "creator_id",
			"type": "varchar"
		},
		{
			"length": 6,
			"foreign_key": {
				"field": "currency_id",
				"table": "currency"
			},
			"field_number": 16,
			"constraint": [
				"index"
			],
			"name": "currency_id",
			"nullable": true,
			"type": "varchar"
		},
		{
			"length": 40,
			"field_number": 28,
			"name": "customer_project",
			"type": "varchar"
		},
		{
			"name": "delivery_address",
			"type": "text",
			"field_number": 21
		},
		{
			"name": "delivery_to_customer",
			"field_number": 38,
			"type": "integer"
		},
		{
			"name": "exchange_rate",
			"field_number": 17,
			"type": "double"
		},
		{
			"field_number": 23,
			"constraint": [
				"index"
			],
			"name": "firm_id",
			"type": "integer"
		},
		{
			"field_number": 5,
			"constraint": [
				"index"
			],
			"name": "first_delivery_date",
			"type": "date"
		},
		{
			"name": "freight_charges",
			"field_number": 26,
			"type": "double"
		},
		{
			"name": "info",
			"type": "text",
			"field_number": 9
		},
		{
			"name": "invoice_address",
			"type": "text",
			"field_number": 20
		},
		{
			"name": "invoicing_state",
			"field_number": 37,
			"type": "integer"
		},
		{
			"length": 80,
			"field_number": 27,
			"name": "mark",
			"type": "varchar"
		},
		{
			"length": 20,
			"field_number": 34,
			"name": "modifier_id",
			"type": "varchar"
		},
		{
			"name": "order_address",
			"type": "text",
			"field_number": 10
		},
		{
			"field_number": 11,
			"constraint": [
				"index"
			],
			"name": "order_date",
			"type": "date"
		},
		{
			"name": "order_text",
			"type": "text",
			"field_number": 8
		},
		{
			"length": 12,
			"foreign_key": {
				"field": "employee_id",
				"table": "employee"
			},
			"field_number": 12,
			"constraint": [
				"index"
			],
			"name": "orderer_id",
			"nullable": true,
			"type": "varchar"
		},
		{
			"length": 35,
			"field_number": 14,
			"constraint": [
				"index"
			],
			"name": "our_reference",
			"type": "varchar"
		},
		{
			"length": 40,
			"field_number": 31,
			"name": "project_id",
			"type": "varchar"
		},
		{
			"length": 10,
			"field_number": 1,
			"constraint": [
				"unique"
			],
			"name": "purchase_order_id",
			"type": "varchar"
		},
		{
			"name": "purchase_price",
			"field_number": 18,
			"type": "double"
		},
		{
			"length": 12,
			"foreign_key": {
				"field": "supplier_id",
				"table": "supplier"
			},
			"field_number": 13,
			"constraint": [
				"index"
			],
			"name": "receiver_id",
			"nullable": true,
			"type": "varchar"
		},
		{
			"length": 45,
			"field_number": 24,
			"constraint": [
				"unique"
			],
			"name": "record_id",
			"type": "varchar"
		},
		{
			"name": "shipping_date",
			"field_number": 25,
			"type": "date"
		},
		{
			"length": 2,
			"field_number": 7,
			"constraint": [
				"index"
			],
			"name": "state",
			"type": "varchar"
		},
		{
			"length": 12,
			"foreign_key": {
				"field": "supplier_id",
				"table": "supplier"
			},
			"field_number": 2,
			"constraint": [
				"index"
			],
			"name": "supplier_id",
			"nullable": true,
			"type": "varchar"
		},
		{
			"length": 30,
			"field_number": 3,
			"name": "term_of_delivery",
			"type": "varchar"
		},
		{
			"length": 12,
			"foreign_key": {
				"field": "terms_of_payment_id",
				"table": "terms_of_payment"
			},
			"field_number": 6,
			"constraint": [
				"index"
			],
			"name": "terms_of_payment_id",
			"nullable": true,
			"type": "varchar"
		},
		{
			"length": 60,
			"field_number": 30,
			"constraint": [
				"index"
			],
			"name": "transfer_id",
			"type": "varchar"
		},
		{
			"name": "transfer_state",
			"field_number": 35,
			"type": "integer"
		},
		{
			"length": 2,
			"field_number": 22,
			"constraint": [
				"index"
			],
			"name": "type_",
			"type": "varchar"
		},
		{
			"length": 30,
			"field_number": 4,
			"name": "way_of_delivery",
			"type": "varchar"
		},
		{
			"length": 20,
			"field_number": 36,
			"constraint": [
				"index"
			],
			"name": "waybill_id",
			"type": "varchar"
		},
		{
			"length": 35,
			"field_number": 15,
			"name": "your_reference",
			"type": "varchar"
		}
	],
	"table_number": 29,
	"table_name_local": "order",
	"name": "table/external/4d/manager/order/purchase_order.json"
}