{
	"name": "table/external/4d/order/waybill_row.json",
	"table_name": "waybill_row",
	"table_prefix": "wblr",
	"main_table": "waybill",
	"record_type": ["waybill"],
	"local_table": "order_row",
	"local_record_type": "waybill",
	"table_number": 27,
	"field": [
		{
			"field_name": "record_id",
			"local_field": "record_id",
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 14,
			"length": 90,
			"constraint": ["unique"]
		},
		{
			"field_name": "waybill_id",
			"local_field": "order_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 1,
			"length": 40,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "waybill_id",
					"linked_table": "waybill"
				}
			],
			"nullable": true
		},
		{
			"field_name": "change_id",
			"local_field": "modify_id",
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 18,
			"length": 90
		},
		{
			"field_name": "additional_data",
			"local_field": "json_data.additional_data",
			"field_type": "text",
			"field_number": 12
		},
		{
			"field_name": "content",
			"local_field": "json_data.content",
			"field_type": "text",
			"field_number": 7,
			"length": 0,
			"constraint": ["index"]
		},
		{
			"field_name": "creator_id",
			"local_field": "json_data.creator_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 19,
			"length": 40
		},
		{
			"field_name": "customer_project",
			"local_field": "json_data.customer_project",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 16,
			"length": 80
		},
		{
			"field_name": "firm_id",
			"local_field": "json_data.firm_id",
			"field_type": "integer",
			"field_number": 13,
			"constraint": ["index"]
		},
		{
			"field_name": "info",
			"local_field": "info",
			"field_type": "text",
			"field_number": 11,
			"length": 0
		},
		{
			"field_name": "mark",
			"local_field": "json_data.mark",
			"field_type": "varchar",
			"field_length": 80,
			"field_number": 4,
			"length": 160
		},
		{
			"field_name": "modifier_id",
			"local_field": "modify_user",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 20,
			"length": 40
		},
		{
			"field_name": "number_of_pallets",
			"local_field": "json_data.number_of_pallets",
			"field_type": "integer",
			"field_number": 5
		},
		{
			"field_name": "pallet_code",
			"local_field": "json_data.pallet_code",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 8,
			"length": 80
		},
		{
			"field_name": "project_id",
			"local_field": "json_data.project_id",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 17,
			"length": 80
		},
		{
			"field_name": "state",
			"local_field": "json_data.state",
			"field_type": "integer",
			"field_number": 3,
			"constraint": ["index"]
		},
		{
			"field_name": "transfer_id",
			"local_field": "json_data.transfer_id",
			"field_type": "varchar",
			"field_length": 60,
			"field_number": 15,
			"length": 120,
			"constraint": ["index"]
		},
		{
			"field_name": "transfer_state",
			"local_field": "json_data.transfer_state",
			"field_type": "integer",
			"field_number": 21
		},
		{
			"field_name": "type_",
			"local_field": "json_data.type",
			"field_type": "integer",
			"field_number": 2,
			"constraint": ["index"]
		},
		{
			"field_name": "type_of_pallet",
			"local_field": "json_data.typeof_pallet",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 6,
			"length": 80
		},
		{
			"field_name": "volume",
			"local_field": "json_data.volume",
			"field_type": "double",
			"field_number": 10
		},
		{
			"field_name": "weight",
			"local_field": "json_data.weight",
			"field_type": "double",
			"field_number": 9
		}
	]
}
