{
	"name": "table/external/4d/manager/company/supplier.json",
	"table_name": "supplier",
	"table_prefix": "su",
	"record_type": ["supplier"],
	"local_table": "company",
	"local_record_type": "supplier",
	"table_number": 11,
	"field": [
		{
			"field_length": 60,
			"field_name": "address",
			"field_number": 7,
			"local_field": "address"
		},
		{
			"field_length": 40,
			"field_name": "bank",
			"field_number": 23,
			"local_field": "json_data.bank"
		},
		{
			"field_length": 80,
			"field_name": "bank_account",
			"field_number": 25,
			"local_field": "json_data.bank_account"
		},
		{
			"field_length": 10,
			"field_name": "bank_code",
			"field_number": 24,
			"local_field": "json_data.bank_code"
		},
		{
			"field_length": 90,
			"field_name": "change_id",
			"field_number": 3,
			"local_field": "modify_id"
		},
		{
			"field_length": 160,
			"field_name": "cost_center",
			"field_number": 36,
			"local_field": "json_data.cost_center"
		},
		{
			"field_length": 70,
			"field_name": "country",
			"field_number": 17,
			"local_field": "country"
		},
		{
			"field_length": 40,
			"field_name": "creator_id",
			"field_number": 43,
			"local_field": "create_user"
		},
		{
			"field_name": "credit_limit",
			"field_number": 34,
			"local_field": "json_data.credit_limit"
		},
		{
			"field_length": 12,
			"field_name": "currency_id",
			"field_number": 22,
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "currency_id",
					"linked_table": "currency"
				}
			],
			"local_field": "currency_id",
			"nullable": true
		},
		{
			"field_length": 80,
			"field_name": "customer_project",
			"field_number": 41,
			"local_field": "json_data.customer_project"
		},
		{
			"field_length": 24,
			"field_name": "default_account_id",
			"field_number": 39,
			"local_field": "json_data.default_account_id"
		},
		{
			"field_name": "delivery_time",
			"field_number": 35,
			"local_field": "json_data.delivery_time"
		},
		{
			"field_length": 160,
			"field_name": "email",
			"field_number": 46,
			"local_field": "email"
		},
		{
			"field_length": 20,
			"field_name": "fax_area_code",
			"field_number": 12,
			"local_field": "json_data.fax_area_code"
		},
		{
			"field_length": 40,
			"field_name": "fax_number",
			"field_number": 13,
			"local_field": "json_data.fax_number"
		},
		{
			"field_name": "firm_id",
			"field_number": 31,
			"local_field": "json_data.firm_id"
		},
		{
			"field_name": "info",
			"field_number": 6,
			"local_field": "info"
		},
		{
			"field_name": "is_foreign_supplier",
			"field_number": 20,
			"local_field": "json_data.is_foreign_supplier"
		},
		{
			"field_length": 40,
			"field_name": "language",
			"field_number": 21,
			"local_field": "language"
		},
		{
			"field_length": 40,
			"field_name": "modifier_id",
			"field_number": 44,
			"local_field": "json_data.modifier_id"
		},
		{
			"field_length": 160,
			"field_name": "name",
			"field_number": 2,
			"local_field": "name"
		},
		{
			"field_length": 160,
			"field_name": "name_2",
			"field_number": 16,
			"local_field": "name_2"
		},
		{
			"field_length": 24,
			"field_name": "number",
			"field_number": 5,
			"local_field": "json_data.number"
		},
		{
			"field_length": 24,
			"field_name": "payment_receiver_id",
			"field_number": 18,
			"local_field": "invoicing_company_id"
		},
		{
			"field_length": 20,
			"field_name": "post_code",
			"field_number": 8,
			"local_field": "post_code"
		},
		{
			"field_length": 60,
			"field_name": "post_office",
			"field_number": 9,
			"local_field": "post_office"
		},
		{
			"field_length": 80,
			"field_name": "project_id",
			"field_number": 42,
			"local_field": "json_data.project_id"
		},
		{
			"field_name": "purchase_costs",
			"field_number": 37,
			"local_field": "json_data.purchase_costs"
		},
		{
			"constraint": ["unique"],
			"field_length": 90,
			"field_name": "record_id",
			"field_number": 33,
			"local_field": "record_id"
		},
		{
			"field_length": 160,
			"field_name": "shelf_number",
			"field_number": 38,
			"local_field": "json_data.shelf_number"
		},
		{
			"constraint": ["unique"],
			"field_length": 24,
			"field_name": "supplier_id",
			"field_number": 1,
			"local_field": "company_id"
		},
		{
			"field_length": 80,
			"field_name": "swift_code",
			"field_number": 30,
			"local_field": "json_data.intermediator"
		},
		{
			"field_length": 20,
			"field_name": "telephone_area_code",
			"field_number": 10,
			"local_field": "json_data.telephone_area_code"
		},
		{
			"field_length": 40,
			"field_name": "telephone_number",
			"field_number": 11,
			"local_field": "json_data.telephone_number"
		},
		{
			"field_length": 60,
			"field_name": "term_of_delivery",
			"field_number": 28,
			"local_field": "term_of_delivery"
		},
		{
			"field_length": 24,
			"field_name": "terms_of_payment_id",
			"field_number": 14,
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "terms_of_payment_id",
					"linked_table": "terms_of_payment"
				}
			],
			"local_field": "terms_of_payment_id",
			"nullable": true
		},
		{
			"field_name": "text_address",
			"field_number": 15,
			"local_field": "text_address"
		},
		{
			"field_length": 40,
			"field_name": "trade_registry_number",
			"field_number": 32,
			"local_field": "json_data.trade_registry_number"
		},
		{
			"field_length": 120,
			"field_name": "transfer_id",
			"field_number": 40,
			"local_field": "json_data.transfer_id"
		},
		{
			"field_name": "transfer_state",
			"field_number": 45,
			"local_field": "json_data.transfer_state"
		},
		{
			"field_length": 4,
			"field_name": "type_",
			"field_number": 4,
			"local_field": "json_data.type"
		},
		{
			"field_length": 50,
			"field_name": "vat_number",
			"field_number": 26,
			"local_field": "json_data.vat_number"
		},
		{
			"field_length": 60,
			"field_name": "way_of_delivery",
			"field_number": 27,
			"local_field": "way_of_delivery"
		},
		{
			"field_length": 160,
			"field_name": "www",
			"field_number": 29,
			"local_field": "www"
		},
		{
			"field_length": 70,
			"field_name": "your_reference",
			"field_number": 19,
			"local_field": "your_reference"
		}
	],
	"default_field": "table/default_field.json"
}
