{
	"name": "table/external/4d/manager/product/work_phase_estimated.json",
	"table_name": "work_phase_estimated",
	"table_prefix": "wpe",
	"main_table": "work",
	"record_type": ["estimated"],
	"local_table": "product_work",
	"local_record_type": "estimated",
	"table_number": 47,
	"field": [
		{
			"field_name": "bonus_work_time__unit",
			"field_number": 49,
			"field_type": "double",
			"local_field": "json_data.bonus_work_time__unit"
		},
		{
			"field_name": "change_id",
			"field_number": 54,
			"field_type": "varchar",
			"length": 90,
			"local_field": "modify_id"
		},
		{
			"field_name": "contract_default_salary",
			"field_number": 29,
			"field_type": "double",
			"local_field": "json_data.contract_default_salary"
		},
		{
			"field_name": "contract_price__unit",
			"field_number": 14,
			"field_type": "double",
			"local_field": "json_data.contract_price__unit"
		},
		{
			"field_name": "contract_salary",
			"field_number": 24,
			"field_type": "boolean",
			"local_field": "json_data.contract_salary"
		},
		{
			"field_name": "cover__inside",
			"field_number": 42,
			"field_type": "varchar",
			"length": 4,
			"local_field": "json_data.cover__inside"
		},
		{
			"field_name": "creator_id",
			"field_number": 55,
			"field_type": "varchar",
			"length": 40,
			"local_field": "create_user"
		},
		{
			"field_name": "customer_project",
			"field_number": 51,
			"field_type": "varchar",
			"length": 80,
			"local_field": "json_data.customer_project"
		},
		{
			"field_name": "delivery_to_customer",
			"field_number": 63,
			"field_type": "integer",
			"local_field": "json_data.delivery_to_customer"
		},
		{
			"field_name": "employee_id",
			"field_number": 3,
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "employee_id",
					"linked_table": "employee"
				}
			],
			"length": 24,
			"local_field": "json_data.employee_id",
			"nullable": true
		},
		{
			"field_name": "firm_id",
			"field_number": 47,
			"field_type": "integer",
			"local_field": "json_data.firm_id"
		},
		{
			"field_name": "hourly_salary",
			"field_number": 18,
			"field_type": "boolean",
			"local_field": "json_data.hourly_salary"
		},
		{
			"field_name": "info",
			"field_number": 20,
			"field_type": "varchar",
			"length": 0,
			"local_field": "info"
		},
		{
			"field_name": "kind",
			"field_number": 39,
			"field_type": "smallint",
			"local_field": "json_data.kind"
		},
		{
			"field_name": "link_target",
			"field_number": 26,
			"field_type": "integer",
			"local_field": "json_data.link_target"
		},
		{
			"field_name": "linking_hours",
			"field_number": 25,
			"field_type": "double",
			"local_field": "json_data.linking_hours"
		},
		{
			"field_name": "load_multiplier",
			"field_number": 53,
			"field_type": "double",
			"local_field": "json_data.load_multiplier"
		},
		{
			"field_name": "machine_setup_cost__hour",
			"field_number": 11,
			"field_type": "double",
			"local_field": "setup_hourly_self_cost"
		},
		{
			"field_name": "machine_work_cost__hour",
			"field_number": 12,
			"field_type": "double",
			"local_field": "work_hourly_self_cost"
		},
		{
			"field_name": "modifier_id",
			"field_number": 56,
			"field_type": "varchar",
			"length": 40,
			"local_field": "json_data.modifier_id"
		},
		{
			"field_name": "next_phase",
			"field_number": 44,
			"field_type": "varchar",
			"length": 80,
			"local_field": "json_data.next_phase"
		},
		{
			"field_name": "phase_number",
			"field_number": 4,
			"field_type": "integer",
			"local_field": "json_data.phase_number"
		},
		{
			"field_name": "pieces__unit",
			"field_number": 22,
			"field_type": "double",
			"local_field": "json_data.pieces__unit"
		},
		{
			"field_name": "previous_phase",
			"field_number": 43,
			"field_type": "varchar",
			"length": 80,
			"local_field": "json_data.previous_phase"
		},
		{
			"field_name": "production_lot",
			"field_number": 23,
			"field_type": "smallint",
			"local_field": "production_lot"
		},
		{
			"field_name": "profit_multiplier",
			"field_number": 13,
			"field_type": "double",
			"local_field": "profit_multiplier"
		},
		{
			"field_name": "project_id",
			"field_number": 52,
			"field_type": "varchar",
			"length": 80,
			"local_field": "json_data.project_id"
		},
		{
			"field_name": "purchase_multiplier",
			"field_number": 45,
			"field_type": "double",
			"local_field": "json_data.purchase_multiplier"
		},
		{
			"constraint": ["unique"],
			"field_name": "record_id",
			"field_number": 46,
			"field_type": "varchar",
			"length": 90,
			"local_field": "record_id"
		},
		{
			"field_name": "rest_time__hour",
			"field_number": 28,
			"field_type": "double",
			"local_field": "json_data.rest_time__hour"
		},
		{
			"field_name": "run_amount",
			"field_number": 41,
			"field_type": "smallint",
			"local_field": "json_data.run_amount"
		},
		{
			"field_name": "salary__hour",
			"field_number": 10,
			"field_type": "double",
			"local_field": "work_hourly_salary"
		},
		{
			"field_name": "setup_amount",
			"field_number": 40,
			"field_type": "double",
			"local_field": "json_data.setup_amount"
		},
		{
			"field_name": "setup_salary__hour",
			"field_number": 9,
			"field_type": "double",
			"local_field": "setup_hourly_salary"
		},
		{
			"field_name": "setup_time__lot",
			"field_number": 8,
			"field_type": "double",
			"local_field": "setup_hours"
		},
		{
			"field_name": "special_extra_hours",
			"field_number": 27,
			"field_type": "double",
			"local_field": "json_data.special_extra_hours"
		},
		{
			"field_name": "speed_unit",
			"field_number": 21,
			"field_type": "double",
			"local_field": "json_data.speed_unit"
		},
		{
			"field_name": "subc_profit_multiplier",
			"field_number": 48,
			"field_type": "double",
			"local_field": "json_data.subc_profit_multiplier"
		},
		{
			"field_name": "subcont_cost__unit",
			"field_number": 33,
			"field_type": "double",
			"local_field": "json_data.subcont_cost__unit"
		},
		{
			"field_name": "subcont_cost_total",
			"field_number": 37,
			"field_type": "double",
			"local_field": "json_data.subcont_cost_total"
		},
		{
			"field_name": "subcont_purc_price__unit",
			"field_number": 32,
			"field_type": "double",
			"local_field": "json_data.subcont_purc_price__unit"
		},
		{
			"field_name": "subcont_sales_price__unit",
			"field_number": 34,
			"field_type": "double",
			"local_field": "json_data.subcont_sales_price__unit"
		},
		{
			"field_name": "subcont_sales_price_total",
			"field_number": 38,
			"field_type": "double",
			"local_field": "json_data.subcont_sales_price_total"
		},
		{
			"field_name": "subcontract",
			"field_number": 30,
			"field_type": "boolean",
			"local_field": "subcontract"
		},
		{
			"field_name": "subcontract_purchase_price",
			"field_type": "double",
			"local_field": "json_data.subcontract_purchase_price"
		},
		{
			"field_name": "supplier_id",
			"field_number": 31,
			"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": "tag",
			"field_number": 58,
			"field_type": "varchar",
			"length": 160,
			"local_field": "json_data.tag"
		},
		{
			"field_name": "target_extra_time",
			"field_number": 62,
			"field_type": "double",
			"local_field": "json_data.target_extra_time"
		},
		{
			"field_name": "target_extra_time__unit",
			"field_number": 61,
			"field_type": "double",
			"local_field": "json_data.target_extra_time__unit"
		},
		{
			"field_name": "track_time",
			"field_number": 59,
			"field_type": "double",
			"local_field": "json_data.track_time"
		},
		{
			"field_name": "track_time_status",
			"field_number": 60,
			"field_type": "integer",
			"local_field": "json_data.track_time_status"
		},
		{
			"field_name": "transfer_id",
			"field_number": 50,
			"field_type": "varchar",
			"length": 120,
			"local_field": "json_data.transfer_id"
		},
		{
			"field_name": "transfer_state",
			"field_number": 57,
			"field_type": "integer",
			"local_field": "json_data.transfer_state"
		},
		{
			"field_name": "units__hour",
			"field_number": 5,
			"field_type": "double",
			"local_field": "json_data.units_in_hour"
		},
		{
			"field_name": "work__position_num_id",
			"field_number": 1,
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "work__position_num_id",
					"linked_table": "work"
				}
			],
			"length": 60,
			"local_field": "json_data.work__position_num_id",
			"nullable": true
		},
		{
			"field_name": "work_cost__unit",
			"field_number": 16,
			"field_type": "double",
			"local_field": "cost_price"
		},
		{
			"field_name": "work_cost_total",
			"field_number": 35,
			"field_type": "double",
			"local_field": "json_data.work_cost_total"
		},
		{
			"field_name": "work_description",
			"field_number": 19,
			"field_type": "varchar",
			"length": 0,
			"local_field": "description"
		},
		{
			"field_name": "work_load_group_id",
			"field_number": 2,
			"field_type": "varchar",
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "work_load_group_id",
					"linked_table": "work_load_group"
				}
			],
			"length": 24,
			"local_field": "resource_id",
			"nullable": true
		},
		{
			"field_name": "work_salary__unit",
			"field_number": 15,
			"field_type": "double",
			"local_field": "json_data.work_salary__unit"
		},
		{
			"field_name": "work_sales_price__unit",
			"field_number": 17,
			"field_type": "double",
			"local_field": "sales_price"
		},
		{
			"field_name": "work_sales_price_total",
			"field_number": 36,
			"field_type": "double",
			"local_field": "json_data.work_sales_price_total"
		},
		{
			"field_name": "work_time__lot",
			"field_number": 7,
			"field_type": "double",
			"local_field": "json_data.work_time__lot"
		},
		{
			"field_name": "work_time__unit",
			"field_number": 6,
			"field_type": "double",
			"local_field": "work_hours"
		}
	],
	"default_field": "table/default_field.json"
}
