{
	"name": "table/external/4d/person/supplier_person.json",
	"info": "table has no unique id, create id using sequence number",
	"table_name": "supplier_person",
	"table_prefix": "supe",
	"main_table": "supplier",
	"record_type": ["supplier"],
	"local_table": "person",
	"local_record_type": "supplier",
	"table_number": 16,
	"field": [
		{
			"field_name": "record_id",
			"local_field": "record_id",
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 8,
			"constraint": ["primary key"]
		},
		{
			"field_name": "change_id",
			"local_field": "modify_id",
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 13
		},
		{
			"field_name": "creator_id",
			"local_field": "json_data.creator_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 14
		},
		{
			"field_name": "customer_project",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 11
		},
		{
			"field_name": "direct_telephone_number",
			"local_field": "phone",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 3
		},
		{
			"field_name": "firm_id",
			"local_field": "json_data.firm_id",
			"field_type": "integer",
			"field_number": 9,
			"constraint": ["index"]
		},
		{
			"field_name": "info",
			"local_field": "info",
			"field_type": "text",
			"field_number": 6
		},
		{
			"field_name": "modifier_id",
			"local_field": "modify_user",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 15
		},
		{
			"field_name": "name",
			"local_field": "full_name",
			"field_type": "varchar",
			"field_length": 35,
			"field_number": 2
		},
		{
			"field_name": "position_",
			"local_field": "position",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 5
		},
		{
			"field_name": "project_id",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 12
		},
		{
			"field_name": "supplier_id",
			"local_field": "json_data.company_id",
			"field_type": "varchar",
			"field_length": 12,
			"field_number": 1,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "supplier_id",
					"linked_table": "supplier"
				}
			],
			"nullable": true
		},
		{
			"field_name": "title",
			"local_field": "title",
			"field_type": "varchar",
			"field_length": 25,
			"field_number": 4
		},
		{
			"field_name": "transfer_id",
			"field_type": "varchar",
			"field_length": 60,
			"field_number": 10,
			"constraint": ["index"]
		},
		{
			"field_name": "transfer_state",
			"field_type": "integer",
			"field_number": 16
		},
		{
			"field_name": "www",
			"local_field": "json_data.www",
			"field_type": "varchar",
			"field_length": 80,
			"field_number": 7
		},
		{
			"field_name": "your_reference",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 17
		}
	]
}
