{
	"name": "dialog/work_phase_failed/convert_new_rcl.json",
	"convert": [
		[
			"rcl",
			"=",
			[
				"rec",
				[
					[
						"rcl_reclamation_id",
						"=",
						""
					],
					[
						"rcl_firm_id",
						"=",
						1
					],
					[
						"rcl_creation_date",
						"=",
						["currentDateString"]
					],
					[
						"rcl_fault_made_date",
						"=",
						["currentDateString"]
					],
					[
						"rcl_employee_description",
						"=",
						"rcl_employee_description"
					],
					[
						"rcl_handler_id",
						"=",
						""
					],
					[
						"rcl_created_from",
						"=",
						["concatWith",[["/", "hylkykuittaus", "rcl_created_from"]]]
					],
					[
						"rcl_failed_amount",
						"=",
						"rcl_failed_amount"
					],
					[
						"rcl_rejected_amount",
						"=",
						"rcl_failed_amount"
					],
					[
						"rcl_fault_reason",
						"=",
						"rcl_fault_reason"
					],
					[
						"rcl_fault_type",
						"=",
						"rcl_fault_type"
					],
					[
						"rcl_production_lot",
						"=",
						"wos_production_lot"
					],
					[
						"rcl_fault_made_work_phase",
						"=",
						"wos_work_phase"
					],
					[
						"rcl_fault_found_work_phase",
						"=",
						"wos_work_phase"
					],
					[
						"rcl_fault_made_load_group_id",
						"=",
						"wos_work_load_group_id"
					],
					[
						"rcl_fault_found_load_group_id",
						"=",
						"wos_work_load_group_id"
					],

					[
						"rcl_product_id",
						"=",
						"w_product_id"
					],
					[
						"rcl_sales_order_id",
						"=",
						"wo_sales_order_id"
					],
					[
						"rcl_customer_id",
						"=",
						"wo_company_id"
					],
					[
						"rcl_print_to_report",
						"=",
						true
					],
					[
						"rcl_calculation_type",
						"=",
						1
					],
					[
						"rcl_show_type",
						"=",
						1
					],
					[
						"rcl_other_charges",
						"=",
						100
					],
					[
						"rcl_repair_price__unit",
						"=",
						20
					]
				]
			]
		]
	]
}
