{
	"name": "table/external/4d/product/reclamation.json",
	"table_name": "reclamation",
	"table_prefix": "rcl",
	"record_type": [""],
	"local_table": "reclamation",
	"local_record_type": "",
	"table_number": 37,
	"field": [
		{
			"field_name": "type_",
			"local_field": "reclamation_type",
			"value_map": "table/external/4d/prf/constant-4d.json/reclamation.reclamation_type",
			"field_type": "integer",
			"field_number": 2
		},
		{
			"field_name": "state",
			"local_field": "reclamation_state",
			"field_type": "integer",
			"value_map": "table/external/4d/prf/constant-4d.json/reclamation.reclamation_state",
			"field_number": 3
		},
		{
			"field_name": "calculation_type",
			"local_field": "calculation_type",
			"field_type": "integer",
			"value_map": "table/external/4d/prf/constant-4d.json/reclamation.calculation_type",
			"field_number": 81,
			"constraint": ["index"]
		},
		{
			"field_name": "change_id",
			"local_field": "modify_id",
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 86,
			"length": 90
		},
		{
			"field_name": "compensate_delivery",
			"local_field": "json_data.compensate_delivery",
			"field_type": "double",
			"field_number": 63
		},
		{
			"field_name": "compensate_material",
			"local_field": "json_data.compensate_material",
			"field_type": "double",
			"field_number": 64
		},
		{
			"field_name": "compensate_other_charges",
			"local_field": "json_data.compensate_other_charges",
			"field_type": "double",
			"field_number": 67
		},
		{
			"field_name": "compensate_repair_charges",
			"local_field": "json_data.compensate_repair_charges",
			"field_type": "double",
			"field_number": 68
		},
		{
			"field_name": "compensate_subcontract",
			"local_field": "json_data.compensate_subcontract",
			"field_type": "double",
			"field_number": 65
		},
		{
			"field_name": "compensate_work_self_cost",
			"local_field": "json_data.compensate_work_self_cost",
			"field_type": "double",
			"field_number": 66
		},
		{
			"field_name": "compensation_due_date",
			"local_field": "json_data.compensation_due_date",
			"field_type": "date",
			"field_number": 61
		},
		{
			"field_name": "created_from",
			"local_field": "created_from",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 7,
			"length": 40
		},
		{
			"field_name": "creation_date",
			"local_field": "create_time",
			"field_type": "date",
			"field_number": 4
		},
		{
			"field_name": "creator_id",
			"local_field": "json_data.create_user",
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "employee_id",
					"linked_table": "employee"
				}
			],
			"field_length": 20,
			"field_number": 87,
			"length": 40
		},
		{
			"field_name": "credit_note_due_date",
			"local_field": "credit_note_due_date",
			"field_type": "date",
			"field_number": 51
		},
		{
			"field_name": "customer_description",
			"local_field": "customer_description",
			"field_type": "text",
			"field_number": 26,
			"length": 0
		},
		{
			"field_name": "customer_handler",
			"local_field": "customer_handler",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 11,
			"length": 80
		},
		{
			"field_name": "customer_id",
			"local_field": "company_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 8,
			"length": 40,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "company_id",
					"linked_table": "company"
				}
			],
			"nullable": true
		},
		{
			"field_name": "customer_order_number",
			"local_field": "customer_order_number",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 12,
			"length": 40
		},
		{
			"field_name": "customer_pays_freights",
			"local_field": "json_data.customer_pays_freights",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 34,
			"length": 80
		},
		{
			"field_name": "customer_project",
			"local_field": "json_data.customer_project",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 84,
			"length": 80
		},
		{
			"field_name": "customer_reclamation",
			"local_field": "customer_reclamation",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 9,
			"length": 40
		},
		{
			"field_name": "customer_reclamation_date",
			"local_field": "customer_reclamation_date",
			"field_type": "date",
			"field_number": 10
		},
		{
			"field_name": "dispatch_note_id",
			"local_field": "dispatch_note_id",
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "dispatch_note_id",
					"linked_table": "dispatch_note"
				}
			],
			"field_length": 10,
			"field_number": 14,
			"length": 20,
			"constraint": ["index"]
		},
		{
			"field_name": "employee_description",
			"local_field": "employee_description",
			"field_type": "text",
			"field_number": 25,
			"length": 0
		},
		{
			"field_name": "failed_amount",
			"local_field": "failed_amount",
			"field_type": "double",
			"field_number": 17
		},
		{
			"field_name": "fault_caused_by",
			"local_field": "fault_caused_by",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 21,
			"length": 80
		},
		{
			"field_name": "fault_found_in_end_check",
			"local_field": "fault_found_in_end_check",
			"field_type": "boolean",
			"field_number": 18
		},
		{
			"field_name": "fault_found_load_group_id",
			"local_field": "fault_found_resource_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 20,
			"length": 40,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "work_load_group_id",
					"linked_table": "work_load_group"
				}
			],
			"nullable": true
		},
		{
			"field_name": "fault_found_work_phase",
			"local_field": "fault_found_work_phase",
			"field_type": "integer",
			"field_number": 19
		},
		{
			"field_name": "fault_made_date",
			"local_field": "fault_made_date",
			"field_type": "date",
			"field_number": 24
		},
		{
			"field_name": "fault_made_load_group_id",
			"local_field": "json_data.fault_made_resource_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 23,
			"length": 40,
			"constraint": ["index"],
			"foreign_key": [
				{
					"default_link": true,
					"link_type": "prevent delete",
					"linked_field": "work_load_group_id",
					"linked_record_type": "load_group",
					"linked_table": "work_load_group"
				}
			],
			"nullable": true
		},
		{
			"field_name": "fault_made_work_phase",
			"local_field": "fault_made_work_phase",
			"field_type": "integer",
			"field_number": 22,
			"constraint": ["index"]
		},
		{
			"field_name": "fault_reason",
			"local_field": "fault_reason",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 29,
			"length": 80
		},
		{
			"field_name": "fault_type",
			"local_field": "fault_type",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 28,
			"length": 80
		},
		{
			"field_name": "finished_date",
			"local_field": "finished_date",
			"field_type": "date",
			"field_number": 5
		},
		{
			"field_name": "firm_id",
			"local_field": "json_data.firm_id",
			"field_type": "integer",
			"field_number": 70,
			"constraint": ["index"]
		},
		{
			"field_name": "freight_charges",
			"local_field": "freight_charges",
			"field_type": "double",
			"field_number": 47
		},
		{
			"field_name": "handler_description",
			"local_field": "handler_description",
			"field_type": "text",
			"field_number": 27,
			"length": 0
		},
		{
			"field_name": "handler_id",
			"local_field": "json_data.handler_id",
			"constraint": ["index"],
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "employee_id",
					"linked_table": "employee"
				}
			],
			"field_length": 20,
			"field_number": 6,
			"length": 40,
			"nullable": true
		},
		{
			"field_name": "incorrect_material_used",
			"local_field": "json_data.incorrect_material_used",
			"field_type": "double",
			"field_number": 75
		},
		{
			"field_name": "info",
			"local_field": "info",
			"field_type": "text",
			"field_number": 76,
			"length": 0
		},
		{
			"field_name": "material_self_cost",
			"local_field": "material_self_cost",
			"field_type": "double",
			"field_number": 38
		},
		{
			"field_name": "measures",
			"local_field": "measures",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 30,
			"length": 80
		},
		{
			"field_name": "measures_to_avoid_faults",
			"local_field": "measures_to_avoid_faults",
			"field_type": "text",
			"field_number": 37,
			"length": 0
		},
		{
			"field_name": "modifier_id",
			"local_field": "modify_user",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 88,
			"length": 40
		},
		{
			"field_name": "no_found_phase_self_cost",
			"local_field": "no_found_phase_self_cost",
			"field_type": "boolean",
			"field_number": 39
		},
		{
			"field_name": "order_measures",
			"local_field": "order_measures",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 36,
			"length": 80
		},
		{
			"field_name": "other_charges",
			"local_field": "other_charges",
			"field_type": "double",
			"field_number": 48
		},
		{
			"field_name": "paid_compensation",
			"local_field": "paid_compensation",
			"field_type": "double",
			"field_number": 50
		},
		{
			"field_name": "print_to_report",
			"local_field": "json_data.print_to_report",
			"field_type": "integer",
			"field_number": 82,
			"constraint": ["index"]
		},
		{
			"field_name": "product_id",
			"local_field": "product_id",
			"field_type": "varchar",
			"field_length": 50,
			"field_number": 16,
			"length": 100,
			"constraint": ["index"],
			"foreign_key": [
				{
					"default_link": true,
					"link_type": "prevent delete",
					"linked_field": "product_id",
					"linked_table": "product"
				}
			],
			"nullable": true
		},
		{
			"field_name": "production_lot",
			"local_field": "production_order_id",
			"field_type": "varchar",
			"field_length": 30,
			"field_number": 15,
			"length": 60,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "production_lot",
					"linked_table": "work_order"
				}
			],
			"nullable": true
		},
		{
			"field_name": "project_id",
			"local_field": "json_data.project_id",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 85,
			"length": 80
		},
		{
			"field_name": "purchase_delivery_action",
			"local_field": "json_data.purchase_delivery_action",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 62,
			"length": 80
		},
		{
			"field_name": "purchase_description",
			"local_field": "json_data.purchase_description",
			"field_type": "text",
			"field_number": 59,
			"length": 0
		},
		{
			"field_name": "purchase_order_amount",
			"local_field": "json_data.purchase_order_amount",
			"field_type": "double",
			"field_number": 58
		},
		{
			"field_name": "purchase_order_id",
			"local_field": "json_data.purchase_order_id",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "purchase_order_id",
					"linked_table": "purchase_order"
				}
			],
			"field_type": "varchar",
			"field_length": 10,
			"field_number": 54,
			"length": 20,
			"constraint": ["index"]
		},
		{
			"field_name": "purchase_our_reference",
			"local_field": "json_data.purchase_our_reference",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 56,
			"length": 80
		},
		{
			"field_name": "purchase_product_id",
			"local_field": "json_data.purchase_product_id",
			"field_type": "varchar",
			"field_length": 50,
			"field_number": 57,
			"length": 100,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "product_id",
					"linked_table": "product"
				}
			],
			"nullable": true
		},
		{
			"field_name": "purchase_repair_action",
			"local_field": "json_data.purchase_repair_action",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 60,
			"length": 80
		},
		{
			"field_name": "purchase_return",
			"local_field": "json_data.purchase_return",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 72,
			"length": 80
		},
		{
			"field_name": "purchase_row_number",
			"local_field": "json_data.purchase_row_number",
			"field_type": "integer",
			"field_number": 55
		},
		{
			"field_name": "purchase_way_of_delivery",
			"local_field": "json_data.purchase_way_of_delivery",
			"field_type": "varchar",
			"field_length": 30,
			"field_number": 74,
			"length": 60
		},
		{
			"field_name": "reclamation_id",
			"local_field": "reclamation_id",
			"field_type": "varchar",
			"field_length": 10,
			"field_number": 1,
			"length": 20,
			"constraint": ["unique"]
		},
		{
			"field_name": "record_id",
			"local_field": "record_id",
			"field_type": "varchar",
			"field_length": 45,
			"field_number": 78,
			"length": 90,
			"constraint": ["unique"]
		},
		{
			"field_name": "rejected_amount",
			"local_field": "rejected_amount",
			"field_type": "double",
			"field_number": 77
		},
		{
			"field_name": "repair_amount",
			"local_field": "repair_amount",
			"field_type": "double",
			"field_number": 79
		},
		{
			"field_name": "repair_hours",
			"local_field": "repair_hours",
			"field_type": "double",
			"field_number": 42
		},
		{
			"field_name": "repair_price__unit",
			"local_field": "json_data.repair_price__unit",
			"field_type": "double",
			"field_number": 43
		},
		{
			"field_name": "repair_price_total",
			"local_field": "json_data.repair_price_total",
			"field_type": "double",
			"field_number": 44
		},
		{
			"field_name": "repair_purchase_charges",
			"local_field": "repair_purchase_charges",
			"field_type": "double",
			"field_number": 45
		},
		{
			"field_name": "repair_purchase_order_id",
			"local_field": "repair_purchase_order_id",
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "purchase_order_id",
					"linked_table": "purchase_order"
				}
			],
			"field_length": 10,
			"field_number": 46,
			"length": 20,
			"constraint": ["index"]
		},
		{
			"field_name": "return",
			"local_field": "json_data.return",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 33,
			"length": 80
		},
		{
			"field_name": "sales_order_id",
			"local_field": "sales_order_id",
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "sales_order_id",
					"linked_table": "sales_order"
				}
			],
			"field_length": 10,
			"field_number": 13,
			"length": 20,
			"constraint": ["index"]
		},
		{
			"field_name": "sales_price",
			"local_field": "sales_price",
			"field_type": "double",
			"field_number": 41
		},
		{
			"field_name": "show_type",
			"local_field": "show_type",
			"field_type": "integer",
			"field_number": 80,
			"constraint": ["index"]
		},
		{
			"field_name": "special_permission_date",
			"local_field": "special_permission_date",
			"field_type": "date",
			"field_number": 32
		},
		{
			"field_name": "special_permission_giver",
			"local_field": "special_permission_giver",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 31,
			"length": 80
		},
		{
			"field_name": "subcontract_self_cost",
			"local_field": "json_data.subcontract_self_cost",
			"field_type": "double",
			"field_number": 71
		},
		{
			"field_name": "supplier_id",
			"local_field": "json_data.supplier_id",
			"field_type": "varchar",
			"field_length": 20,
			"field_number": 52,
			"length": 40,
			"constraint": ["index"],
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "supplier_id",
					"linked_table": "supplier"
				}
			],
			"nullable": true
		},
		{
			"field_name": "supplier_pays_freights",
			"local_field": "json_data.supplier_pays_freights",
			"field_type": "varchar",
			"field_length": 40,
			"field_number": 73,
			"length": 80
		},
		{
			"field_name": "supplier_text_address",
			"local_field": "json_data.supplier_text_address",
			"field_type": "text",
			"field_number": 53,
			"length": 0
		},
		{
			"field_name": "supplier_total_sum",
			"local_field": "json_data.supplier_total_sum",
			"field_type": "double",
			"field_number": 69
		},
		{
			"field_name": "total_charges",
			"local_field": "total_charges",
			"field_type": "double",
			"field_number": 49
		},
		{
			"field_name": "transfer_id",
			"local_field": "json_data.transfer_id",
			"field_type": "varchar",
			"field_length": 60,
			"field_number": 83,
			"length": 120,
			"constraint": ["index"]
		},
		{
			"field_name": "transfer_state",
			"local_field": "json_data.transfer_state",
			"field_type": "integer",
			"field_number": 89
		},
		{
			"field_name": "way_of_delivery",
			"local_field": "way_of_delivery",
			"field_type": "varchar",
			"field_length": 30,
			"field_number": 35,
			"length": 60
		},
		{
			"field_name": "work_cumul_self_cost",
			"local_field": "work_cumul_self_cost",
			"field_type": "double",
			"field_number": 40
		}
	]
}
