11762 use doctrine for schema creation and update
[tine20] / tine20 / Inventory / Import / definitions / inv_tine_import_csv.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <config>
3     <name>inv_tine_import_csv</name>
4     <model>Inventory_Model_InventoryItem</model>
5     <plugin>Inventory_Import_Csv</plugin>
6     <type>import</type>
7     <headline>1</headline>
8     <dryrun>0</dryrun>
9     <delimiter>,</delimiter>
10     <mapUndefinedFieldsEnable>1</mapUndefinedFieldsEnable>
11     <mapUndefinedFieldsTo>description</mapUndefinedFieldsTo>
12     <label>Inventory CSV import</label>
13     <!-- _("Inventory CSV import") -->
14     <description>tine inv import</description>
15     <example>Inventory/Import/examples/inv_tine_import.csv</example>
16     <extension>csv</extension>
17     <autotags>
18         <tag>
19             <name>Import list (###CURRENTDATE###)</name>
20             <!-- _("Import list (###CURRENTDATE###)") -->
21             <description>Items imported on ###CURRENTDATE### at ###CURRENTTIME### by ###USERFULLNAME###</description>
22             <!-- _("Items imported on ###CURRENTDATE### at ###CURRENTTIME### by ###USERFULLNAME###") -->
23             <contexts>
24                 <Inventory />
25             </contexts>
26             <type>shared</type>
27         </tag>
28     </autotags>
29     <mapping>
30         <field>
31             <source>Inventarnummer</source>
32             <destination>inventory_id</destination>
33         </field>
34         <field>
35             <source>Name</source>
36             <destination>name</destination>
37         </field>
38         <field>
39             <source>Beschreibung</source>
40             <destination>description</destination>
41         </field>
42         <field>
43             <source>Anschaffung</source>
44             <destination>added_date</destination>
45             <typecast>datetime</typecast>
46         </field>
47         <field>
48             <source>Standort</source>
49             <destination>location</destination>
50         </field>
51         <field>
52             <source>Garantie</source>
53             <typecast>datetime</typecast>
54             <destination>warranty</destination>
55         </field>
56         <field>
57             <source>Status</source>
58             <destination>status</destination>
59         </field>
60         
61         <field>
62             <source>Preis</source>
63             <destination>price</destination>
64         </field>
65         <field>
66             <source>Kostenstelle</source>
67             <destination>costcentre</destination>
68         </field>
69         <field>
70             <source>Rechnung</source>
71             <destination>invoice</destination>
72         </field>
73         <field>
74             <source>Rechnungsdatum</source>
75             <typecast>datetime</typecast>
76             <destination>invoice_date</destination>
77         </field>
78         <field>
79             <source>Abgeschrieben</source>
80             <destination>deprecated_status</destination>
81         </field>
82         
83         <field>
84             <source>Seriennummer</source>
85             <destination>serial_number</destination>
86         </field>
87         <field>
88             <source>IMEI</source>
89             <destination>imei</destination>
90         </field>
91         <field>
92             <source>Author</source>
93             <destination>Author</destination>
94         </field>
95         <field>
96             <source>ISBN</source>
97             <destination>ISBN</destination>
98         </field>
99         <field>
100             <source>Verlag</source>
101             <destination>Verlag</destination>
102         </field>
103         <field>
104             <source>Erscheinungs Datum</source>
105             <typecast>datetime</typecast>
106             <destination>Erscheinungs Datum</destination>
107         </field>
108
109
110     </mapping>
111 </config>