<?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">
  	
  	<adapter name="LocalDateTime" type="com.axelor.data.adapter.JavaTimeAdapter">
    	<option name="type" value="LocalDateTime"/>
  	  	<option name="format" value="dd/MM/yy HH:mm"/>
 	 </adapter>
	
	<input file="helpdesk_ticketType.csv" separator=";" type="com.axelor.apps.helpdesk.db.TicketType" search="self.importId = :importId"/>

	<input file="helpdesk_ticket.csv" separator=";" type="com.axelor.apps.helpdesk.db.Ticket" search="self.ticketSeq = :ticketSeq">
		<bind to="startDateT" column="startDateT" adapter="LocalDateTime" />
		<bind to="endDateT" column="endDateT" adapter="LocalDateTime"/>
	</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"/>
    </input>
	
</csv-inputs>