Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3f924c0f

Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt

  • ID 3f924c0fc876c2133e5ba22f25a45a484885ee0b
  • Vorgänger 4f43ec85
  • Nachfolger fea07b8e

Debitorenbuchungen als CSV importieren

Ähnlich wie der Auftragsimport wird hier gemultiplexed, d.h. es gibt separate
Zeilen für die Debitorenbuchung (ar) und die Buchungszeilen (acc_trans).

Es handelt sich allerdings nicht exakt um acc_trans-Zeilen, die direkt
als acc_trans Objekte importiert werden, sondern es können die gleichen
Informationen wie bei der Debitorenbuchung übergeben werden, also Konto,
Betrag, Steuerschlüssel und Projekt, und daraus werden dann die
acc_trans-Zeilen generiert, inklusive Steuerautomatik.

Das Forderungskonto muß in der Rechnungszeile übergeben werden, der Betrag wird
dann anhand der Buchungszeilen bestimmt.

Beispiel für Import-Format (siehe auch mehr Beispiele in t/controllers/csvimport/artransactions.t)

datatype,customer_id,taxzone_id,currency_id,invnumber,taxincluded,archart
datatype,accno,amount,taxkey
"Rechnung",960,4,1,"invoice",f,1400
"AccTransaction",8400,159.48,3

Unterschiede anzeigen:

templates/webpages/csv_import/form.html
135 135
    [%- LxERP.t8('One of the columns "qty" or "target_qty" must be given. If "target_qty" is given, the quantity to transfer for each transfer will be calculate, so that the quantity for this part, warehouse and bin will result in the given "target_qty" after each transfer.') %]
136 136
   </p>
137 137

  
138
[%- ELSIF SELF.type == 'orders' %]
138
[%- ELSIF SELF.type == 'orders' OR SELF.type == 'ar_transactions' %]
139 139
   <p>
140 140
    [1]:
141 141
    [% LxERP.t8('The column "datatype" must be present and must be at the same position / column in each data set. The values must be the row names (see settings) for order and item data respectively.') %]
......
260 260
 [%- INCLUDE 'csv_import/_form_inventories.html' %]
261 261
[%- ELSIF SELF.type == 'orders' %]
262 262
 [%- INCLUDE 'csv_import/_form_orders.html' %]
263
[%- ELSIF SELF.type == 'ar_transactions' %]
264
 [%- INCLUDE 'csv_import/_form_artransactions.html' %]
263 265
[%- ELSIF SELF.type == 'bank_transactions' %]
264 266
 [%- INCLUDE 'csv_import/_form_banktransactions.html' %]
265 267
[%- END %]

Auch abrufbar als: Unified diff