{
	"name": "table/manager/bookkeeping/bookkeeping_account.json",
	"table_name": "bookkeeping_account",
	"table_prefix": "bka",
	"record_type": [""],
	"default_order": [
		{
			"field": "account_id",
			"order": ">"
		}
	],
	"save_script": [],
	"calculated_field": [],
	"field": [
		{
			"constraint": ["primary key"],
			"field_length": 20,
			"field_name": "account_id",
			"not_allowed_value": [""]
		},
		{
			"field_length": 20,
			"field_name": "account_type"
		},
		{
			"field_length": 20,
			"field_name": "contra_account_id",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "account_id",
					"linked_record_type": "",
					"linked_table": "bookkeeping_account",
					"linking_record_type": ""
				}
			]
		},
		{
			"field_name": "info"
		},
		{
			"field_length": 80,
			"field_name": "name"
		},
		{
			"field_length": 20,
			"field_name": "vat_account_id",
			"foreign_key": [
				{
					"default_link": true,
					"link_type": "prevent delete",
					"linked_field": "account_id",
					"linked_record_type": "",
					"linked_table": "bookkeeping_account",
					"linking_record_type": ""
				}
			]
		},
		{
			"field_name": "vat_percent"
		}
	],
	"extra_field": [
		{
			"field_length": 40,
			"field_name": "json_data.account_number"
		},
		{
			"field_length": 120,
			"field_name": "json_data.transfer_id"
		},
		{
			"field_name": "json_data.default_kredit"
		},
		{
			"field_name": "json_data.transfer_state"
		},
		{
			"field_length": 40,
			"field_name": "json_data.modifier_id"
		},
		{
			"field_name": "json_data.send_accounts"
		},
		{
			"field_name": "json_data.year"
		},
		{
			"field_name": "json_data.default_debet"
		},
		{
			"field_name": "json_data.receive_accounts"
		},
		{
			"field_name": "json_data.firm_id"
		}
	],
	"default_field": "table/default_field.json"
}
