<?xml version="1.0" encoding="UTF-8"?>
<csv-inputs xmlns="http://axelor.com/xml/ns/data-import"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://axelor.com/xml/ns/data-import http://axelor.com/xml/ns/data-import/data-import_5.2.xsd">

 	<input file="project_project.csv" type="com.axelor.apps.project.db.Project" separator=";" search="self.importId = :importId">
 		<bind to="fromDate" column="fromDate" eval="call:com.axelor.csv.script.ImportDateTime:importDate(fromDate)" />
 	</input>
 	
 	<input file="business_project_project.csv" type="com.axelor.apps.project.db.Project" separator=";" search="self.importId = :importId"/>
 	
 	<input file="team_task.csv" type="com.axelor.team.db.TeamTask" separator=";" search="self.importId = :importId" call="com.axelor.apps.csv.script.TeamTaskScript:computeFullname">
 		<bind to="taskDate" column="taskDate" eval="call:com.axelor.csv.script.ImportDateTime:importDate(taskDate)" />
 	</input>

	<input file="base_sequence.csv" separator=";" type="com.axelor.apps.base.db.Sequence" search="self.importId = :importId" call="com.axelor.csv.script.SequenceScript:computeFullname">
		<bind to="yearlyResetOk" column="yearlyResetOk" eval="yearlyResetOk == '1' ? true : false"/>
		<bind to="nextNum" column="nextNum" eval="nextNum?.empty ? '1' : nextNum"/>
		<bind to="padding" column="padding" eval="padding?.empty ? '1' : padding"/>
		<bind to="toBeAdded" column="toBeAdded" eval="toBeAdded?.empty ? '1' : toBeAdded"/>
		<bind to="resetDate" eval="call:com.axelor.apps.base.service.app.AppBaseService:getTodayDate()"/>
	</input>

</csv-inputs>

