{
	"name": "table/external/4d/bookkeeping/voucher_row.json",
	"table_name": "voucher_row",
	"table_prefix": "vor",
	"main_table": "voucher",
	"record_type": [""],
	"local_table": "bookkeeping_voucher_row",
	"local_record_type": "",
	"table_number": 5,
	"field": [
		{
			"field_name": "account_id",
			"local_field": "json_data.account_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 5,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "account_id",
					"linked_table": "account"
				}
			],
			"nullable": true
		},
		{
			"field_name": "account_number",
			"local_field": "json_data.account_number",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 4
		},
		{
			"field_name": "accounts_payable_id",
			"local_field": "json_data.accounts_payable_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 14,
			"constraint": ["index"]
		},
		{
			"field_name": "accounts_payable_paym_id",
			"local_field": "json_data.accounts_payable_paym_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 15,
			"constraint": ["index"]
		},
		{
			"field_name": "change_id",
			"local_field": "modify_id",
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 21
		},
		{
			"field_name": "cost_center",
			"local_field": "json_data.cost_center",
			"field_type": "varchar",
			"field_length": 80,
			"field_number": 11
		},
		{
			"field_name": "creator_id",
			"local_field": "json_data.create_user",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 22
		},
		{
			"field_name": "customer_project",
			"local_field": "json_data.customer_project",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 19
		},
		{
			"field_name": "debet",
			"local_field": "json_data.debet_price",
			"field_type": "double",
			"field_number": 9
		},
		{
			"field_name": "explanation",
			"local_field": "description",
			"field_type": "varchar",
			"field_length": 80,
			"field_number": 8
		},
		{
			"field_name": "firm_id",
			"local_field": "json_data.firm_id",
			"field_type": "integer",
			"field_number": 2,
			"constraint": ["index"]
		},
		{
			"field_name": "info",
			"local_field": "info",
			"field_type": "text",
			"field_number": 16
		},
		{
			"field_name": "invoice_id",
			"local_field": "invoice_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 12,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "invoice_id",
					"linked_table": "invoice"
				}
			]
		},
		{
			"field_name": "invoice_payment_id",
			"local_field": "json_data.invoice_payment_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 13,
			"constraint": ["index"]
		},
		{
			"field_name": "kredit",
			"local_field": "json_data.kredit_price",
			"field_type": "double",
			"field_number": 10
		},
		{
			"field_name": "modifier_id",
			"local_field": "modify_user",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 23
		},
		{
			"field_name": "project_id",
			"local_field": "json_data.project_id",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 20
		},
		{
			"field_name": "record_id",
			"local_field": "record_id",
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 17,
			"constraint": ["unique"]
		},
		{
			"field_name": "row_number",
			"local_field": "row_number",
			"field_type": "integer",
			"field_number": 6
		},
		{
			"field_name": "state",
			"local_field": "json_data.state",
			"field_type": "integer",
			"field_number": 7
		},
		{
			"field_name": "transfer_id",
			"local_field": "json_data.transfer_id",
			"field_type": "varchar",
			"field_length": 60,
			"field_number": 18,
			"constraint": ["index"]
		},
		{
			"field_name": "transfer_state",
			"local_field": "json_data.transfer_state",
			"field_type": "integer",
			"field_number": 24
		},
		{
			"field_name": "voucher_id",
			"local_field": "voucher_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 3,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "voucher_id",
					"linked_table": "voucher"
				}
			],
			"nullable": true
		},
		{
			"field_name": "voucher_row_id",
			"local_field": "json_data.voucher_row_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 1,
			"constraint": ["index"]
		}
	]
}
