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