{
	"name": "table/external/4d/manager/resource/work_load_group.json",
	"table_name": "work_load_group",
	"table_prefix": "wlg",
	"record_type": ["resource"],
	"local_table": "resource",
	"local_record_type": "resource",
	"table_number": 49,
	"field": [
		{
			"field_name": "allowed_open_phases",
			"field_number": 49,
			"field_type": "integer",
			"local_field": "json_data.allowed_open_phases"
		},
		{
			"field_name": "automatic_receipt_delay",
			"field_number": 47,
			"field_type": "double",
			"local_field": "json_data.automatic_receipt_delay"
		},
		{
			"field_name": "calculate_target_time",
			"field_number": 52,
			"field_type": "integer",
			"local_field": "json_data.calculate_target_time"
		},
		{
			"field_name": "change_id",
			"field_number": 38,
			"field_type": "varchar",
			"length": 90,
			"local_field": "modify_id"
		},
		{
			"field_name": "creator_id",
			"field_number": 39,
			"field_type": "varchar",
			"length": 40,
			"local_field": "create_user"
		},
		{
			"field_name": "customer_project",
			"field_number": 34,
			"field_type": "varchar",
			"length": 80,
			"local_field": "json_data.customer_project"
		},
		{
			"field_name": "default_work_time",
			"field_number": 17,
			"field_type": "double",
			"local_field": "json_data.default_work_time"
		},
		{
			"field_name": "description",
			"field_number": 21,
			"field_type": "varchar",
			"length": 0,
			"local_field": "description"
		},
		{
			"field_name": "extra_time",
			"field_number": 25,
			"field_type": "double",
			"local_field": "json_data.extra_time"
		},
		{
			"field_name": "extra_time_capacity_name",
			"field_number": 23,
			"field_type": "varchar",
			"length": 160,
			"local_field": "json_data.extra_time_capacity_name"
		},
		{
			"field_name": "firm_id",
			"field_number": 28,
			"field_type": "integer",
			"local_field": "json_data.firm_id"
		},
		{
			"field_name": "follow_machine_data",
			"field_number": 44,
			"field_type": "integer",
			"local_field": "json_data.follow_machine_data"
		},
		{
			"field_name": "follow_track_time",
			"field_number": 51,
			"field_type": "integer",
			"local_field": "json_data.follow_track_time"
		},
		{
			"field_name": "follow_work_progression",
			"field_number": 58,
			"field_type": "integer",
			"local_field": "json_data.follow_work_progression"
		},
		{
			"field_name": "foreman_id",
			"field_number": 43,
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "employee_id",
					"linked_table": "employee"
				}
			],
			"length": 40,
			"local_field": "json_data.default_foreman_id",
			"nullable": true
		},
		{
			"field_name": "info",
			"field_number": 14,
			"field_type": "varchar",
			"length": 0,
			"local_field": "info"
		},
		{
			"field_name": "last_phase_extra_time",
			"field_number": 32,
			"field_type": "double",
			"local_field": "json_data.last_phase_extra_time"
		},
		{
			"field_name": "lead_time",
			"field_number": 27,
			"field_type": "double",
			"local_field": "json_data.lead_time"
		},
		{
			"field_name": "load_efficiency_multiplier",
			"field_number": 37,
			"field_type": "double",
			"local_field": "json_data.load_efficiency_multiplier"
		},
		{
			"field_name": "load_multiplier",
			"field_number": 36,
			"field_type": "double",
			"local_field": "json_data.load_multiplier"
		},
		{
			"field_name": "loading_level",
			"field_number": 18,
			"field_type": "smallint",
			"local_field": "json_data.loading_level"
		},
		{
			"field_name": "loading_type",
			"field_number": 12,
			"field_type": "integer",
			"local_field": "json_data.loading_type"
		},
		{
			"field_name": "mach_max_capacity__shift",
			"field_number": 10,
			"field_type": "double",
			"local_field": "json_data.mach_max_capacity__shift"
		},
		{
			"field_name": "machine_data_path",
			"field_number": 45,
			"field_type": "varchar",
			"length": 0,
			"local_field": "json_data.machine_data_path"
		},
		{
			"field_name": "machine_setup_cost__hour",
			"field_number": 7,
			"field_type": "double",
			"local_field": "setup_hourly_self_cost"
		},
		{
			"field_name": "machine_speed",
			"field_number": 15,
			"field_type": "double",
			"local_field": "json_data.machine_speed"
		},
		{
			"field_name": "machine_work_cost__hour",
			"field_number": 8,
			"field_type": "double",
			"local_field": "work_hourly_self_cost"
		},
		{
			"field_name": "main_load_group",
			"field_number": 3,
			"field_type": "varchar",
			"length": 24,
			"local_field": "json_data.main_resource"
		},
		{
			"field_name": "minimum_work_time",
			"field_number": 26,
			"field_type": "double",
			"local_field": "json_data.minimum_work_time"
		},
		{
			"field_name": "modifier_id",
			"field_number": 40,
			"field_type": "varchar",
			"length": 40,
			"local_field": "json_data.modifier_id"
		},
		{
			"field_name": "monthly_pre_maint_day",
			"field_number": 56,
			"field_type": "integer",
			"local_field": "json_data.monthly_pre_maint_day"
		},
		{
			"field_name": "monthly_pre_maint_week",
			"field_number": 57,
			"field_type": "integer",
			"local_field": "json_data.monthly_pre_maint_week"
		},
		{
			"field_name": "name",
			"field_number": 4,
			"field_type": "varchar",
			"length": 50,
			"local_field": "resource_name"
		},
		{
			"field_name": "profit_multiplier",
			"field_number": 9,
			"field_type": "double",
			"local_field": "profit_multiplier"
		},
		{
			"field_name": "project_id",
			"field_number": 35,
			"field_type": "varchar",
			"length": 80,
			"local_field": "json_data.project_id"
		},
		{
			"constraint": ["unique"],
			"field_name": "record_id",
			"field_number": 30,
			"field_type": "varchar",
			"length": 90,
			"local_field": "record_id"
		},
		{
			"field_name": "rough_load_group",
			"field_number": 2,
			"field_type": "varchar",
			"length": 24,
			"local_field": "cell_resource_id"
		},
		{
			"field_name": "setup_price",
			"field_number": 29,
			"field_type": "double",
			"local_field": "json_data.setup_price"
		},
		{
			"field_name": "setup_salary__hour",
			"field_number": 5,
			"field_type": "double",
			"local_field": "setup_hourly_salary"
		},
		{
			"field_name": "setup_time",
			"field_number": 16,
			"field_type": "double",
			"local_field": "json_data.default_setup_hours"
		},
		{
			"field_name": "shelf_number",
			"field_number": 31,
			"field_type": "varchar",
			"length": 160,
			"local_field": "json_data.shelf_number"
		},
		{
			"field_name": "size",
			"field_number": 22,
			"field_type": "varchar",
			"length": 40,
			"local_field": "json_data.size"
		},
		{
			"field_name": "speed_unit",
			"field_number": 24,
			"field_type": "varchar",
			"length": 12,
			"local_field": "json_data.speed_unit"
		},
		{
			"field_name": "state",
			"field_number": 42,
			"field_type": "integer",
			"local_field": "resource_state",
			"value_map": {
				"active": 0,
				"passive": -1
			}
		},
		{
			"field_name": "subcontract",
			"field_number": 19,
			"field_type": "boolean",
			"local_field": "json_data.subcontract"
		},
		{
			"field_name": "supplier_id",
			"field_number": 20,
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "supplier_id",
					"linked_table": "supplier"
				}
			],
			"length": 24,
			"local_field": "subcontractor_id",
			"nullable": true
		},
		{
			"field_name": "target_time_extra_percent",
			"field_number": 53,
			"field_type": "double",
			"local_field": "json_data.target_time_extra_percent"
		},
		{
			"field_name": "target_time_setup_time",
			"field_number": 54,
			"field_type": "double",
			"local_field": "json_data.target_time_setup_time"
		},
		{
			"field_name": "track_time_extra_time",
			"field_number": 59,
			"field_type": "double",
			"local_field": "json_data.track_time_extra_time"
		},
		{
			"field_name": "transfer_id",
			"field_number": 33,
			"field_type": "varchar",
			"length": 120,
			"local_field": "json_data.transfer_id"
		},
		{
			"field_name": "transfer_state",
			"field_number": 41,
			"field_type": "integer",
			"local_field": "json_data.transfer_state"
		},
		{
			"field_name": "type_",
			"field_number": 60,
			"field_type": "integer",
			"local_field": "resource_type",
			"value_map": {
				"cell": 1,
				"load_group": 0
			}
		},
		{
			"field_name": "unproductive_min_time",
			"field_number": 50,
			"field_type": "double",
			"local_field": "json_data.unproductive_min_time"
		},
		{
			"field_name": "use_automatic_receipt",
			"field_number": 46,
			"field_type": "integer",
			"local_field": "json_data.use_automatic_receipt"
		},
		{
			"field_name": "use_realtime_receipt",
			"field_number": 48,
			"field_type": "integer",
			"local_field": "json_data.use_realtime_receipt"
		},
		{
			"field_name": "weekly_pre_maint_day",
			"field_number": 55,
			"field_type": "integer",
			"local_field": "json_data.weekly_pre_maint_day"
		},
		{
			"field_name": "work_calendar",
			"field_number": 13,
			"field_type": "varchar",
			"length": 80,
			"local_field": "json_data.work_calendar"
		},
		{
			"constraint": ["unique"],
			"field_name": "work_load_group_id",
			"field_number": 1,
			"field_type": "varchar",
			"length": 24,
			"local_field": "resource_id"
		},
		{
			"field_name": "work_salary__hour",
			"field_number": 6,
			"field_type": "double",
			"local_field": "work_hourly_salary"
		},
		{
			"field_name": "worker_capacity__shift",
			"field_number": 11,
			"field_type": "double",
			"local_field": "json_data.worker_capacity__shift"
		}
	],
	"default_field": "table/default_field.json"
}
