{
	"table_name": "waybill",
	"record_type_local": "",
	"table_prefix": "wbl",
	"field": [
		{
			"name": "additional_data",
			"field_number": 46,
			"type": "text"
		},
		{
			"length": 40,
			"field_number": 25,
			"name": "cash_on_deliv_account",
			"type": "varchar"
		},
		{
			"length": 40,
			"field_number": 24,
			"name": "cash_on_deliv_reference",
			"type": "varchar"
		},
		{
			"name": "cash_on_delivery",
			"field_number": 26,
			"type": "double"
		},
		{
			"length": 45,
			"field_number": 41,
			"name": "change_id",
			"type": "varchar"
		},
		{
			"length": 20,
			"field_number": 42,
			"name": "creator_id",
			"type": "varchar"
		},
		{
			"length": 20,
			"foreign_key": {
				"field": "currency_id",
				"table": "currency"
			},
			"field_number": 27,
			"constraint": [
				"index"
			],
			"name": "currency_id",
			"nullable": true,
			"type": "varchar"
		},
		{
			"length": 255,
			"field_number": 51,
			"constraint": [
				"index"
			],
			"name": "customer_order_number",
			"type": "varchar"
		},
		{
			"length": 40,
			"field_number": 39,
			"name": "customer_project",
			"type": "varchar"
		},
		{
			"name": "date_",
			"field_number": 10,
			"type": "date"
		},
		{
			"name": "delivery_address",
			"type": "text",
			"field_number": 7
		},
		{
			"name": "extra_cost",
			"field_number": 29,
			"type": "double"
		},
		{
			"name": "extra_instruction",
			"field_number": 21,
			"type": "text"
		},
		{
			"field_number": 37,
			"constraint": [
				"index"
			],
			"name": "firm_id",
			"type": "integer"
		},
		{
			"name": "freight_charger_payer",
			"field_number": 16,
			"type": "text"
		},
		{
			"name": "freight_cost",
			"field_number": 28,
			"type": "double"
		},
		{
			"length": 40,
			"field_number": 49,
			"name": "freight_customer_number",
			"type": "varchar"
		},
		{
			"length": 40,
			"field_number": 50,
			"name": "freight_deal_number",
			"type": "varchar"
		},
		{
			"name": "info",
			"field_number": 45,
			"type": "text"
		},
		{
			"length": 20,
			"field_number": 43,
			"name": "modifier_id",
			"type": "varchar"
		},
		{
			"name": "number_of_pallets",
			"field_number": 17,
			"type": "integer"
		},
		{
			"name": "pallet_length",
			"field_number": 18,
			"type": "double"
		},
		{
			"name": "place_of_departure",
			"type": "text",
			"field_number": 6
		},
		{
			"length": 40,
			"field_number": 40,
			"name": "project_id",
			"type": "varchar"
		},
		{
			"name": "receiver_address",
			"type": "text",
			"field_number": 4
		},
		{
			"length": 40,
			"field_number": 47,
			"name": "receiver_customer_number",
			"type": "varchar"
		},
		{
			"length": 40,
			"field_number": 48,
			"name": "receiver_deal_number",
			"type": "varchar"
		},
		{
			"length": 20,
			"foreign_key": {
				"field": "company_id",
				"table": "company"
			},
			"field_number": 3,
			"constraint": [
				"index"
			],
			"name": "receiver_id",
			"nullable": true,
			"type": "varchar"
		},
		{
			"length": 40,
			"field_number": 5,
			"name": "receiver_phone",
			"type": "varchar"
		},
		{
			"length": 80,
			"field_number": 13,
			"name": "receiver_reference",
			"type": "varchar"
		},
		{
			"length": 45,
			"field_number": 36,
			"constraint": [
				"index"
			],
			"name": "record_id",
			"type": "varchar"
		},
		{
			"name": "reservation",
			"field_number": 23,
			"type": "text"
		},
		{
			"name": "sender_address",
			"type": "text",
			"field_number": 2
		},
		{
			"length": 40,
			"field_number": 8,
			"name": "sender_customer_number",
			"type": "varchar"
		},
		{
			"length": 40,
			"field_number": 9,
			"name": "sender_deal_number",
			"type": "varchar"
		},
		{
			"length": 80,
			"field_number": 12,
			"name": "sender_reference",
			"type": "varchar"
		},
		{
			"length": 20,
			"field_number": 33,
			"name": "sender_trade_number",
			"type": "varchar"
		},
		{
			"field_number": 35,
			"constraint": [
				"index"
			],
			"name": "state",
			"type": "integer"
		},
		{
			"name": "term_of_delivery",
			"field_number": 22,
			"type": "text"
		},
		{
			"name": "total_price",
			"field_number": 32,
			"type": "double"
		},
		{
			"length": 60,
			"field_number": 38,
			"constraint": [
				"index"
			],
			"name": "transfer_id",
			"type": "varchar"
		},
		{
			"name": "transfer_state",
			"field_number": 44,
			"type": "integer"
		},
		{
			"name": "transport_company",
			"field_number": 14,
			"type": "text"
		},
		{
			"name": "transport_notes",
			"field_number": 15,
			"type": "text"
		},
		{
			"name": "type_",
			"field_number": 34,
			"type": "integer"
		},
		{
			"name": "vat",
			"field_number": 31,
			"type": "double"
		},
		{
			"name": "vat_percent",
			"field_number": 30,
			"type": "double"
		},
		{
			"name": "volume",
			"field_number": 20,
			"type": "double"
		},
		{
			"length": 20,
			"field_number": 1,
			"constraint": [
				"unique"
			],
			"name": "waybill_id",
			"type": "varchar"
		},
		{
			"length": 40,
			"field_number": 11,
			"name": "waybill_number",
			"type": "varchar"
		},
		{
			"name": "weight",
			"field_number": 19,
			"type": "double"
		}
	],
	"table_number": 54,
	"table_name_local": "waybill",
	"name": "table/external/4d/manager/order/waybill.json"
}