{
	"table_name_local": "order_row",
	"table_number": 20,
	"name": "table/external/4d/manager/order/purchase_order_row.json",
	"table_name": "purchase_order_row",
	"field": [
		{
			"field_number": 57,
			"type": "text",
			"name": "additional_data"
		},
		{
			"field_number": 13,
			"name": "change_id",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 45
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 26,
			"name": "company_id",
			"nullable": true,
			"foreign_key": {
				"table": "company",
				"field": "company_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 58,
			"type": "integer",
			"name": "confirmation_state"
		},
		{
			"field_number": 12,
			"name": "confirmed_arrival_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 45,
			"name": "cost_center",
			"type": "varchar",
			"length": 80
		},
		{
			"field_number": 54,
			"name": "creator_id",
			"type": "varchar",
			"length": 20
		},
		{
			"field_number": 52,
			"name": "customer_project",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 30,
			"name": "date_of_arrival",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 23,
			"type": "double",
			"name": "delivered_amount"
		},
		{
			"field_number": 8,
			"name": "delivery_state",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 2
		},
		{
			"field_number": 59,
			"type": "integer",
			"name": "delivery_to_customer"
		},
		{
			"field_number": 31,
			"type": "double",
			"name": "dimension"
		},
		{
			"field_number": 35,
			"type": "double",
			"name": "discount_amount"
		},
		{
			"field_number": 34,
			"type": "double",
			"name": "discount_percentage"
		},
		{
			"field_number": 19,
			"type": "text",
			"name": "explanation"
		},
		{
			"field_number": 43,
			"name": "firm_id",
			"constraint": [
				"index"
			],
			"type": "integer"
		},
		{
			"field_number": 38,
			"type": "date",
			"name": "first_confirm_deliv_date"
		},
		{
			"field_number": 25,
			"name": "in_accounts_payable",
			"constraint": [
				"index"
			],
			"type": "boolean"
		},
		{
			"field_number": 15,
			"type": "text",
			"name": "info"
		},
		{
			"field_number": 48,
			"type": "double",
			"name": "lme_price"
		},
		{
			"field_number": 49,
			"type": "integer",
			"name": "material_stock_state"
		},
		{
			"field_number": 55,
			"name": "modifier_id",
			"type": "varchar",
			"length": 20
		},
		{
			"field_number": 9,
			"type": "double",
			"name": "order_amount"
		},
		{
			"field_number": 44,
			"type": "double",
			"name": "order_amount_2"
		},
		{
			"field_number": 29,
			"name": "order_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 28,
			"name": "order_row",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 30
		},
		{
			"field_number": 27,
			"name": "order_state",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 2
		},
		{
			"field_number": 10,
			"name": "order_unit",
			"type": "varchar",
			"length": 5
		},
		{
			"field_number": 18,
			"name": "parcel_code",
			"type": "varchar",
			"length": 30
		},
		{
			"field_number": 37,
			"name": "parcel_type",
			"type": "varchar",
			"length": 30
		},
		{
			"field_number": 24,
			"type": "integer",
			"name": "partial_delivery_number"
		},
		{
			"field_number": 16,
			"type": "double",
			"name": "price__unit"
		},
		{
			"field_number": 46,
			"type": "integer",
			"name": "price_confirmation"
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 1,
			"name": "product_id",
			"nullable": true,
			"foreign_key": {
				"table": "product",
				"field": "product_id"
			},
			"type": "varchar",
			"length": 44
		},
		{
			"field_number": 6,
			"name": "production_lot",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 35
		},
		{
			"field_number": 53,
			"name": "project_id",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 47,
			"type": "double",
			"name": "purchase_costs"
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 20,
			"name": "purchase_order_code_id",
			"nullable": true,
			"foreign_key": {
				"table": "purchase_order_code",
				"field": "purchase_order_code_id"
			},
			"type": "varchar",
			"length": 6
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 17,
			"name": "purchase_order_id",
			"nullable": true,
			"foreign_key": {
				"table": "purchase_order",
				"field": "purchase_order_id"
			},
			"type": "varchar",
			"length": 10
		},
		{
			"field_number": 7,
			"type": "double",
			"name": "purchase_price_total"
		},
		{
			"field_number": 42,
			"name": "record_id",
			"constraint": [
				"unique"
			],
			"type": "varchar",
			"length": 45
		},
		{
			"field_number": 40,
			"type": "date",
			"name": "requested_delivery_date"
		},
		{
			"field_number": 11,
			"name": "row_number",
			"constraint": [
				"index"
			],
			"type": "integer"
		},
		{
			"field_number": 32,
			"name": "sales_order_id",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 10
		},
		{
			"field_number": 2,
			"name": "stock_event",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 10
		},
		{
			"field_number": 36,
			"type": "text",
			"name": "stock_position"
		},
		{
			"field_number": 39,
			"type": "date",
			"name": "subcontract_sent_date"
		},
		{
			"field_number": 41,
			"name": "supplier_material_code",
			"type": "varchar",
			"length": 50
		},
		{
			"field_number": 33,
			"name": "tariff_heading",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 15
		},
		{
			"field_number": 51,
			"name": "transfer_id",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 60
		},
		{
			"field_number": 56,
			"type": "integer",
			"name": "transfer_state"
		},
		{
			"field_number": 14,
			"name": "type_",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 2
		},
		{
			"field_number": 3,
			"type": "double",
			"name": "unit_total"
		},
		{
			"field_number": 21,
			"type": "double",
			"name": "vat_percentage"
		},
		{
			"field_number": 22,
			"type": "double",
			"name": "vat_price"
		},
		{
			"field_number": 5,
			"name": "work__position_number_id",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 30
		},
		{
			"field_number": 4,
			"name": "work_phase_number",
			"constraint": [
				"index"
			],
			"type": "integer"
		},
		{
			"field_number": 50,
			"type": "text",
			"name": "xml_value"
		}
	],
	"table_prefix": "por",
	"record_type_local": "purchase"
}