{
	"name": "table/external/4d/manager/order/dispatch_note.json",
	"table_name": "dispatch_note",
	"table_prefix": "dn",
	"record_type": ["dispatch_note"],
	"local_table": "order",
	"local_record_type": "dispatch_note",
	"table_number": 31,
	"field": [
		{
			"constraint": ["unique"],
			"field_length": 20,
			"field_name": "dispatch_note_id",
			"field_number": 1,
			"local_field": "order_id"
		},
		{
			"field_length": 90,
			"field_name": "change_id",
			"field_number": 29,
			"local_field": "modify_id"
		},
		{
			"field_length": 24,
			"field_name": "company_id",
			"field_number": 8,
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "company_id",
					"linked_table": "company"
				}
			],
			"local_field": "company_id",
			"nullable": true
		},
		{
			"field_length": 40,
			"field_name": "creator_id",
			"field_number": 30,
			"local_field": "create_user"
		},
		{
			"field_length": 160,
			"field_name": "customer_order_number",
			"field_number": 23,
			"local_field": "company_reference_number"
		},
		{
			"field_length": 80,
			"field_name": "customer_project",
			"field_number": 17,
			"local_field": "json_data.customer_project"
		},
		{
			"field_name": "date_",
			"field_number": 2,
			"local_field": "order_date",
			"field_type": "date"
		},
		{
			"field_name": "delivery_address",
			"field_number": 10,
			"local_field": "delivery_address"
		},
		{
			"field_name": "description_of_the_goods",
			"field_number": 16,
			"local_field": "json_data.description_of_the_goods"
		},
		{
			"field_length": 60,
			"field_name": "eur_number",
			"field_number": 12,
			"local_field": "json_data.eur_number"
		},
		{
			"field_name": "firm_id",
			"field_number": 19,
			"local_field": "json_data.firm_id"
		},
		{
			"field_name": "freight_charges",
			"field_number": 22,
			"local_field": "json_data.freight_charges"
		},
		{
			"field_length": 160,
			"field_name": "freight_charges_payer",
			"field_number": 20,
			"local_field": "json_data.freight_charges_payer"
		},
		{
			"field_name": "gross_weight",
			"field_number": 13,
			"local_field": "json_data.gross_weight"
		},
		{
			"field_name": "info",
			"field_number": 4,
			"local_field": "info"
		},
		{
			"field_length": 160,
			"field_name": "mark",
			"field_number": 28,
			"local_field": "json_data.mark"
		},
		{
			"field_length": 40,
			"field_name": "modifier_id",
			"field_number": 31,
			"local_field": "json_data.modifier_id"
		},
		{
			"field_name": "net_weight",
			"field_number": 14,
			"field_type": "double",
			"local_field": "json_data.net_weight"
		},
		{
			"field_name": "notes",
			"field_number": 3,
			"local_field": "note"
		},
		{
			"field_name": "number_of_pallets",
			"field_number": 27,
			"local_field": "json_data.number_of_pallets"
		},
		{
			"field_length": 70,
			"field_name": "our_reference",
			"field_number": 6,
			"local_field": "our_reference"
		},
		{
			"field_name": "printed",
			"field_number": 9,
			"local_field": "json_data.printed"
		},
		{
			"field_length": 20,
			"field_name": "pro_forma_number",
			"field_number": 11,
			"local_field": "json_data.pro_forma_number"
		},
		{
			"field_length": 80,
			"field_name": "project_id",
			"field_number": 25,
			"local_field": "project_id"
		},
		{
			"constraint": ["unique"],
			"field_length": 90,
			"field_name": "record_id",
			"field_number": 21,
			"local_field": "record_id"
		},
		{
			"field_name": "state",
			"field_number": 33,
			"local_field": "order_state"
		},
		{
			"field_length": 60,
			"field_name": "term_of_delivery",
			"field_number": 18,
			"local_field": "term_of_delivery"
		},
		{
			"field_length": 120,
			"field_name": "transfer_id",
			"field_number": 24,
			"local_field": "json_data.transfer_id"
		},
		{
			"field_name": "transfer_state",
			"field_number": 32,
			"local_field": "json_data.transfer_state"
		},
		{
			"field_length": 60,
			"field_name": "type_",
			"field_number": 26,
			"local_field": "order_type"
		},
		{
			"field_name": "volume",
			"field_number": 15,
			"local_field": "json_data.volume"
		},
		{
			"field_length": 80,
			"field_name": "way_of_delivery",
			"field_number": 5,
			"local_field": "way_of_delivery"
		},
		{
			"field_length": 40,
			"field_name": "waybill_id",
			"field_number": 34,
			"local_field": "json_data.waybill_id"
		},
		{
			"field_length": 70,
			"field_name": "your_reference",
			"field_number": 7,
			"local_field": "your_reference"
		}
	],
	"default_field": "table/default_field.json"
}
