]> wagnertech.de Git - mfinanz.git/blob - Test/etc/firma_3.9.2.dump
date error in mapping
[mfinanz.git] / Test / etc / firma_3.9.2.dump
1 --
2 -- PostgreSQL database dump
3 --
4
5 \restrict udx77cffGFXywKFftV0c2RVJe11A5uBWmVHFObbmFi2ktDIoGnYu7nKcwi6FgOa
6
7 -- Dumped from database version 13.23 (Debian 13.23-0+deb11u3)
8 -- Dumped by pg_dump version 13.23 (Debian 13.23-0+deb11u3)
9
10 SET statement_timeout = 0;
11 SET lock_timeout = 0;
12 SET idle_in_transaction_session_timeout = 0;
13 SET client_encoding = 'UTF8';
14 SET standard_conforming_strings = on;
15 SELECT pg_catalog.set_config('search_path', '', false);
16 SET check_function_bodies = false;
17 SET xmloption = content;
18 SET client_min_messages = warning;
19 SET row_security = off;
20
21 --
22 -- Name: tax; Type: SCHEMA; Schema: -; Owner: kivitendo
23 --
24
25 CREATE SCHEMA tax;
26
27
28 ALTER SCHEMA tax OWNER TO kivitendo;
29
30 --
31 -- Name: pg_trgm; Type: EXTENSION; Schema: -; Owner: -
32 --
33
34 CREATE EXTENSION IF NOT EXISTS pg_trgm WITH SCHEMA public;
35
36
37 --
38 -- Name: EXTENSION pg_trgm; Type: COMMENT; Schema: -; Owner: 
39 --
40
41 COMMENT ON EXTENSION pg_trgm IS 'text similarity measurement and index searching based on trigrams';
42
43
44 --
45 -- Name: custom_data_export_query_parameter_default_value_type_enum; Type: TYPE; Schema: public; Owner: kivitendo
46 --
47
48 CREATE TYPE public.custom_data_export_query_parameter_default_value_type_enum AS ENUM (
49     'none',
50     'current_user_login',
51     'sql_query',
52     'fixed_value'
53 );
54
55
56 ALTER TYPE public.custom_data_export_query_parameter_default_value_type_enum OWNER TO kivitendo;
57
58 --
59 -- Name: custom_data_export_query_parameter_type_enum; Type: TYPE; Schema: public; Owner: kivitendo
60 --
61
62 CREATE TYPE public.custom_data_export_query_parameter_type_enum AS ENUM (
63     'text',
64     'number',
65     'date',
66     'timestamp'
67 );
68
69
70 ALTER TYPE public.custom_data_export_query_parameter_type_enum OWNER TO kivitendo;
71
72 --
73 -- Name: datev_export_format_enum; Type: TYPE; Schema: public; Owner: kivitendo
74 --
75
76 CREATE TYPE public.datev_export_format_enum AS ENUM (
77     'cp1252',
78     'cp1252-translit',
79     'utf-8'
80 );
81
82
83 ALTER TYPE public.datev_export_format_enum OWNER TO kivitendo;
84
85 --
86 -- Name: delivery_order_types; Type: TYPE; Schema: public; Owner: kivitendo
87 --
88
89 CREATE TYPE public.delivery_order_types AS ENUM (
90     'sales_delivery_order',
91     'purchase_delivery_order',
92     'supplier_delivery_order',
93     'rma_delivery_order'
94 );
95
96
97 ALTER TYPE public.delivery_order_types OWNER TO kivitendo;
98
99 --
100 -- Name: dunning_creator; Type: TYPE; Schema: public; Owner: kivitendo
101 --
102
103 CREATE TYPE public.dunning_creator AS ENUM (
104     'current_employee',
105     'invoice_employee'
106 );
107
108
109 ALTER TYPE public.dunning_creator OWNER TO kivitendo;
110
111 --
112 -- Name: email_journal_record_type; Type: TYPE; Schema: public; Owner: kivitendo
113 --
114
115 CREATE TYPE public.email_journal_record_type AS ENUM (
116     'sales_order',
117     'purchase_order',
118     'sales_quotation',
119     'request_quotation',
120     'purchase_quotation_intake',
121     'sales_order_intake',
122     'sales_delivery_order',
123     'purchase_delivery_order',
124     'supplier_delivery_order',
125     'rma_delivery_order',
126     'sales_reclamation',
127     'purchase_reclamation',
128     'invoice',
129     'invoice_for_advance_payment',
130     'invoice_for_advance_payment_storno',
131     'final_invoice',
132     'invoice_storno',
133     'credit_note',
134     'credit_note_storno',
135     'purchase_invoice',
136     'purchase_credit_note',
137     'ap_transaction',
138     'ar_transaction',
139     'gl_transaction',
140     'purchase_order_confirmation',
141     'catch_all'
142 );
143
144
145 ALTER TYPE public.email_journal_record_type OWNER TO kivitendo;
146
147 --
148 -- Name: email_journal_status; Type: TYPE; Schema: public; Owner: kivitendo
149 --
150
151 CREATE TYPE public.email_journal_status AS ENUM (
152     'sent',
153     'send_failed',
154     'imported'
155 );
156
157
158 ALTER TYPE public.email_journal_status OWNER TO kivitendo;
159
160 --
161 -- Name: file_object_types; Type: TYPE; Schema: public; Owner: kivitendo
162 --
163
164 CREATE TYPE public.file_object_types AS ENUM (
165     'sales_quotation',
166     'sales_order',
167     'sales_order_intake',
168     'request_quotation',
169     'purchase_quotation_intake',
170     'purchase_order',
171     'purchase_order_confirmation',
172     'sales_delivery_order',
173     'supplier_delivery_order',
174     'purchase_delivery_order',
175     'rma_delivery_order',
176     'invoice',
177     'invoice_for_advance_payment',
178     'final_invoice',
179     'credit_note',
180     'purchase_invoice',
181     'sales_reclamation',
182     'purchase_reclamation',
183     'dunning',
184     'dunning1',
185     'dunning2',
186     'dunning3',
187     'dunning_orig_invoice',
188     'dunning_invoice',
189     'customer',
190     'vendor',
191     'gl_transaction',
192     'part',
193     'shop_image',
194     'draft',
195     'letter',
196     'project',
197     'statement'
198 );
199
200
201 ALTER TYPE public.file_object_types OWNER TO kivitendo;
202
203 --
204 -- Name: files_backends; Type: TYPE; Schema: public; Owner: kivitendo
205 --
206
207 CREATE TYPE public.files_backends AS ENUM (
208     'Filesystem',
209     'Webdav'
210 );
211
212
213 ALTER TYPE public.files_backends OWNER TO kivitendo;
214
215 --
216 -- Name: invoice_creation_mode; Type: TYPE; Schema: public; Owner: kivitendo
217 --
218
219 CREATE TYPE public.invoice_creation_mode AS ENUM (
220     'create_new',
221     'use_last_created_or_create_new'
222 );
223
224
225 ALTER TYPE public.invoice_creation_mode OWNER TO kivitendo;
226
227 --
228 -- Name: invoice_mail_settings; Type: TYPE; Schema: public; Owner: kivitendo
229 --
230
231 CREATE TYPE public.invoice_mail_settings AS ENUM (
232     'cp',
233     'invoice_mail',
234     'invoice_mail_cc_cp'
235 );
236
237
238 ALTER TYPE public.invoice_mail_settings OWNER TO kivitendo;
239
240 --
241 -- Name: items_recurring_billing_mode; Type: TYPE; Schema: public; Owner: kivitendo
242 --
243
244 CREATE TYPE public.items_recurring_billing_mode AS ENUM (
245     'never',
246     'once',
247     'always'
248 );
249
250
251 ALTER TYPE public.items_recurring_billing_mode OWNER TO kivitendo;
252
253 --
254 -- Name: order_types; Type: TYPE; Schema: public; Owner: kivitendo
255 --
256
257 CREATE TYPE public.order_types AS ENUM (
258     'request_quotation',
259     'sales_quotation',
260     'purchase_quotation_intake',
261     'purchase_order',
262     'sales_order_intake',
263     'sales_order',
264     'purchase_order_confirmation'
265 );
266
267
268 ALTER TYPE public.order_types OWNER TO kivitendo;
269
270 --
271 -- Name: part_type_enum; Type: TYPE; Schema: public; Owner: kivitendo
272 --
273
274 CREATE TYPE public.part_type_enum AS ENUM (
275     'part',
276     'service',
277     'assembly',
278     'assortment'
279 );
280
281
282 ALTER TYPE public.part_type_enum OWNER TO kivitendo;
283
284 --
285 -- Name: reclamation_types; Type: TYPE; Schema: public; Owner: kivitendo
286 --
287
288 CREATE TYPE public.reclamation_types AS ENUM (
289     'sales_reclamation',
290     'purchase_reclamation'
291 );
292
293
294 ALTER TYPE public.reclamation_types OWNER TO kivitendo;
295
296 --
297 -- Name: record_template_type; Type: TYPE; Schema: public; Owner: kivitendo
298 --
299
300 CREATE TYPE public.record_template_type AS ENUM (
301     'ar_transaction',
302     'ap_transaction',
303     'gl_transaction'
304 );
305
306
307 ALTER TYPE public.record_template_type OWNER TO kivitendo;
308
309 --
310 -- Name: add_parts_price_history_entry(); Type: FUNCTION; Schema: public; Owner: kivitendo
311 --
312
313 CREATE FUNCTION public.add_parts_price_history_entry() RETURNS trigger
314     LANGUAGE plpgsql
315     AS $$
316   BEGIN
317     IF      (TG_OP = 'UPDATE')
318         AND ((OLD.lastcost        IS NULL AND NEW.lastcost        IS NULL) OR (OLD.lastcost     = NEW.lastcost))
319         AND ((OLD.listprice       IS NULL AND NEW.listprice       IS NULL) OR (OLD.listprice    = NEW.listprice))
320         AND ((OLD.sellprice       IS NULL AND NEW.sellprice       IS NULL) OR (OLD.sellprice    = NEW.sellprice))
321         AND ((OLD.price_factor_id IS NULL AND NEW.price_factor_id IS NULL) OR
322              ( (SELECT factor FROM price_factors WHERE price_factors.id = OLD.price_factor_id) = (SELECT factor FROM price_factors WHERE price_factors.id = NEW.price_factor_id) ))
323         THEN
324       RETURN NEW;
325     END IF;
326
327     INSERT INTO parts_price_history (part_id, lastcost, listprice, sellprice, price_factor, valid_from)
328     VALUES (NEW.id, NEW.lastcost, NEW.listprice, NEW.sellprice, COALESCE((SELECT factor FROM price_factors WHERE price_factors.id = NEW.price_factor_id), 1), now());
329
330     RETURN NEW;
331   END;
332 $$;
333
334
335 ALTER FUNCTION public.add_parts_price_history_entry() OWNER TO kivitendo;
336
337 --
338 -- Name: chart_category_to_sgn(character); Type: FUNCTION; Schema: public; Owner: kivitendo
339 --
340
341 CREATE FUNCTION public.chart_category_to_sgn(character) RETURNS integer
342     LANGUAGE sql
343     AS $_$SELECT  1 WHERE $1 IN ('I', 'L', 'Q')
344       UNION 
345     SELECT -1 WHERE $1 IN ('E', 'A')$_$;
346
347
348 ALTER FUNCTION public.chart_category_to_sgn(character) OWNER TO kivitendo;
349
350 --
351 -- Name: check_bin_belongs_to_wh(); Type: FUNCTION; Schema: public; Owner: kivitendo
352 --
353
354 CREATE FUNCTION public.check_bin_belongs_to_wh() RETURNS trigger
355     LANGUAGE plpgsql
356     AS $$BEGIN
357         IF NEW.bin_id IS NULL AND NEW.warehouse_id IS NULL THEN
358           RETURN NEW;
359         END IF;
360         IF NEW.bin_id IN (SELECT id FROM bin WHERE warehouse_id = NEW.warehouse_id) THEN
361           RETURN NEW;
362         ELSE
363           RAISE EXCEPTION 'bin (id=%) does not belong to warehouse (id=%).', NEW.bin_id, NEW.warehouse_id;
364           RETURN NULL;
365         END IF;
366       END;$$;
367
368
369 ALTER FUNCTION public.check_bin_belongs_to_wh() OWNER TO kivitendo;
370
371 --
372 -- Name: clean_up_acc_trans_after_ar_ap_gl_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
373 --
374
375 CREATE FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete() RETURNS trigger
376     LANGUAGE plpgsql
377     AS $$
378   BEGIN
379     DELETE FROM acc_trans WHERE trans_id = OLD.id;
380     RETURN OLD;
381   END;
382 $$;
383
384
385 ALTER FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete() OWNER TO kivitendo;
386
387 --
388 -- Name: clean_up_after_customer_vendor_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
389 --
390
391 CREATE FUNCTION public.clean_up_after_customer_vendor_delete() RETURNS trigger
392     LANGUAGE plpgsql
393     AS $$
394   BEGIN
395     DELETE FROM contacts
396     WHERE cp_cv_id = OLD.id;
397
398     DELETE FROM shipto
399     WHERE (trans_id = OLD.id)
400       AND (module   = 'CT');
401
402     RETURN OLD;
403   END;
404 $$;
405
406
407 ALTER FUNCTION public.clean_up_after_customer_vendor_delete() OWNER TO kivitendo;
408
409 --
410 -- Name: clean_up_record_links_before_ap_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
411 --
412
413 CREATE FUNCTION public.clean_up_record_links_before_ap_delete() RETURNS trigger
414     LANGUAGE plpgsql
415     AS $$
416   BEGIN
417     DELETE FROM record_links
418       WHERE (from_table = 'ap' AND from_id = OLD.id)
419          OR (to_table   = 'ap' AND to_id   = OLD.id);
420     RETURN OLD;
421   END;
422 $$;
423
424
425 ALTER FUNCTION public.clean_up_record_links_before_ap_delete() OWNER TO kivitendo;
426
427 --
428 -- Name: clean_up_record_links_before_ar_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
429 --
430
431 CREATE FUNCTION public.clean_up_record_links_before_ar_delete() RETURNS trigger
432     LANGUAGE plpgsql
433     AS $$
434   BEGIN
435     DELETE FROM record_links
436       WHERE (from_table = 'ar' AND from_id = OLD.id)
437          OR (to_table   = 'ar' AND to_id   = OLD.id);
438     RETURN OLD;
439   END;
440 $$;
441
442
443 ALTER FUNCTION public.clean_up_record_links_before_ar_delete() OWNER TO kivitendo;
444
445 --
446 -- Name: clean_up_record_links_before_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
447 --
448
449 CREATE FUNCTION public.clean_up_record_links_before_delete() RETURNS trigger
450     LANGUAGE plpgsql
451     AS $$
452   BEGIN
453     DELETE FROM record_links
454       WHERE (from_table = TG_TABLE_NAME AND from_id = OLD.id)
455          OR (to_table   = TG_TABLE_NAME AND to_id   = OLD.id);
456     RETURN OLD;
457   END;
458 $$;
459
460
461 ALTER FUNCTION public.clean_up_record_links_before_delete() OWNER TO kivitendo;
462
463 --
464 -- Name: clean_up_record_links_before_delivery_order_items_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
465 --
466
467 CREATE FUNCTION public.clean_up_record_links_before_delivery_order_items_delete() RETURNS trigger
468     LANGUAGE plpgsql
469     AS $$
470   BEGIN
471     DELETE FROM record_links
472       WHERE (from_table = 'delivery_order_items' AND from_id = OLD.id)
473          OR (to_table   = 'delivery_order_items' AND to_id   = OLD.id);
474     RETURN OLD;
475   END;
476 $$;
477
478
479 ALTER FUNCTION public.clean_up_record_links_before_delivery_order_items_delete() OWNER TO kivitendo;
480
481 --
482 -- Name: clean_up_record_links_before_delivery_orders_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
483 --
484
485 CREATE FUNCTION public.clean_up_record_links_before_delivery_orders_delete() RETURNS trigger
486     LANGUAGE plpgsql
487     AS $$
488   BEGIN
489     DELETE FROM record_links
490       WHERE (from_table = 'delivery_orders' AND from_id = OLD.id)
491          OR (to_table   = 'delivery_orders' AND to_id   = OLD.id);
492     RETURN OLD;
493   END;
494 $$;
495
496
497 ALTER FUNCTION public.clean_up_record_links_before_delivery_orders_delete() OWNER TO kivitendo;
498
499 --
500 -- Name: clean_up_record_links_before_dunning_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
501 --
502
503 CREATE FUNCTION public.clean_up_record_links_before_dunning_delete() RETURNS trigger
504     LANGUAGE plpgsql
505     AS $$
506   BEGIN
507     DELETE FROM record_links
508       WHERE (from_table = 'dunning' AND from_id = OLD.id)
509          OR (to_table   = 'dunning' AND to_id   = OLD.id);
510     RETURN OLD;
511   END;
512 $$;
513
514
515 ALTER FUNCTION public.clean_up_record_links_before_dunning_delete() OWNER TO kivitendo;
516
517 --
518 -- Name: clean_up_record_links_before_gl_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
519 --
520
521 CREATE FUNCTION public.clean_up_record_links_before_gl_delete() RETURNS trigger
522     LANGUAGE plpgsql
523     AS $$
524   BEGIN
525     DELETE FROM record_links
526       WHERE (from_table = 'gl' AND from_id = OLD.id)
527          OR (to_table   = 'gl' AND to_id   = OLD.id);
528     RETURN OLD;
529   END;
530 $$;
531
532
533 ALTER FUNCTION public.clean_up_record_links_before_gl_delete() OWNER TO kivitendo;
534
535 --
536 -- Name: clean_up_record_links_before_invoice_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
537 --
538
539 CREATE FUNCTION public.clean_up_record_links_before_invoice_delete() RETURNS trigger
540     LANGUAGE plpgsql
541     AS $$
542   BEGIN
543     DELETE FROM record_links
544       WHERE (from_table = 'invoice' AND from_id = OLD.id)
545          OR (to_table   = 'invoice' AND to_id   = OLD.id);
546     RETURN OLD;
547   END;
548 $$;
549
550
551 ALTER FUNCTION public.clean_up_record_links_before_invoice_delete() OWNER TO kivitendo;
552
553 --
554 -- Name: clean_up_record_links_before_letter_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
555 --
556
557 CREATE FUNCTION public.clean_up_record_links_before_letter_delete() RETURNS trigger
558     LANGUAGE plpgsql
559     AS $$
560   BEGIN
561     DELETE FROM record_links
562       WHERE (from_table = 'letter' AND from_id = OLD.id)
563          OR (to_table   = 'letter' AND to_id   = OLD.id);
564     RETURN OLD;
565   END;
566 $$;
567
568
569 ALTER FUNCTION public.clean_up_record_links_before_letter_delete() OWNER TO kivitendo;
570
571 --
572 -- Name: clean_up_record_links_before_oe_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
573 --
574
575 CREATE FUNCTION public.clean_up_record_links_before_oe_delete() RETURNS trigger
576     LANGUAGE plpgsql
577     AS $$
578   BEGIN
579     DELETE FROM record_links
580       WHERE (from_table = 'oe' AND from_id = OLD.id)
581          OR (to_table   = 'oe' AND to_id   = OLD.id);
582     RETURN OLD;
583   END;
584 $$;
585
586
587 ALTER FUNCTION public.clean_up_record_links_before_oe_delete() OWNER TO kivitendo;
588
589 --
590 -- Name: clean_up_record_links_before_orderitems_delete(); Type: FUNCTION; Schema: public; Owner: kivitendo
591 --
592
593 CREATE FUNCTION public.clean_up_record_links_before_orderitems_delete() RETURNS trigger
594     LANGUAGE plpgsql
595     AS $$
596   BEGIN
597     DELETE FROM record_links
598       WHERE (from_table = 'orderitems' AND from_id = OLD.id)
599          OR (to_table   = 'orderitems' AND to_id   = OLD.id);
600     RETURN OLD;
601   END;
602 $$;
603
604
605 ALTER FUNCTION public.clean_up_record_links_before_orderitems_delete() OWNER TO kivitendo;
606
607 --
608 -- Name: delete_custom_variables_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
609 --
610
611 CREATE FUNCTION public.delete_custom_variables_trigger() RETURNS trigger
612     LANGUAGE plpgsql
613     AS $$
614   BEGIN
615     IF (TG_TABLE_NAME IN ('orderitems', 'delivery_order_items', 'invoice', 'reclamation_items')) THEN
616       PERFORM delete_custom_variables_with_sub_module('IC', TG_TABLE_NAME, old.id);
617     END IF;
618
619     IF (TG_TABLE_NAME = 'parts') THEN
620       PERFORM delete_custom_variables_with_sub_module('IC', '', old.id);
621     END IF;
622
623     IF (TG_TABLE_NAME IN ('customer', 'vendor')) THEN
624       PERFORM delete_custom_variables_with_sub_module('CT', '', old.id);
625     END IF;
626
627     IF (TG_TABLE_NAME = 'contacts') THEN
628       PERFORM delete_custom_variables_with_sub_module('Contacts', '', old.cp_id);
629     END IF;
630
631     IF (TG_TABLE_NAME = 'project') THEN
632       PERFORM delete_custom_variables_with_sub_module('Projects', '', old.id);
633     END IF;
634
635     IF (TG_TABLE_NAME = 'shipto') THEN
636       PERFORM delete_custom_variables_with_sub_module('ShipTo', '', old.shipto_id);
637     END IF;
638
639     RETURN old;
640   END;
641 $$;
642
643
644 ALTER FUNCTION public.delete_custom_variables_trigger() OWNER TO kivitendo;
645
646 --
647 -- Name: delete_custom_variables_with_sub_module(text, text, integer); Type: FUNCTION; Schema: public; Owner: kivitendo
648 --
649
650 CREATE FUNCTION public.delete_custom_variables_with_sub_module(config_module text, cvar_sub_module text, old_id integer) RETURNS boolean
651     LANGUAGE plpgsql
652     AS $$
653   BEGIN
654     DELETE FROM custom_variables
655     WHERE EXISTS (SELECT id FROM custom_variable_configs cfg WHERE (cfg.module = config_module) AND (custom_variables.config_id = cfg.id))
656       AND (COALESCE(sub_module, '') = cvar_sub_module)
657       AND (trans_id                 = old_id);
658
659     RETURN TRUE;
660   END;
661 $$;
662
663
664 ALTER FUNCTION public.delete_custom_variables_with_sub_module(config_module text, cvar_sub_module text, old_id integer) OWNER TO kivitendo;
665
666 --
667 -- Name: delete_requirement_spec_custom_variables_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
668 --
669
670 CREATE FUNCTION public.delete_requirement_spec_custom_variables_trigger() RETURNS trigger
671     LANGUAGE plpgsql
672     AS $$
673   BEGIN
674     DELETE FROM custom_variables WHERE (sub_module = '' OR sub_module IS NULL)
675                                    AND trans_id = OLD.id
676                                    AND (SELECT module FROM custom_variable_configs WHERE id = config_id) = 'RequirementSpecs';
677
678     RETURN OLD;
679   END;
680 $$;
681
682
683 ALTER FUNCTION public.delete_requirement_spec_custom_variables_trigger() OWNER TO kivitendo;
684
685 --
686 -- Name: delivery_orders_before_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
687 --
688
689 CREATE FUNCTION public.delivery_orders_before_delete_trigger() RETURNS trigger
690     LANGUAGE plpgsql
691     AS $$
692         BEGIN
693           DELETE FROM status                     WHERE trans_id = OLD.id;
694           DELETE FROM delivery_order_items_stock WHERE delivery_order_item_id IN (SELECT id FROM delivery_order_items WHERE delivery_order_id = OLD.id);
695           DELETE FROM shipto                     WHERE (trans_id = OLD.id) AND (module = 'OE');
696
697           RETURN OLD;
698         END;
699       $$;
700
701
702 ALTER FUNCTION public.delivery_orders_before_delete_trigger() OWNER TO kivitendo;
703
704 --
705 -- Name: first_agg(anyelement, anyelement); Type: FUNCTION; Schema: public; Owner: kivitendo
706 --
707
708 CREATE FUNCTION public.first_agg(anyelement, anyelement) RETURNS anyelement
709     LANGUAGE sql IMMUTABLE STRICT
710     AS $_$
711   SELECT $1;
712 $_$;
713
714
715 ALTER FUNCTION public.first_agg(anyelement, anyelement) OWNER TO kivitendo;
716
717 --
718 -- Name: follow_up_close_when_oe_closed_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
719 --
720
721 CREATE FUNCTION public.follow_up_close_when_oe_closed_trigger() RETURNS trigger
722     LANGUAGE plpgsql
723     AS $$
724   BEGIN
725     IF COALESCE(NEW.closed, FALSE) AND NOT COALESCE(OLD.closed, FALSE) THEN
726       INSERT INTO follow_up_done (follow_up_id)
727         SELECT follow_ups.id
728         FROM follow_ups
729         LEFT JOIN follow_up_done ON (follow_up_done.follow_up_id = follow_ups.id)
730         WHERE follow_up_done.id IS NULL
731           AND follow_ups.id IN (
732           SELECT follow_up_id
733           FROM follow_up_links
734           WHERE (trans_id   = NEW.id)
735             AND (trans_type IN ('sales_quotation',   'sales_order',    'sales_delivery_order',
736                                 'request_quotation', 'purchase_order', 'purchase_delivery_order'))
737        );
738     END IF;
739
740     RETURN NEW;
741   END;
742 $$;
743
744
745 ALTER FUNCTION public.follow_up_close_when_oe_closed_trigger() OWNER TO kivitendo;
746
747 --
748 -- Name: follow_up_delete_notes_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
749 --
750
751 CREATE FUNCTION public.follow_up_delete_notes_trigger() RETURNS trigger
752     LANGUAGE plpgsql
753     AS $$
754   BEGIN
755     DELETE FROM notes
756     WHERE (trans_id     = OLD.id)
757       AND (trans_module = 'fu');
758     RETURN OLD;
759   END;
760 $$;
761
762
763 ALTER FUNCTION public.follow_up_delete_notes_trigger() OWNER TO kivitendo;
764
765 --
766 -- Name: follow_up_delete_when_customer_vendor_is_deleted_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
767 --
768
769 CREATE FUNCTION public.follow_up_delete_when_customer_vendor_is_deleted_trigger() RETURNS trigger
770     LANGUAGE plpgsql
771     AS $$
772   BEGIN
773     DELETE FROM follow_ups
774     WHERE id IN (
775       SELECT follow_up_id
776       FROM follow_up_links
777       WHERE (trans_id   = OLD.id)
778         AND (trans_type IN ('customer', 'vendor'))
779     );
780
781     DELETE FROM notes
782     WHERE (trans_id     = OLD.id)
783       AND (trans_module = 'ct');
784
785     RETURN OLD;
786   END;
787 $$;
788
789
790 ALTER FUNCTION public.follow_up_delete_when_customer_vendor_is_deleted_trigger() OWNER TO kivitendo;
791
792 --
793 -- Name: follow_up_delete_when_oe_is_deleted_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
794 --
795
796 CREATE FUNCTION public.follow_up_delete_when_oe_is_deleted_trigger() RETURNS trigger
797     LANGUAGE plpgsql
798     AS $$
799   BEGIN
800     DELETE FROM follow_ups
801     WHERE id IN (
802       SELECT follow_up_id
803       FROM follow_up_links
804       WHERE (trans_id   = OLD.id)
805         AND (trans_type IN ('sales_quotation',   'sales_order',    'sales_delivery_order',    'sales_invoice',
806                             'request_quotation', 'purchase_order', 'purchase_delivery_order', 'purchase_invoice'))
807     );
808
809     RETURN OLD;
810   END;
811 $$;
812
813
814 ALTER FUNCTION public.follow_up_delete_when_oe_is_deleted_trigger() OWNER TO kivitendo;
815
816 --
817 -- Name: generic_translations_delete_on_delivery_terms_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
818 --
819
820 CREATE FUNCTION public.generic_translations_delete_on_delivery_terms_delete_trigger() RETURNS trigger
821     LANGUAGE plpgsql
822     AS $$
823   BEGIN
824     DELETE FROM generic_translations
825       WHERE translation_id = OLD.id AND translation_type LIKE 'SL::DB::DeliveryTerm/description_long';
826     RETURN OLD;
827   END;
828 $$;
829
830
831 ALTER FUNCTION public.generic_translations_delete_on_delivery_terms_delete_trigger() OWNER TO kivitendo;
832
833 --
834 -- Name: generic_translations_delete_on_payment_terms_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
835 --
836
837 CREATE FUNCTION public.generic_translations_delete_on_payment_terms_delete_trigger() RETURNS trigger
838     LANGUAGE plpgsql
839     AS $$
840   BEGIN
841     DELETE FROM generic_translations
842     WHERE (translation_id = OLD.id)
843       AND (translation_type IN ('SL::DB::PaymentTerm/description_long', 'SL::DB::PaymentTerm/description_long_invoice'));
844     RETURN OLD;
845   END;
846 $$;
847
848
849 ALTER FUNCTION public.generic_translations_delete_on_payment_terms_delete_trigger() OWNER TO kivitendo;
850
851 --
852 -- Name: generic_translations_delete_on_tax_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
853 --
854
855 CREATE FUNCTION public.generic_translations_delete_on_tax_delete_trigger() RETURNS trigger
856     LANGUAGE plpgsql
857     AS $$
858   BEGIN
859     DELETE FROM generic_translations
860       WHERE translation_id = OLD.id AND translation_type LIKE 'SL::DB::Tax/taxdescription';
861     RETURN OLD;
862   END;
863 $$;
864
865
866 ALTER FUNCTION public.generic_translations_delete_on_tax_delete_trigger() OWNER TO kivitendo;
867
868 --
869 -- Name: oe_before_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
870 --
871
872 CREATE FUNCTION public.oe_before_delete_trigger() RETURNS trigger
873     LANGUAGE plpgsql
874     AS $$
875         BEGIN
876           DELETE FROM status WHERE trans_id = OLD.id;
877           DELETE FROM shipto WHERE (trans_id = OLD.id) AND (module = 'OE');
878
879           RETURN OLD;
880         END;
881       $$;
882
883
884 ALTER FUNCTION public.oe_before_delete_trigger() OWNER TO kivitendo;
885
886 --
887 -- Name: recalculate_all_spec_item_time_estimations(); Type: FUNCTION; Schema: public; Owner: kivitendo
888 --
889
890 CREATE FUNCTION public.recalculate_all_spec_item_time_estimations() RETURNS boolean
891     LANGUAGE plpgsql
892     AS $$
893   DECLARE
894     rspec RECORD;
895   BEGIN
896     FOR rspec IN SELECT id FROM requirement_specs LOOP
897       PERFORM recalculate_spec_item_time_estimation(rspec.id);
898     END LOOP;
899
900     RETURN TRUE;
901   END;
902 $$;
903
904
905 ALTER FUNCTION public.recalculate_all_spec_item_time_estimations() OWNER TO kivitendo;
906
907 --
908 -- Name: recalculate_spec_item_time_estimation(integer); Type: FUNCTION; Schema: public; Owner: kivitendo
909 --
910
911 CREATE FUNCTION public.recalculate_spec_item_time_estimation(the_requirement_spec_id integer) RETURNS boolean
912     LANGUAGE plpgsql
913     AS $$
914   DECLARE
915     item RECORD;
916   BEGIN
917     FOR item IN
918       SELECT DISTINCT parent_id
919       FROM requirement_spec_items
920       WHERE (requirement_spec_id = the_requirement_spec_id)
921         AND (item_type           = 'sub-function-block')
922     LOOP
923       RAISE DEBUG 'hmm function-block with sub: %', item.parent_id;
924       PERFORM update_requirement_spec_item_time_estimation(item.parent_id, the_requirement_spec_id);
925     END LOOP;
926
927     FOR item IN
928       SELECT DISTINCT parent_id
929       FROM requirement_spec_items
930       WHERE (requirement_spec_id = the_requirement_spec_id)
931         AND (item_type           = 'function-block')
932         AND (id NOT IN (
933           SELECT parent_id
934           FROM requirement_spec_items
935           WHERE (requirement_spec_id = the_requirement_spec_id)
936             AND (item_type           = 'sub-function-block')
937         ))
938     LOOP
939       RAISE DEBUG 'hmm section with function-block: %', item.parent_id;
940       PERFORM update_requirement_spec_item_time_estimation(item.parent_id, the_requirement_spec_id);
941     END LOOP;
942
943     PERFORM update_requirement_spec_item_time_estimation(NULL, the_requirement_spec_id);
944
945     RETURN TRUE;
946   END;
947 $$;
948
949
950 ALTER FUNCTION public.recalculate_spec_item_time_estimation(the_requirement_spec_id integer) OWNER TO kivitendo;
951
952 --
953 -- Name: requirement_spec_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
954 --
955
956 CREATE FUNCTION public.requirement_spec_delete_trigger() RETURNS trigger
957     LANGUAGE plpgsql
958     AS $$
959   BEGIN
960     IF TG_WHEN = 'AFTER' THEN
961       DELETE FROM trigger_information WHERE (key = 'deleting_requirement_spec') AND (value = CAST(OLD.id AS TEXT));
962
963       RETURN OLD;
964     END IF;
965
966     RAISE DEBUG 'before delete trigger on %', OLD.id;
967
968     INSERT INTO trigger_information (key, value) VALUES ('deleting_requirement_spec', CAST(OLD.id AS TEXT));
969
970     RAISE DEBUG '  Converting items into sections items for %', OLD.id;
971     UPDATE requirement_spec_items SET item_type  = 'section', parent_id = NULL WHERE requirement_spec_id = OLD.id;
972
973     RAISE DEBUG '  And we out for %', OLD.id;
974
975     RETURN OLD;
976   END;
977 $$;
978
979
980 ALTER FUNCTION public.requirement_spec_delete_trigger() OWNER TO kivitendo;
981
982 --
983 -- Name: requirement_spec_item_before_delete_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
984 --
985
986 CREATE FUNCTION public.requirement_spec_item_before_delete_trigger() RETURNS trigger
987     LANGUAGE plpgsql
988     AS $$
989   BEGIN
990     RAISE DEBUG 'delete trig RSitem old id %', OLD.id;
991     INSERT INTO trigger_information (key, value) VALUES ('deleting_requirement_spec_item', CAST(OLD.id AS TEXT));
992     DELETE FROM requirement_spec_items WHERE (parent_id         = OLD.id);
993     DELETE FROM trigger_information    WHERE (key = 'deleting_requirement_spec_item') AND (value = CAST(OLD.id AS TEXT));
994     RAISE DEBUG 'delete trig END %', OLD.id;
995     RETURN OLD;
996   END;
997 $$;
998
999
1000 ALTER FUNCTION public.requirement_spec_item_before_delete_trigger() OWNER TO kivitendo;
1001
1002 --
1003 -- Name: requirement_spec_item_time_estimation_updater_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
1004 --
1005
1006 CREATE FUNCTION public.requirement_spec_item_time_estimation_updater_trigger() RETURNS trigger
1007     LANGUAGE plpgsql
1008     AS $$
1009   DECLARE
1010     do_new BOOLEAN;
1011   BEGIN
1012     RAISE DEBUG 'updateRSITE op %', TG_OP;
1013     IF ((TG_OP = 'UPDATE') OR (TG_OP = 'DELETE')) THEN
1014       RAISE DEBUG 'UPDATE trigg op % OLD.id % OLD.parent_id %', TG_OP, OLD.id, OLD.parent_id;
1015       PERFORM update_requirement_spec_item_time_estimation(OLD.parent_id, OLD.requirement_spec_id);
1016       RAISE DEBUG 'UPDATE trigg op % END %', TG_OP, OLD.id;
1017     END IF;
1018     do_new = FALSE;
1019
1020     IF (TG_OP = 'UPDATE') THEN
1021       do_new = OLD.parent_id <> NEW.parent_id;
1022     END IF;
1023
1024     IF (do_new OR (TG_OP = 'INSERT')) THEN
1025       RAISE DEBUG 'UPDATE trigg op % NEW.id % NEW.parent_id %', TG_OP, NEW.id, NEW.parent_id;
1026       PERFORM update_requirement_spec_item_time_estimation(NEW.parent_id, NEW.requirement_spec_id);
1027       RAISE DEBUG 'UPDATE trigg op % END %', TG_OP, NEW.id;
1028     END IF;
1029
1030     RETURN NULL;
1031   END;
1032 $$;
1033
1034
1035 ALTER FUNCTION public.requirement_spec_item_time_estimation_updater_trigger() OWNER TO kivitendo;
1036
1037 --
1038 -- Name: set_mtime(); Type: FUNCTION; Schema: public; Owner: kivitendo
1039 --
1040
1041 CREATE FUNCTION public.set_mtime() RETURNS trigger
1042     LANGUAGE plpgsql
1043     AS $$    BEGIN        NEW.mtime := 'now';        RETURN NEW;    END;$$;
1044
1045
1046 ALTER FUNCTION public.set_mtime() OWNER TO kivitendo;
1047
1048 --
1049 -- Name: shop_images_reorder_position(); Type: FUNCTION; Schema: public; Owner: kivitendo
1050 --
1051
1052 CREATE FUNCTION public.shop_images_reorder_position() RETURNS trigger
1053     LANGUAGE plpgsql
1054     AS $$
1055 BEGIN
1056   UPDATE shop_images
1057   SET position = reordered.new_position
1058   FROM (
1059     SELECT id, rank() OVER (PARTITION BY object_id ORDER BY position ASC) AS new_position
1060     FROM shop_images
1061     WHERE shop_images.object_id = OLD.object_id
1062   ) reordered
1063   WHERE shop_images.id = reordered.id
1064   AND shop_images.position IS DISTINCT FROM reordered.new_position;
1065
1066   RETURN OLD;
1067 END;
1068 $$;
1069
1070
1071 ALTER FUNCTION public.shop_images_reorder_position() OWNER TO kivitendo;
1072
1073 --
1074 -- Name: time_recordings_set_date_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
1075 --
1076
1077 CREATE FUNCTION public.time_recordings_set_date_trigger() RETURNS trigger
1078     LANGUAGE plpgsql
1079     AS $$
1080   BEGIN
1081     IF NEW.start_time IS NOT NULL THEN
1082       NEW.date = NEW.start_time::DATE;
1083     END IF;
1084     RETURN NEW;
1085   END;
1086 $$;
1087
1088
1089 ALTER FUNCTION public.time_recordings_set_date_trigger() OWNER TO kivitendo;
1090
1091 --
1092 -- Name: time_recordings_set_duration_trigger(); Type: FUNCTION; Schema: public; Owner: kivitendo
1093 --
1094
1095 CREATE FUNCTION public.time_recordings_set_duration_trigger() RETURNS trigger
1096     LANGUAGE plpgsql
1097     AS $$
1098   BEGIN
1099     IF NEW.start_time IS NOT NULL AND NEW.end_time IS NOT NULL THEN
1100       NEW.duration = EXTRACT(EPOCH FROM (NEW.end_time - NEW.start_time))/60;
1101     END IF;
1102     RETURN NEW;
1103   END;
1104 $$;
1105
1106
1107 ALTER FUNCTION public.time_recordings_set_duration_trigger() OWNER TO kivitendo;
1108
1109 --
1110 -- Name: update_onhand(); Type: FUNCTION; Schema: public; Owner: kivitendo
1111 --
1112
1113 CREATE FUNCTION public.update_onhand() RETURNS trigger
1114     LANGUAGE plpgsql
1115     AS $$
1116 BEGIN
1117   IF tg_op = 'INSERT' THEN
1118     UPDATE parts SET onhand = COALESCE(onhand, 0) + new.qty WHERE id = new.parts_id;
1119     RETURN new;
1120   ELSIF tg_op = 'DELETE' THEN
1121     UPDATE parts SET onhand = COALESCE(onhand, 0) - old.qty WHERE id = old.parts_id;
1122     RETURN old;
1123   ELSE
1124     UPDATE parts SET onhand = COALESCE(onhand, 0) - old.qty + new.qty WHERE id = old.parts_id;
1125     RETURN new;
1126   END IF;
1127 END;
1128 $$;
1129
1130
1131 ALTER FUNCTION public.update_onhand() OWNER TO kivitendo;
1132
1133 --
1134 -- Name: update_requirement_spec_item_time_estimation(integer, integer); Type: FUNCTION; Schema: public; Owner: kivitendo
1135 --
1136
1137 CREATE FUNCTION public.update_requirement_spec_item_time_estimation(item_id integer, item_requirement_spec_id integer) RETURNS boolean
1138     LANGUAGE plpgsql
1139     AS $$
1140   DECLARE
1141     current_row RECORD;
1142     new_row     RECORD;
1143   BEGIN
1144     IF EXISTS(
1145       SELECT *
1146       FROM trigger_information
1147       WHERE ((key = 'deleting_requirement_spec_item') AND (value = CAST(item_id                  AS TEXT)))
1148          OR ((key = 'deleting_requirement_spec')      AND (value = CAST(item_requirement_spec_id AS TEXT)))
1149       LIMIT 1
1150     ) THEN
1151       RAISE DEBUG 'updateRSIE: item_id % or requirement_spec_id % is about to be deleted; do not update', item_id, item_requirement_spec_id;
1152       RETURN FALSE;
1153     END IF;
1154
1155     -- item_id IS NULL means that a section has been updated. The
1156     -- requirement spec itself must therefore be updated.
1157     IF item_id IS NULL THEN
1158       SELECT COALESCE(time_estimation, 0) AS time_estimation
1159       INTO current_row
1160       FROM requirement_specs
1161       WHERE id = item_requirement_spec_id;
1162
1163       SELECT COALESCE(SUM(time_estimation), 0) AS time_estimation
1164       INTO new_row
1165       FROM requirement_spec_items
1166       WHERE (parent_id IS NULL)
1167         AND (requirement_spec_id = item_requirement_spec_id);
1168
1169       IF current_row.time_estimation <> new_row.time_estimation THEN
1170         RAISE DEBUG 'updateRSIE: updating requirement_spec % itself: old estimation % new %.', item_requirement_spec_id, current_row.time_estimation, new_row.time_estimation;
1171
1172         UPDATE requirement_specs
1173         SET time_estimation = new_row.time_estimation
1174         WHERE id = item_requirement_spec_id;
1175       END IF;
1176
1177       RETURN TRUE;
1178     END IF;
1179
1180     -- If we're here it means that either a sub-function-block or a
1181     -- function-block has been updated. item_id is the parent's ID of
1182     -- the updated item -- meaning the ID of the item that needs to be
1183     -- updated now.
1184
1185     SELECT COALESCE(time_estimation, 0) AS time_estimation
1186     INTO current_row
1187     FROM requirement_spec_items
1188     WHERE id = item_id;
1189
1190     SELECT COALESCE(SUM(time_estimation), 0) AS time_estimation
1191     INTO new_row
1192     FROM requirement_spec_items
1193     WHERE (parent_id = item_id);
1194
1195     IF current_row.time_estimation = new_row.time_estimation THEN
1196       RAISE DEBUG 'updateRSIE: item %: nothing to do', item_id;
1197       RETURN TRUE;
1198     END IF;
1199
1200     RAISE DEBUG 'updateRSIE: updating item %: old estimation % new %.', item_id, current_row.time_estimation, new_row.time_estimation;
1201
1202     UPDATE requirement_spec_items
1203     SET time_estimation = new_row.time_estimation
1204     WHERE id = item_id;
1205
1206     RETURN TRUE;
1207   END;
1208 $$;
1209
1210
1211 ALTER FUNCTION public.update_requirement_spec_item_time_estimation(item_id integer, item_requirement_spec_id integer) OWNER TO kivitendo;
1212
1213 --
1214 -- Name: first(anyelement); Type: AGGREGATE; Schema: public; Owner: kivitendo
1215 --
1216
1217 CREATE AGGREGATE public.first(anyelement) (
1218     SFUNC = public.first_agg,
1219     STYPE = anyelement
1220 );
1221
1222
1223 ALTER AGGREGATE public.first(anyelement) OWNER TO kivitendo;
1224
1225 --
1226 -- Name: acc_trans_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1227 --
1228
1229 CREATE SEQUENCE public.acc_trans_id_seq
1230     START WITH 1
1231     INCREMENT BY 1
1232     NO MINVALUE
1233     NO MAXVALUE
1234     CACHE 1;
1235
1236
1237 ALTER TABLE public.acc_trans_id_seq OWNER TO kivitendo;
1238
1239 SET default_tablespace = '';
1240
1241 SET default_table_access_method = heap;
1242
1243 --
1244 -- Name: acc_trans; Type: TABLE; Schema: public; Owner: kivitendo
1245 --
1246
1247 CREATE TABLE public.acc_trans (
1248     acc_trans_id bigint DEFAULT nextval('public.acc_trans_id_seq'::regclass) NOT NULL,
1249     trans_id integer NOT NULL,
1250     chart_id integer NOT NULL,
1251     amount numeric(15,5),
1252     transdate date DEFAULT ('now'::text)::date,
1253     gldate date DEFAULT ('now'::text)::date,
1254     source text,
1255     cleared boolean DEFAULT false NOT NULL,
1256     fx_transaction boolean DEFAULT false NOT NULL,
1257     ob_transaction boolean DEFAULT false NOT NULL,
1258     cb_transaction boolean DEFAULT false NOT NULL,
1259     project_id integer,
1260     memo text,
1261     taxkey integer,
1262     itime timestamp without time zone DEFAULT now(),
1263     mtime timestamp without time zone,
1264     chart_link text NOT NULL,
1265     tax_id integer NOT NULL
1266 );
1267
1268
1269 ALTER TABLE public.acc_trans OWNER TO kivitendo;
1270
1271 --
1272 -- Name: additional_billing_addresses; Type: TABLE; Schema: public; Owner: kivitendo
1273 --
1274
1275 CREATE TABLE public.additional_billing_addresses (
1276     id integer NOT NULL,
1277     customer_id integer,
1278     name text,
1279     department_1 text,
1280     department_2 text,
1281     contact text,
1282     street text,
1283     zipcode text,
1284     city text,
1285     country text,
1286     gln text,
1287     email text,
1288     phone text,
1289     fax text,
1290     default_address boolean DEFAULT false NOT NULL,
1291     itime timestamp without time zone DEFAULT now() NOT NULL,
1292     mtime timestamp without time zone DEFAULT now() NOT NULL,
1293     dunning_mail text
1294 );
1295
1296
1297 ALTER TABLE public.additional_billing_addresses OWNER TO kivitendo;
1298
1299 --
1300 -- Name: additional_billing_addresses_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1301 --
1302
1303 CREATE SEQUENCE public.additional_billing_addresses_id_seq
1304     AS integer
1305     START WITH 1
1306     INCREMENT BY 1
1307     NO MINVALUE
1308     NO MAXVALUE
1309     CACHE 1;
1310
1311
1312 ALTER TABLE public.additional_billing_addresses_id_seq OWNER TO kivitendo;
1313
1314 --
1315 -- Name: additional_billing_addresses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1316 --
1317
1318 ALTER SEQUENCE public.additional_billing_addresses_id_seq OWNED BY public.additional_billing_addresses.id;
1319
1320
1321 --
1322 -- Name: ap; Type: TABLE; Schema: public; Owner: kivitendo
1323 --
1324
1325 CREATE TABLE public.ap (
1326     id integer DEFAULT nextval(('glid'::text)::regclass) NOT NULL,
1327     invnumber text NOT NULL,
1328     transdate date DEFAULT ('now'::text)::date,
1329     gldate date DEFAULT ('now'::text)::date,
1330     vendor_id integer,
1331     taxincluded boolean DEFAULT false,
1332     amount numeric(15,5) DEFAULT 0 NOT NULL,
1333     netamount numeric(15,5) DEFAULT 0 NOT NULL,
1334     paid numeric(15,5) DEFAULT 0 NOT NULL,
1335     datepaid date,
1336     duedate date,
1337     invoice boolean DEFAULT false,
1338     ordnumber text,
1339     notes text,
1340     employee_id integer,
1341     quonumber text,
1342     intnotes text,
1343     department_id integer,
1344     itime timestamp without time zone DEFAULT now(),
1345     mtime timestamp without time zone,
1346     shipvia text,
1347     cp_id integer,
1348     language_id integer,
1349     payment_id integer,
1350     storno boolean DEFAULT false,
1351     taxzone_id integer NOT NULL,
1352     type text,
1353     orddate date,
1354     quodate date,
1355     globalproject_id integer,
1356     storno_id integer,
1357     transaction_description text,
1358     direct_debit boolean DEFAULT false,
1359     deliverydate date,
1360     delivery_term_id integer,
1361     currency_id integer NOT NULL,
1362     tax_point date,
1363     exchangerate numeric(15,5),
1364     qrbill_data text,
1365     is_sepa_blocked boolean DEFAULT false
1366 );
1367
1368
1369 ALTER TABLE public.ap OWNER TO kivitendo;
1370
1371 --
1372 -- Name: ap_gl; Type: TABLE; Schema: public; Owner: kivitendo
1373 --
1374
1375 CREATE TABLE public.ap_gl (
1376     ap_id integer NOT NULL,
1377     gl_id integer NOT NULL,
1378     itime timestamp without time zone DEFAULT now(),
1379     mtime timestamp without time zone
1380 );
1381
1382
1383 ALTER TABLE public.ap_gl OWNER TO kivitendo;
1384
1385 --
1386 -- Name: ar; Type: TABLE; Schema: public; Owner: kivitendo
1387 --
1388
1389 CREATE TABLE public.ar (
1390     id integer DEFAULT nextval(('glid'::text)::regclass) NOT NULL,
1391     invnumber text NOT NULL,
1392     transdate date DEFAULT ('now'::text)::date,
1393     gldate date DEFAULT ('now'::text)::date,
1394     customer_id integer,
1395     taxincluded boolean,
1396     amount numeric(15,5) DEFAULT 0 NOT NULL,
1397     netamount numeric(15,5) DEFAULT 0 NOT NULL,
1398     paid numeric(15,5) DEFAULT 0 NOT NULL,
1399     datepaid date,
1400     duedate date,
1401     deliverydate date,
1402     invoice boolean DEFAULT false,
1403     shippingpoint text,
1404     notes text,
1405     ordnumber text,
1406     employee_id integer,
1407     quonumber text,
1408     cusordnumber text,
1409     intnotes text,
1410     department_id integer,
1411     shipvia text,
1412     itime timestamp without time zone DEFAULT now(),
1413     mtime timestamp without time zone,
1414     cp_id integer,
1415     language_id integer,
1416     payment_id integer,
1417     delivery_customer_id integer,
1418     delivery_vendor_id integer,
1419     storno boolean DEFAULT false,
1420     taxzone_id integer NOT NULL,
1421     shipto_id integer,
1422     type text,
1423     dunning_config_id integer,
1424     orddate date,
1425     quodate date,
1426     globalproject_id integer,
1427     salesman_id integer,
1428     marge_total numeric(15,5),
1429     marge_percent numeric(15,5),
1430     storno_id integer,
1431     transaction_description text,
1432     donumber text,
1433     invnumber_for_credit_note text,
1434     direct_debit boolean DEFAULT false,
1435     delivery_term_id integer,
1436     currency_id integer NOT NULL,
1437     tax_point date,
1438     qrbill_without_amount boolean DEFAULT false,
1439     billing_address_id integer,
1440     qr_reference text,
1441     exchangerate numeric(15,5),
1442     qr_unstructured_message text
1443 );
1444
1445
1446 ALTER TABLE public.ar OWNER TO kivitendo;
1447
1448 --
1449 -- Name: assembly_assembly_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1450 --
1451
1452 CREATE SEQUENCE public.assembly_assembly_id_seq
1453     START WITH 1
1454     INCREMENT BY 1
1455     NO MINVALUE
1456     NO MAXVALUE
1457     CACHE 1;
1458
1459
1460 ALTER TABLE public.assembly_assembly_id_seq OWNER TO kivitendo;
1461
1462 --
1463 -- Name: assembly; Type: TABLE; Schema: public; Owner: kivitendo
1464 --
1465
1466 CREATE TABLE public.assembly (
1467     id integer NOT NULL,
1468     parts_id integer NOT NULL,
1469     qty real,
1470     bom boolean,
1471     itime timestamp without time zone DEFAULT now(),
1472     mtime timestamp without time zone,
1473     assembly_id integer DEFAULT nextval('public.assembly_assembly_id_seq'::regclass) NOT NULL,
1474     "position" integer
1475 );
1476
1477
1478 ALTER TABLE public.assembly OWNER TO kivitendo;
1479
1480 --
1481 -- Name: assortment_items; Type: TABLE; Schema: public; Owner: kivitendo
1482 --
1483
1484 CREATE TABLE public.assortment_items (
1485     assortment_id integer NOT NULL,
1486     parts_id integer NOT NULL,
1487     itime timestamp without time zone DEFAULT now(),
1488     mtime timestamp without time zone,
1489     qty real NOT NULL,
1490     "position" integer NOT NULL,
1491     unit character varying(20) NOT NULL,
1492     charge boolean DEFAULT true
1493 );
1494
1495
1496 ALTER TABLE public.assortment_items OWNER TO kivitendo;
1497
1498 --
1499 -- Name: background_job_histories; Type: TABLE; Schema: public; Owner: kivitendo
1500 --
1501
1502 CREATE TABLE public.background_job_histories (
1503     id integer NOT NULL,
1504     package_name character varying(255),
1505     run_at timestamp without time zone,
1506     status character varying(255),
1507     result text,
1508     error text,
1509     data text,
1510     description text
1511 );
1512
1513
1514 ALTER TABLE public.background_job_histories OWNER TO kivitendo;
1515
1516 --
1517 -- Name: background_job_histories_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1518 --
1519
1520 CREATE SEQUENCE public.background_job_histories_id_seq
1521     START WITH 1
1522     INCREMENT BY 1
1523     NO MINVALUE
1524     NO MAXVALUE
1525     CACHE 1;
1526
1527
1528 ALTER TABLE public.background_job_histories_id_seq OWNER TO kivitendo;
1529
1530 --
1531 -- Name: background_job_histories_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1532 --
1533
1534 ALTER SEQUENCE public.background_job_histories_id_seq OWNED BY public.background_job_histories.id;
1535
1536
1537 --
1538 -- Name: background_jobs; Type: TABLE; Schema: public; Owner: kivitendo
1539 --
1540
1541 CREATE TABLE public.background_jobs (
1542     id integer NOT NULL,
1543     type character varying(255),
1544     package_name character varying(255),
1545     last_run_at timestamp without time zone,
1546     next_run_at timestamp without time zone,
1547     data text,
1548     active boolean,
1549     cron_spec character varying(255),
1550     node_id text,
1551     description text
1552 );
1553
1554
1555 ALTER TABLE public.background_jobs OWNER TO kivitendo;
1556
1557 --
1558 -- Name: background_jobs_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1559 --
1560
1561 CREATE SEQUENCE public.background_jobs_id_seq
1562     START WITH 1
1563     INCREMENT BY 1
1564     NO MINVALUE
1565     NO MAXVALUE
1566     CACHE 1;
1567
1568
1569 ALTER TABLE public.background_jobs_id_seq OWNER TO kivitendo;
1570
1571 --
1572 -- Name: background_jobs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1573 --
1574
1575 ALTER SEQUENCE public.background_jobs_id_seq OWNED BY public.background_jobs.id;
1576
1577
1578 --
1579 -- Name: id; Type: SEQUENCE; Schema: public; Owner: kivitendo
1580 --
1581
1582 CREATE SEQUENCE public.id
1583     START WITH 1
1584     INCREMENT BY 1
1585     NO MINVALUE
1586     MAXVALUE 2147483647
1587     CACHE 1;
1588
1589
1590 ALTER TABLE public.id OWNER TO kivitendo;
1591
1592 --
1593 -- Name: bank_accounts; Type: TABLE; Schema: public; Owner: kivitendo
1594 --
1595
1596 CREATE TABLE public.bank_accounts (
1597     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
1598     account_number character varying(100),
1599     bank_code character varying(100),
1600     iban character varying(100),
1601     bic character varying(100),
1602     bank text,
1603     chart_id integer NOT NULL,
1604     name text,
1605     reconciliation_starting_date date,
1606     reconciliation_starting_balance numeric(15,5),
1607     obsolete boolean DEFAULT false NOT NULL,
1608     sortkey integer NOT NULL,
1609     use_for_zugferd boolean DEFAULT false NOT NULL,
1610     use_for_qrbill boolean DEFAULT false NOT NULL,
1611     bank_account_id character varying,
1612     use_with_bank_import boolean DEFAULT true NOT NULL,
1613     qr_iban text
1614 );
1615
1616
1617 ALTER TABLE public.bank_accounts OWNER TO kivitendo;
1618
1619 --
1620 -- Name: bank_transaction_acc_trans; Type: TABLE; Schema: public; Owner: kivitendo
1621 --
1622
1623 CREATE TABLE public.bank_transaction_acc_trans (
1624     bank_transaction_id integer NOT NULL,
1625     acc_trans_id bigint NOT NULL,
1626     ar_id integer,
1627     ap_id integer,
1628     gl_id integer,
1629     itime timestamp without time zone DEFAULT now(),
1630     mtime timestamp without time zone
1631 );
1632
1633
1634 ALTER TABLE public.bank_transaction_acc_trans OWNER TO kivitendo;
1635
1636 --
1637 -- Name: bank_transaction_acc_trans_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1638 --
1639
1640 CREATE SEQUENCE public.bank_transaction_acc_trans_id_seq
1641     START WITH 1
1642     INCREMENT BY 1
1643     NO MINVALUE
1644     NO MAXVALUE
1645     CACHE 1;
1646
1647
1648 ALTER TABLE public.bank_transaction_acc_trans_id_seq OWNER TO kivitendo;
1649
1650 --
1651 -- Name: bank_transactions; Type: TABLE; Schema: public; Owner: kivitendo
1652 --
1653
1654 CREATE TABLE public.bank_transactions (
1655     id integer NOT NULL,
1656     transaction_id integer,
1657     remote_bank_code text,
1658     remote_account_number text,
1659     transdate date NOT NULL,
1660     valutadate date NOT NULL,
1661     amount numeric(15,5) NOT NULL,
1662     remote_name text,
1663     purpose text,
1664     invoice_amount numeric(15,5) DEFAULT 0,
1665     local_bank_account_id integer NOT NULL,
1666     currency_id integer NOT NULL,
1667     cleared boolean DEFAULT false NOT NULL,
1668     itime timestamp without time zone DEFAULT now(),
1669     transaction_code text,
1670     transaction_text text,
1671     qr_reference text,
1672     exchangerate numeric(15,5),
1673     end_to_end_id text,
1674     CONSTRAINT bank_transactions_check CHECK ((abs(invoice_amount) <= abs(amount)))
1675 );
1676
1677
1678 ALTER TABLE public.bank_transactions OWNER TO kivitendo;
1679
1680 --
1681 -- Name: bank_transactions_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1682 --
1683
1684 CREATE SEQUENCE public.bank_transactions_id_seq
1685     START WITH 1
1686     INCREMENT BY 1
1687     NO MINVALUE
1688     NO MAXVALUE
1689     CACHE 1;
1690
1691
1692 ALTER TABLE public.bank_transactions_id_seq OWNER TO kivitendo;
1693
1694 --
1695 -- Name: bank_transactions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1696 --
1697
1698 ALTER SEQUENCE public.bank_transactions_id_seq OWNED BY public.bank_transactions.id;
1699
1700
1701 --
1702 -- Name: bin; Type: TABLE; Schema: public; Owner: kivitendo
1703 --
1704
1705 CREATE TABLE public.bin (
1706     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
1707     warehouse_id integer NOT NULL,
1708     description text,
1709     itime timestamp without time zone DEFAULT now(),
1710     mtime timestamp without time zone
1711 );
1712
1713
1714 ALTER TABLE public.bin OWNER TO kivitendo;
1715
1716 --
1717 -- Name: buchungsgruppen; Type: TABLE; Schema: public; Owner: kivitendo
1718 --
1719
1720 CREATE TABLE public.buchungsgruppen (
1721     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
1722     description text,
1723     inventory_accno_id integer NOT NULL,
1724     sortkey integer NOT NULL,
1725     obsolete boolean DEFAULT false NOT NULL
1726 );
1727
1728
1729 ALTER TABLE public.buchungsgruppen OWNER TO kivitendo;
1730
1731 --
1732 -- Name: business; Type: TABLE; Schema: public; Owner: kivitendo
1733 --
1734
1735 CREATE TABLE public.business (
1736     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
1737     description text,
1738     discount real,
1739     customernumberinit text,
1740     salesman boolean DEFAULT false,
1741     itime timestamp without time zone DEFAULT now(),
1742     mtime timestamp without time zone
1743 );
1744
1745
1746 ALTER TABLE public.business OWNER TO kivitendo;
1747
1748 --
1749 -- Name: business_models; Type: TABLE; Schema: public; Owner: kivitendo
1750 --
1751
1752 CREATE TABLE public.business_models (
1753     parts_id integer NOT NULL,
1754     business_id integer NOT NULL,
1755     model text,
1756     part_description text,
1757     part_longdescription text,
1758     itime timestamp without time zone DEFAULT now(),
1759     mtime timestamp without time zone,
1760     "position" integer
1761 );
1762
1763
1764 ALTER TABLE public.business_models OWNER TO kivitendo;
1765
1766 --
1767 -- Name: bwa_categories; Type: VIEW; Schema: public; Owner: kivitendo
1768 --
1769
1770 CREATE VIEW public.bwa_categories AS
1771  SELECT "*VALUES*".column1 AS id,
1772     "*VALUES*".column2 AS description
1773    FROM ( VALUES (1,'Umsatzerlöse'::text), (2,'Best.Verdg.FE/UE'::text), (3,'Aktiv.Eigenleistung'::text), (4,'Mat./Wareneinkauf'::text), (5,'So.betr.Erlöse'::text), (10,'Personalkosten'::text), (11,'Raumkosten'::text), (12,'Betriebl.Steuern'::text), (13,'Vers./Beiträge'::text), (14,'Kfz.Kosten o.St.'::text), (15,'Werbe-Reisek.'::text), (16,'Kosten Warenabgabe'::text), (17,'Abschreibungen'::text), (18,'Rep./instandhlt.'::text), (19,'Übrige Steuern'::text), (20,'Sonst.Kosten'::text), (30,'Zinsaufwand'::text), (31,'Sonst.neutr.Aufw.'::text), (32,'Zinserträge'::text), (33,'Sonst.neutr.Ertrag'::text), (34,'Verr.kalk.Kosten'::text), (35,'Steuern Eink.u.Ertr.'::text)) "*VALUES*";
1774
1775
1776 ALTER TABLE public.bwa_categories OWNER TO kivitendo;
1777
1778 --
1779 -- Name: chart; Type: TABLE; Schema: public; Owner: kivitendo
1780 --
1781
1782 CREATE TABLE public.chart (
1783     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
1784     accno text NOT NULL,
1785     description text,
1786     charttype character(1) DEFAULT 'A'::bpchar,
1787     category character(1),
1788     link text NOT NULL,
1789     taxkey_id integer,
1790     pos_bwa integer,
1791     pos_bilanz integer,
1792     pos_eur integer,
1793     datevautomatik boolean DEFAULT false,
1794     itime timestamp without time zone DEFAULT now(),
1795     mtime timestamp without time zone,
1796     new_chart_id integer,
1797     valid_from date,
1798     pos_er integer,
1799     invalid boolean DEFAULT false
1800 );
1801
1802
1803 ALTER TABLE public.chart OWNER TO kivitendo;
1804
1805 --
1806 -- Name: contact_departments; Type: TABLE; Schema: public; Owner: kivitendo
1807 --
1808
1809 CREATE TABLE public.contact_departments (
1810     id integer NOT NULL,
1811     description text NOT NULL
1812 );
1813
1814
1815 ALTER TABLE public.contact_departments OWNER TO kivitendo;
1816
1817 --
1818 -- Name: contact_departments_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1819 --
1820
1821 CREATE SEQUENCE public.contact_departments_id_seq
1822     START WITH 1
1823     INCREMENT BY 1
1824     NO MINVALUE
1825     NO MAXVALUE
1826     CACHE 1;
1827
1828
1829 ALTER TABLE public.contact_departments_id_seq OWNER TO kivitendo;
1830
1831 --
1832 -- Name: contact_departments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1833 --
1834
1835 ALTER SEQUENCE public.contact_departments_id_seq OWNED BY public.contact_departments.id;
1836
1837
1838 --
1839 -- Name: contact_titles; Type: TABLE; Schema: public; Owner: kivitendo
1840 --
1841
1842 CREATE TABLE public.contact_titles (
1843     id integer NOT NULL,
1844     description text NOT NULL
1845 );
1846
1847
1848 ALTER TABLE public.contact_titles OWNER TO kivitendo;
1849
1850 --
1851 -- Name: contact_titles_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1852 --
1853
1854 CREATE SEQUENCE public.contact_titles_id_seq
1855     START WITH 1
1856     INCREMENT BY 1
1857     NO MINVALUE
1858     NO MAXVALUE
1859     CACHE 1;
1860
1861
1862 ALTER TABLE public.contact_titles_id_seq OWNER TO kivitendo;
1863
1864 --
1865 -- Name: contact_titles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1866 --
1867
1868 ALTER SEQUENCE public.contact_titles_id_seq OWNED BY public.contact_titles.id;
1869
1870
1871 --
1872 -- Name: contacts; Type: TABLE; Schema: public; Owner: kivitendo
1873 --
1874
1875 CREATE TABLE public.contacts (
1876     cp_id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
1877     cp_cv_id integer,
1878     cp_title text,
1879     cp_givenname text,
1880     cp_name text,
1881     cp_email text,
1882     cp_phone1 text,
1883     cp_phone2 text,
1884     itime timestamp without time zone DEFAULT now(),
1885     mtime timestamp without time zone,
1886     cp_fax text,
1887     cp_mobile1 text,
1888     cp_mobile2 text,
1889     cp_satphone text,
1890     cp_satfax text,
1891     cp_project text,
1892     cp_privatphone text,
1893     cp_privatemail text,
1894     cp_abteilung text,
1895     cp_gender character(1),
1896     cp_street text,
1897     cp_zipcode text,
1898     cp_city text,
1899     cp_birthday date,
1900     cp_position text,
1901     cp_main boolean DEFAULT false
1902 );
1903
1904
1905 ALTER TABLE public.contacts OWNER TO kivitendo;
1906
1907 --
1908 -- Name: csv_import_profile_settings; Type: TABLE; Schema: public; Owner: kivitendo
1909 --
1910
1911 CREATE TABLE public.csv_import_profile_settings (
1912     id integer NOT NULL,
1913     csv_import_profile_id integer NOT NULL,
1914     key text NOT NULL,
1915     value text
1916 );
1917
1918
1919 ALTER TABLE public.csv_import_profile_settings OWNER TO kivitendo;
1920
1921 --
1922 -- Name: csv_import_profile_settings_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1923 --
1924
1925 CREATE SEQUENCE public.csv_import_profile_settings_id_seq
1926     START WITH 1
1927     INCREMENT BY 1
1928     NO MINVALUE
1929     NO MAXVALUE
1930     CACHE 1;
1931
1932
1933 ALTER TABLE public.csv_import_profile_settings_id_seq OWNER TO kivitendo;
1934
1935 --
1936 -- Name: csv_import_profile_settings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1937 --
1938
1939 ALTER SEQUENCE public.csv_import_profile_settings_id_seq OWNED BY public.csv_import_profile_settings.id;
1940
1941
1942 --
1943 -- Name: csv_import_profiles; Type: TABLE; Schema: public; Owner: kivitendo
1944 --
1945
1946 CREATE TABLE public.csv_import_profiles (
1947     id integer NOT NULL,
1948     name text NOT NULL,
1949     type character varying(20) NOT NULL,
1950     is_default boolean DEFAULT false,
1951     login text
1952 );
1953
1954
1955 ALTER TABLE public.csv_import_profiles OWNER TO kivitendo;
1956
1957 --
1958 -- Name: csv_import_profiles_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1959 --
1960
1961 CREATE SEQUENCE public.csv_import_profiles_id_seq
1962     START WITH 1
1963     INCREMENT BY 1
1964     NO MINVALUE
1965     NO MAXVALUE
1966     CACHE 1;
1967
1968
1969 ALTER TABLE public.csv_import_profiles_id_seq OWNER TO kivitendo;
1970
1971 --
1972 -- Name: csv_import_profiles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
1973 --
1974
1975 ALTER SEQUENCE public.csv_import_profiles_id_seq OWNED BY public.csv_import_profiles.id;
1976
1977
1978 --
1979 -- Name: csv_import_report_rows; Type: TABLE; Schema: public; Owner: kivitendo
1980 --
1981
1982 CREATE TABLE public.csv_import_report_rows (
1983     id integer NOT NULL,
1984     csv_import_report_id integer NOT NULL,
1985     col integer NOT NULL,
1986     "row" integer NOT NULL,
1987     value text
1988 );
1989
1990
1991 ALTER TABLE public.csv_import_report_rows OWNER TO kivitendo;
1992
1993 --
1994 -- Name: csv_import_report_rows_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
1995 --
1996
1997 CREATE SEQUENCE public.csv_import_report_rows_id_seq
1998     START WITH 1
1999     INCREMENT BY 1
2000     NO MINVALUE
2001     NO MAXVALUE
2002     CACHE 1;
2003
2004
2005 ALTER TABLE public.csv_import_report_rows_id_seq OWNER TO kivitendo;
2006
2007 --
2008 -- Name: csv_import_report_rows_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2009 --
2010
2011 ALTER SEQUENCE public.csv_import_report_rows_id_seq OWNED BY public.csv_import_report_rows.id;
2012
2013
2014 --
2015 -- Name: csv_import_report_status; Type: TABLE; Schema: public; Owner: kivitendo
2016 --
2017
2018 CREATE TABLE public.csv_import_report_status (
2019     id integer NOT NULL,
2020     csv_import_report_id integer NOT NULL,
2021     "row" integer NOT NULL,
2022     type text NOT NULL,
2023     value text
2024 );
2025
2026
2027 ALTER TABLE public.csv_import_report_status OWNER TO kivitendo;
2028
2029 --
2030 -- Name: csv_import_report_status_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2031 --
2032
2033 CREATE SEQUENCE public.csv_import_report_status_id_seq
2034     START WITH 1
2035     INCREMENT BY 1
2036     NO MINVALUE
2037     NO MAXVALUE
2038     CACHE 1;
2039
2040
2041 ALTER TABLE public.csv_import_report_status_id_seq OWNER TO kivitendo;
2042
2043 --
2044 -- Name: csv_import_report_status_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2045 --
2046
2047 ALTER SEQUENCE public.csv_import_report_status_id_seq OWNED BY public.csv_import_report_status.id;
2048
2049
2050 --
2051 -- Name: csv_import_reports; Type: TABLE; Schema: public; Owner: kivitendo
2052 --
2053
2054 CREATE TABLE public.csv_import_reports (
2055     id integer NOT NULL,
2056     session_id text NOT NULL,
2057     profile_id integer NOT NULL,
2058     type text NOT NULL,
2059     file text NOT NULL,
2060     numrows integer NOT NULL,
2061     numheaders integer NOT NULL,
2062     test_mode boolean NOT NULL
2063 );
2064
2065
2066 ALTER TABLE public.csv_import_reports OWNER TO kivitendo;
2067
2068 --
2069 -- Name: csv_import_reports_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2070 --
2071
2072 CREATE SEQUENCE public.csv_import_reports_id_seq
2073     START WITH 1
2074     INCREMENT BY 1
2075     NO MINVALUE
2076     NO MAXVALUE
2077     CACHE 1;
2078
2079
2080 ALTER TABLE public.csv_import_reports_id_seq OWNER TO kivitendo;
2081
2082 --
2083 -- Name: csv_import_reports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2084 --
2085
2086 ALTER SEQUENCE public.csv_import_reports_id_seq OWNED BY public.csv_import_reports.id;
2087
2088
2089 --
2090 -- Name: currencies; Type: TABLE; Schema: public; Owner: kivitendo
2091 --
2092
2093 CREATE TABLE public.currencies (
2094     id integer NOT NULL,
2095     name text NOT NULL
2096 );
2097
2098
2099 ALTER TABLE public.currencies OWNER TO kivitendo;
2100
2101 --
2102 -- Name: currencies_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2103 --
2104
2105 CREATE SEQUENCE public.currencies_id_seq
2106     START WITH 1
2107     INCREMENT BY 1
2108     NO MINVALUE
2109     NO MAXVALUE
2110     CACHE 1;
2111
2112
2113 ALTER TABLE public.currencies_id_seq OWNER TO kivitendo;
2114
2115 --
2116 -- Name: currencies_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2117 --
2118
2119 ALTER SEQUENCE public.currencies_id_seq OWNED BY public.currencies.id;
2120
2121
2122 --
2123 -- Name: custom_data_export_queries; Type: TABLE; Schema: public; Owner: kivitendo
2124 --
2125
2126 CREATE TABLE public.custom_data_export_queries (
2127     id integer NOT NULL,
2128     name text NOT NULL,
2129     description text NOT NULL,
2130     sql_query text NOT NULL,
2131     access_right text,
2132     itime timestamp without time zone DEFAULT now() NOT NULL,
2133     mtime timestamp without time zone DEFAULT now() NOT NULL
2134 );
2135
2136
2137 ALTER TABLE public.custom_data_export_queries OWNER TO kivitendo;
2138
2139 --
2140 -- Name: custom_data_export_queries_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2141 --
2142
2143 CREATE SEQUENCE public.custom_data_export_queries_id_seq
2144     START WITH 1
2145     INCREMENT BY 1
2146     NO MINVALUE
2147     NO MAXVALUE
2148     CACHE 1;
2149
2150
2151 ALTER TABLE public.custom_data_export_queries_id_seq OWNER TO kivitendo;
2152
2153 --
2154 -- Name: custom_data_export_queries_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2155 --
2156
2157 ALTER SEQUENCE public.custom_data_export_queries_id_seq OWNED BY public.custom_data_export_queries.id;
2158
2159
2160 --
2161 -- Name: custom_data_export_query_parameters; Type: TABLE; Schema: public; Owner: kivitendo
2162 --
2163
2164 CREATE TABLE public.custom_data_export_query_parameters (
2165     id integer NOT NULL,
2166     query_id integer NOT NULL,
2167     name text NOT NULL,
2168     description text,
2169     parameter_type public.custom_data_export_query_parameter_type_enum NOT NULL,
2170     itime timestamp without time zone DEFAULT now() NOT NULL,
2171     mtime timestamp without time zone DEFAULT now() NOT NULL,
2172     default_value_type public.custom_data_export_query_parameter_default_value_type_enum NOT NULL,
2173     default_value text
2174 );
2175
2176
2177 ALTER TABLE public.custom_data_export_query_parameters OWNER TO kivitendo;
2178
2179 --
2180 -- Name: custom_data_export_query_parameters_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2181 --
2182
2183 CREATE SEQUENCE public.custom_data_export_query_parameters_id_seq
2184     START WITH 1
2185     INCREMENT BY 1
2186     NO MINVALUE
2187     NO MAXVALUE
2188     CACHE 1;
2189
2190
2191 ALTER TABLE public.custom_data_export_query_parameters_id_seq OWNER TO kivitendo;
2192
2193 --
2194 -- Name: custom_data_export_query_parameters_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2195 --
2196
2197 ALTER SEQUENCE public.custom_data_export_query_parameters_id_seq OWNED BY public.custom_data_export_query_parameters.id;
2198
2199
2200 --
2201 -- Name: custom_variable_config_partsgroups; Type: TABLE; Schema: public; Owner: kivitendo
2202 --
2203
2204 CREATE TABLE public.custom_variable_config_partsgroups (
2205     custom_variable_config_id integer NOT NULL,
2206     partsgroup_id integer NOT NULL,
2207     itime timestamp without time zone DEFAULT now(),
2208     mtime timestamp without time zone
2209 );
2210
2211
2212 ALTER TABLE public.custom_variable_config_partsgroups OWNER TO kivitendo;
2213
2214 --
2215 -- Name: custom_variable_configs_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
2216 --
2217
2218 CREATE SEQUENCE public.custom_variable_configs_id
2219     START WITH 1
2220     INCREMENT BY 1
2221     NO MINVALUE
2222     NO MAXVALUE
2223     CACHE 1;
2224
2225
2226 ALTER TABLE public.custom_variable_configs_id OWNER TO kivitendo;
2227
2228 --
2229 -- Name: custom_variable_configs; Type: TABLE; Schema: public; Owner: kivitendo
2230 --
2231
2232 CREATE TABLE public.custom_variable_configs (
2233     id integer DEFAULT nextval('public.custom_variable_configs_id'::regclass) NOT NULL,
2234     name text NOT NULL,
2235     description text NOT NULL,
2236     type text NOT NULL,
2237     module text NOT NULL,
2238     default_value text,
2239     options text,
2240     searchable boolean NOT NULL,
2241     includeable boolean NOT NULL,
2242     included_by_default boolean NOT NULL,
2243     sortkey integer NOT NULL,
2244     itime timestamp without time zone DEFAULT now(),
2245     mtime timestamp without time zone,
2246     flags text,
2247     first_tab boolean DEFAULT false NOT NULL,
2248     CONSTRAINT custom_variable_configs_name_description_type_module_not_empty CHECK (((type <> ''::text) AND (module <> ''::text) AND (name <> ''::text) AND (description <> ''::text))),
2249     CONSTRAINT custom_variable_configs_options_not_empty_for_select CHECK (((type <> 'select'::text) OR (COALESCE(options, ''::text) <> ''::text)))
2250 );
2251
2252
2253 ALTER TABLE public.custom_variable_configs OWNER TO kivitendo;
2254
2255 --
2256 -- Name: custom_variables_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
2257 --
2258
2259 CREATE SEQUENCE public.custom_variables_id
2260     START WITH 1
2261     INCREMENT BY 1
2262     NO MINVALUE
2263     NO MAXVALUE
2264     CACHE 1;
2265
2266
2267 ALTER TABLE public.custom_variables_id OWNER TO kivitendo;
2268
2269 --
2270 -- Name: custom_variables; Type: TABLE; Schema: public; Owner: kivitendo
2271 --
2272
2273 CREATE TABLE public.custom_variables (
2274     id integer DEFAULT nextval('public.custom_variables_id'::regclass) NOT NULL,
2275     config_id integer NOT NULL,
2276     trans_id integer NOT NULL,
2277     bool_value boolean,
2278     timestamp_value timestamp without time zone,
2279     text_value text,
2280     number_value numeric(25,5),
2281     itime timestamp without time zone DEFAULT now(),
2282     mtime timestamp without time zone,
2283     sub_module text DEFAULT ''::text NOT NULL
2284 );
2285
2286
2287 ALTER TABLE public.custom_variables OWNER TO kivitendo;
2288
2289 --
2290 -- Name: custom_variables_validity; Type: TABLE; Schema: public; Owner: kivitendo
2291 --
2292
2293 CREATE TABLE public.custom_variables_validity (
2294     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2295     config_id integer NOT NULL,
2296     trans_id integer NOT NULL,
2297     itime timestamp without time zone DEFAULT now()
2298 );
2299
2300
2301 ALTER TABLE public.custom_variables_validity OWNER TO kivitendo;
2302
2303 --
2304 -- Name: customer; Type: TABLE; Schema: public; Owner: kivitendo
2305 --
2306
2307 CREATE TABLE public.customer (
2308     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2309     name text NOT NULL,
2310     department_1 text,
2311     department_2 text,
2312     street text,
2313     zipcode text,
2314     city text,
2315     country text,
2316     contact text,
2317     phone text,
2318     fax text,
2319     homepage text,
2320     email text,
2321     notes text,
2322     discount real,
2323     taxincluded boolean,
2324     creditlimit numeric(15,5) DEFAULT 0,
2325     customernumber text,
2326     cc text,
2327     bcc text,
2328     business_id integer,
2329     taxnumber text,
2330     account_number text,
2331     bank_code text,
2332     bank text,
2333     language text,
2334     itime timestamp without time zone DEFAULT now(),
2335     mtime timestamp without time zone,
2336     obsolete boolean DEFAULT false,
2337     username text,
2338     user_password text,
2339     salesman_id integer,
2340     c_vendor_id text,
2341     language_id integer,
2342     payment_id integer,
2343     taxzone_id integer NOT NULL,
2344     greeting text,
2345     ustid text,
2346     iban text,
2347     bic text,
2348     direct_debit boolean DEFAULT false,
2349     depositor text,
2350     taxincluded_checked boolean,
2351     mandator_id text,
2352     mandate_date_of_signature date,
2353     delivery_term_id integer,
2354     hourly_rate numeric(8,2),
2355     currency_id integer NOT NULL,
2356     gln text,
2357     pricegroup_id integer,
2358     order_lock boolean DEFAULT false,
2359     commercial_court text,
2360     invoice_mail text,
2361     contact_origin text,
2362     delivery_order_mail text,
2363     create_zugferd_invoices integer DEFAULT '-1'::integer NOT NULL,
2364     natural_person boolean DEFAULT false,
2365     c_vendor_routing_id text,
2366     postal_invoice boolean DEFAULT false,
2367     dunning_mail text,
2368     dunning_lock boolean DEFAULT false NOT NULL
2369 );
2370
2371
2372 ALTER TABLE public.customer OWNER TO kivitendo;
2373
2374 --
2375 -- Name: datev; Type: TABLE; Schema: public; Owner: kivitendo
2376 --
2377
2378 CREATE TABLE public.datev (
2379     beraternr character varying(7),
2380     beratername character varying(9),
2381     mandantennr character varying(5),
2382     dfvkz character varying(2),
2383     datentraegernr character varying(3),
2384     abrechnungsnr character varying(6),
2385     itime timestamp without time zone DEFAULT now(),
2386     mtime timestamp without time zone,
2387     id integer NOT NULL
2388 );
2389
2390
2391 ALTER TABLE public.datev OWNER TO kivitendo;
2392
2393 --
2394 -- Name: datev_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2395 --
2396
2397 CREATE SEQUENCE public.datev_id_seq
2398     START WITH 1
2399     INCREMENT BY 1
2400     NO MINVALUE
2401     NO MAXVALUE
2402     CACHE 1;
2403
2404
2405 ALTER TABLE public.datev_id_seq OWNER TO kivitendo;
2406
2407 --
2408 -- Name: datev_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2409 --
2410
2411 ALTER SEQUENCE public.datev_id_seq OWNED BY public.datev.id;
2412
2413
2414 --
2415 -- Name: defaults; Type: TABLE; Schema: public; Owner: kivitendo
2416 --
2417
2418 CREATE TABLE public.defaults (
2419     inventory_accno_id integer,
2420     income_accno_id integer,
2421     expense_accno_id integer,
2422     fxgain_accno_id integer,
2423     fxloss_accno_id integer,
2424     invnumber text,
2425     sonumber text,
2426     weightunit character varying(5),
2427     businessnumber text,
2428     version character varying(8),
2429     closedto date,
2430     revtrans boolean DEFAULT false,
2431     ponumber text,
2432     sqnumber text,
2433     rfqnumber text,
2434     customernumber text,
2435     vendornumber text,
2436     articlenumber text,
2437     servicenumber text,
2438     coa text,
2439     itime timestamp without time zone DEFAULT now(),
2440     mtime timestamp without time zone,
2441     rmanumber text,
2442     cnnumber text,
2443     accounting_method text,
2444     inventory_system text,
2445     profit_determination text,
2446     dunning_ar_amount_fee integer,
2447     dunning_ar_amount_interest integer,
2448     dunning_ar integer,
2449     pdonumber text,
2450     sdonumber text,
2451     ar_paid_accno_id integer,
2452     id integer NOT NULL,
2453     language_id integer,
2454     datev_check_on_sales_invoice boolean DEFAULT true,
2455     datev_check_on_purchase_invoice boolean DEFAULT true,
2456     datev_check_on_ar_transaction boolean DEFAULT true,
2457     datev_check_on_ap_transaction boolean DEFAULT true,
2458     datev_check_on_gl_transaction boolean DEFAULT true,
2459     payments_changeable integer DEFAULT 0 NOT NULL,
2460     is_changeable integer DEFAULT 2 NOT NULL,
2461     ir_changeable integer DEFAULT 2 NOT NULL,
2462     ar_changeable integer DEFAULT 2 NOT NULL,
2463     ap_changeable integer DEFAULT 2 NOT NULL,
2464     gl_changeable integer DEFAULT 2 NOT NULL,
2465     show_bestbefore boolean DEFAULT false,
2466     sales_order_show_delete boolean DEFAULT true,
2467     purchase_order_show_delete boolean DEFAULT true,
2468     sales_delivery_order_show_delete boolean DEFAULT true,
2469     purchase_delivery_order_show_delete boolean DEFAULT true,
2470     is_show_mark_as_paid boolean DEFAULT true,
2471     ir_show_mark_as_paid boolean DEFAULT true,
2472     ar_show_mark_as_paid boolean DEFAULT true,
2473     ap_show_mark_as_paid boolean DEFAULT true,
2474     warehouse_id integer,
2475     bin_id integer,
2476     company text,
2477     taxnumber text,
2478     co_ustid text,
2479     duns text,
2480     sepa_creditor_id text,
2481     templates text,
2482     max_future_booking_interval integer DEFAULT 360,
2483     "precision" numeric(15,5) DEFAULT 0.01 NOT NULL,
2484     webdav boolean DEFAULT false,
2485     webdav_documents boolean DEFAULT false,
2486     vertreter boolean DEFAULT false,
2487     parts_show_image boolean DEFAULT true,
2488     parts_listing_image boolean DEFAULT true,
2489     parts_image_css text DEFAULT 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;'::text,
2490     normalize_vc_names boolean DEFAULT true,
2491     normalize_part_descriptions boolean DEFAULT true,
2492     assemblynumber text,
2493     show_weight boolean DEFAULT false NOT NULL,
2494     transfer_default boolean DEFAULT true,
2495     transfer_default_use_master_default_bin boolean DEFAULT false,
2496     transfer_default_ignore_onhand boolean DEFAULT false,
2497     warehouse_id_ignore_onhand integer,
2498     bin_id_ignore_onhand integer,
2499     balance_startdate_method text,
2500     currency_id integer NOT NULL,
2501     customer_hourly_rate numeric(8,2),
2502     signature text,
2503     requirement_spec_section_order_part_id integer,
2504     transfer_default_services boolean DEFAULT true,
2505     rndgain_accno_id integer,
2506     rndloss_accno_id integer,
2507     global_bcc text DEFAULT ''::text,
2508     customer_projects_only_in_sales boolean DEFAULT false NOT NULL,
2509     reqdate_interval integer DEFAULT 0,
2510     require_transaction_description_ps boolean DEFAULT false NOT NULL,
2511     sales_purchase_order_ship_missing_column boolean DEFAULT false,
2512     allow_sales_invoice_from_sales_quotation boolean DEFAULT true NOT NULL,
2513     allow_sales_invoice_from_sales_order boolean DEFAULT true NOT NULL,
2514     allow_new_purchase_delivery_order boolean DEFAULT true NOT NULL,
2515     allow_new_purchase_invoice boolean DEFAULT true NOT NULL,
2516     disabled_price_sources text[],
2517     transport_cost_reminder_article_number_id integer,
2518     is_transfer_out boolean DEFAULT false NOT NULL,
2519     ap_chart_id integer NOT NULL,
2520     ar_chart_id integer NOT NULL,
2521     letternumber integer,
2522     order_always_project boolean DEFAULT false,
2523     project_status_id integer,
2524     project_type_id integer,
2525     feature_balance boolean DEFAULT true NOT NULL,
2526     feature_datev boolean DEFAULT true NOT NULL,
2527     feature_erfolgsrechnung boolean DEFAULT false NOT NULL,
2528     feature_eurechnung boolean DEFAULT true NOT NULL,
2529     feature_ustva boolean DEFAULT true NOT NULL,
2530     order_warn_duplicate_parts boolean DEFAULT true,
2531     show_longdescription_select_item boolean DEFAULT false,
2532     email_journal integer DEFAULT 2,
2533     quick_search_modules text[],
2534     stocktaking_warehouse_id integer,
2535     stocktaking_bin_id integer,
2536     stocktaking_cutoff_date date,
2537     stocktaking_qty_threshold numeric(25,5) DEFAULT 0,
2538     bcc_to_login boolean DEFAULT false NOT NULL,
2539     create_part_if_not_found boolean DEFAULT false,
2540     fa_bufa_nr text,
2541     fa_dauerfrist text,
2542     fa_steuerberater_city text,
2543     fa_steuerberater_name text,
2544     fa_steuerberater_street text,
2545     fa_steuerberater_tel text,
2546     fa_voranmeld text,
2547     doc_delete_printfiles boolean DEFAULT false,
2548     doc_max_filesize integer DEFAULT 10000000,
2549     doc_storage boolean DEFAULT false,
2550     doc_storage_for_documents text DEFAULT 'Filesystem'::text,
2551     doc_storage_for_attachments text DEFAULT 'Filesystem'::text,
2552     doc_storage_for_images text DEFAULT 'Filesystem'::text,
2553     doc_files boolean DEFAULT false,
2554     doc_files_rootpath text DEFAULT './documents'::text,
2555     doc_webdav boolean DEFAULT false,
2556     shipped_qty_require_stock_out boolean DEFAULT false NOT NULL,
2557     sepa_reference_add_vc_vc_id boolean DEFAULT false,
2558     assortmentnumber text,
2559     doc_storage_for_shopimages text DEFAULT 'Filesystem'::text,
2560     datev_export_format public.datev_export_format_enum DEFAULT 'cp1252-translit'::public.datev_export_format_enum,
2561     order_warn_no_deliverydate boolean DEFAULT true,
2562     sepa_set_duedate_as_default_exec_date boolean DEFAULT false,
2563     sepa_set_skonto_date_as_default_exec_date boolean DEFAULT false,
2564     sepa_set_skonto_date_buffer_in_days integer DEFAULT 0,
2565     delivery_date_interval integer DEFAULT 0,
2566     email_attachment_vc_files_checked boolean DEFAULT true,
2567     email_attachment_part_files_checked boolean DEFAULT true,
2568     email_attachment_record_files_checked boolean DEFAULT true,
2569     invoice_mail_settings public.invoice_mail_settings DEFAULT 'cp'::public.invoice_mail_settings,
2570     dunning_creator public.dunning_creator DEFAULT 'current_employee'::public.dunning_creator,
2571     address_street1 text,
2572     address_street2 text,
2573     address_zipcode text,
2574     address_city text,
2575     address_country text,
2576     workflow_po_ap_chart_id integer,
2577     carry_over_account_chart_id integer,
2578     profit_carried_forward_chart_id integer,
2579     loss_carried_forward_chart_id integer,
2580     contact_departments_use_textfield boolean,
2581     contact_titles_use_textfield boolean,
2582     create_zugferd_invoices integer,
2583     vc_greetings_use_textfield boolean,
2584     sales_serial_eq_charge boolean DEFAULT false NOT NULL,
2585     undo_transfer_interval integer DEFAULT 7,
2586     create_qrbill_invoices integer,
2587     customer_ustid_taxnummer_unique boolean DEFAULT false,
2588     vendor_ustid_taxnummer_unique boolean DEFAULT false,
2589     sales_delivery_order_check_stocked boolean DEFAULT false,
2590     purchase_delivery_order_check_stocked boolean DEFAULT false,
2591     ir_add_doc boolean DEFAULT false NOT NULL,
2592     ar_add_doc boolean DEFAULT false NOT NULL,
2593     ap_add_doc boolean DEFAULT false NOT NULL,
2594     gl_add_doc boolean DEFAULT false NOT NULL,
2595     reqdate_on boolean DEFAULT true,
2596     deliverydate_on boolean DEFAULT true,
2597     sales_delivery_order_check_service boolean DEFAULT true,
2598     purchase_delivery_order_check_service boolean DEFAULT true,
2599     produce_assembly_same_warehouse boolean DEFAULT true,
2600     produce_assembly_transfer_service boolean DEFAULT false,
2601     warn_no_delivery_order_for_invoice boolean DEFAULT false,
2602     order_warn_no_cusordnumber boolean DEFAULT false,
2603     partsgroup_required boolean DEFAULT false NOT NULL,
2604     print_interpolate_variables_in_positions boolean DEFAULT true NOT NULL,
2605     sales_purchase_record_numbers_changeable boolean DEFAULT false NOT NULL,
2606     always_record_links_from_order boolean DEFAULT false,
2607     sudonumber text,
2608     rdonumber text,
2609     advance_payment_clearing_chart_id integer,
2610     advance_payment_taxable_19_id integer,
2611     advance_payment_taxable_7_id integer,
2612     p_reclamation_record_number text DEFAULT 0 NOT NULL,
2613     s_reclamation_record_number text DEFAULT 0 NOT NULL,
2614     sales_reclamation_show_delete boolean DEFAULT true NOT NULL,
2615     purchase_reclamation_show_delete boolean DEFAULT true NOT NULL,
2616     reclamation_warn_no_reqdate boolean DEFAULT true NOT NULL,
2617     reclamation_warn_duplicate_parts boolean DEFAULT true NOT NULL,
2618     soinumber text,
2619     pqinumber text,
2620     lock_oe_subversions boolean DEFAULT false NOT NULL,
2621     qrbill_copy_invnumber boolean DEFAULT false,
2622     email_sender_sales_quotation text DEFAULT ''::text,
2623     email_sender_request_quotation text DEFAULT ''::text,
2624     email_sender_sales_order text DEFAULT ''::text,
2625     email_sender_purchase_order text DEFAULT ''::text,
2626     email_sender_invoice text DEFAULT ''::text,
2627     email_sender_purchase_invoice text DEFAULT ''::text,
2628     email_sender_letter text DEFAULT ''::text,
2629     email_sender_purchase_delivery_order text DEFAULT ''::text,
2630     email_sender_sales_delivery_order text DEFAULT ''::text,
2631     email_sender_dunning text DEFAULT ''::text,
2632     dunning_original_invoice_creation_mode public.invoice_creation_mode DEFAULT 'create_new'::public.invoice_creation_mode,
2633     record_links_from_order_with_myself boolean DEFAULT false,
2634     record_links_from_order_with_quotations boolean DEFAULT false,
2635     layout_style text,
2636     allowed_documents_with_no_positions text[],
2637     fuzzy_skonto boolean DEFAULT true,
2638     fuzzy_skonto_percentage real DEFAULT 0.5,
2639     transit_items_chart_id integer,
2640     webdav_sync_extern boolean DEFAULT false,
2641     webdav_sync_extern_url text,
2642     webdav_sync_extern_login text,
2643     webdav_sync_extern_pass text,
2644     yearend_method text DEFAULT 'default'::text NOT NULL,
2645     pocnumber text,
2646     sepa_export_xml boolean DEFAULT true,
2647     no_bank_proposals boolean DEFAULT false,
2648     check_bt_duplicates_endtoend boolean DEFAULT false,
2649     show_invoice_for_advance_payment boolean DEFAULT true NOT NULL,
2650     show_sales_order_intake boolean DEFAULT true NOT NULL,
2651     show_purchase_quotation_intake boolean DEFAULT true NOT NULL,
2652     show_purchase_order_confirmation boolean DEFAULT true NOT NULL,
2653     show_sales_reclamation boolean DEFAULT true NOT NULL,
2654     show_purchase_reclamation boolean DEFAULT true NOT NULL,
2655     email_subject_transaction_description boolean DEFAULT false,
2656     order_item_input_position integer DEFAULT 0 NOT NULL
2657 );
2658
2659
2660 ALTER TABLE public.defaults OWNER TO kivitendo;
2661
2662 --
2663 -- Name: defaults_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2664 --
2665
2666 CREATE SEQUENCE public.defaults_id_seq
2667     START WITH 1
2668     INCREMENT BY 1
2669     NO MINVALUE
2670     NO MAXVALUE
2671     CACHE 1;
2672
2673
2674 ALTER TABLE public.defaults_id_seq OWNER TO kivitendo;
2675
2676 --
2677 -- Name: defaults_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2678 --
2679
2680 ALTER SEQUENCE public.defaults_id_seq OWNED BY public.defaults.id;
2681
2682
2683 --
2684 -- Name: delivery_order_items_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
2685 --
2686
2687 CREATE SEQUENCE public.delivery_order_items_id
2688     START WITH 1
2689     INCREMENT BY 1
2690     NO MINVALUE
2691     NO MAXVALUE
2692     CACHE 1;
2693
2694
2695 ALTER TABLE public.delivery_order_items_id OWNER TO kivitendo;
2696
2697 --
2698 -- Name: delivery_order_items; Type: TABLE; Schema: public; Owner: kivitendo
2699 --
2700
2701 CREATE TABLE public.delivery_order_items (
2702     id integer DEFAULT nextval('public.delivery_order_items_id'::regclass) NOT NULL,
2703     delivery_order_id integer NOT NULL,
2704     parts_id integer NOT NULL,
2705     description text,
2706     qty numeric(25,5),
2707     sellprice numeric(15,5),
2708     discount real,
2709     project_id integer,
2710     reqdate date,
2711     serialnumber text,
2712     ordnumber text,
2713     transdate text,
2714     cusordnumber text,
2715     unit character varying(20),
2716     base_qty real,
2717     longdescription text,
2718     lastcost numeric(15,5),
2719     price_factor_id integer,
2720     price_factor numeric(15,5) DEFAULT 1,
2721     marge_price_factor numeric(15,5) DEFAULT 1,
2722     itime timestamp without time zone DEFAULT now(),
2723     mtime timestamp without time zone,
2724     pricegroup_id integer,
2725     "position" integer NOT NULL,
2726     active_price_source text DEFAULT ''::text NOT NULL,
2727     active_discount_source text DEFAULT ''::text NOT NULL,
2728     orderer_id integer
2729 );
2730
2731
2732 ALTER TABLE public.delivery_order_items OWNER TO kivitendo;
2733
2734 --
2735 -- Name: delivery_order_items_stock; Type: TABLE; Schema: public; Owner: kivitendo
2736 --
2737
2738 CREATE TABLE public.delivery_order_items_stock (
2739     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
2740     delivery_order_item_id integer NOT NULL,
2741     qty numeric(15,5) NOT NULL,
2742     unit character varying(20) NOT NULL,
2743     warehouse_id integer NOT NULL,
2744     bin_id integer NOT NULL,
2745     chargenumber text,
2746     itime timestamp without time zone DEFAULT now(),
2747     mtime timestamp without time zone,
2748     bestbefore date
2749 );
2750
2751
2752 ALTER TABLE public.delivery_order_items_stock OWNER TO kivitendo;
2753
2754 --
2755 -- Name: delivery_orders; Type: TABLE; Schema: public; Owner: kivitendo
2756 --
2757
2758 CREATE TABLE public.delivery_orders (
2759     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
2760     donumber text NOT NULL,
2761     ordnumber text,
2762     transdate date DEFAULT now(),
2763     vendor_id integer,
2764     customer_id integer,
2765     reqdate date,
2766     shippingpoint text,
2767     notes text,
2768     intnotes text,
2769     employee_id integer,
2770     closed boolean DEFAULT false,
2771     delivered boolean DEFAULT false,
2772     cusordnumber text,
2773     oreqnumber text,
2774     department_id integer,
2775     shipvia text,
2776     cp_id integer,
2777     language_id integer,
2778     shipto_id integer,
2779     globalproject_id integer,
2780     salesman_id integer,
2781     transaction_description text,
2782     itime timestamp without time zone DEFAULT now(),
2783     mtime timestamp without time zone,
2784     taxzone_id integer NOT NULL,
2785     taxincluded boolean,
2786     delivery_term_id integer,
2787     currency_id integer NOT NULL,
2788     payment_id integer,
2789     tax_point date,
2790     billing_address_id integer,
2791     record_type public.delivery_order_types NOT NULL,
2792     vendor_confirmation_number text
2793 );
2794
2795
2796 ALTER TABLE public.delivery_orders OWNER TO kivitendo;
2797
2798 --
2799 -- Name: delivery_terms; Type: TABLE; Schema: public; Owner: kivitendo
2800 --
2801
2802 CREATE TABLE public.delivery_terms (
2803     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
2804     description text,
2805     description_long text,
2806     sortkey integer NOT NULL,
2807     itime timestamp without time zone DEFAULT now(),
2808     mtime timestamp without time zone,
2809     obsolete boolean DEFAULT false NOT NULL
2810 );
2811
2812
2813 ALTER TABLE public.delivery_terms OWNER TO kivitendo;
2814
2815 --
2816 -- Name: department; Type: TABLE; Schema: public; Owner: kivitendo
2817 --
2818
2819 CREATE TABLE public.department (
2820     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2821     description text,
2822     itime timestamp without time zone DEFAULT now(),
2823     mtime timestamp without time zone
2824 );
2825
2826
2827 ALTER TABLE public.department OWNER TO kivitendo;
2828
2829 --
2830 -- Name: drafts; Type: TABLE; Schema: public; Owner: kivitendo
2831 --
2832
2833 CREATE TABLE public.drafts (
2834     id character varying(50) NOT NULL,
2835     module character varying(50) NOT NULL,
2836     submodule character varying(50) NOT NULL,
2837     description text,
2838     itime timestamp without time zone DEFAULT now(),
2839     form text,
2840     employee_id integer
2841 );
2842
2843
2844 ALTER TABLE public.drafts OWNER TO kivitendo;
2845
2846 --
2847 -- Name: dunning; Type: TABLE; Schema: public; Owner: kivitendo
2848 --
2849
2850 CREATE TABLE public.dunning (
2851     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2852     trans_id integer,
2853     dunning_id integer,
2854     dunning_level integer,
2855     transdate date,
2856     duedate date,
2857     fee numeric(15,5),
2858     interest numeric(15,5),
2859     dunning_config_id integer,
2860     itime timestamp without time zone DEFAULT now(),
2861     mtime timestamp without time zone,
2862     fee_interest_ar_id integer,
2863     original_invoice_printed boolean DEFAULT false
2864 );
2865
2866
2867 ALTER TABLE public.dunning OWNER TO kivitendo;
2868
2869 --
2870 -- Name: dunning_config; Type: TABLE; Schema: public; Owner: kivitendo
2871 --
2872
2873 CREATE TABLE public.dunning_config (
2874     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
2875     dunning_level integer,
2876     dunning_description text,
2877     active boolean,
2878     auto boolean,
2879     email boolean,
2880     terms integer,
2881     payment_terms integer,
2882     fee numeric(15,5),
2883     interest_rate numeric(15,5),
2884     email_body text,
2885     email_subject text,
2886     email_attachment boolean,
2887     template text,
2888     create_invoices_for_fees boolean DEFAULT true,
2889     print_original_invoice boolean
2890 );
2891
2892
2893 ALTER TABLE public.dunning_config OWNER TO kivitendo;
2894
2895 --
2896 -- Name: email_imports; Type: TABLE; Schema: public; Owner: kivitendo
2897 --
2898
2899 CREATE TABLE public.email_imports (
2900     id integer NOT NULL,
2901     host_name text NOT NULL,
2902     user_name text NOT NULL,
2903     folder text NOT NULL,
2904     itime timestamp without time zone DEFAULT now() NOT NULL
2905 );
2906
2907
2908 ALTER TABLE public.email_imports OWNER TO kivitendo;
2909
2910 --
2911 -- Name: email_imports_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2912 --
2913
2914 CREATE SEQUENCE public.email_imports_id_seq
2915     AS integer
2916     START WITH 1
2917     INCREMENT BY 1
2918     NO MINVALUE
2919     NO MAXVALUE
2920     CACHE 1;
2921
2922
2923 ALTER TABLE public.email_imports_id_seq OWNER TO kivitendo;
2924
2925 --
2926 -- Name: email_imports_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2927 --
2928
2929 ALTER SEQUENCE public.email_imports_id_seq OWNED BY public.email_imports.id;
2930
2931
2932 --
2933 -- Name: email_journal; Type: TABLE; Schema: public; Owner: kivitendo
2934 --
2935
2936 CREATE TABLE public.email_journal (
2937     id integer NOT NULL,
2938     sender_id integer,
2939     "from" text NOT NULL,
2940     recipients text NOT NULL,
2941     sent_on timestamp without time zone DEFAULT now() NOT NULL,
2942     subject text NOT NULL,
2943     body text NOT NULL,
2944     headers text NOT NULL,
2945     extended_status text NOT NULL,
2946     itime timestamp without time zone DEFAULT now() NOT NULL,
2947     mtime timestamp without time zone DEFAULT now() NOT NULL,
2948     email_import_id integer,
2949     folder text,
2950     uid integer,
2951     obsolete boolean DEFAULT false NOT NULL,
2952     folder_uidvalidity text,
2953     status public.email_journal_status NOT NULL,
2954     record_type public.email_journal_record_type
2955 );
2956
2957
2958 ALTER TABLE public.email_journal OWNER TO kivitendo;
2959
2960 --
2961 -- Name: email_journal_attachments; Type: TABLE; Schema: public; Owner: kivitendo
2962 --
2963
2964 CREATE TABLE public.email_journal_attachments (
2965     id integer NOT NULL,
2966     "position" integer NOT NULL,
2967     email_journal_id integer NOT NULL,
2968     name text NOT NULL,
2969     mime_type text NOT NULL,
2970     content bytea NOT NULL,
2971     itime timestamp without time zone DEFAULT now() NOT NULL,
2972     mtime timestamp without time zone DEFAULT now() NOT NULL,
2973     file_id integer DEFAULT 0 NOT NULL
2974 );
2975
2976
2977 ALTER TABLE public.email_journal_attachments OWNER TO kivitendo;
2978
2979 --
2980 -- Name: email_journal_attachments_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
2981 --
2982
2983 CREATE SEQUENCE public.email_journal_attachments_id_seq
2984     START WITH 1
2985     INCREMENT BY 1
2986     NO MINVALUE
2987     NO MAXVALUE
2988     CACHE 1;
2989
2990
2991 ALTER TABLE public.email_journal_attachments_id_seq OWNER TO kivitendo;
2992
2993 --
2994 -- Name: email_journal_attachments_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
2995 --
2996
2997 ALTER SEQUENCE public.email_journal_attachments_id_seq OWNED BY public.email_journal_attachments.id;
2998
2999
3000 --
3001 -- Name: email_journal_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3002 --
3003
3004 CREATE SEQUENCE public.email_journal_id_seq
3005     START WITH 1
3006     INCREMENT BY 1
3007     NO MINVALUE
3008     NO MAXVALUE
3009     CACHE 1;
3010
3011
3012 ALTER TABLE public.email_journal_id_seq OWNER TO kivitendo;
3013
3014 --
3015 -- Name: email_journal_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3016 --
3017
3018 ALTER SEQUENCE public.email_journal_id_seq OWNED BY public.email_journal.id;
3019
3020
3021 --
3022 -- Name: employee; Type: TABLE; Schema: public; Owner: kivitendo
3023 --
3024
3025 CREATE TABLE public.employee (
3026     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3027     login text,
3028     startdate date DEFAULT ('now'::text)::date,
3029     enddate date,
3030     sales boolean DEFAULT true,
3031     itime timestamp without time zone DEFAULT now(),
3032     mtime timestamp without time zone,
3033     name text,
3034     deleted boolean DEFAULT false,
3035     deleted_email text,
3036     deleted_signature text,
3037     deleted_tel text,
3038     deleted_fax text
3039 );
3040
3041
3042 ALTER TABLE public.employee OWNER TO kivitendo;
3043
3044 --
3045 -- Name: employee_project_invoices; Type: TABLE; Schema: public; Owner: kivitendo
3046 --
3047
3048 CREATE TABLE public.employee_project_invoices (
3049     employee_id integer NOT NULL,
3050     project_id integer NOT NULL
3051 );
3052
3053
3054 ALTER TABLE public.employee_project_invoices OWNER TO kivitendo;
3055
3056 --
3057 -- Name: eur_categories; Type: VIEW; Schema: public; Owner: kivitendo
3058 --
3059
3060 CREATE VIEW public.eur_categories AS
3061  SELECT "*VALUES*".column1 AS id,
3062     "*VALUES*".column2 AS description
3063    FROM ( VALUES (1,'Umsatzerlöse'::text), (2,'sonstige Erlöse'::text), (3,'Privatanteile'::text), (4,'Zinserträge'::text), (5,'Ausserordentliche Erträge'::text), (6,'Vereinnahmte Umsatzst.'::text), (7,'Umsatzsteuererstattungen'::text), (8,'Wareneingänge'::text), (9,'Löhne und Gehälter'::text), (10,'Gesetzl. sozialer Aufw.'::text), (11,'Mieten'::text), (12,'Gas, Strom, Wasser'::text), (13,'Instandhaltung'::text), (14,'Steuern, Versich., Beiträge'::text), (15,'Kfz-Steuern'::text), (16,'Kfz-Versicherungen'::text), (17,'Sonst. Fahrzeugkosten'::text), (18,'Werbe- und Reisekosten'::text), (19,'Instandhaltung u. Werkzeuge'::text), (20,'Fachzeitschriften, Bücher'::text), (21,'Miete für Einrichtungen'::text), (22,'Rechts- und Beratungskosten'::text), (23,'Bürobedarf, Porto, Telefon'::text), (24,'Sonstige Aufwendungen'::text), (25,'Abschreibungen auf Anlagever.'::text), (26,'Abschreibungen auf GWG'::text), (27,'Vorsteuer'::text), (28,'Umsatzsteuerzahlungen'::text), (29,'Zinsaufwand'::text), (30,'Ausserordentlicher Aufwand'::text), (31,'Betriebliche Steuern'::text)) "*VALUES*";
3064
3065
3066 ALTER TABLE public.eur_categories OWNER TO kivitendo;
3067
3068 --
3069 -- Name: exchangerate; Type: TABLE; Schema: public; Owner: kivitendo
3070 --
3071
3072 CREATE TABLE public.exchangerate (
3073     transdate date,
3074     buy numeric(15,5),
3075     sell numeric(15,5),
3076     itime timestamp without time zone DEFAULT now(),
3077     mtime timestamp without time zone,
3078     id integer NOT NULL,
3079     currency_id integer NOT NULL
3080 );
3081
3082
3083 ALTER TABLE public.exchangerate OWNER TO kivitendo;
3084
3085 --
3086 -- Name: exchangerate_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3087 --
3088
3089 CREATE SEQUENCE public.exchangerate_id_seq
3090     START WITH 1
3091     INCREMENT BY 1
3092     NO MINVALUE
3093     NO MAXVALUE
3094     CACHE 1;
3095
3096
3097 ALTER TABLE public.exchangerate_id_seq OWNER TO kivitendo;
3098
3099 --
3100 -- Name: exchangerate_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3101 --
3102
3103 ALTER SEQUENCE public.exchangerate_id_seq OWNED BY public.exchangerate.id;
3104
3105
3106 --
3107 -- Name: file_full_texts; Type: TABLE; Schema: public; Owner: kivitendo
3108 --
3109
3110 CREATE TABLE public.file_full_texts (
3111     id integer NOT NULL,
3112     file_id integer NOT NULL,
3113     full_text text NOT NULL,
3114     itime timestamp without time zone DEFAULT now() NOT NULL,
3115     mtime timestamp without time zone
3116 );
3117
3118
3119 ALTER TABLE public.file_full_texts OWNER TO kivitendo;
3120
3121 --
3122 -- Name: file_full_texts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3123 --
3124
3125 CREATE SEQUENCE public.file_full_texts_id_seq
3126     AS integer
3127     START WITH 1
3128     INCREMENT BY 1
3129     NO MINVALUE
3130     NO MAXVALUE
3131     CACHE 1;
3132
3133
3134 ALTER TABLE public.file_full_texts_id_seq OWNER TO kivitendo;
3135
3136 --
3137 -- Name: file_full_texts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3138 --
3139
3140 ALTER SEQUENCE public.file_full_texts_id_seq OWNED BY public.file_full_texts.id;
3141
3142
3143 --
3144 -- Name: file_versions; Type: TABLE; Schema: public; Owner: kivitendo
3145 --
3146
3147 CREATE TABLE public.file_versions (
3148     guid text NOT NULL,
3149     file_id integer NOT NULL,
3150     version integer NOT NULL,
3151     file_location text NOT NULL,
3152     doc_path text NOT NULL,
3153     backend text NOT NULL,
3154     itime timestamp without time zone DEFAULT now() NOT NULL,
3155     mtime timestamp without time zone
3156 );
3157
3158
3159 ALTER TABLE public.file_versions OWNER TO kivitendo;
3160
3161 --
3162 -- Name: files; Type: TABLE; Schema: public; Owner: kivitendo
3163 --
3164
3165 CREATE TABLE public.files (
3166     id integer NOT NULL,
3167     object_id integer NOT NULL,
3168     file_name text NOT NULL,
3169     file_type text NOT NULL,
3170     mime_type text NOT NULL,
3171     source text NOT NULL,
3172     backend_data text,
3173     title character varying(45),
3174     description text,
3175     itime timestamp without time zone DEFAULT now(),
3176     mtime timestamp without time zone,
3177     print_variant text,
3178     object_type public.file_object_types NOT NULL,
3179     backend public.files_backends NOT NULL,
3180     uid text
3181 );
3182
3183
3184 ALTER TABLE public.files OWNER TO kivitendo;
3185
3186 --
3187 -- Name: files_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3188 --
3189
3190 CREATE SEQUENCE public.files_id_seq
3191     START WITH 1
3192     INCREMENT BY 1
3193     NO MINVALUE
3194     NO MAXVALUE
3195     CACHE 1;
3196
3197
3198 ALTER TABLE public.files_id_seq OWNER TO kivitendo;
3199
3200 --
3201 -- Name: files_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3202 --
3203
3204 ALTER SEQUENCE public.files_id_seq OWNED BY public.files.id;
3205
3206
3207 --
3208 -- Name: finanzamt; Type: TABLE; Schema: public; Owner: kivitendo
3209 --
3210
3211 CREATE TABLE public.finanzamt (
3212     fa_land_nr text,
3213     fa_bufa_nr text,
3214     fa_name text,
3215     fa_strasse text,
3216     fa_plz text,
3217     fa_ort text,
3218     fa_telefon text,
3219     fa_fax text,
3220     fa_plz_grosskunden text,
3221     fa_plz_postfach text,
3222     fa_postfach text,
3223     fa_blz_1 text,
3224     fa_kontonummer_1 text,
3225     fa_bankbezeichnung_1 text,
3226     fa_blz_2 text,
3227     fa_kontonummer_2 text,
3228     fa_bankbezeichnung_2 text,
3229     fa_oeffnungszeiten text,
3230     fa_email text,
3231     fa_internet text,
3232     id integer NOT NULL
3233 );
3234
3235
3236 ALTER TABLE public.finanzamt OWNER TO kivitendo;
3237
3238 --
3239 -- Name: finanzamt_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3240 --
3241
3242 CREATE SEQUENCE public.finanzamt_id_seq
3243     START WITH 1
3244     INCREMENT BY 1
3245     NO MINVALUE
3246     NO MAXVALUE
3247     CACHE 1;
3248
3249
3250 ALTER TABLE public.finanzamt_id_seq OWNER TO kivitendo;
3251
3252 --
3253 -- Name: finanzamt_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3254 --
3255
3256 ALTER SEQUENCE public.finanzamt_id_seq OWNED BY public.finanzamt.id;
3257
3258
3259 --
3260 -- Name: follow_up_access; Type: TABLE; Schema: public; Owner: kivitendo
3261 --
3262
3263 CREATE TABLE public.follow_up_access (
3264     who integer NOT NULL,
3265     what integer NOT NULL,
3266     id integer NOT NULL
3267 );
3268
3269
3270 ALTER TABLE public.follow_up_access OWNER TO kivitendo;
3271
3272 --
3273 -- Name: follow_up_access_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3274 --
3275
3276 CREATE SEQUENCE public.follow_up_access_id_seq
3277     START WITH 1
3278     INCREMENT BY 1
3279     NO MINVALUE
3280     NO MAXVALUE
3281     CACHE 1;
3282
3283
3284 ALTER TABLE public.follow_up_access_id_seq OWNER TO kivitendo;
3285
3286 --
3287 -- Name: follow_up_access_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3288 --
3289
3290 ALTER SEQUENCE public.follow_up_access_id_seq OWNED BY public.follow_up_access.id;
3291
3292
3293 --
3294 -- Name: follow_up_created_for_employees; Type: TABLE; Schema: public; Owner: kivitendo
3295 --
3296
3297 CREATE TABLE public.follow_up_created_for_employees (
3298     id integer NOT NULL,
3299     follow_up_id integer NOT NULL,
3300     employee_id integer NOT NULL
3301 );
3302
3303
3304 ALTER TABLE public.follow_up_created_for_employees OWNER TO kivitendo;
3305
3306 --
3307 -- Name: follow_up_created_for_employees_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3308 --
3309
3310 CREATE SEQUENCE public.follow_up_created_for_employees_id_seq
3311     AS integer
3312     START WITH 1
3313     INCREMENT BY 1
3314     NO MINVALUE
3315     NO MAXVALUE
3316     CACHE 1;
3317
3318
3319 ALTER TABLE public.follow_up_created_for_employees_id_seq OWNER TO kivitendo;
3320
3321 --
3322 -- Name: follow_up_created_for_employees_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3323 --
3324
3325 ALTER SEQUENCE public.follow_up_created_for_employees_id_seq OWNED BY public.follow_up_created_for_employees.id;
3326
3327
3328 --
3329 -- Name: follow_up_done; Type: TABLE; Schema: public; Owner: kivitendo
3330 --
3331
3332 CREATE TABLE public.follow_up_done (
3333     id integer NOT NULL,
3334     follow_up_id integer NOT NULL,
3335     done_at timestamp without time zone DEFAULT now() NOT NULL,
3336     employee_id integer
3337 );
3338
3339
3340 ALTER TABLE public.follow_up_done OWNER TO kivitendo;
3341
3342 --
3343 -- Name: follow_up_done_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3344 --
3345
3346 CREATE SEQUENCE public.follow_up_done_id_seq
3347     AS integer
3348     START WITH 1
3349     INCREMENT BY 1
3350     NO MINVALUE
3351     NO MAXVALUE
3352     CACHE 1;
3353
3354
3355 ALTER TABLE public.follow_up_done_id_seq OWNER TO kivitendo;
3356
3357 --
3358 -- Name: follow_up_done_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3359 --
3360
3361 ALTER SEQUENCE public.follow_up_done_id_seq OWNED BY public.follow_up_done.id;
3362
3363
3364 --
3365 -- Name: follow_up_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
3366 --
3367
3368 CREATE SEQUENCE public.follow_up_id
3369     START WITH 1
3370     INCREMENT BY 1
3371     NO MINVALUE
3372     NO MAXVALUE
3373     CACHE 1;
3374
3375
3376 ALTER TABLE public.follow_up_id OWNER TO kivitendo;
3377
3378 --
3379 -- Name: follow_up_link_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
3380 --
3381
3382 CREATE SEQUENCE public.follow_up_link_id
3383     START WITH 1
3384     INCREMENT BY 1
3385     NO MINVALUE
3386     NO MAXVALUE
3387     CACHE 1;
3388
3389
3390 ALTER TABLE public.follow_up_link_id OWNER TO kivitendo;
3391
3392 --
3393 -- Name: follow_up_links; Type: TABLE; Schema: public; Owner: kivitendo
3394 --
3395
3396 CREATE TABLE public.follow_up_links (
3397     id integer DEFAULT nextval('public.follow_up_link_id'::regclass) NOT NULL,
3398     follow_up_id integer NOT NULL,
3399     trans_id integer NOT NULL,
3400     trans_type text NOT NULL,
3401     trans_info text,
3402     itime timestamp without time zone DEFAULT now(),
3403     mtime timestamp without time zone
3404 );
3405
3406
3407 ALTER TABLE public.follow_up_links OWNER TO kivitendo;
3408
3409 --
3410 -- Name: follow_ups; Type: TABLE; Schema: public; Owner: kivitendo
3411 --
3412
3413 CREATE TABLE public.follow_ups (
3414     id integer DEFAULT nextval('public.follow_up_id'::regclass) NOT NULL,
3415     follow_up_date date NOT NULL,
3416     note_id integer NOT NULL,
3417     created_by integer NOT NULL,
3418     itime timestamp without time zone DEFAULT now(),
3419     mtime timestamp without time zone
3420 );
3421
3422
3423 ALTER TABLE public.follow_ups OWNER TO kivitendo;
3424
3425 --
3426 -- Name: generic_translations; Type: TABLE; Schema: public; Owner: kivitendo
3427 --
3428
3429 CREATE TABLE public.generic_translations (
3430     id integer NOT NULL,
3431     language_id integer,
3432     translation_type character varying(100) NOT NULL,
3433     translation_id integer,
3434     translation text
3435 );
3436
3437
3438 ALTER TABLE public.generic_translations OWNER TO kivitendo;
3439
3440 --
3441 -- Name: generic_translations_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3442 --
3443
3444 CREATE SEQUENCE public.generic_translations_id_seq
3445     START WITH 1
3446     INCREMENT BY 1
3447     NO MINVALUE
3448     NO MAXVALUE
3449     CACHE 1;
3450
3451
3452 ALTER TABLE public.generic_translations_id_seq OWNER TO kivitendo;
3453
3454 --
3455 -- Name: generic_translations_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3456 --
3457
3458 ALTER SEQUENCE public.generic_translations_id_seq OWNED BY public.generic_translations.id;
3459
3460
3461 --
3462 -- Name: gl; Type: TABLE; Schema: public; Owner: kivitendo
3463 --
3464
3465 CREATE TABLE public.gl (
3466     id integer DEFAULT nextval(('glid'::text)::regclass) NOT NULL,
3467     reference text,
3468     description text,
3469     transdate date DEFAULT ('now'::text)::date,
3470     gldate date DEFAULT ('now'::text)::date,
3471     employee_id integer,
3472     notes text,
3473     department_id integer,
3474     taxincluded boolean,
3475     itime timestamp without time zone DEFAULT now(),
3476     mtime timestamp without time zone,
3477     type text,
3478     ob_transaction boolean,
3479     cb_transaction boolean,
3480     storno boolean DEFAULT false,
3481     storno_id integer,
3482     deliverydate date,
3483     imported boolean DEFAULT false,
3484     tax_point date,
3485     transaction_description text
3486 );
3487
3488
3489 ALTER TABLE public.gl OWNER TO kivitendo;
3490
3491 --
3492 -- Name: glid; Type: SEQUENCE; Schema: public; Owner: kivitendo
3493 --
3494
3495 CREATE SEQUENCE public.glid
3496     START WITH 1
3497     INCREMENT BY 1
3498     NO MINVALUE
3499     MAXVALUE 2147483647
3500     CACHE 1;
3501
3502
3503 ALTER TABLE public.glid OWNER TO kivitendo;
3504
3505 --
3506 -- Name: greetings; Type: TABLE; Schema: public; Owner: kivitendo
3507 --
3508
3509 CREATE TABLE public.greetings (
3510     id integer NOT NULL,
3511     description text NOT NULL
3512 );
3513
3514
3515 ALTER TABLE public.greetings OWNER TO kivitendo;
3516
3517 --
3518 -- Name: greetings_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3519 --
3520
3521 CREATE SEQUENCE public.greetings_id_seq
3522     START WITH 1
3523     INCREMENT BY 1
3524     NO MINVALUE
3525     NO MAXVALUE
3526     CACHE 1;
3527
3528
3529 ALTER TABLE public.greetings_id_seq OWNER TO kivitendo;
3530
3531 --
3532 -- Name: greetings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3533 --
3534
3535 ALTER SEQUENCE public.greetings_id_seq OWNED BY public.greetings.id;
3536
3537
3538 --
3539 -- Name: history_erp; Type: TABLE; Schema: public; Owner: kivitendo
3540 --
3541
3542 CREATE TABLE public.history_erp (
3543     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
3544     trans_id integer,
3545     employee_id integer,
3546     addition text,
3547     what_done text,
3548     itime timestamp without time zone DEFAULT now(),
3549     snumbers text
3550 );
3551
3552
3553 ALTER TABLE public.history_erp OWNER TO kivitendo;
3554
3555 --
3556 -- Name: inventory; Type: TABLE; Schema: public; Owner: kivitendo
3557 --
3558
3559 CREATE TABLE public.inventory (
3560     warehouse_id integer NOT NULL,
3561     parts_id integer NOT NULL,
3562     oe_id integer,
3563     delivery_order_items_stock_id integer,
3564     shippingdate date NOT NULL,
3565     employee_id integer NOT NULL,
3566     itime timestamp without time zone DEFAULT now(),
3567     mtime timestamp without time zone,
3568     bin_id integer NOT NULL,
3569     qty numeric(25,5),
3570     trans_id integer NOT NULL,
3571     trans_type_id integer NOT NULL,
3572     project_id integer,
3573     chargenumber text DEFAULT ''::text NOT NULL,
3574     comment text,
3575     bestbefore date,
3576     id integer NOT NULL,
3577     invoice_id integer
3578 );
3579
3580
3581 ALTER TABLE public.inventory OWNER TO kivitendo;
3582
3583 --
3584 -- Name: inventory_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3585 --
3586
3587 CREATE SEQUENCE public.inventory_id_seq
3588     START WITH 1
3589     INCREMENT BY 1
3590     NO MINVALUE
3591     NO MAXVALUE
3592     CACHE 1;
3593
3594
3595 ALTER TABLE public.inventory_id_seq OWNER TO kivitendo;
3596
3597 --
3598 -- Name: inventory_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3599 --
3600
3601 ALTER SEQUENCE public.inventory_id_seq OWNED BY public.inventory.id;
3602
3603
3604 --
3605 -- Name: invoice; Type: TABLE; Schema: public; Owner: kivitendo
3606 --
3607
3608 CREATE TABLE public.invoice (
3609     id integer DEFAULT nextval(('invoiceid'::text)::regclass) NOT NULL,
3610     trans_id integer,
3611     parts_id integer,
3612     description text,
3613     qty numeric(25,5),
3614     allocated real,
3615     sellprice numeric(15,5),
3616     fxsellprice numeric(15,5),
3617     discount real,
3618     assemblyitem boolean DEFAULT false,
3619     project_id integer,
3620     deliverydate date,
3621     serialnumber text,
3622     itime timestamp without time zone DEFAULT now(),
3623     mtime timestamp without time zone,
3624     pricegroup_id integer,
3625     ordnumber text,
3626     transdate text,
3627     cusordnumber text,
3628     unit character varying(20),
3629     base_qty real,
3630     subtotal boolean DEFAULT false,
3631     longdescription text,
3632     marge_total numeric(15,5),
3633     marge_percent numeric(15,5),
3634     lastcost numeric(15,5),
3635     price_factor_id integer,
3636     price_factor numeric(15,5) DEFAULT 1,
3637     marge_price_factor numeric(15,5) DEFAULT 1,
3638     donumber text,
3639     "position" integer NOT NULL,
3640     active_price_source text DEFAULT ''::text NOT NULL,
3641     active_discount_source text DEFAULT ''::text NOT NULL,
3642     inventory_chart_id integer,
3643     expense_chart_id integer,
3644     tax_id integer,
3645     tax_chart_type character varying(20)
3646 );
3647
3648
3649 ALTER TABLE public.invoice OWNER TO kivitendo;
3650
3651 --
3652 -- Name: invoiceid; Type: SEQUENCE; Schema: public; Owner: kivitendo
3653 --
3654
3655 CREATE SEQUENCE public.invoiceid
3656     START WITH 1
3657     INCREMENT BY 1
3658     NO MINVALUE
3659     MAXVALUE 2147483647
3660     CACHE 1;
3661
3662
3663 ALTER TABLE public.invoiceid OWNER TO kivitendo;
3664
3665 --
3666 -- Name: language; Type: TABLE; Schema: public; Owner: kivitendo
3667 --
3668
3669 CREATE TABLE public.language (
3670     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3671     description text,
3672     template_code text,
3673     article_code text,
3674     itime timestamp without time zone DEFAULT now(),
3675     mtime timestamp without time zone,
3676     output_numberformat text,
3677     output_dateformat text,
3678     output_longdates boolean,
3679     obsolete boolean DEFAULT false
3680 );
3681
3682
3683 ALTER TABLE public.language OWNER TO kivitendo;
3684
3685 --
3686 -- Name: leads; Type: TABLE; Schema: public; Owner: kivitendo
3687 --
3688
3689 CREATE TABLE public.leads (
3690     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3691     lead character varying(50)
3692 );
3693
3694
3695 ALTER TABLE public.leads OWNER TO kivitendo;
3696
3697 --
3698 -- Name: letter; Type: TABLE; Schema: public; Owner: kivitendo
3699 --
3700
3701 CREATE TABLE public.letter (
3702     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
3703     customer_id integer,
3704     letternumber text,
3705     subject text,
3706     greeting text,
3707     body text,
3708     employee_id integer,
3709     salesman_id integer,
3710     itime timestamp without time zone DEFAULT now(),
3711     mtime timestamp without time zone,
3712     date date,
3713     reference text,
3714     intnotes text,
3715     cp_id integer,
3716     vendor_id integer
3717 );
3718
3719
3720 ALTER TABLE public.letter OWNER TO kivitendo;
3721
3722 --
3723 -- Name: letter_draft; Type: TABLE; Schema: public; Owner: kivitendo
3724 --
3725
3726 CREATE TABLE public.letter_draft (
3727     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
3728     customer_id integer,
3729     cp_id integer,
3730     letternumber text,
3731     date date,
3732     intnotes text,
3733     reference text,
3734     subject text,
3735     greeting text,
3736     body text,
3737     employee_id integer,
3738     salesman_id integer,
3739     itime timestamp without time zone DEFAULT now(),
3740     mtime timestamp without time zone,
3741     vendor_id integer
3742 );
3743
3744
3745 ALTER TABLE public.letter_draft OWNER TO kivitendo;
3746
3747 --
3748 -- Name: makemodel_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3749 --
3750
3751 CREATE SEQUENCE public.makemodel_id_seq
3752     START WITH 1
3753     INCREMENT BY 1
3754     NO MINVALUE
3755     NO MAXVALUE
3756     CACHE 1;
3757
3758
3759 ALTER TABLE public.makemodel_id_seq OWNER TO kivitendo;
3760
3761 --
3762 -- Name: makemodel; Type: TABLE; Schema: public; Owner: kivitendo
3763 --
3764
3765 CREATE TABLE public.makemodel (
3766     parts_id integer,
3767     model text,
3768     itime timestamp without time zone DEFAULT now(),
3769     mtime timestamp without time zone,
3770     lastcost numeric(15,5),
3771     lastupdate date,
3772     sortorder integer,
3773     make integer,
3774     id integer DEFAULT nextval('public.makemodel_id_seq'::regclass) NOT NULL,
3775     part_description text,
3776     part_longdescription text
3777 );
3778
3779
3780 ALTER TABLE public.makemodel OWNER TO kivitendo;
3781
3782 --
3783 -- Name: note_id; Type: SEQUENCE; Schema: public; Owner: kivitendo
3784 --
3785
3786 CREATE SEQUENCE public.note_id
3787     START WITH 1
3788     INCREMENT BY 1
3789     NO MINVALUE
3790     NO MAXVALUE
3791     CACHE 1;
3792
3793
3794 ALTER TABLE public.note_id OWNER TO kivitendo;
3795
3796 --
3797 -- Name: notes; Type: TABLE; Schema: public; Owner: kivitendo
3798 --
3799
3800 CREATE TABLE public.notes (
3801     id integer DEFAULT nextval('public.note_id'::regclass) NOT NULL,
3802     subject text,
3803     body text,
3804     created_by integer NOT NULL,
3805     trans_id integer,
3806     trans_module character varying(10),
3807     itime timestamp without time zone DEFAULT now(),
3808     mtime timestamp without time zone
3809 );
3810
3811
3812 ALTER TABLE public.notes OWNER TO kivitendo;
3813
3814 --
3815 -- Name: oe; Type: TABLE; Schema: public; Owner: kivitendo
3816 --
3817
3818 CREATE TABLE public.oe (
3819     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
3820     ordnumber text NOT NULL,
3821     transdate date DEFAULT ('now'::text)::date,
3822     vendor_id integer,
3823     customer_id integer,
3824     amount numeric(15,5),
3825     netamount numeric(15,5),
3826     reqdate date,
3827     taxincluded boolean,
3828     shippingpoint text,
3829     notes text,
3830     employee_id integer,
3831     closed boolean DEFAULT false,
3832     quonumber text,
3833     cusordnumber text,
3834     intnotes text,
3835     department_id integer,
3836     itime timestamp without time zone DEFAULT now(),
3837     mtime timestamp without time zone,
3838     shipvia text,
3839     cp_id integer,
3840     language_id integer,
3841     payment_id integer,
3842     delivery_customer_id integer,
3843     delivery_vendor_id integer,
3844     taxzone_id integer NOT NULL,
3845     proforma boolean DEFAULT false,
3846     shipto_id integer,
3847     order_probability integer DEFAULT 0 NOT NULL,
3848     expected_billing_date date,
3849     globalproject_id integer,
3850     delivered boolean DEFAULT false,
3851     salesman_id integer,
3852     marge_total numeric(15,5),
3853     marge_percent numeric(15,5),
3854     transaction_description text,
3855     delivery_term_id integer,
3856     currency_id integer NOT NULL,
3857     exchangerate numeric(15,5),
3858     tax_point date,
3859     billing_address_id integer,
3860     order_status_id integer,
3861     record_type public.order_types NOT NULL,
3862     vendor_confirmation_number text
3863 );
3864
3865
3866 ALTER TABLE public.oe OWNER TO kivitendo;
3867
3868 --
3869 -- Name: oe_version; Type: TABLE; Schema: public; Owner: kivitendo
3870 --
3871
3872 CREATE TABLE public.oe_version (
3873     oe_id integer NOT NULL,
3874     version integer NOT NULL,
3875     final_version boolean DEFAULT false,
3876     email_journal_id integer,
3877     file_id integer,
3878     itime timestamp without time zone DEFAULT now(),
3879     mtime timestamp without time zone
3880 );
3881
3882
3883 ALTER TABLE public.oe_version OWNER TO kivitendo;
3884
3885 --
3886 -- Name: order_statuses; Type: TABLE; Schema: public; Owner: kivitendo
3887 --
3888
3889 CREATE TABLE public.order_statuses (
3890     id integer NOT NULL,
3891     name text NOT NULL,
3892     description text,
3893     "position" integer NOT NULL,
3894     obsolete boolean DEFAULT false NOT NULL,
3895     itime timestamp without time zone DEFAULT now(),
3896     mtime timestamp without time zone
3897 );
3898
3899
3900 ALTER TABLE public.order_statuses OWNER TO kivitendo;
3901
3902 --
3903 -- Name: order_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
3904 --
3905
3906 CREATE SEQUENCE public.order_statuses_id_seq
3907     AS integer
3908     START WITH 1
3909     INCREMENT BY 1
3910     NO MINVALUE
3911     NO MAXVALUE
3912     CACHE 1;
3913
3914
3915 ALTER TABLE public.order_statuses_id_seq OWNER TO kivitendo;
3916
3917 --
3918 -- Name: order_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
3919 --
3920
3921 ALTER SEQUENCE public.order_statuses_id_seq OWNED BY public.order_statuses.id;
3922
3923
3924 --
3925 -- Name: orderitems; Type: TABLE; Schema: public; Owner: kivitendo
3926 --
3927
3928 CREATE TABLE public.orderitems (
3929     trans_id integer,
3930     parts_id integer,
3931     description text,
3932     qty numeric(25,5),
3933     sellprice numeric(15,5),
3934     discount real,
3935     project_id integer,
3936     reqdate date,
3937     ship real,
3938     serialnumber text,
3939     id integer DEFAULT nextval(('orderitemsid'::text)::regclass) NOT NULL,
3940     itime timestamp without time zone DEFAULT now(),
3941     mtime timestamp without time zone,
3942     pricegroup_id integer,
3943     ordnumber text,
3944     transdate text,
3945     cusordnumber text,
3946     unit character varying(20),
3947     base_qty real,
3948     subtotal boolean DEFAULT false,
3949     longdescription text,
3950     marge_total numeric(15,5),
3951     marge_percent numeric(15,5),
3952     lastcost numeric(15,5),
3953     price_factor_id integer,
3954     price_factor numeric(15,5) DEFAULT 1,
3955     marge_price_factor numeric(15,5) DEFAULT 1,
3956     "position" integer NOT NULL,
3957     active_price_source text DEFAULT ''::text NOT NULL,
3958     active_discount_source text DEFAULT ''::text NOT NULL,
3959     optional boolean DEFAULT false,
3960     recurring_billing_mode public.items_recurring_billing_mode DEFAULT 'always'::public.items_recurring_billing_mode NOT NULL,
3961     recurring_billing_invoice_id integer,
3962     orderer_id integer
3963 );
3964
3965
3966 ALTER TABLE public.orderitems OWNER TO kivitendo;
3967
3968 --
3969 -- Name: orderitemsid; Type: SEQUENCE; Schema: public; Owner: kivitendo
3970 --
3971
3972 CREATE SEQUENCE public.orderitemsid
3973     START WITH 1
3974     INCREMENT BY 1
3975     NO MINVALUE
3976     MAXVALUE 2147483647
3977     CACHE 1
3978     CYCLE;
3979
3980
3981 ALTER TABLE public.orderitemsid OWNER TO kivitendo;
3982
3983 --
3984 -- Name: part_classifications; Type: TABLE; Schema: public; Owner: kivitendo
3985 --
3986
3987 CREATE TABLE public.part_classifications (
3988     id integer NOT NULL,
3989     description text,
3990     abbreviation text,
3991     used_for_purchase boolean DEFAULT true NOT NULL,
3992     used_for_sale boolean DEFAULT true NOT NULL,
3993     report_separate boolean DEFAULT false NOT NULL
3994 );
3995
3996
3997 ALTER TABLE public.part_classifications OWNER TO kivitendo;
3998
3999 --
4000 -- Name: part_classifications_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4001 --
4002
4003 CREATE SEQUENCE public.part_classifications_id_seq
4004     START WITH 1
4005     INCREMENT BY 1
4006     NO MINVALUE
4007     NO MAXVALUE
4008     CACHE 1;
4009
4010
4011 ALTER TABLE public.part_classifications_id_seq OWNER TO kivitendo;
4012
4013 --
4014 -- Name: part_classifications_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4015 --
4016
4017 ALTER SEQUENCE public.part_classifications_id_seq OWNED BY public.part_classifications.id;
4018
4019
4020 --
4021 -- Name: part_customer_prices; Type: TABLE; Schema: public; Owner: kivitendo
4022 --
4023
4024 CREATE TABLE public.part_customer_prices (
4025     id integer NOT NULL,
4026     parts_id integer NOT NULL,
4027     customer_id integer NOT NULL,
4028     customer_partnumber text DEFAULT ''::text,
4029     price numeric(15,5) DEFAULT 0,
4030     sortorder integer DEFAULT 0,
4031     lastupdate date DEFAULT now(),
4032     part_description text,
4033     part_longdescription text
4034 );
4035
4036
4037 ALTER TABLE public.part_customer_prices OWNER TO kivitendo;
4038
4039 --
4040 -- Name: part_customer_prices_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4041 --
4042
4043 CREATE SEQUENCE public.part_customer_prices_id_seq
4044     START WITH 1
4045     INCREMENT BY 1
4046     NO MINVALUE
4047     NO MAXVALUE
4048     CACHE 1;
4049
4050
4051 ALTER TABLE public.part_customer_prices_id_seq OWNER TO kivitendo;
4052
4053 --
4054 -- Name: part_customer_prices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4055 --
4056
4057 ALTER SEQUENCE public.part_customer_prices_id_seq OWNED BY public.part_customer_prices.id;
4058
4059
4060 --
4061 -- Name: parts; Type: TABLE; Schema: public; Owner: kivitendo
4062 --
4063
4064 CREATE TABLE public.parts (
4065     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
4066     partnumber text NOT NULL,
4067     description text,
4068     listprice numeric(15,5),
4069     sellprice numeric(15,5),
4070     lastcost numeric(15,5),
4071     priceupdate date DEFAULT ('now'::text)::date,
4072     weight real,
4073     notes text,
4074     makemodel boolean DEFAULT false,
4075     rop real,
4076     shop boolean DEFAULT false,
4077     obsolete boolean DEFAULT false NOT NULL,
4078     bom boolean DEFAULT false,
4079     image text,
4080     drawing text,
4081     microfiche text,
4082     partsgroup_id integer,
4083     ve integer,
4084     gv numeric(15,5),
4085     itime timestamp without time zone DEFAULT now(),
4086     mtime timestamp without time zone,
4087     unit character varying(20) NOT NULL,
4088     formel text,
4089     not_discountable boolean DEFAULT false,
4090     buchungsgruppen_id integer,
4091     payment_id integer,
4092     ean text,
4093     price_factor_id integer,
4094     onhand numeric(25,5) DEFAULT 0,
4095     stockable boolean DEFAULT false,
4096     has_sernumber boolean DEFAULT false,
4097     warehouse_id integer,
4098     bin_id integer,
4099     classification_id integer DEFAULT 0,
4100     part_type public.part_type_enum NOT NULL,
4101     order_qty numeric(15,5) DEFAULT 0 NOT NULL,
4102     order_locked boolean DEFAULT false,
4103     tariff_code text
4104 );
4105
4106
4107 ALTER TABLE public.parts OWNER TO kivitendo;
4108
4109 --
4110 -- Name: parts_price_history; Type: TABLE; Schema: public; Owner: kivitendo
4111 --
4112
4113 CREATE TABLE public.parts_price_history (
4114     id integer NOT NULL,
4115     part_id integer NOT NULL,
4116     valid_from timestamp without time zone NOT NULL,
4117     lastcost numeric(15,5),
4118     listprice numeric(15,5),
4119     sellprice numeric(15,5),
4120     price_factor numeric(15,5) DEFAULT 1
4121 );
4122
4123
4124 ALTER TABLE public.parts_price_history OWNER TO kivitendo;
4125
4126 --
4127 -- Name: parts_price_history_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4128 --
4129
4130 CREATE SEQUENCE public.parts_price_history_id_seq
4131     START WITH 1
4132     INCREMENT BY 1
4133     NO MINVALUE
4134     NO MAXVALUE
4135     CACHE 1;
4136
4137
4138 ALTER TABLE public.parts_price_history_id_seq OWNER TO kivitendo;
4139
4140 --
4141 -- Name: parts_price_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4142 --
4143
4144 ALTER SEQUENCE public.parts_price_history_id_seq OWNED BY public.parts_price_history.id;
4145
4146
4147 --
4148 -- Name: partsgroup; Type: TABLE; Schema: public; Owner: kivitendo
4149 --
4150
4151 CREATE TABLE public.partsgroup (
4152     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
4153     partsgroup text,
4154     itime timestamp without time zone DEFAULT now(),
4155     mtime timestamp without time zone,
4156     obsolete boolean DEFAULT false,
4157     sortkey integer NOT NULL
4158 );
4159
4160
4161 ALTER TABLE public.partsgroup OWNER TO kivitendo;
4162
4163 --
4164 -- Name: payment_terms; Type: TABLE; Schema: public; Owner: kivitendo
4165 --
4166
4167 CREATE TABLE public.payment_terms (
4168     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
4169     description text,
4170     description_long text,
4171     terms_netto integer,
4172     terms_skonto integer,
4173     percent_skonto real,
4174     itime timestamp without time zone DEFAULT now(),
4175     mtime timestamp without time zone,
4176     sortkey integer NOT NULL,
4177     auto_calculation boolean NOT NULL,
4178     description_long_invoice text,
4179     obsolete boolean DEFAULT false
4180 );
4181
4182
4183 ALTER TABLE public.payment_terms OWNER TO kivitendo;
4184
4185 --
4186 -- Name: periodic_invoices; Type: TABLE; Schema: public; Owner: kivitendo
4187 --
4188
4189 CREATE TABLE public.periodic_invoices (
4190     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
4191     config_id integer NOT NULL,
4192     ar_id integer NOT NULL,
4193     period_start_date date NOT NULL,
4194     itime timestamp without time zone DEFAULT now()
4195 );
4196
4197
4198 ALTER TABLE public.periodic_invoices OWNER TO kivitendo;
4199
4200 --
4201 -- Name: periodic_invoices_configs; Type: TABLE; Schema: public; Owner: kivitendo
4202 --
4203
4204 CREATE TABLE public.periodic_invoices_configs (
4205     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
4206     oe_id integer NOT NULL,
4207     periodicity character varying(1) NOT NULL,
4208     print boolean DEFAULT false,
4209     printer_id integer,
4210     copies integer,
4211     active boolean DEFAULT true,
4212     terminated boolean DEFAULT false,
4213     start_date date,
4214     end_date date,
4215     ar_chart_id integer NOT NULL,
4216     extend_automatically_by integer,
4217     first_billing_date date,
4218     order_value_periodicity character varying(1) NOT NULL,
4219     direct_debit boolean DEFAULT false NOT NULL,
4220     send_email boolean DEFAULT false NOT NULL,
4221     email_recipient_contact_id integer,
4222     email_recipient_address text,
4223     email_sender text,
4224     email_subject text,
4225     email_body text,
4226     CONSTRAINT periodic_invoices_configs_valid_order_value_periodicity CHECK (((order_value_periodicity)::text = ANY (ARRAY[('p'::character varying)::text, ('m'::character varying)::text, ('q'::character varying)::text, ('b'::character varying)::text, ('y'::character varying)::text, ('2'::character varying)::text, ('3'::character varying)::text, ('4'::character varying)::text, ('5'::character varying)::text]))),
4227     CONSTRAINT periodic_invoices_configs_valid_periodicity CHECK (((periodicity)::text = ANY (ARRAY[('o'::character varying)::text, ('m'::character varying)::text, ('q'::character varying)::text, ('b'::character varying)::text, ('y'::character varying)::text])))
4228 );
4229
4230
4231 ALTER TABLE public.periodic_invoices_configs OWNER TO kivitendo;
4232
4233 --
4234 -- Name: price_factors; Type: TABLE; Schema: public; Owner: kivitendo
4235 --
4236
4237 CREATE TABLE public.price_factors (
4238     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
4239     description text,
4240     factor numeric(15,5),
4241     sortkey integer
4242 );
4243
4244
4245 ALTER TABLE public.price_factors OWNER TO kivitendo;
4246
4247 --
4248 -- Name: price_rule_items; Type: TABLE; Schema: public; Owner: kivitendo
4249 --
4250
4251 CREATE TABLE public.price_rule_items (
4252     id integer NOT NULL,
4253     price_rules_id integer NOT NULL,
4254     type text,
4255     op text,
4256     custom_variable_configs_id integer,
4257     value_text text,
4258     value_int integer,
4259     value_date date,
4260     value_num numeric(15,5),
4261     itime timestamp without time zone,
4262     mtime timestamp without time zone
4263 );
4264
4265
4266 ALTER TABLE public.price_rule_items OWNER TO kivitendo;
4267
4268 --
4269 -- Name: price_rule_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4270 --
4271
4272 CREATE SEQUENCE public.price_rule_items_id_seq
4273     START WITH 1
4274     INCREMENT BY 1
4275     NO MINVALUE
4276     NO MAXVALUE
4277     CACHE 1;
4278
4279
4280 ALTER TABLE public.price_rule_items_id_seq OWNER TO kivitendo;
4281
4282 --
4283 -- Name: price_rule_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4284 --
4285
4286 ALTER SEQUENCE public.price_rule_items_id_seq OWNED BY public.price_rule_items.id;
4287
4288
4289 --
4290 -- Name: price_rules; Type: TABLE; Schema: public; Owner: kivitendo
4291 --
4292
4293 CREATE TABLE public.price_rules (
4294     id integer NOT NULL,
4295     name text,
4296     type text,
4297     priority integer DEFAULT 3 NOT NULL,
4298     price numeric(15,5),
4299     reduction numeric(15,5),
4300     obsolete boolean DEFAULT false NOT NULL,
4301     itime timestamp without time zone,
4302     mtime timestamp without time zone,
4303     discount numeric(15,5)
4304 );
4305
4306
4307 ALTER TABLE public.price_rules OWNER TO kivitendo;
4308
4309 --
4310 -- Name: price_rules_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4311 --
4312
4313 CREATE SEQUENCE public.price_rules_id_seq
4314     START WITH 1
4315     INCREMENT BY 1
4316     NO MINVALUE
4317     NO MAXVALUE
4318     CACHE 1;
4319
4320
4321 ALTER TABLE public.price_rules_id_seq OWNER TO kivitendo;
4322
4323 --
4324 -- Name: price_rules_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4325 --
4326
4327 ALTER SEQUENCE public.price_rules_id_seq OWNED BY public.price_rules.id;
4328
4329
4330 --
4331 -- Name: pricegroup; Type: TABLE; Schema: public; Owner: kivitendo
4332 --
4333
4334 CREATE TABLE public.pricegroup (
4335     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
4336     pricegroup text NOT NULL,
4337     obsolete boolean DEFAULT false,
4338     sortkey integer NOT NULL
4339 );
4340
4341
4342 ALTER TABLE public.pricegroup OWNER TO kivitendo;
4343
4344 --
4345 -- Name: prices; Type: TABLE; Schema: public; Owner: kivitendo
4346 --
4347
4348 CREATE TABLE public.prices (
4349     parts_id integer NOT NULL,
4350     pricegroup_id integer NOT NULL,
4351     price numeric(15,5),
4352     id integer NOT NULL
4353 );
4354
4355
4356 ALTER TABLE public.prices OWNER TO kivitendo;
4357
4358 --
4359 -- Name: prices_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4360 --
4361
4362 CREATE SEQUENCE public.prices_id_seq
4363     START WITH 1
4364     INCREMENT BY 1
4365     NO MINVALUE
4366     NO MAXVALUE
4367     CACHE 1;
4368
4369
4370 ALTER TABLE public.prices_id_seq OWNER TO kivitendo;
4371
4372 --
4373 -- Name: prices_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4374 --
4375
4376 ALTER SEQUENCE public.prices_id_seq OWNED BY public.prices.id;
4377
4378
4379 --
4380 -- Name: printers; Type: TABLE; Schema: public; Owner: kivitendo
4381 --
4382
4383 CREATE TABLE public.printers (
4384     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
4385     printer_description text NOT NULL,
4386     printer_command text,
4387     template_code text
4388 );
4389
4390
4391 ALTER TABLE public.printers OWNER TO kivitendo;
4392
4393 --
4394 -- Name: project; Type: TABLE; Schema: public; Owner: kivitendo
4395 --
4396
4397 CREATE TABLE public.project (
4398     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
4399     projectnumber text,
4400     description text,
4401     itime timestamp without time zone DEFAULT now(),
4402     mtime timestamp without time zone,
4403     active boolean DEFAULT true,
4404     customer_id integer,
4405     valid boolean DEFAULT true,
4406     project_type_id integer NOT NULL,
4407     start_date date,
4408     end_date date,
4409     billable_customer_id integer,
4410     budget_cost numeric(15,5) DEFAULT 0 NOT NULL,
4411     order_value numeric(15,5) DEFAULT 0 NOT NULL,
4412     budget_minutes integer DEFAULT 0 NOT NULL,
4413     timeframe boolean DEFAULT false NOT NULL,
4414     project_status_id integer NOT NULL
4415 );
4416
4417
4418 ALTER TABLE public.project OWNER TO kivitendo;
4419
4420 --
4421 -- Name: project_participants; Type: TABLE; Schema: public; Owner: kivitendo
4422 --
4423
4424 CREATE TABLE public.project_participants (
4425     id integer NOT NULL,
4426     project_id integer NOT NULL,
4427     employee_id integer NOT NULL,
4428     project_role_id integer NOT NULL,
4429     minutes integer DEFAULT 0 NOT NULL,
4430     cost_per_hour numeric(15,5),
4431     itime timestamp without time zone DEFAULT now(),
4432     mtime timestamp without time zone
4433 );
4434
4435
4436 ALTER TABLE public.project_participants OWNER TO kivitendo;
4437
4438 --
4439 -- Name: project_participants_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4440 --
4441
4442 CREATE SEQUENCE public.project_participants_id_seq
4443     START WITH 1
4444     INCREMENT BY 1
4445     NO MINVALUE
4446     NO MAXVALUE
4447     CACHE 1;
4448
4449
4450 ALTER TABLE public.project_participants_id_seq OWNER TO kivitendo;
4451
4452 --
4453 -- Name: project_participants_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4454 --
4455
4456 ALTER SEQUENCE public.project_participants_id_seq OWNED BY public.project_participants.id;
4457
4458
4459 --
4460 -- Name: project_phase_participants; Type: TABLE; Schema: public; Owner: kivitendo
4461 --
4462
4463 CREATE TABLE public.project_phase_participants (
4464     id integer NOT NULL,
4465     project_phase_id integer NOT NULL,
4466     employee_id integer NOT NULL,
4467     project_role_id integer NOT NULL,
4468     minutes integer DEFAULT 0 NOT NULL,
4469     cost_per_hour numeric(15,5),
4470     itime timestamp without time zone DEFAULT now(),
4471     mtime timestamp without time zone
4472 );
4473
4474
4475 ALTER TABLE public.project_phase_participants OWNER TO kivitendo;
4476
4477 --
4478 -- Name: project_phase_participants_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4479 --
4480
4481 CREATE SEQUENCE public.project_phase_participants_id_seq
4482     START WITH 1
4483     INCREMENT BY 1
4484     NO MINVALUE
4485     NO MAXVALUE
4486     CACHE 1;
4487
4488
4489 ALTER TABLE public.project_phase_participants_id_seq OWNER TO kivitendo;
4490
4491 --
4492 -- Name: project_phase_participants_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4493 --
4494
4495 ALTER SEQUENCE public.project_phase_participants_id_seq OWNED BY public.project_phase_participants.id;
4496
4497
4498 --
4499 -- Name: project_phases; Type: TABLE; Schema: public; Owner: kivitendo
4500 --
4501
4502 CREATE TABLE public.project_phases (
4503     id integer NOT NULL,
4504     project_id integer,
4505     start_date date,
4506     end_date date,
4507     name text NOT NULL,
4508     description text NOT NULL,
4509     budget_minutes integer DEFAULT 0 NOT NULL,
4510     budget_cost numeric(15,5) DEFAULT 0 NOT NULL,
4511     general_minutes integer DEFAULT 0 NOT NULL,
4512     general_cost_per_hour numeric(15,5) DEFAULT 0 NOT NULL,
4513     itime timestamp without time zone DEFAULT now(),
4514     mtime timestamp without time zone
4515 );
4516
4517
4518 ALTER TABLE public.project_phases OWNER TO kivitendo;
4519
4520 --
4521 -- Name: project_phases_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4522 --
4523
4524 CREATE SEQUENCE public.project_phases_id_seq
4525     START WITH 1
4526     INCREMENT BY 1
4527     NO MINVALUE
4528     NO MAXVALUE
4529     CACHE 1;
4530
4531
4532 ALTER TABLE public.project_phases_id_seq OWNER TO kivitendo;
4533
4534 --
4535 -- Name: project_phases_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4536 --
4537
4538 ALTER SEQUENCE public.project_phases_id_seq OWNED BY public.project_phases.id;
4539
4540
4541 --
4542 -- Name: project_roles; Type: TABLE; Schema: public; Owner: kivitendo
4543 --
4544
4545 CREATE TABLE public.project_roles (
4546     id integer NOT NULL,
4547     name text NOT NULL,
4548     description text NOT NULL,
4549     "position" integer NOT NULL,
4550     itime timestamp without time zone DEFAULT now(),
4551     mtime timestamp without time zone
4552 );
4553
4554
4555 ALTER TABLE public.project_roles OWNER TO kivitendo;
4556
4557 --
4558 -- Name: project_roles_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4559 --
4560
4561 CREATE SEQUENCE public.project_roles_id_seq
4562     START WITH 1
4563     INCREMENT BY 1
4564     NO MINVALUE
4565     NO MAXVALUE
4566     CACHE 1;
4567
4568
4569 ALTER TABLE public.project_roles_id_seq OWNER TO kivitendo;
4570
4571 --
4572 -- Name: project_roles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4573 --
4574
4575 ALTER SEQUENCE public.project_roles_id_seq OWNED BY public.project_roles.id;
4576
4577
4578 --
4579 -- Name: project_statuses; Type: TABLE; Schema: public; Owner: kivitendo
4580 --
4581
4582 CREATE TABLE public.project_statuses (
4583     id integer NOT NULL,
4584     name text NOT NULL,
4585     description text NOT NULL,
4586     "position" integer NOT NULL,
4587     itime timestamp without time zone DEFAULT now(),
4588     mtime timestamp without time zone
4589 );
4590
4591
4592 ALTER TABLE public.project_statuses OWNER TO kivitendo;
4593
4594 --
4595 -- Name: project_status_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4596 --
4597
4598 CREATE SEQUENCE public.project_status_id_seq
4599     START WITH 1
4600     INCREMENT BY 1
4601     NO MINVALUE
4602     NO MAXVALUE
4603     CACHE 1;
4604
4605
4606 ALTER TABLE public.project_status_id_seq OWNER TO kivitendo;
4607
4608 --
4609 -- Name: project_status_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4610 --
4611
4612 ALTER SEQUENCE public.project_status_id_seq OWNED BY public.project_statuses.id;
4613
4614
4615 --
4616 -- Name: project_types; Type: TABLE; Schema: public; Owner: kivitendo
4617 --
4618
4619 CREATE TABLE public.project_types (
4620     id integer NOT NULL,
4621     "position" integer NOT NULL,
4622     description text,
4623     internal boolean DEFAULT false NOT NULL
4624 );
4625
4626
4627 ALTER TABLE public.project_types OWNER TO kivitendo;
4628
4629 --
4630 -- Name: project_types_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4631 --
4632
4633 CREATE SEQUENCE public.project_types_id_seq
4634     START WITH 1
4635     INCREMENT BY 1
4636     NO MINVALUE
4637     NO MAXVALUE
4638     CACHE 1;
4639
4640
4641 ALTER TABLE public.project_types_id_seq OWNER TO kivitendo;
4642
4643 --
4644 -- Name: project_types_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4645 --
4646
4647 ALTER SEQUENCE public.project_types_id_seq OWNED BY public.project_types.id;
4648
4649
4650 --
4651 -- Name: purchase_basket_items; Type: TABLE; Schema: public; Owner: kivitendo
4652 --
4653
4654 CREATE TABLE public.purchase_basket_items (
4655     id integer NOT NULL,
4656     part_id integer,
4657     orderer_id integer,
4658     qty numeric(15,5) NOT NULL,
4659     cleared boolean DEFAULT false NOT NULL,
4660     itime timestamp without time zone DEFAULT now(),
4661     mtime timestamp without time zone
4662 );
4663
4664
4665 ALTER TABLE public.purchase_basket_items OWNER TO kivitendo;
4666
4667 --
4668 -- Name: purchase_basket_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4669 --
4670
4671 CREATE SEQUENCE public.purchase_basket_items_id_seq
4672     AS integer
4673     START WITH 1
4674     INCREMENT BY 1
4675     NO MINVALUE
4676     NO MAXVALUE
4677     CACHE 1;
4678
4679
4680 ALTER TABLE public.purchase_basket_items_id_seq OWNER TO kivitendo;
4681
4682 --
4683 -- Name: purchase_basket_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4684 --
4685
4686 ALTER SEQUENCE public.purchase_basket_items_id_seq OWNED BY public.purchase_basket_items.id;
4687
4688
4689 --
4690 -- Name: reclamation_items; Type: TABLE; Schema: public; Owner: kivitendo
4691 --
4692
4693 CREATE TABLE public.reclamation_items (
4694     id integer NOT NULL,
4695     reclamation_id integer NOT NULL,
4696     reason_id integer NOT NULL,
4697     reason_description_ext text,
4698     reason_description_int text,
4699     "position" integer NOT NULL,
4700     itime timestamp without time zone DEFAULT now(),
4701     mtime timestamp without time zone,
4702     project_id integer,
4703     parts_id integer NOT NULL,
4704     description text,
4705     longdescription text,
4706     serialnumber text,
4707     base_qty real,
4708     qty real,
4709     unit character varying(20),
4710     sellprice numeric(15,5),
4711     lastcost numeric(15,5),
4712     discount real,
4713     pricegroup_id integer,
4714     price_factor_id integer,
4715     price_factor numeric(15,5) DEFAULT 1,
4716     active_price_source text DEFAULT ''::text NOT NULL,
4717     active_discount_source text DEFAULT ''::text NOT NULL,
4718     reqdate date,
4719     CONSTRAINT reclamation_items_position_check CHECK (("position" > 0))
4720 );
4721
4722
4723 ALTER TABLE public.reclamation_items OWNER TO kivitendo;
4724
4725 --
4726 -- Name: reclamation_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4727 --
4728
4729 CREATE SEQUENCE public.reclamation_items_id_seq
4730     AS integer
4731     START WITH 1
4732     INCREMENT BY 1
4733     NO MINVALUE
4734     NO MAXVALUE
4735     CACHE 1;
4736
4737
4738 ALTER TABLE public.reclamation_items_id_seq OWNER TO kivitendo;
4739
4740 --
4741 -- Name: reclamation_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4742 --
4743
4744 ALTER SEQUENCE public.reclamation_items_id_seq OWNED BY public.reclamation_items.id;
4745
4746
4747 --
4748 -- Name: reclamation_reasons; Type: TABLE; Schema: public; Owner: kivitendo
4749 --
4750
4751 CREATE TABLE public.reclamation_reasons (
4752     id integer NOT NULL,
4753     name text NOT NULL,
4754     description text NOT NULL,
4755     "position" integer NOT NULL,
4756     itime timestamp without time zone DEFAULT now(),
4757     mtime timestamp without time zone,
4758     valid_for_sales boolean DEFAULT false NOT NULL,
4759     valid_for_purchase boolean DEFAULT false NOT NULL
4760 );
4761
4762
4763 ALTER TABLE public.reclamation_reasons OWNER TO kivitendo;
4764
4765 --
4766 -- Name: reclamation_reasons_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4767 --
4768
4769 CREATE SEQUENCE public.reclamation_reasons_id_seq
4770     AS integer
4771     START WITH 1
4772     INCREMENT BY 1
4773     NO MINVALUE
4774     NO MAXVALUE
4775     CACHE 1;
4776
4777
4778 ALTER TABLE public.reclamation_reasons_id_seq OWNER TO kivitendo;
4779
4780 --
4781 -- Name: reclamation_reasons_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4782 --
4783
4784 ALTER SEQUENCE public.reclamation_reasons_id_seq OWNED BY public.reclamation_reasons.id;
4785
4786
4787 --
4788 -- Name: reclamations; Type: TABLE; Schema: public; Owner: kivitendo
4789 --
4790
4791 CREATE TABLE public.reclamations (
4792     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
4793     record_number text NOT NULL,
4794     transdate date DEFAULT now(),
4795     itime timestamp without time zone DEFAULT now(),
4796     mtime timestamp without time zone,
4797     delivered boolean DEFAULT false NOT NULL,
4798     closed boolean DEFAULT false NOT NULL,
4799     employee_id integer NOT NULL,
4800     globalproject_id integer,
4801     delivery_term_id integer,
4802     shipto_id integer,
4803     department_id integer,
4804     contact_id integer,
4805     shipvia text,
4806     transaction_description text,
4807     shippingpoint text,
4808     cv_record_number text,
4809     reqdate date,
4810     amount numeric(15,5),
4811     netamount numeric(15,5),
4812     payment_id integer,
4813     currency_id integer NOT NULL,
4814     taxincluded boolean NOT NULL,
4815     tax_point date,
4816     exchangerate numeric(15,5),
4817     taxzone_id integer NOT NULL,
4818     notes text,
4819     intnotes text,
4820     language_id integer,
4821     salesman_id integer,
4822     customer_id integer,
4823     vendor_id integer,
4824     billing_address_id integer,
4825     record_type public.reclamation_types NOT NULL,
4826     CONSTRAINT reclamations_customervendor_check CHECK ((((customer_id IS NOT NULL) AND (vendor_id IS NULL)) OR ((vendor_id IS NOT NULL) AND (customer_id IS NULL))))
4827 );
4828
4829
4830 ALTER TABLE public.reclamations OWNER TO kivitendo;
4831
4832 --
4833 -- Name: reconciliation_links; Type: TABLE; Schema: public; Owner: kivitendo
4834 --
4835
4836 CREATE TABLE public.reconciliation_links (
4837     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
4838     bank_transaction_id integer NOT NULL,
4839     acc_trans_id bigint NOT NULL,
4840     rec_group integer NOT NULL
4841 );
4842
4843
4844 ALTER TABLE public.reconciliation_links OWNER TO kivitendo;
4845
4846 --
4847 -- Name: record_links; Type: TABLE; Schema: public; Owner: kivitendo
4848 --
4849
4850 CREATE TABLE public.record_links (
4851     from_table character varying(50) NOT NULL,
4852     from_id integer NOT NULL,
4853     to_table character varying(50) NOT NULL,
4854     to_id integer NOT NULL,
4855     itime timestamp without time zone DEFAULT now(),
4856     id integer NOT NULL
4857 );
4858
4859
4860 ALTER TABLE public.record_links OWNER TO kivitendo;
4861
4862 --
4863 -- Name: record_links_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4864 --
4865
4866 CREATE SEQUENCE public.record_links_id_seq
4867     START WITH 1
4868     INCREMENT BY 1
4869     NO MINVALUE
4870     NO MAXVALUE
4871     CACHE 1;
4872
4873
4874 ALTER TABLE public.record_links_id_seq OWNER TO kivitendo;
4875
4876 --
4877 -- Name: record_links_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4878 --
4879
4880 ALTER SEQUENCE public.record_links_id_seq OWNED BY public.record_links.id;
4881
4882
4883 --
4884 -- Name: record_template_items; Type: TABLE; Schema: public; Owner: kivitendo
4885 --
4886
4887 CREATE TABLE public.record_template_items (
4888     id integer NOT NULL,
4889     record_template_id integer NOT NULL,
4890     chart_id integer NOT NULL,
4891     tax_id integer NOT NULL,
4892     project_id integer,
4893     amount1 numeric(15,5) NOT NULL,
4894     amount2 numeric(15,5),
4895     source text,
4896     memo text
4897 );
4898
4899
4900 ALTER TABLE public.record_template_items OWNER TO kivitendo;
4901
4902 --
4903 -- Name: record_template_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4904 --
4905
4906 CREATE SEQUENCE public.record_template_items_id_seq
4907     START WITH 1
4908     INCREMENT BY 1
4909     NO MINVALUE
4910     NO MAXVALUE
4911     CACHE 1;
4912
4913
4914 ALTER TABLE public.record_template_items_id_seq OWNER TO kivitendo;
4915
4916 --
4917 -- Name: record_template_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4918 --
4919
4920 ALTER SEQUENCE public.record_template_items_id_seq OWNED BY public.record_template_items.id;
4921
4922
4923 --
4924 -- Name: record_templates; Type: TABLE; Schema: public; Owner: kivitendo
4925 --
4926
4927 CREATE TABLE public.record_templates (
4928     id integer NOT NULL,
4929     template_name text NOT NULL,
4930     template_type public.record_template_type NOT NULL,
4931     customer_id integer,
4932     vendor_id integer,
4933     currency_id integer NOT NULL,
4934     department_id integer,
4935     project_id integer,
4936     employee_id integer,
4937     taxincluded boolean DEFAULT false NOT NULL,
4938     direct_debit boolean DEFAULT false NOT NULL,
4939     ob_transaction boolean DEFAULT false NOT NULL,
4940     cb_transaction boolean DEFAULT false NOT NULL,
4941     reference text,
4942     description text,
4943     ordnumber text,
4944     notes text,
4945     ar_ap_chart_id integer,
4946     itime timestamp without time zone DEFAULT now() NOT NULL,
4947     mtime timestamp without time zone DEFAULT now() NOT NULL,
4948     show_details boolean DEFAULT false NOT NULL,
4949     payment_id integer,
4950     transaction_description text
4951 );
4952
4953
4954 ALTER TABLE public.record_templates OWNER TO kivitendo;
4955
4956 --
4957 -- Name: record_templates_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4958 --
4959
4960 CREATE SEQUENCE public.record_templates_id_seq
4961     START WITH 1
4962     INCREMENT BY 1
4963     NO MINVALUE
4964     NO MAXVALUE
4965     CACHE 1;
4966
4967
4968 ALTER TABLE public.record_templates_id_seq OWNER TO kivitendo;
4969
4970 --
4971 -- Name: record_templates_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
4972 --
4973
4974 ALTER SEQUENCE public.record_templates_id_seq OWNED BY public.record_templates.id;
4975
4976
4977 --
4978 -- Name: requirement_spec_acceptance_statuses; Type: TABLE; Schema: public; Owner: kivitendo
4979 --
4980
4981 CREATE TABLE public.requirement_spec_acceptance_statuses (
4982     id integer NOT NULL,
4983     name text NOT NULL,
4984     description text,
4985     "position" integer NOT NULL,
4986     itime timestamp without time zone DEFAULT now(),
4987     mtime timestamp without time zone
4988 );
4989
4990
4991 ALTER TABLE public.requirement_spec_acceptance_statuses OWNER TO kivitendo;
4992
4993 --
4994 -- Name: requirement_spec_acceptance_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
4995 --
4996
4997 CREATE SEQUENCE public.requirement_spec_acceptance_statuses_id_seq
4998     START WITH 1
4999     INCREMENT BY 1
5000     NO MINVALUE
5001     NO MAXVALUE
5002     CACHE 1;
5003
5004
5005 ALTER TABLE public.requirement_spec_acceptance_statuses_id_seq OWNER TO kivitendo;
5006
5007 --
5008 -- Name: requirement_spec_acceptance_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5009 --
5010
5011 ALTER SEQUENCE public.requirement_spec_acceptance_statuses_id_seq OWNED BY public.requirement_spec_acceptance_statuses.id;
5012
5013
5014 --
5015 -- Name: requirement_spec_complexities; Type: TABLE; Schema: public; Owner: kivitendo
5016 --
5017
5018 CREATE TABLE public.requirement_spec_complexities (
5019     id integer NOT NULL,
5020     description text NOT NULL,
5021     "position" integer NOT NULL,
5022     itime timestamp without time zone DEFAULT now(),
5023     mtime timestamp without time zone
5024 );
5025
5026
5027 ALTER TABLE public.requirement_spec_complexities OWNER TO kivitendo;
5028
5029 --
5030 -- Name: requirement_spec_complexities_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5031 --
5032
5033 CREATE SEQUENCE public.requirement_spec_complexities_id_seq
5034     START WITH 1
5035     INCREMENT BY 1
5036     NO MINVALUE
5037     NO MAXVALUE
5038     CACHE 1;
5039
5040
5041 ALTER TABLE public.requirement_spec_complexities_id_seq OWNER TO kivitendo;
5042
5043 --
5044 -- Name: requirement_spec_complexities_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5045 --
5046
5047 ALTER SEQUENCE public.requirement_spec_complexities_id_seq OWNED BY public.requirement_spec_complexities.id;
5048
5049
5050 --
5051 -- Name: requirement_spec_item_dependencies; Type: TABLE; Schema: public; Owner: kivitendo
5052 --
5053
5054 CREATE TABLE public.requirement_spec_item_dependencies (
5055     depending_item_id integer NOT NULL,
5056     depended_item_id integer NOT NULL
5057 );
5058
5059
5060 ALTER TABLE public.requirement_spec_item_dependencies OWNER TO kivitendo;
5061
5062 --
5063 -- Name: requirement_spec_items; Type: TABLE; Schema: public; Owner: kivitendo
5064 --
5065
5066 CREATE TABLE public.requirement_spec_items (
5067     id integer NOT NULL,
5068     requirement_spec_id integer NOT NULL,
5069     item_type text NOT NULL,
5070     parent_id integer,
5071     "position" integer NOT NULL,
5072     fb_number text NOT NULL,
5073     title text,
5074     description text,
5075     complexity_id integer,
5076     risk_id integer,
5077     time_estimation numeric(12,2) DEFAULT 0 NOT NULL,
5078     is_flagged boolean DEFAULT false NOT NULL,
5079     acceptance_status_id integer,
5080     acceptance_text text,
5081     itime timestamp without time zone DEFAULT now() NOT NULL,
5082     mtime timestamp without time zone,
5083     order_part_id integer,
5084     sellprice_factor numeric(10,5) DEFAULT 1,
5085     CONSTRAINT valid_item_type CHECK (((item_type = 'section'::text) OR (item_type = 'function-block'::text) OR (item_type = 'sub-function-block'::text))),
5086     CONSTRAINT valid_parent_id_for_item_type CHECK (
5087 CASE
5088     WHEN (item_type = 'section'::text) THEN (parent_id IS NULL)
5089     ELSE (parent_id IS NOT NULL)
5090 END)
5091 );
5092
5093
5094 ALTER TABLE public.requirement_spec_items OWNER TO kivitendo;
5095
5096 --
5097 -- Name: requirement_spec_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5098 --
5099
5100 CREATE SEQUENCE public.requirement_spec_items_id_seq
5101     START WITH 1
5102     INCREMENT BY 1
5103     NO MINVALUE
5104     NO MAXVALUE
5105     CACHE 1;
5106
5107
5108 ALTER TABLE public.requirement_spec_items_id_seq OWNER TO kivitendo;
5109
5110 --
5111 -- Name: requirement_spec_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5112 --
5113
5114 ALTER SEQUENCE public.requirement_spec_items_id_seq OWNED BY public.requirement_spec_items.id;
5115
5116
5117 --
5118 -- Name: requirement_spec_orders; Type: TABLE; Schema: public; Owner: kivitendo
5119 --
5120
5121 CREATE TABLE public.requirement_spec_orders (
5122     id integer NOT NULL,
5123     requirement_spec_id integer NOT NULL,
5124     order_id integer NOT NULL,
5125     version_id integer,
5126     itime timestamp without time zone DEFAULT now() NOT NULL,
5127     mtime timestamp without time zone DEFAULT now() NOT NULL
5128 );
5129
5130
5131 ALTER TABLE public.requirement_spec_orders OWNER TO kivitendo;
5132
5133 --
5134 -- Name: requirement_spec_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5135 --
5136
5137 CREATE SEQUENCE public.requirement_spec_orders_id_seq
5138     START WITH 1
5139     INCREMENT BY 1
5140     NO MINVALUE
5141     NO MAXVALUE
5142     CACHE 1;
5143
5144
5145 ALTER TABLE public.requirement_spec_orders_id_seq OWNER TO kivitendo;
5146
5147 --
5148 -- Name: requirement_spec_orders_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5149 --
5150
5151 ALTER SEQUENCE public.requirement_spec_orders_id_seq OWNED BY public.requirement_spec_orders.id;
5152
5153
5154 --
5155 -- Name: requirement_spec_parts; Type: TABLE; Schema: public; Owner: kivitendo
5156 --
5157
5158 CREATE TABLE public.requirement_spec_parts (
5159     id integer NOT NULL,
5160     requirement_spec_id integer NOT NULL,
5161     part_id integer NOT NULL,
5162     unit_id integer NOT NULL,
5163     qty numeric(15,5) NOT NULL,
5164     description text NOT NULL,
5165     "position" integer NOT NULL
5166 );
5167
5168
5169 ALTER TABLE public.requirement_spec_parts OWNER TO kivitendo;
5170
5171 --
5172 -- Name: requirement_spec_parts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5173 --
5174
5175 CREATE SEQUENCE public.requirement_spec_parts_id_seq
5176     START WITH 1
5177     INCREMENT BY 1
5178     NO MINVALUE
5179     NO MAXVALUE
5180     CACHE 1;
5181
5182
5183 ALTER TABLE public.requirement_spec_parts_id_seq OWNER TO kivitendo;
5184
5185 --
5186 -- Name: requirement_spec_parts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5187 --
5188
5189 ALTER SEQUENCE public.requirement_spec_parts_id_seq OWNED BY public.requirement_spec_parts.id;
5190
5191
5192 --
5193 -- Name: requirement_spec_pictures; Type: TABLE; Schema: public; Owner: kivitendo
5194 --
5195
5196 CREATE TABLE public.requirement_spec_pictures (
5197     id integer NOT NULL,
5198     requirement_spec_id integer NOT NULL,
5199     text_block_id integer NOT NULL,
5200     "position" integer NOT NULL,
5201     number text NOT NULL,
5202     description text,
5203     picture_file_name text NOT NULL,
5204     picture_content_type text NOT NULL,
5205     picture_mtime timestamp without time zone DEFAULT now() NOT NULL,
5206     picture_content bytea NOT NULL,
5207     picture_width integer NOT NULL,
5208     picture_height integer NOT NULL,
5209     thumbnail_content_type text NOT NULL,
5210     thumbnail_content bytea NOT NULL,
5211     thumbnail_width integer NOT NULL,
5212     thumbnail_height integer NOT NULL,
5213     itime timestamp without time zone DEFAULT now() NOT NULL,
5214     mtime timestamp without time zone
5215 );
5216
5217
5218 ALTER TABLE public.requirement_spec_pictures OWNER TO kivitendo;
5219
5220 --
5221 -- Name: requirement_spec_pictures_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5222 --
5223
5224 CREATE SEQUENCE public.requirement_spec_pictures_id_seq
5225     START WITH 1
5226     INCREMENT BY 1
5227     NO MINVALUE
5228     NO MAXVALUE
5229     CACHE 1;
5230
5231
5232 ALTER TABLE public.requirement_spec_pictures_id_seq OWNER TO kivitendo;
5233
5234 --
5235 -- Name: requirement_spec_pictures_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5236 --
5237
5238 ALTER SEQUENCE public.requirement_spec_pictures_id_seq OWNED BY public.requirement_spec_pictures.id;
5239
5240
5241 --
5242 -- Name: requirement_spec_predefined_texts; Type: TABLE; Schema: public; Owner: kivitendo
5243 --
5244
5245 CREATE TABLE public.requirement_spec_predefined_texts (
5246     id integer NOT NULL,
5247     description text NOT NULL,
5248     title text NOT NULL,
5249     text text NOT NULL,
5250     "position" integer NOT NULL,
5251     itime timestamp without time zone DEFAULT now(),
5252     mtime timestamp without time zone,
5253     useable_for_text_blocks boolean DEFAULT false NOT NULL,
5254     useable_for_sections boolean DEFAULT false NOT NULL
5255 );
5256
5257
5258 ALTER TABLE public.requirement_spec_predefined_texts OWNER TO kivitendo;
5259
5260 --
5261 -- Name: requirement_spec_predefined_texts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5262 --
5263
5264 CREATE SEQUENCE public.requirement_spec_predefined_texts_id_seq
5265     START WITH 1
5266     INCREMENT BY 1
5267     NO MINVALUE
5268     NO MAXVALUE
5269     CACHE 1;
5270
5271
5272 ALTER TABLE public.requirement_spec_predefined_texts_id_seq OWNER TO kivitendo;
5273
5274 --
5275 -- Name: requirement_spec_predefined_texts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5276 --
5277
5278 ALTER SEQUENCE public.requirement_spec_predefined_texts_id_seq OWNED BY public.requirement_spec_predefined_texts.id;
5279
5280
5281 --
5282 -- Name: requirement_spec_risks; Type: TABLE; Schema: public; Owner: kivitendo
5283 --
5284
5285 CREATE TABLE public.requirement_spec_risks (
5286     id integer NOT NULL,
5287     description text NOT NULL,
5288     "position" integer NOT NULL,
5289     itime timestamp without time zone DEFAULT now(),
5290     mtime timestamp without time zone
5291 );
5292
5293
5294 ALTER TABLE public.requirement_spec_risks OWNER TO kivitendo;
5295
5296 --
5297 -- Name: requirement_spec_risks_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5298 --
5299
5300 CREATE SEQUENCE public.requirement_spec_risks_id_seq
5301     START WITH 1
5302     INCREMENT BY 1
5303     NO MINVALUE
5304     NO MAXVALUE
5305     CACHE 1;
5306
5307
5308 ALTER TABLE public.requirement_spec_risks_id_seq OWNER TO kivitendo;
5309
5310 --
5311 -- Name: requirement_spec_risks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5312 --
5313
5314 ALTER SEQUENCE public.requirement_spec_risks_id_seq OWNED BY public.requirement_spec_risks.id;
5315
5316
5317 --
5318 -- Name: requirement_spec_statuses; Type: TABLE; Schema: public; Owner: kivitendo
5319 --
5320
5321 CREATE TABLE public.requirement_spec_statuses (
5322     id integer NOT NULL,
5323     name text NOT NULL,
5324     description text NOT NULL,
5325     "position" integer NOT NULL,
5326     itime timestamp without time zone DEFAULT now(),
5327     mtime timestamp without time zone
5328 );
5329
5330
5331 ALTER TABLE public.requirement_spec_statuses OWNER TO kivitendo;
5332
5333 --
5334 -- Name: requirement_spec_statuses_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5335 --
5336
5337 CREATE SEQUENCE public.requirement_spec_statuses_id_seq
5338     START WITH 1
5339     INCREMENT BY 1
5340     NO MINVALUE
5341     NO MAXVALUE
5342     CACHE 1;
5343
5344
5345 ALTER TABLE public.requirement_spec_statuses_id_seq OWNER TO kivitendo;
5346
5347 --
5348 -- Name: requirement_spec_statuses_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5349 --
5350
5351 ALTER SEQUENCE public.requirement_spec_statuses_id_seq OWNED BY public.requirement_spec_statuses.id;
5352
5353
5354 --
5355 -- Name: requirement_spec_text_blocks; Type: TABLE; Schema: public; Owner: kivitendo
5356 --
5357
5358 CREATE TABLE public.requirement_spec_text_blocks (
5359     id integer NOT NULL,
5360     requirement_spec_id integer NOT NULL,
5361     title text NOT NULL,
5362     text text,
5363     "position" integer NOT NULL,
5364     output_position integer DEFAULT 1 NOT NULL,
5365     is_flagged boolean DEFAULT false NOT NULL,
5366     itime timestamp without time zone DEFAULT now() NOT NULL,
5367     mtime timestamp without time zone
5368 );
5369
5370
5371 ALTER TABLE public.requirement_spec_text_blocks OWNER TO kivitendo;
5372
5373 --
5374 -- Name: requirement_spec_text_blocks_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5375 --
5376
5377 CREATE SEQUENCE public.requirement_spec_text_blocks_id_seq
5378     START WITH 1
5379     INCREMENT BY 1
5380     NO MINVALUE
5381     NO MAXVALUE
5382     CACHE 1;
5383
5384
5385 ALTER TABLE public.requirement_spec_text_blocks_id_seq OWNER TO kivitendo;
5386
5387 --
5388 -- Name: requirement_spec_text_blocks_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5389 --
5390
5391 ALTER SEQUENCE public.requirement_spec_text_blocks_id_seq OWNED BY public.requirement_spec_text_blocks.id;
5392
5393
5394 --
5395 -- Name: requirement_spec_types; Type: TABLE; Schema: public; Owner: kivitendo
5396 --
5397
5398 CREATE TABLE public.requirement_spec_types (
5399     id integer NOT NULL,
5400     description text NOT NULL,
5401     "position" integer NOT NULL,
5402     itime timestamp without time zone DEFAULT now(),
5403     mtime timestamp without time zone,
5404     section_number_format text DEFAULT 'A00'::text NOT NULL,
5405     function_block_number_format text DEFAULT 'FB000'::text NOT NULL,
5406     template_file_name text
5407 );
5408
5409
5410 ALTER TABLE public.requirement_spec_types OWNER TO kivitendo;
5411
5412 --
5413 -- Name: requirement_spec_types_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5414 --
5415
5416 CREATE SEQUENCE public.requirement_spec_types_id_seq
5417     START WITH 1
5418     INCREMENT BY 1
5419     NO MINVALUE
5420     NO MAXVALUE
5421     CACHE 1;
5422
5423
5424 ALTER TABLE public.requirement_spec_types_id_seq OWNER TO kivitendo;
5425
5426 --
5427 -- Name: requirement_spec_types_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5428 --
5429
5430 ALTER SEQUENCE public.requirement_spec_types_id_seq OWNED BY public.requirement_spec_types.id;
5431
5432
5433 --
5434 -- Name: requirement_spec_versions; Type: TABLE; Schema: public; Owner: kivitendo
5435 --
5436
5437 CREATE TABLE public.requirement_spec_versions (
5438     id integer NOT NULL,
5439     version_number integer,
5440     description text NOT NULL,
5441     comment text,
5442     itime timestamp without time zone DEFAULT now(),
5443     mtime timestamp without time zone,
5444     requirement_spec_id integer NOT NULL,
5445     working_copy_id integer
5446 );
5447
5448
5449 ALTER TABLE public.requirement_spec_versions OWNER TO kivitendo;
5450
5451 --
5452 -- Name: requirement_spec_versions_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5453 --
5454
5455 CREATE SEQUENCE public.requirement_spec_versions_id_seq
5456     START WITH 1
5457     INCREMENT BY 1
5458     NO MINVALUE
5459     NO MAXVALUE
5460     CACHE 1;
5461
5462
5463 ALTER TABLE public.requirement_spec_versions_id_seq OWNER TO kivitendo;
5464
5465 --
5466 -- Name: requirement_spec_versions_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5467 --
5468
5469 ALTER SEQUENCE public.requirement_spec_versions_id_seq OWNED BY public.requirement_spec_versions.id;
5470
5471
5472 --
5473 -- Name: requirement_specs; Type: TABLE; Schema: public; Owner: kivitendo
5474 --
5475
5476 CREATE TABLE public.requirement_specs (
5477     id integer NOT NULL,
5478     type_id integer NOT NULL,
5479     status_id integer,
5480     customer_id integer,
5481     project_id integer,
5482     title text NOT NULL,
5483     hourly_rate numeric(8,2) DEFAULT 0 NOT NULL,
5484     working_copy_id integer,
5485     previous_section_number integer NOT NULL,
5486     previous_fb_number integer NOT NULL,
5487     is_template boolean DEFAULT false,
5488     itime timestamp without time zone DEFAULT now(),
5489     mtime timestamp without time zone,
5490     time_estimation numeric(12,2) DEFAULT 0 NOT NULL,
5491     previous_picture_number integer DEFAULT 0 NOT NULL,
5492     CONSTRAINT requirement_specs_is_template_or_has_customer_status_type CHECK ((is_template OR ((type_id IS NOT NULL) AND (status_id IS NOT NULL) AND (customer_id IS NOT NULL))))
5493 );
5494
5495
5496 ALTER TABLE public.requirement_specs OWNER TO kivitendo;
5497
5498 --
5499 -- Name: requirement_specs_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5500 --
5501
5502 CREATE SEQUENCE public.requirement_specs_id_seq
5503     START WITH 1
5504     INCREMENT BY 1
5505     NO MINVALUE
5506     NO MAXVALUE
5507     CACHE 1;
5508
5509
5510 ALTER TABLE public.requirement_specs_id_seq OWNER TO kivitendo;
5511
5512 --
5513 -- Name: requirement_specs_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5514 --
5515
5516 ALTER SEQUENCE public.requirement_specs_id_seq OWNED BY public.requirement_specs.id;
5517
5518
5519 --
5520 -- Name: schema_info; Type: TABLE; Schema: public; Owner: kivitendo
5521 --
5522
5523 CREATE TABLE public.schema_info (
5524     tag text NOT NULL,
5525     login text,
5526     itime timestamp without time zone DEFAULT now()
5527 );
5528
5529
5530 ALTER TABLE public.schema_info OWNER TO kivitendo;
5531
5532 --
5533 -- Name: sepa_export_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5534 --
5535
5536 CREATE SEQUENCE public.sepa_export_id_seq
5537     START WITH 1
5538     INCREMENT BY 1
5539     NO MINVALUE
5540     NO MAXVALUE
5541     CACHE 1;
5542
5543
5544 ALTER TABLE public.sepa_export_id_seq OWNER TO kivitendo;
5545
5546 --
5547 -- Name: sepa_export; Type: TABLE; Schema: public; Owner: kivitendo
5548 --
5549
5550 CREATE TABLE public.sepa_export (
5551     id integer DEFAULT nextval('public.sepa_export_id_seq'::regclass) NOT NULL,
5552     employee_id integer NOT NULL,
5553     executed boolean DEFAULT false,
5554     closed boolean DEFAULT false,
5555     itime timestamp without time zone DEFAULT now(),
5556     vc character varying(10)
5557 );
5558
5559
5560 ALTER TABLE public.sepa_export OWNER TO kivitendo;
5561
5562 --
5563 -- Name: sepa_export_items; Type: TABLE; Schema: public; Owner: kivitendo
5564 --
5565
5566 CREATE TABLE public.sepa_export_items (
5567     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
5568     sepa_export_id integer NOT NULL,
5569     ap_id integer,
5570     chart_id integer NOT NULL,
5571     amount numeric(25,5),
5572     reference character varying(140),
5573     requested_execution_date date,
5574     executed boolean DEFAULT false,
5575     execution_date date,
5576     our_iban character varying(100),
5577     our_bic character varying(100),
5578     vc_iban character varying(100),
5579     vc_bic character varying(100),
5580     end_to_end_id character varying(35),
5581     our_depositor text,
5582     vc_depositor text,
5583     ar_id integer,
5584     vc_mandator_id text,
5585     vc_mandate_date_of_signature date,
5586     payment_type text DEFAULT 'without_skonto'::text,
5587     skonto_amount numeric(25,5)
5588 );
5589
5590
5591 ALTER TABLE public.sepa_export_items OWNER TO kivitendo;
5592
5593 --
5594 -- Name: sepa_export_message_ids; Type: TABLE; Schema: public; Owner: kivitendo
5595 --
5596
5597 CREATE TABLE public.sepa_export_message_ids (
5598     id integer NOT NULL,
5599     sepa_export_id integer NOT NULL,
5600     message_id text NOT NULL
5601 );
5602
5603
5604 ALTER TABLE public.sepa_export_message_ids OWNER TO kivitendo;
5605
5606 --
5607 -- Name: sepa_export_message_ids_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5608 --
5609
5610 CREATE SEQUENCE public.sepa_export_message_ids_id_seq
5611     START WITH 1
5612     INCREMENT BY 1
5613     NO MINVALUE
5614     NO MAXVALUE
5615     CACHE 1;
5616
5617
5618 ALTER TABLE public.sepa_export_message_ids_id_seq OWNER TO kivitendo;
5619
5620 --
5621 -- Name: sepa_export_message_ids_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5622 --
5623
5624 ALTER SEQUENCE public.sepa_export_message_ids_id_seq OWNED BY public.sepa_export_message_ids.id;
5625
5626
5627 --
5628 -- Name: shipto; Type: TABLE; Schema: public; Owner: kivitendo
5629 --
5630
5631 CREATE TABLE public.shipto (
5632     trans_id integer,
5633     shiptoname text,
5634     shiptodepartment_1 text,
5635     shiptodepartment_2 text,
5636     shiptostreet text,
5637     shiptozipcode text,
5638     shiptocity text,
5639     shiptocountry text,
5640     shiptocontact text,
5641     shiptophone text,
5642     shiptofax text,
5643     shiptoemail text,
5644     itime timestamp without time zone DEFAULT now(),
5645     mtime timestamp without time zone,
5646     module text,
5647     shipto_id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
5648     shiptocp_gender text,
5649     shiptogln text
5650 );
5651
5652
5653 ALTER TABLE public.shipto OWNER TO kivitendo;
5654
5655 --
5656 -- Name: shop_images; Type: TABLE; Schema: public; Owner: kivitendo
5657 --
5658
5659 CREATE TABLE public.shop_images (
5660     id integer NOT NULL,
5661     file_id integer,
5662     "position" integer,
5663     thumbnail_content bytea,
5664     org_file_width integer,
5665     org_file_height integer,
5666     thumbnail_content_type text,
5667     itime timestamp without time zone DEFAULT now(),
5668     mtime timestamp without time zone,
5669     object_id text NOT NULL
5670 );
5671
5672
5673 ALTER TABLE public.shop_images OWNER TO kivitendo;
5674
5675 --
5676 -- Name: shop_images_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5677 --
5678
5679 CREATE SEQUENCE public.shop_images_id_seq
5680     START WITH 1
5681     INCREMENT BY 1
5682     NO MINVALUE
5683     NO MAXVALUE
5684     CACHE 1;
5685
5686
5687 ALTER TABLE public.shop_images_id_seq OWNER TO kivitendo;
5688
5689 --
5690 -- Name: shop_images_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5691 --
5692
5693 ALTER SEQUENCE public.shop_images_id_seq OWNED BY public.shop_images.id;
5694
5695
5696 --
5697 -- Name: shop_order_items; Type: TABLE; Schema: public; Owner: kivitendo
5698 --
5699
5700 CREATE TABLE public.shop_order_items (
5701     id integer NOT NULL,
5702     shop_trans_id text NOT NULL,
5703     shop_order_id integer,
5704     description text,
5705     partnumber text,
5706     "position" integer,
5707     tax_rate numeric(15,2),
5708     quantity numeric(25,5),
5709     price numeric(15,5),
5710     active_price_source text,
5711     discount real,
5712     discount_code text,
5713     identifier text
5714 );
5715
5716
5717 ALTER TABLE public.shop_order_items OWNER TO kivitendo;
5718
5719 --
5720 -- Name: shop_order_items_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5721 --
5722
5723 CREATE SEQUENCE public.shop_order_items_id_seq
5724     START WITH 1
5725     INCREMENT BY 1
5726     NO MINVALUE
5727     NO MAXVALUE
5728     CACHE 1;
5729
5730
5731 ALTER TABLE public.shop_order_items_id_seq OWNER TO kivitendo;
5732
5733 --
5734 -- Name: shop_order_items_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5735 --
5736
5737 ALTER SEQUENCE public.shop_order_items_id_seq OWNED BY public.shop_order_items.id;
5738
5739
5740 --
5741 -- Name: shop_orders; Type: TABLE; Schema: public; Owner: kivitendo
5742 --
5743
5744 CREATE TABLE public.shop_orders (
5745     id integer NOT NULL,
5746     shop_trans_id text NOT NULL,
5747     shop_ordernumber text,
5748     shop_customer_comment text,
5749     amount numeric(15,5),
5750     netamount numeric(15,5),
5751     order_date timestamp without time zone,
5752     shipping_costs numeric(15,5),
5753     shipping_costs_net numeric(15,5),
5754     shipping_costs_id integer,
5755     tax_included boolean,
5756     payment_id integer,
5757     payment_description text,
5758     shop_id integer,
5759     host text,
5760     remote_ip text,
5761     transferred boolean DEFAULT false,
5762     transfer_date date,
5763     kivi_customer_id integer,
5764     shop_customer_id integer,
5765     shop_customer_number text,
5766     customer_lastname text,
5767     customer_firstname text,
5768     customer_company text,
5769     customer_street text,
5770     customer_zipcode text,
5771     customer_city text,
5772     customer_country text,
5773     customer_greeting text,
5774     customer_department text,
5775     customer_vat text,
5776     customer_phone text,
5777     customer_fax text,
5778     customer_email text,
5779     customer_newsletter boolean,
5780     shop_c_billing_id integer,
5781     shop_c_billing_number text,
5782     billing_lastname text,
5783     billing_firstname text,
5784     billing_company text,
5785     billing_street text,
5786     billing_zipcode text,
5787     billing_city text,
5788     billing_country text,
5789     billing_greeting text,
5790     billing_department text,
5791     billing_vat text,
5792     billing_phone text,
5793     billing_fax text,
5794     billing_email text,
5795     sepa_account_holder text,
5796     sepa_iban text,
5797     sepa_bic text,
5798     shop_c_delivery_id integer,
5799     shop_c_delivery_number text,
5800     delivery_lastname text,
5801     delivery_firstname text,
5802     delivery_company text,
5803     delivery_street text,
5804     delivery_zipcode text,
5805     delivery_city text,
5806     delivery_country text,
5807     delivery_greeting text,
5808     delivery_department text,
5809     delivery_vat text,
5810     delivery_phone text,
5811     delivery_fax text,
5812     delivery_email text,
5813     obsolete boolean DEFAULT false NOT NULL,
5814     positions integer,
5815     itime timestamp without time zone DEFAULT now(),
5816     mtime timestamp without time zone
5817 );
5818
5819
5820 ALTER TABLE public.shop_orders OWNER TO kivitendo;
5821
5822 --
5823 -- Name: shop_orders_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5824 --
5825
5826 CREATE SEQUENCE public.shop_orders_id_seq
5827     START WITH 1
5828     INCREMENT BY 1
5829     NO MINVALUE
5830     NO MAXVALUE
5831     CACHE 1;
5832
5833
5834 ALTER TABLE public.shop_orders_id_seq OWNER TO kivitendo;
5835
5836 --
5837 -- Name: shop_orders_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5838 --
5839
5840 ALTER SEQUENCE public.shop_orders_id_seq OWNED BY public.shop_orders.id;
5841
5842
5843 --
5844 -- Name: shop_parts; Type: TABLE; Schema: public; Owner: kivitendo
5845 --
5846
5847 CREATE TABLE public.shop_parts (
5848     id integer NOT NULL,
5849     shop_id integer NOT NULL,
5850     part_id integer NOT NULL,
5851     shop_description text,
5852     itime timestamp without time zone DEFAULT now(),
5853     mtime timestamp without time zone,
5854     last_update timestamp without time zone,
5855     show_date date,
5856     sortorder integer,
5857     front_page boolean DEFAULT false NOT NULL,
5858     active boolean DEFAULT false NOT NULL,
5859     shop_category text[],
5860     active_price_source text,
5861     metatag_keywords text,
5862     metatag_description text,
5863     metatag_title text
5864 );
5865
5866
5867 ALTER TABLE public.shop_parts OWNER TO kivitendo;
5868
5869 --
5870 -- Name: shop_parts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5871 --
5872
5873 CREATE SEQUENCE public.shop_parts_id_seq
5874     START WITH 1
5875     INCREMENT BY 1
5876     NO MINVALUE
5877     NO MAXVALUE
5878     CACHE 1;
5879
5880
5881 ALTER TABLE public.shop_parts_id_seq OWNER TO kivitendo;
5882
5883 --
5884 -- Name: shop_parts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5885 --
5886
5887 ALTER SEQUENCE public.shop_parts_id_seq OWNED BY public.shop_parts.id;
5888
5889
5890 --
5891 -- Name: shops; Type: TABLE; Schema: public; Owner: kivitendo
5892 --
5893
5894 CREATE TABLE public.shops (
5895     id integer NOT NULL,
5896     description text,
5897     obsolete boolean DEFAULT false NOT NULL,
5898     sortkey integer,
5899     connector text,
5900     pricetype text,
5901     price_source text,
5902     taxzone_id integer,
5903     last_order_number integer,
5904     orders_to_fetch integer,
5905     server text,
5906     port integer,
5907     login text,
5908     password text,
5909     protocol text DEFAULT 'http'::text NOT NULL,
5910     path text DEFAULT '/'::text NOT NULL,
5911     realm text,
5912     transaction_description text,
5913     itime timestamp without time zone DEFAULT now(),
5914     mtime timestamp without time zone DEFAULT now(),
5915     shipping_costs_parts_id integer,
5916     use_part_longdescription boolean DEFAULT false,
5917     proxy text DEFAULT ''::text
5918 );
5919
5920
5921 ALTER TABLE public.shops OWNER TO kivitendo;
5922
5923 --
5924 -- Name: shops_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5925 --
5926
5927 CREATE SEQUENCE public.shops_id_seq
5928     START WITH 1
5929     INCREMENT BY 1
5930     NO MINVALUE
5931     NO MAXVALUE
5932     CACHE 1;
5933
5934
5935 ALTER TABLE public.shops_id_seq OWNER TO kivitendo;
5936
5937 --
5938 -- Name: shops_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5939 --
5940
5941 ALTER SEQUENCE public.shops_id_seq OWNED BY public.shops.id;
5942
5943
5944 --
5945 -- Name: status; Type: TABLE; Schema: public; Owner: kivitendo
5946 --
5947
5948 CREATE TABLE public.status (
5949     trans_id integer,
5950     formname text,
5951     printed boolean DEFAULT false,
5952     emailed boolean DEFAULT false,
5953     spoolfile text,
5954     chart_id integer,
5955     itime timestamp without time zone DEFAULT now(),
5956     mtime timestamp without time zone,
5957     id integer NOT NULL
5958 );
5959
5960
5961 ALTER TABLE public.status OWNER TO kivitendo;
5962
5963 --
5964 -- Name: status_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
5965 --
5966
5967 CREATE SEQUENCE public.status_id_seq
5968     START WITH 1
5969     INCREMENT BY 1
5970     NO MINVALUE
5971     NO MAXVALUE
5972     CACHE 1;
5973
5974
5975 ALTER TABLE public.status_id_seq OWNER TO kivitendo;
5976
5977 --
5978 -- Name: status_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
5979 --
5980
5981 ALTER SEQUENCE public.status_id_seq OWNED BY public.status.id;
5982
5983
5984 --
5985 -- Name: stocktakings; Type: TABLE; Schema: public; Owner: kivitendo
5986 --
5987
5988 CREATE TABLE public.stocktakings (
5989     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
5990     inventory_id integer,
5991     warehouse_id integer NOT NULL,
5992     bin_id integer NOT NULL,
5993     parts_id integer NOT NULL,
5994     employee_id integer NOT NULL,
5995     qty numeric(25,5) NOT NULL,
5996     comment text,
5997     chargenumber text DEFAULT ''::text NOT NULL,
5998     bestbefore date,
5999     cutoff_date date NOT NULL,
6000     itime timestamp without time zone DEFAULT now(),
6001     mtime timestamp without time zone
6002 );
6003
6004
6005 ALTER TABLE public.stocktakings OWNER TO kivitendo;
6006
6007 --
6008 -- Name: tax; Type: TABLE; Schema: public; Owner: kivitendo
6009 --
6010
6011 CREATE TABLE public.tax (
6012     chart_id integer,
6013     rate numeric(15,5) DEFAULT 0 NOT NULL,
6014     taxkey integer NOT NULL,
6015     taxdescription text NOT NULL,
6016     itime timestamp without time zone DEFAULT now(),
6017     mtime timestamp without time zone,
6018     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
6019     chart_categories text NOT NULL,
6020     skonto_sales_chart_id integer,
6021     skonto_purchase_chart_id integer,
6022     reverse_charge_chart_id integer
6023 );
6024
6025
6026 ALTER TABLE public.tax OWNER TO kivitendo;
6027
6028 --
6029 -- Name: tax_zones; Type: TABLE; Schema: public; Owner: kivitendo
6030 --
6031
6032 CREATE TABLE public.tax_zones (
6033     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
6034     description text,
6035     sortkey integer NOT NULL,
6036     obsolete boolean DEFAULT false
6037 );
6038
6039
6040 ALTER TABLE public.tax_zones OWNER TO kivitendo;
6041
6042 --
6043 -- Name: taxkeys; Type: TABLE; Schema: public; Owner: kivitendo
6044 --
6045
6046 CREATE TABLE public.taxkeys (
6047     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
6048     chart_id integer NOT NULL,
6049     tax_id integer NOT NULL,
6050     taxkey_id integer NOT NULL,
6051     pos_ustva integer,
6052     startdate date NOT NULL
6053 );
6054
6055
6056 ALTER TABLE public.taxkeys OWNER TO kivitendo;
6057
6058 --
6059 -- Name: taxzone_charts; Type: TABLE; Schema: public; Owner: kivitendo
6060 --
6061
6062 CREATE TABLE public.taxzone_charts (
6063     id integer NOT NULL,
6064     taxzone_id integer NOT NULL,
6065     buchungsgruppen_id integer NOT NULL,
6066     income_accno_id integer NOT NULL,
6067     expense_accno_id integer NOT NULL,
6068     itime timestamp without time zone DEFAULT now()
6069 );
6070
6071
6072 ALTER TABLE public.taxzone_charts OWNER TO kivitendo;
6073
6074 --
6075 -- Name: taxzone_charts_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6076 --
6077
6078 CREATE SEQUENCE public.taxzone_charts_id_seq
6079     START WITH 1
6080     INCREMENT BY 1
6081     NO MINVALUE
6082     NO MAXVALUE
6083     CACHE 1;
6084
6085
6086 ALTER TABLE public.taxzone_charts_id_seq OWNER TO kivitendo;
6087
6088 --
6089 -- Name: taxzone_charts_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6090 --
6091
6092 ALTER SEQUENCE public.taxzone_charts_id_seq OWNED BY public.taxzone_charts.id;
6093
6094
6095 --
6096 -- Name: time_recording_articles; Type: TABLE; Schema: public; Owner: kivitendo
6097 --
6098
6099 CREATE TABLE public.time_recording_articles (
6100     id integer NOT NULL,
6101     part_id integer NOT NULL,
6102     "position" integer NOT NULL
6103 );
6104
6105
6106 ALTER TABLE public.time_recording_articles OWNER TO kivitendo;
6107
6108 --
6109 -- Name: time_recording_articles_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6110 --
6111
6112 CREATE SEQUENCE public.time_recording_articles_id_seq
6113     AS integer
6114     START WITH 1
6115     INCREMENT BY 1
6116     NO MINVALUE
6117     NO MAXVALUE
6118     CACHE 1;
6119
6120
6121 ALTER TABLE public.time_recording_articles_id_seq OWNER TO kivitendo;
6122
6123 --
6124 -- Name: time_recording_articles_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6125 --
6126
6127 ALTER SEQUENCE public.time_recording_articles_id_seq OWNED BY public.time_recording_articles.id;
6128
6129
6130 --
6131 -- Name: time_recordings; Type: TABLE; Schema: public; Owner: kivitendo
6132 --
6133
6134 CREATE TABLE public.time_recordings (
6135     id integer NOT NULL,
6136     customer_id integer NOT NULL,
6137     project_id integer,
6138     start_time timestamp without time zone,
6139     end_time timestamp without time zone,
6140     description text NOT NULL,
6141     staff_member_id integer NOT NULL,
6142     employee_id integer NOT NULL,
6143     itime timestamp without time zone DEFAULT now() NOT NULL,
6144     mtime timestamp without time zone DEFAULT now() NOT NULL,
6145     booked boolean DEFAULT false,
6146     payroll boolean DEFAULT false,
6147     part_id integer,
6148     date date NOT NULL,
6149     duration integer,
6150     order_id integer
6151 );
6152
6153
6154 ALTER TABLE public.time_recordings OWNER TO kivitendo;
6155
6156 --
6157 -- Name: time_recordings_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6158 --
6159
6160 CREATE SEQUENCE public.time_recordings_id_seq
6161     AS integer
6162     START WITH 1
6163     INCREMENT BY 1
6164     NO MINVALUE
6165     NO MAXVALUE
6166     CACHE 1;
6167
6168
6169 ALTER TABLE public.time_recordings_id_seq OWNER TO kivitendo;
6170
6171 --
6172 -- Name: time_recordings_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6173 --
6174
6175 ALTER SEQUENCE public.time_recordings_id_seq OWNED BY public.time_recordings.id;
6176
6177
6178 --
6179 -- Name: todo_user_config; Type: TABLE; Schema: public; Owner: kivitendo
6180 --
6181
6182 CREATE TABLE public.todo_user_config (
6183     employee_id integer NOT NULL,
6184     show_after_login boolean DEFAULT true,
6185     show_follow_ups boolean DEFAULT true,
6186     show_follow_ups_login boolean DEFAULT true,
6187     show_overdue_sales_quotations boolean DEFAULT true,
6188     show_overdue_sales_quotations_login boolean DEFAULT true,
6189     id integer NOT NULL
6190 );
6191
6192
6193 ALTER TABLE public.todo_user_config OWNER TO kivitendo;
6194
6195 --
6196 -- Name: todo_user_config_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6197 --
6198
6199 CREATE SEQUENCE public.todo_user_config_id_seq
6200     START WITH 1
6201     INCREMENT BY 1
6202     NO MINVALUE
6203     NO MAXVALUE
6204     CACHE 1;
6205
6206
6207 ALTER TABLE public.todo_user_config_id_seq OWNER TO kivitendo;
6208
6209 --
6210 -- Name: todo_user_config_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6211 --
6212
6213 ALTER SEQUENCE public.todo_user_config_id_seq OWNED BY public.todo_user_config.id;
6214
6215
6216 --
6217 -- Name: transfer_type; Type: TABLE; Schema: public; Owner: kivitendo
6218 --
6219
6220 CREATE TABLE public.transfer_type (
6221     id integer DEFAULT nextval('public.id'::regclass) NOT NULL,
6222     direction character varying(10) NOT NULL,
6223     description text,
6224     sortkey integer,
6225     itime timestamp without time zone DEFAULT now(),
6226     mtime timestamp without time zone
6227 );
6228
6229
6230 ALTER TABLE public.transfer_type OWNER TO kivitendo;
6231
6232 --
6233 -- Name: translation; Type: TABLE; Schema: public; Owner: kivitendo
6234 --
6235
6236 CREATE TABLE public.translation (
6237     parts_id integer,
6238     language_id integer,
6239     translation text,
6240     itime timestamp without time zone DEFAULT now(),
6241     mtime timestamp without time zone,
6242     longdescription text,
6243     id integer NOT NULL
6244 );
6245
6246
6247 ALTER TABLE public.translation OWNER TO kivitendo;
6248
6249 --
6250 -- Name: translation_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6251 --
6252
6253 CREATE SEQUENCE public.translation_id_seq
6254     START WITH 1
6255     INCREMENT BY 1
6256     NO MINVALUE
6257     NO MAXVALUE
6258     CACHE 1;
6259
6260
6261 ALTER TABLE public.translation_id_seq OWNER TO kivitendo;
6262
6263 --
6264 -- Name: translation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6265 --
6266
6267 ALTER SEQUENCE public.translation_id_seq OWNED BY public.translation.id;
6268
6269
6270 --
6271 -- Name: trigger_information; Type: TABLE; Schema: public; Owner: kivitendo
6272 --
6273
6274 CREATE TABLE public.trigger_information (
6275     id integer NOT NULL,
6276     key text NOT NULL,
6277     value text
6278 );
6279
6280
6281 ALTER TABLE public.trigger_information OWNER TO kivitendo;
6282
6283 --
6284 -- Name: trigger_information_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6285 --
6286
6287 CREATE SEQUENCE public.trigger_information_id_seq
6288     START WITH 1
6289     INCREMENT BY 1
6290     NO MINVALUE
6291     NO MAXVALUE
6292     CACHE 1;
6293
6294
6295 ALTER TABLE public.trigger_information_id_seq OWNER TO kivitendo;
6296
6297 --
6298 -- Name: trigger_information_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6299 --
6300
6301 ALTER SEQUENCE public.trigger_information_id_seq OWNED BY public.trigger_information.id;
6302
6303
6304 --
6305 -- Name: units; Type: TABLE; Schema: public; Owner: kivitendo
6306 --
6307
6308 CREATE TABLE public.units (
6309     name character varying(20) NOT NULL,
6310     base_unit character varying(20),
6311     factor numeric(20,5),
6312     type character varying(20),
6313     sortkey integer NOT NULL,
6314     id integer NOT NULL
6315 );
6316
6317
6318 ALTER TABLE public.units OWNER TO kivitendo;
6319
6320 --
6321 -- Name: units_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6322 --
6323
6324 CREATE SEQUENCE public.units_id_seq
6325     START WITH 1
6326     INCREMENT BY 1
6327     NO MINVALUE
6328     NO MAXVALUE
6329     CACHE 1;
6330
6331
6332 ALTER TABLE public.units_id_seq OWNER TO kivitendo;
6333
6334 --
6335 -- Name: units_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6336 --
6337
6338 ALTER SEQUENCE public.units_id_seq OWNED BY public.units.id;
6339
6340
6341 --
6342 -- Name: units_language; Type: TABLE; Schema: public; Owner: kivitendo
6343 --
6344
6345 CREATE TABLE public.units_language (
6346     unit character varying(20) NOT NULL,
6347     language_id integer NOT NULL,
6348     localized character varying(20),
6349     localized_plural character varying(20),
6350     id integer NOT NULL
6351 );
6352
6353
6354 ALTER TABLE public.units_language OWNER TO kivitendo;
6355
6356 --
6357 -- Name: units_language_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6358 --
6359
6360 CREATE SEQUENCE public.units_language_id_seq
6361     START WITH 1
6362     INCREMENT BY 1
6363     NO MINVALUE
6364     NO MAXVALUE
6365     CACHE 1;
6366
6367
6368 ALTER TABLE public.units_language_id_seq OWNER TO kivitendo;
6369
6370 --
6371 -- Name: units_language_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6372 --
6373
6374 ALTER SEQUENCE public.units_language_id_seq OWNED BY public.units_language.id;
6375
6376
6377 --
6378 -- Name: user_preferences; Type: TABLE; Schema: public; Owner: kivitendo
6379 --
6380
6381 CREATE TABLE public.user_preferences (
6382     id integer NOT NULL,
6383     login text NOT NULL,
6384     namespace text NOT NULL,
6385     version numeric(15,5),
6386     key text NOT NULL,
6387     value text
6388 );
6389
6390
6391 ALTER TABLE public.user_preferences OWNER TO kivitendo;
6392
6393 --
6394 -- Name: user_preferences_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6395 --
6396
6397 CREATE SEQUENCE public.user_preferences_id_seq
6398     START WITH 1
6399     INCREMENT BY 1
6400     NO MINVALUE
6401     NO MAXVALUE
6402     CACHE 1;
6403
6404
6405 ALTER TABLE public.user_preferences_id_seq OWNER TO kivitendo;
6406
6407 --
6408 -- Name: user_preferences_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6409 --
6410
6411 ALTER SEQUENCE public.user_preferences_id_seq OWNED BY public.user_preferences.id;
6412
6413
6414 --
6415 -- Name: validity_tokens; Type: TABLE; Schema: public; Owner: kivitendo
6416 --
6417
6418 CREATE TABLE public.validity_tokens (
6419     id integer NOT NULL,
6420     scope text NOT NULL,
6421     token text NOT NULL,
6422     itime timestamp without time zone DEFAULT now() NOT NULL,
6423     valid_until timestamp without time zone NOT NULL
6424 );
6425
6426
6427 ALTER TABLE public.validity_tokens OWNER TO kivitendo;
6428
6429 --
6430 -- Name: validity_tokens_id_seq; Type: SEQUENCE; Schema: public; Owner: kivitendo
6431 --
6432
6433 CREATE SEQUENCE public.validity_tokens_id_seq
6434     AS integer
6435     START WITH 1
6436     INCREMENT BY 1
6437     NO MINVALUE
6438     NO MAXVALUE
6439     CACHE 1;
6440
6441
6442 ALTER TABLE public.validity_tokens_id_seq OWNER TO kivitendo;
6443
6444 --
6445 -- Name: validity_tokens_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: kivitendo
6446 --
6447
6448 ALTER SEQUENCE public.validity_tokens_id_seq OWNED BY public.validity_tokens.id;
6449
6450
6451 --
6452 -- Name: vendor; Type: TABLE; Schema: public; Owner: kivitendo
6453 --
6454
6455 CREATE TABLE public.vendor (
6456     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
6457     name text NOT NULL,
6458     department_1 text,
6459     department_2 text,
6460     street text,
6461     zipcode text,
6462     city text,
6463     country text,
6464     contact text,
6465     phone text,
6466     fax text,
6467     homepage text,
6468     email text,
6469     notes text,
6470     taxincluded boolean,
6471     vendornumber text,
6472     cc text,
6473     bcc text,
6474     business_id integer,
6475     taxnumber text,
6476     discount real,
6477     creditlimit numeric(15,5),
6478     account_number text,
6479     bank_code text,
6480     bank text,
6481     language text,
6482     itime timestamp without time zone DEFAULT now(),
6483     mtime timestamp without time zone,
6484     obsolete boolean DEFAULT false,
6485     username text,
6486     user_password text,
6487     salesman_id integer,
6488     v_customer_id text,
6489     language_id integer,
6490     payment_id integer,
6491     taxzone_id integer NOT NULL,
6492     greeting text,
6493     ustid text,
6494     iban text,
6495     bic text,
6496     direct_debit boolean DEFAULT false,
6497     depositor text,
6498     delivery_term_id integer,
6499     currency_id integer NOT NULL,
6500     gln text,
6501     natural_person boolean DEFAULT false
6502 );
6503
6504
6505 ALTER TABLE public.vendor OWNER TO kivitendo;
6506
6507 --
6508 -- Name: warehouse; Type: TABLE; Schema: public; Owner: kivitendo
6509 --
6510
6511 CREATE TABLE public.warehouse (
6512     id integer DEFAULT nextval(('id'::text)::regclass) NOT NULL,
6513     description text,
6514     itime timestamp without time zone DEFAULT now(),
6515     mtime timestamp without time zone,
6516     sortkey integer,
6517     invalid boolean
6518 );
6519
6520
6521 ALTER TABLE public.warehouse OWNER TO kivitendo;
6522
6523 --
6524 -- Name: report_categories; Type: TABLE; Schema: tax; Owner: kivitendo
6525 --
6526
6527 CREATE TABLE tax.report_categories (
6528     id integer NOT NULL,
6529     description text,
6530     subdescription text
6531 );
6532
6533
6534 ALTER TABLE tax.report_categories OWNER TO kivitendo;
6535
6536 --
6537 -- Name: report_headings; Type: TABLE; Schema: tax; Owner: kivitendo
6538 --
6539
6540 CREATE TABLE tax.report_headings (
6541     id integer NOT NULL,
6542     category_id integer NOT NULL,
6543     type text,
6544     description text,
6545     subdescription text
6546 );
6547
6548
6549 ALTER TABLE tax.report_headings OWNER TO kivitendo;
6550
6551 --
6552 -- Name: report_variables; Type: TABLE; Schema: tax; Owner: kivitendo
6553 --
6554
6555 CREATE TABLE tax.report_variables (
6556     id integer NOT NULL,
6557     "position" text NOT NULL,
6558     heading_id integer,
6559     description text,
6560     taxbase text,
6561     dec_places text,
6562     valid_from date
6563 );
6564
6565
6566 ALTER TABLE tax.report_variables OWNER TO kivitendo;
6567
6568 --
6569 -- Name: additional_billing_addresses id; Type: DEFAULT; Schema: public; Owner: kivitendo
6570 --
6571
6572 ALTER TABLE ONLY public.additional_billing_addresses ALTER COLUMN id SET DEFAULT nextval('public.additional_billing_addresses_id_seq'::regclass);
6573
6574
6575 --
6576 -- Name: background_job_histories id; Type: DEFAULT; Schema: public; Owner: kivitendo
6577 --
6578
6579 ALTER TABLE ONLY public.background_job_histories ALTER COLUMN id SET DEFAULT nextval('public.background_job_histories_id_seq'::regclass);
6580
6581
6582 --
6583 -- Name: background_jobs id; Type: DEFAULT; Schema: public; Owner: kivitendo
6584 --
6585
6586 ALTER TABLE ONLY public.background_jobs ALTER COLUMN id SET DEFAULT nextval('public.background_jobs_id_seq'::regclass);
6587
6588
6589 --
6590 -- Name: bank_transactions id; Type: DEFAULT; Schema: public; Owner: kivitendo
6591 --
6592
6593 ALTER TABLE ONLY public.bank_transactions ALTER COLUMN id SET DEFAULT nextval('public.bank_transactions_id_seq'::regclass);
6594
6595
6596 --
6597 -- Name: contact_departments id; Type: DEFAULT; Schema: public; Owner: kivitendo
6598 --
6599
6600 ALTER TABLE ONLY public.contact_departments ALTER COLUMN id SET DEFAULT nextval('public.contact_departments_id_seq'::regclass);
6601
6602
6603 --
6604 -- Name: contact_titles id; Type: DEFAULT; Schema: public; Owner: kivitendo
6605 --
6606
6607 ALTER TABLE ONLY public.contact_titles ALTER COLUMN id SET DEFAULT nextval('public.contact_titles_id_seq'::regclass);
6608
6609
6610 --
6611 -- Name: csv_import_profile_settings id; Type: DEFAULT; Schema: public; Owner: kivitendo
6612 --
6613
6614 ALTER TABLE ONLY public.csv_import_profile_settings ALTER COLUMN id SET DEFAULT nextval('public.csv_import_profile_settings_id_seq'::regclass);
6615
6616
6617 --
6618 -- Name: csv_import_profiles id; Type: DEFAULT; Schema: public; Owner: kivitendo
6619 --
6620
6621 ALTER TABLE ONLY public.csv_import_profiles ALTER COLUMN id SET DEFAULT nextval('public.csv_import_profiles_id_seq'::regclass);
6622
6623
6624 --
6625 -- Name: csv_import_report_rows id; Type: DEFAULT; Schema: public; Owner: kivitendo
6626 --
6627
6628 ALTER TABLE ONLY public.csv_import_report_rows ALTER COLUMN id SET DEFAULT nextval('public.csv_import_report_rows_id_seq'::regclass);
6629
6630
6631 --
6632 -- Name: csv_import_report_status id; Type: DEFAULT; Schema: public; Owner: kivitendo
6633 --
6634
6635 ALTER TABLE ONLY public.csv_import_report_status ALTER COLUMN id SET DEFAULT nextval('public.csv_import_report_status_id_seq'::regclass);
6636
6637
6638 --
6639 -- Name: csv_import_reports id; Type: DEFAULT; Schema: public; Owner: kivitendo
6640 --
6641
6642 ALTER TABLE ONLY public.csv_import_reports ALTER COLUMN id SET DEFAULT nextval('public.csv_import_reports_id_seq'::regclass);
6643
6644
6645 --
6646 -- Name: currencies id; Type: DEFAULT; Schema: public; Owner: kivitendo
6647 --
6648
6649 ALTER TABLE ONLY public.currencies ALTER COLUMN id SET DEFAULT nextval('public.currencies_id_seq'::regclass);
6650
6651
6652 --
6653 -- Name: custom_data_export_queries id; Type: DEFAULT; Schema: public; Owner: kivitendo
6654 --
6655
6656 ALTER TABLE ONLY public.custom_data_export_queries ALTER COLUMN id SET DEFAULT nextval('public.custom_data_export_queries_id_seq'::regclass);
6657
6658
6659 --
6660 -- Name: custom_data_export_query_parameters id; Type: DEFAULT; Schema: public; Owner: kivitendo
6661 --
6662
6663 ALTER TABLE ONLY public.custom_data_export_query_parameters ALTER COLUMN id SET DEFAULT nextval('public.custom_data_export_query_parameters_id_seq'::regclass);
6664
6665
6666 --
6667 -- Name: datev id; Type: DEFAULT; Schema: public; Owner: kivitendo
6668 --
6669
6670 ALTER TABLE ONLY public.datev ALTER COLUMN id SET DEFAULT nextval('public.datev_id_seq'::regclass);
6671
6672
6673 --
6674 -- Name: defaults id; Type: DEFAULT; Schema: public; Owner: kivitendo
6675 --
6676
6677 ALTER TABLE ONLY public.defaults ALTER COLUMN id SET DEFAULT nextval('public.defaults_id_seq'::regclass);
6678
6679
6680 --
6681 -- Name: email_imports id; Type: DEFAULT; Schema: public; Owner: kivitendo
6682 --
6683
6684 ALTER TABLE ONLY public.email_imports ALTER COLUMN id SET DEFAULT nextval('public.email_imports_id_seq'::regclass);
6685
6686
6687 --
6688 -- Name: email_journal id; Type: DEFAULT; Schema: public; Owner: kivitendo
6689 --
6690
6691 ALTER TABLE ONLY public.email_journal ALTER COLUMN id SET DEFAULT nextval('public.email_journal_id_seq'::regclass);
6692
6693
6694 --
6695 -- Name: email_journal_attachments id; Type: DEFAULT; Schema: public; Owner: kivitendo
6696 --
6697
6698 ALTER TABLE ONLY public.email_journal_attachments ALTER COLUMN id SET DEFAULT nextval('public.email_journal_attachments_id_seq'::regclass);
6699
6700
6701 --
6702 -- Name: exchangerate id; Type: DEFAULT; Schema: public; Owner: kivitendo
6703 --
6704
6705 ALTER TABLE ONLY public.exchangerate ALTER COLUMN id SET DEFAULT nextval('public.exchangerate_id_seq'::regclass);
6706
6707
6708 --
6709 -- Name: file_full_texts id; Type: DEFAULT; Schema: public; Owner: kivitendo
6710 --
6711
6712 ALTER TABLE ONLY public.file_full_texts ALTER COLUMN id SET DEFAULT nextval('public.file_full_texts_id_seq'::regclass);
6713
6714
6715 --
6716 -- Name: files id; Type: DEFAULT; Schema: public; Owner: kivitendo
6717 --
6718
6719 ALTER TABLE ONLY public.files ALTER COLUMN id SET DEFAULT nextval('public.files_id_seq'::regclass);
6720
6721
6722 --
6723 -- Name: finanzamt id; Type: DEFAULT; Schema: public; Owner: kivitendo
6724 --
6725
6726 ALTER TABLE ONLY public.finanzamt ALTER COLUMN id SET DEFAULT nextval('public.finanzamt_id_seq'::regclass);
6727
6728
6729 --
6730 -- Name: follow_up_access id; Type: DEFAULT; Schema: public; Owner: kivitendo
6731 --
6732
6733 ALTER TABLE ONLY public.follow_up_access ALTER COLUMN id SET DEFAULT nextval('public.follow_up_access_id_seq'::regclass);
6734
6735
6736 --
6737 -- Name: follow_up_created_for_employees id; Type: DEFAULT; Schema: public; Owner: kivitendo
6738 --
6739
6740 ALTER TABLE ONLY public.follow_up_created_for_employees ALTER COLUMN id SET DEFAULT nextval('public.follow_up_created_for_employees_id_seq'::regclass);
6741
6742
6743 --
6744 -- Name: follow_up_done id; Type: DEFAULT; Schema: public; Owner: kivitendo
6745 --
6746
6747 ALTER TABLE ONLY public.follow_up_done ALTER COLUMN id SET DEFAULT nextval('public.follow_up_done_id_seq'::regclass);
6748
6749
6750 --
6751 -- Name: generic_translations id; Type: DEFAULT; Schema: public; Owner: kivitendo
6752 --
6753
6754 ALTER TABLE ONLY public.generic_translations ALTER COLUMN id SET DEFAULT nextval('public.generic_translations_id_seq'::regclass);
6755
6756
6757 --
6758 -- Name: greetings id; Type: DEFAULT; Schema: public; Owner: kivitendo
6759 --
6760
6761 ALTER TABLE ONLY public.greetings ALTER COLUMN id SET DEFAULT nextval('public.greetings_id_seq'::regclass);
6762
6763
6764 --
6765 -- Name: inventory id; Type: DEFAULT; Schema: public; Owner: kivitendo
6766 --
6767
6768 ALTER TABLE ONLY public.inventory ALTER COLUMN id SET DEFAULT nextval('public.inventory_id_seq'::regclass);
6769
6770
6771 --
6772 -- Name: order_statuses id; Type: DEFAULT; Schema: public; Owner: kivitendo
6773 --
6774
6775 ALTER TABLE ONLY public.order_statuses ALTER COLUMN id SET DEFAULT nextval('public.order_statuses_id_seq'::regclass);
6776
6777
6778 --
6779 -- Name: part_classifications id; Type: DEFAULT; Schema: public; Owner: kivitendo
6780 --
6781
6782 ALTER TABLE ONLY public.part_classifications ALTER COLUMN id SET DEFAULT nextval('public.part_classifications_id_seq'::regclass);
6783
6784
6785 --
6786 -- Name: part_customer_prices id; Type: DEFAULT; Schema: public; Owner: kivitendo
6787 --
6788
6789 ALTER TABLE ONLY public.part_customer_prices ALTER COLUMN id SET DEFAULT nextval('public.part_customer_prices_id_seq'::regclass);
6790
6791
6792 --
6793 -- Name: parts_price_history id; Type: DEFAULT; Schema: public; Owner: kivitendo
6794 --
6795
6796 ALTER TABLE ONLY public.parts_price_history ALTER COLUMN id SET DEFAULT nextval('public.parts_price_history_id_seq'::regclass);
6797
6798
6799 --
6800 -- Name: price_rule_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
6801 --
6802
6803 ALTER TABLE ONLY public.price_rule_items ALTER COLUMN id SET DEFAULT nextval('public.price_rule_items_id_seq'::regclass);
6804
6805
6806 --
6807 -- Name: price_rules id; Type: DEFAULT; Schema: public; Owner: kivitendo
6808 --
6809
6810 ALTER TABLE ONLY public.price_rules ALTER COLUMN id SET DEFAULT nextval('public.price_rules_id_seq'::regclass);
6811
6812
6813 --
6814 -- Name: prices id; Type: DEFAULT; Schema: public; Owner: kivitendo
6815 --
6816
6817 ALTER TABLE ONLY public.prices ALTER COLUMN id SET DEFAULT nextval('public.prices_id_seq'::regclass);
6818
6819
6820 --
6821 -- Name: project_participants id; Type: DEFAULT; Schema: public; Owner: kivitendo
6822 --
6823
6824 ALTER TABLE ONLY public.project_participants ALTER COLUMN id SET DEFAULT nextval('public.project_participants_id_seq'::regclass);
6825
6826
6827 --
6828 -- Name: project_phase_participants id; Type: DEFAULT; Schema: public; Owner: kivitendo
6829 --
6830
6831 ALTER TABLE ONLY public.project_phase_participants ALTER COLUMN id SET DEFAULT nextval('public.project_phase_participants_id_seq'::regclass);
6832
6833
6834 --
6835 -- Name: project_phases id; Type: DEFAULT; Schema: public; Owner: kivitendo
6836 --
6837
6838 ALTER TABLE ONLY public.project_phases ALTER COLUMN id SET DEFAULT nextval('public.project_phases_id_seq'::regclass);
6839
6840
6841 --
6842 -- Name: project_roles id; Type: DEFAULT; Schema: public; Owner: kivitendo
6843 --
6844
6845 ALTER TABLE ONLY public.project_roles ALTER COLUMN id SET DEFAULT nextval('public.project_roles_id_seq'::regclass);
6846
6847
6848 --
6849 -- Name: project_statuses id; Type: DEFAULT; Schema: public; Owner: kivitendo
6850 --
6851
6852 ALTER TABLE ONLY public.project_statuses ALTER COLUMN id SET DEFAULT nextval('public.project_status_id_seq'::regclass);
6853
6854
6855 --
6856 -- Name: project_types id; Type: DEFAULT; Schema: public; Owner: kivitendo
6857 --
6858
6859 ALTER TABLE ONLY public.project_types ALTER COLUMN id SET DEFAULT nextval('public.project_types_id_seq'::regclass);
6860
6861
6862 --
6863 -- Name: purchase_basket_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
6864 --
6865
6866 ALTER TABLE ONLY public.purchase_basket_items ALTER COLUMN id SET DEFAULT nextval('public.purchase_basket_items_id_seq'::regclass);
6867
6868
6869 --
6870 -- Name: reclamation_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
6871 --
6872
6873 ALTER TABLE ONLY public.reclamation_items ALTER COLUMN id SET DEFAULT nextval('public.reclamation_items_id_seq'::regclass);
6874
6875
6876 --
6877 -- Name: reclamation_reasons id; Type: DEFAULT; Schema: public; Owner: kivitendo
6878 --
6879
6880 ALTER TABLE ONLY public.reclamation_reasons ALTER COLUMN id SET DEFAULT nextval('public.reclamation_reasons_id_seq'::regclass);
6881
6882
6883 --
6884 -- Name: record_links id; Type: DEFAULT; Schema: public; Owner: kivitendo
6885 --
6886
6887 ALTER TABLE ONLY public.record_links ALTER COLUMN id SET DEFAULT nextval('public.record_links_id_seq'::regclass);
6888
6889
6890 --
6891 -- Name: record_template_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
6892 --
6893
6894 ALTER TABLE ONLY public.record_template_items ALTER COLUMN id SET DEFAULT nextval('public.record_template_items_id_seq'::regclass);
6895
6896
6897 --
6898 -- Name: record_templates id; Type: DEFAULT; Schema: public; Owner: kivitendo
6899 --
6900
6901 ALTER TABLE ONLY public.record_templates ALTER COLUMN id SET DEFAULT nextval('public.record_templates_id_seq'::regclass);
6902
6903
6904 --
6905 -- Name: requirement_spec_acceptance_statuses id; Type: DEFAULT; Schema: public; Owner: kivitendo
6906 --
6907
6908 ALTER TABLE ONLY public.requirement_spec_acceptance_statuses ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_acceptance_statuses_id_seq'::regclass);
6909
6910
6911 --
6912 -- Name: requirement_spec_complexities id; Type: DEFAULT; Schema: public; Owner: kivitendo
6913 --
6914
6915 ALTER TABLE ONLY public.requirement_spec_complexities ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_complexities_id_seq'::regclass);
6916
6917
6918 --
6919 -- Name: requirement_spec_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
6920 --
6921
6922 ALTER TABLE ONLY public.requirement_spec_items ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_items_id_seq'::regclass);
6923
6924
6925 --
6926 -- Name: requirement_spec_orders id; Type: DEFAULT; Schema: public; Owner: kivitendo
6927 --
6928
6929 ALTER TABLE ONLY public.requirement_spec_orders ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_orders_id_seq'::regclass);
6930
6931
6932 --
6933 -- Name: requirement_spec_parts id; Type: DEFAULT; Schema: public; Owner: kivitendo
6934 --
6935
6936 ALTER TABLE ONLY public.requirement_spec_parts ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_parts_id_seq'::regclass);
6937
6938
6939 --
6940 -- Name: requirement_spec_pictures id; Type: DEFAULT; Schema: public; Owner: kivitendo
6941 --
6942
6943 ALTER TABLE ONLY public.requirement_spec_pictures ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_pictures_id_seq'::regclass);
6944
6945
6946 --
6947 -- Name: requirement_spec_predefined_texts id; Type: DEFAULT; Schema: public; Owner: kivitendo
6948 --
6949
6950 ALTER TABLE ONLY public.requirement_spec_predefined_texts ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_predefined_texts_id_seq'::regclass);
6951
6952
6953 --
6954 -- Name: requirement_spec_risks id; Type: DEFAULT; Schema: public; Owner: kivitendo
6955 --
6956
6957 ALTER TABLE ONLY public.requirement_spec_risks ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_risks_id_seq'::regclass);
6958
6959
6960 --
6961 -- Name: requirement_spec_statuses id; Type: DEFAULT; Schema: public; Owner: kivitendo
6962 --
6963
6964 ALTER TABLE ONLY public.requirement_spec_statuses ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_statuses_id_seq'::regclass);
6965
6966
6967 --
6968 -- Name: requirement_spec_text_blocks id; Type: DEFAULT; Schema: public; Owner: kivitendo
6969 --
6970
6971 ALTER TABLE ONLY public.requirement_spec_text_blocks ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_text_blocks_id_seq'::regclass);
6972
6973
6974 --
6975 -- Name: requirement_spec_types id; Type: DEFAULT; Schema: public; Owner: kivitendo
6976 --
6977
6978 ALTER TABLE ONLY public.requirement_spec_types ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_types_id_seq'::regclass);
6979
6980
6981 --
6982 -- Name: requirement_spec_versions id; Type: DEFAULT; Schema: public; Owner: kivitendo
6983 --
6984
6985 ALTER TABLE ONLY public.requirement_spec_versions ALTER COLUMN id SET DEFAULT nextval('public.requirement_spec_versions_id_seq'::regclass);
6986
6987
6988 --
6989 -- Name: requirement_specs id; Type: DEFAULT; Schema: public; Owner: kivitendo
6990 --
6991
6992 ALTER TABLE ONLY public.requirement_specs ALTER COLUMN id SET DEFAULT nextval('public.requirement_specs_id_seq'::regclass);
6993
6994
6995 --
6996 -- Name: sepa_export_message_ids id; Type: DEFAULT; Schema: public; Owner: kivitendo
6997 --
6998
6999 ALTER TABLE ONLY public.sepa_export_message_ids ALTER COLUMN id SET DEFAULT nextval('public.sepa_export_message_ids_id_seq'::regclass);
7000
7001
7002 --
7003 -- Name: shop_images id; Type: DEFAULT; Schema: public; Owner: kivitendo
7004 --
7005
7006 ALTER TABLE ONLY public.shop_images ALTER COLUMN id SET DEFAULT nextval('public.shop_images_id_seq'::regclass);
7007
7008
7009 --
7010 -- Name: shop_order_items id; Type: DEFAULT; Schema: public; Owner: kivitendo
7011 --
7012
7013 ALTER TABLE ONLY public.shop_order_items ALTER COLUMN id SET DEFAULT nextval('public.shop_order_items_id_seq'::regclass);
7014
7015
7016 --
7017 -- Name: shop_orders id; Type: DEFAULT; Schema: public; Owner: kivitendo
7018 --
7019
7020 ALTER TABLE ONLY public.shop_orders ALTER COLUMN id SET DEFAULT nextval('public.shop_orders_id_seq'::regclass);
7021
7022
7023 --
7024 -- Name: shop_parts id; Type: DEFAULT; Schema: public; Owner: kivitendo
7025 --
7026
7027 ALTER TABLE ONLY public.shop_parts ALTER COLUMN id SET DEFAULT nextval('public.shop_parts_id_seq'::regclass);
7028
7029
7030 --
7031 -- Name: shops id; Type: DEFAULT; Schema: public; Owner: kivitendo
7032 --
7033
7034 ALTER TABLE ONLY public.shops ALTER COLUMN id SET DEFAULT nextval('public.shops_id_seq'::regclass);
7035
7036
7037 --
7038 -- Name: status id; Type: DEFAULT; Schema: public; Owner: kivitendo
7039 --
7040
7041 ALTER TABLE ONLY public.status ALTER COLUMN id SET DEFAULT nextval('public.status_id_seq'::regclass);
7042
7043
7044 --
7045 -- Name: taxzone_charts id; Type: DEFAULT; Schema: public; Owner: kivitendo
7046 --
7047
7048 ALTER TABLE ONLY public.taxzone_charts ALTER COLUMN id SET DEFAULT nextval('public.taxzone_charts_id_seq'::regclass);
7049
7050
7051 --
7052 -- Name: time_recording_articles id; Type: DEFAULT; Schema: public; Owner: kivitendo
7053 --
7054
7055 ALTER TABLE ONLY public.time_recording_articles ALTER COLUMN id SET DEFAULT nextval('public.time_recording_articles_id_seq'::regclass);
7056
7057
7058 --
7059 -- Name: time_recordings id; Type: DEFAULT; Schema: public; Owner: kivitendo
7060 --
7061
7062 ALTER TABLE ONLY public.time_recordings ALTER COLUMN id SET DEFAULT nextval('public.time_recordings_id_seq'::regclass);
7063
7064
7065 --
7066 -- Name: todo_user_config id; Type: DEFAULT; Schema: public; Owner: kivitendo
7067 --
7068
7069 ALTER TABLE ONLY public.todo_user_config ALTER COLUMN id SET DEFAULT nextval('public.todo_user_config_id_seq'::regclass);
7070
7071
7072 --
7073 -- Name: translation id; Type: DEFAULT; Schema: public; Owner: kivitendo
7074 --
7075
7076 ALTER TABLE ONLY public.translation ALTER COLUMN id SET DEFAULT nextval('public.translation_id_seq'::regclass);
7077
7078
7079 --
7080 -- Name: trigger_information id; Type: DEFAULT; Schema: public; Owner: kivitendo
7081 --
7082
7083 ALTER TABLE ONLY public.trigger_information ALTER COLUMN id SET DEFAULT nextval('public.trigger_information_id_seq'::regclass);
7084
7085
7086 --
7087 -- Name: units id; Type: DEFAULT; Schema: public; Owner: kivitendo
7088 --
7089
7090 ALTER TABLE ONLY public.units ALTER COLUMN id SET DEFAULT nextval('public.units_id_seq'::regclass);
7091
7092
7093 --
7094 -- Name: units_language id; Type: DEFAULT; Schema: public; Owner: kivitendo
7095 --
7096
7097 ALTER TABLE ONLY public.units_language ALTER COLUMN id SET DEFAULT nextval('public.units_language_id_seq'::regclass);
7098
7099
7100 --
7101 -- Name: user_preferences id; Type: DEFAULT; Schema: public; Owner: kivitendo
7102 --
7103
7104 ALTER TABLE ONLY public.user_preferences ALTER COLUMN id SET DEFAULT nextval('public.user_preferences_id_seq'::regclass);
7105
7106
7107 --
7108 -- Name: validity_tokens id; Type: DEFAULT; Schema: public; Owner: kivitendo
7109 --
7110
7111 ALTER TABLE ONLY public.validity_tokens ALTER COLUMN id SET DEFAULT nextval('public.validity_tokens_id_seq'::regclass);
7112
7113
7114 --
7115 -- Data for Name: acc_trans; Type: TABLE DATA; Schema: public; Owner: kivitendo
7116 --
7117
7118 COPY public.acc_trans (acc_trans_id, trans_id, chart_id, amount, transdate, gldate, source, cleared, fx_transaction, ob_transaction, cb_transaction, project_id, memo, taxkey, itime, mtime, chart_link, tax_id) FROM stdin;
7119 \.
7120
7121
7122 --
7123 -- Data for Name: additional_billing_addresses; Type: TABLE DATA; Schema: public; Owner: kivitendo
7124 --
7125
7126 COPY public.additional_billing_addresses (id, customer_id, name, department_1, department_2, contact, street, zipcode, city, country, gln, email, phone, fax, default_address, itime, mtime, dunning_mail) FROM stdin;
7127 \.
7128
7129
7130 --
7131 -- Data for Name: ap; Type: TABLE DATA; Schema: public; Owner: kivitendo
7132 --
7133
7134 COPY public.ap (id, invnumber, transdate, gldate, vendor_id, taxincluded, amount, netamount, paid, datepaid, duedate, invoice, ordnumber, notes, employee_id, quonumber, intnotes, department_id, itime, mtime, shipvia, cp_id, language_id, payment_id, storno, taxzone_id, type, orddate, quodate, globalproject_id, storno_id, transaction_description, direct_debit, deliverydate, delivery_term_id, currency_id, tax_point, exchangerate, qrbill_data, is_sepa_blocked) FROM stdin;
7135 \.
7136
7137
7138 --
7139 -- Data for Name: ap_gl; Type: TABLE DATA; Schema: public; Owner: kivitendo
7140 --
7141
7142 COPY public.ap_gl (ap_id, gl_id, itime, mtime) FROM stdin;
7143 \.
7144
7145
7146 --
7147 -- Data for Name: ar; Type: TABLE DATA; Schema: public; Owner: kivitendo
7148 --
7149
7150 COPY public.ar (id, invnumber, transdate, gldate, customer_id, taxincluded, amount, netamount, paid, datepaid, duedate, deliverydate, invoice, shippingpoint, notes, ordnumber, employee_id, quonumber, cusordnumber, intnotes, department_id, shipvia, itime, mtime, cp_id, language_id, payment_id, delivery_customer_id, delivery_vendor_id, storno, taxzone_id, shipto_id, type, dunning_config_id, orddate, quodate, globalproject_id, salesman_id, marge_total, marge_percent, storno_id, transaction_description, donumber, invnumber_for_credit_note, direct_debit, delivery_term_id, currency_id, tax_point, qrbill_without_amount, billing_address_id, qr_reference, exchangerate, qr_unstructured_message) FROM stdin;
7151 \.
7152
7153
7154 --
7155 -- Data for Name: assembly; Type: TABLE DATA; Schema: public; Owner: kivitendo
7156 --
7157
7158 COPY public.assembly (id, parts_id, qty, bom, itime, mtime, assembly_id, "position") FROM stdin;
7159 \.
7160
7161
7162 --
7163 -- Data for Name: assortment_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
7164 --
7165
7166 COPY public.assortment_items (assortment_id, parts_id, itime, mtime, qty, "position", unit, charge) FROM stdin;
7167 \.
7168
7169
7170 --
7171 -- Data for Name: background_job_histories; Type: TABLE DATA; Schema: public; Owner: kivitendo
7172 --
7173
7174 COPY public.background_job_histories (id, package_name, run_at, status, result, error, data, description) FROM stdin;
7175 \.
7176
7177
7178 --
7179 -- Data for Name: background_jobs; Type: TABLE DATA; Schema: public; Owner: kivitendo
7180 --
7181
7182 COPY public.background_jobs (id, type, package_name, last_run_at, next_run_at, data, active, cron_spec, node_id, description) FROM stdin;
7183 1       interval        CleanBackgroundJobHistory       \N      2018-12-01 03:00:00     \N      t       0 3 * * *       \N      \N
7184 3       interval        BackgroundJobCleanup    \N      2018-12-01 03:00:00     \N      t       0 3 * * *       \N      \N
7185 4       interval        SelfTest        \N      2018-12-01 02:20:00     \N      t       20 2 * * *      \N      \N
7186 2       interval        CreatePeriodicInvoices  \N      2018-12-01 03:00:00     \N      t       0 3 * * *       \N      \N
7187 5       interval        CleanAuthSessions       \N      2018-12-01 06:30:00     \N      t       30 6 * * *      \N      \N
7188 6       interval        CreateOrUpdateFileFullTexts     \N      2023-12-17 03:20:00     \N      t       20 3 * * *      \N      \N
7189 7       interval        UpdateEmployeeBaseData  \N      2026-04-24 23:21:55.809799      \N      t       */5 * * * *     \N      \N
7190 8       interval        ValidityTokenCleanup    \N      2026-04-24 23:21:56.049298      \N      t       0 3 * * *       \N      \N
7191 \.
7192
7193
7194 --
7195 -- Data for Name: bank_accounts; Type: TABLE DATA; Schema: public; Owner: kivitendo
7196 --
7197
7198 COPY public.bank_accounts (id, account_number, bank_code, iban, bic, bank, chart_id, name, reconciliation_starting_date, reconciliation_starting_balance, obsolete, sortkey, use_for_zugferd, use_for_qrbill, bank_account_id, use_with_bank_import, qr_iban) FROM stdin;
7199 \.
7200
7201
7202 --
7203 -- Data for Name: bank_transaction_acc_trans; Type: TABLE DATA; Schema: public; Owner: kivitendo
7204 --
7205
7206 COPY public.bank_transaction_acc_trans (bank_transaction_id, acc_trans_id, ar_id, ap_id, gl_id, itime, mtime) FROM stdin;
7207 \.
7208
7209
7210 --
7211 -- Data for Name: bank_transactions; Type: TABLE DATA; Schema: public; Owner: kivitendo
7212 --
7213
7214 COPY public.bank_transactions (id, transaction_id, remote_bank_code, remote_account_number, transdate, valutadate, amount, remote_name, purpose, invoice_amount, local_bank_account_id, currency_id, cleared, itime, transaction_code, transaction_text, qr_reference, exchangerate, end_to_end_id) FROM stdin;
7215 \.
7216
7217
7218 --
7219 -- Data for Name: bin; Type: TABLE DATA; Schema: public; Owner: kivitendo
7220 --
7221
7222 COPY public.bin (id, warehouse_id, description, itime, mtime) FROM stdin;
7223 \.
7224
7225
7226 --
7227 -- Data for Name: buchungsgruppen; Type: TABLE DATA; Schema: public; Owner: kivitendo
7228 --
7229
7230 COPY public.buchungsgruppen (id, description, inventory_accno_id, sortkey, obsolete) FROM stdin;
7231 860     Standard 7%     53      2       f
7232 859     Standard 19%    53      1       f
7233 \.
7234
7235
7236 --
7237 -- Data for Name: business; Type: TABLE DATA; Schema: public; Owner: kivitendo
7238 --
7239
7240 COPY public.business (id, description, discount, customernumberinit, salesman, itime, mtime) FROM stdin;
7241 \.
7242
7243
7244 --
7245 -- Data for Name: business_models; Type: TABLE DATA; Schema: public; Owner: kivitendo
7246 --
7247
7248 COPY public.business_models (parts_id, business_id, model, part_description, part_longdescription, itime, mtime, "position") FROM stdin;
7249 \.
7250
7251
7252 --
7253 -- Data for Name: chart; Type: TABLE DATA; Schema: public; Owner: kivitendo
7254 --
7255
7256 COPY public.chart (id, accno, description, charttype, category, link, taxkey_id, pos_bwa, pos_bilanz, pos_eur, datevautomatik, itime, mtime, new_chart_id, valid_from, pos_er, invalid) FROM stdin;
7257 1       0027    EDV-Software    A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7258 2       0090    Geschäftsbauten        A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7259 3       0200    Techn.Anlagen und Maschinen     A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7260 4       0210    Maschinen       A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7261 5       0380    Sonst.Transportmittel   A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7262 6       0400    Betriebsausstattung     A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7263 19      1791    Umsatzsteuer frühere Jahre     A       E               0       \N      \N      28      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      28      f
7264 20      1800    Privatentnahme allgemein        A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7265 21      1810    Privatsteuern   A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7266 22      1820    Sonderausgaben beschränkt abzugsfähig A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7267 23      1830    Sonderausgaben unbeschr.anzugsfähig    A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7268 24      1840    Zuwendungen, Spenden    A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7269 25      1890    Privateinlagen  A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7270 26      2110    Zinsaufwendung f.kurzf.Verbindlichk     A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29      f
7271 27      2120    Zinsaufwendung f.langf.Verbindlichk     A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29      f
7272 28      2130    Diskontaufwendung       A       E               0       30      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7273 29      2310    Anlagenabgänge Sachanlagen Restbuchw.b.Buchverlust     A       E               0       31      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7274 30      2315    Anlagenabgänge Sachanlagen Restbuchw.b.Buchgewinn      A       I               0       31      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7275 31      2320    Verluste Abgang Gegenst.d.Anlagever     A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7276 32      2650    Sonstige Zinsen und Ã¤nliche Erträge   A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4       f
7277 33      2720    Ertr.a.d.Abgang v.Gegens.d.Anlageve     A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7278 34      2742    Versicherungsentschädigungen   A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7279 35      3000    Roh,-Hilfs,-und Betriebsstoffe  A       E       IC      9       4       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7280 36      3300    Wareneingang 7% Vorsteuer       A       E       AP_amount:IC_cogs       8       4       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7281 41      3550    Steuerfreier innergem.Erwerb    A       E       AP_amount:IC_cogs       0       \N      \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7282 44      3750    Erhaltene Boni 7% Vorsteuer     A       I       AP_paid 8       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7283 46      3780    Erhaltene Rabatte 7% Vorsteuer  A       I       AP_paid 8       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7284 48      3800    Bezugsnebenkosten       A       E       AP_amount:IC_cogs:IC_expense    0       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7285 49      3830    Leergut A       E       AP_amount:IC_cogs       0       4       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7286 50      3850    Zölle und Einfuhrabgaben       A       E       AP_amount:IC_cogs       0       4       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7287 51      3960    Bestandsver.Roh-,Hilfs-.Betriebs.sow.bez.Waren  A       E               0       2       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7288 52      3970    Bestand Roh-,Hilfs-,u.Betriebsstoff     A       A       IC      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7289 53      3980    Bestand Waren   A       A       IC      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7290 54      4000    Material-und Stoffverbrauch     A       E       IC_cogs 0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7291 55      4110    Löhne  A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9       f
7292 56      3990    Verrechnete Stoffkosten A       E       IC_cogs 0       4       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7293 57      4120    Gehälter       A       E               0       10      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7294 58      4125    Ehegattengehalt A       E               0       10      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7295 59      4138    Beiträge zur Berufsgenossenschaft      A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10      f
7296 60      4139    Ausgleichsabgabe i.S.d.Schwerbehinterdengesetzes        A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10      f
7297 61      4140    Freiwillig soziale Aufwendungen lohnsteuerfrei  A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10      f
7298 62      4145    Freiwillige sozi.Aufw.lohnsteuerpflichtig.      A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10      f
7299 63      4149    Pauschale Lohnsteuera.sons.Bezüge (z.B.Fahrtkostenzu)  A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7300 64      4150    Krankengeldzuschüsse   A       E               0       10      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7301 65      4175    Fahrtkostenerst.Wohnung/Arbeitsstät    A       E               0       10      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7302 66      4190    Aushilfslöhne  A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9       f
7303 67      4199    Lohnsteuer für Aushilfe        A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10      f
7304 68      4200    Raumkosten      A       E       AP_amount       9       11      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7305 69      4210    Miete   A       E       AP_amount       9       11      \N      11      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      11      f
7306 70      4220    Pacht   A       E       AP_amount       0       \N      \N      11      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      11      f
7307 71      4230    Heizung A       E       AP_amount       9       11      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7308 72      4240    Gas,Strom, Wasser       A       E       AP_amount       9       11      \N      12      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      12      f
7309 74      4260    Instandhaltung betrieb.Räume   A       E       AP_amount       9       11      \N      13      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      13      f
7310 75      4280    Sonstige Raumkosten     A       E       AP_amount       9       11      \N      13      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      13      f
7311 76      4301    Nicht abziehbare Vorsteuer 7%   A       E       AP_paid 0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7312 78      4320    Gewerbesteuer   A       E               0       12      \N      31      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      31      f
7313 37      3400    Wareneingang 16%/19% Vorsteuer  A       E       AP_amount:IC_cogs       9       4       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7314 73      4250    Reinigung       A       E       AP_amount       9       11      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7315 90      4550    Garagenmiete    A       E       AP_amount       0       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7316 91      4570    Leasingfahrzeugkosten   A       E       AP_amount       0       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7317 92      4580    Sonstige Kfz-Kosten     A       E       AP_amount       9       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7318 93      4600    Werbe-und Reisekosten   A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7319 95      4638    Geschenke ausschließl.betrieb.genut    A       E       AP_amount       9       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7320 96      4640    Repräsentationskosten  A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7321 97      4650    Bewirtungskosten        A       E       AP_amount       9       20      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7322 98      4653    Aufmerksamkeiten        A       E       AP_amount       9       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7323 99      4654    Nicht abzugsfähige Bewirtungskosten    A       E       AP_amount       0       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7324 100     4660    Reisekosten Arbeitnehmer        A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7325 893     8732    Gewährte Skonti 5% USt A       I       AR_paid 2       1       \N      1       t       2021-01-16 23:40:37.788147      \N      \N      \N      \N      f
7326 894     3732    Erhaltene Skonti 5 % Vorsteuer  A       E       AP_paid 8       4       \N      \N      t       2021-01-16 23:40:37.788147      \N      \N      \N      \N      f
7327 895     8735    Gewährte Skonti 16 % USt       A       I       AR_paid 3       1       \N      1       t       2021-01-16 23:40:37.788147      \N      \N      \N      1       f
7328 896     3737    Erhaltene Skonti 16 % USt       A       E       AP_paid 9       4       \N      \N      t       2021-01-16 23:40:37.788147      \N      \N      \N      \N      f
7329 897     1568    Abziehbare Vorsteuer 5 %        A       E       AP_tax:IC_taxpart:IC_taxservice 8       \N      \N      27      t       2021-01-16 23:40:37.788147      \N      \N      \N      27      f
7330 79      4340    Sonstige Betriebssteuern        A       E               0       12      \N      31      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      31      f
7331 80      4350    Verbrauchssteuer        A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7332 81      4355    Ã–kosteuer      A       E               0       12      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7333 82      4396    Steuerl.abzugs.Verspätungszuschl.u.Zwangsgelder        A       E               0       \N      \N      31      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      31      f
7334 83      4397    Steuerl.n.abzugsf.Verspätungszuschläge u.Zwangsgelder A       E               0       \N      \N      31      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      31      f
7335 84      4500    Fahrzeugkosten  A       E       AP_amount       0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7336 85      4530    Laufende Kfz-Betriebskosten     A       E       AP_amount       9       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7337 89      4540    Kfz-Reparaturen A       E       AP_amount       9       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7338 101     4663    Reisekosten Arbeitn.m.Vorsteuerabzu f.öffentl.Verkehrsm.       A       E       AP_amount       8       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7339 102     4664    Reisekosten Arbeitn.Verpflegungmehr     A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7340 103     4666    Reisekosten Arbeitn.Übernachtungsaufwand       A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7341 104     4668    Kilometerentgelderstattung Arbeitnehmer A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7342 105     4670    Reisekosten Unternehmer A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7343 106     4673    Reisek.Untern.m.Vorsteuerabzug (öffentl.Verkehrsm.     A       E       AP_amount       8       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7344 107     4674    Reisekosten Untern.Verpflegungsmehr     A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7345 108     4676    Reisekosten Untern.Übernachtungsauf    A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7346 109     4700    Kosten der Warenabgabe  A       E       AP_amount:IC_cogs       0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7347 110     4710    Verpackungsmaterial     A       E       AP_amount:IC_cogs       0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7348 111     4730    Ausgangsfracht  A       E       AP_amount:IC_cogs       0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7349 112     4750    Transportversicherung   A       E       AP_amount:IC_cogs:IC_expense    0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7350 113     4760    Verkaufsprovision       A       E       AP_amount:IC_expense    0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7351 114     4780    Fremdarbeiten   A       E       AP_amount:IC_expense    0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7352 115     4790    Aufwand für Gewährleistungen  A       E       AP_amount:IC_expense    0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7353 116     4800    Rep.u.Instandhaltungen v.techn.Anlagen u.Maschinen      A       E       AP_amount       9       18      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19      f
7354 117     4806    Wartungskosten für Hard-u.Software     A       E       AP_amount:IC_expense    9       18      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19      f
7355 118     4809    Sonstige Reparaturen u.Instandhalt.     A       E       AP_amount       9       \N      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19      f
7356 119     4810    Mietleasing     A       E       AP_amount       0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7357 120     4815    Kaufleasing     A       E       AP_amount       0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7358 121     4822    Abschreibungen a.immat.Vermögensgeg    A       E               0       \N      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7359 122     4824    Abschreibung a.d.Geschäft-o.Firmenw    A       E               0       \N      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7360 123     4840    Außerplanmäßig Abschr.a.Sachanlagen  A       E               0       \N      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7361 124     4855    Sofortabschreibung GWG  A       E       AP_amount       0       \N      \N      26      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      26      f
7362 125     4860    Abschreibungen auf aktivierte GWG       A       E               0       \N      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7363 126     4900    Sonstige betriebliche Aufwendungen      A       E       AP_amount       9       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7364 127     4905    Sons.Aufw.betriebl. und regelmäßig    A       E       AP_amount       9       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7365 128     4909    Fremdleistungen A       E       AP_amount       0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7366 129     4910    Porto   A       E       AP_amount       0       20      \N      23      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      23      f
7367 130     4920    Telefon A       E       AP_amount       9       20      \N      23      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      23      f
7368 131     4925    Telefax A       E       AP_amount       9       20      \N      23      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      23      f
7369 132     4930    Bürobedarf     A       E       AP_amount       9       20      \N      23      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      23      f
7370 133     4940    Zeitschriften, Bücher  A       E       AP_amount       8       20      \N      20      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      20      f
7371 134     4945    Fortbildungskosten      A       E       AP_amount       9       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7372 135     4946    Freiwillige Sozialleistungen    A       E       AP_amount       0       \N      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9       f
7373 136     4950    Rechts- und Beratungskosten     A       E       AP_amount       9       20      \N      22      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      22      f
7374 137     4955    Buchführungskosten     A       E       AP_amount       9       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7375 138     4957    Abschluß- und Prüfungskosten  A       E       AP_amount       9       20      \N      22      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      22      f
7376 139     4960    Mieten für Einrichtungen       A       E       AP_amount       9       20      \N      21      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      21      f
7377 140     4969    Aufwend.f.Abraum-u.Abfallbeseitigung    A       E       AP_amount       9       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7378 141     4970    Nebenkosten des Geldverkehrs    A       E               0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7379 142     4980    Betriebsbedarf  A       E       AP_amount       9       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7380 143     4985    Werkzeuge und Kleingeräte      A       E       AP_amount       9       \N      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19      f
7381 149     8200    Erlöse A       I       AR_amount:IC_sale:IC_income     0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7382 219     3582    Wareneinkauf ohne Vorsteuerabzug(EÜR)  A       E               0       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7383 94      4610    Werbekosten     A       E       AP_amount       9       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7384 192     4510    Kfz-Steuer      A       E       AP_amount       0       19      \N      15      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      15      f
7385 193     4520    Kfz-Versicherungen      A       E       AP_amount       0       14      \N      16      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      16      f
7386 196     1767    Im anderen EG-Staat steuerpfl. Lieferung        A                       10      0       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7387 197     0853    Satzungsm.Rücklagen 0% Vorbelast.(st.Einlagekto.)      A       Q               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7388 198     1607    Vblk.a.LuL ohne Vorsteuer (EÜR)        A       L       AP      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7389 199     1609    Gegenkonto 1605-1607 b.Aufteilung d.Vblk.n.Steuers.(EÜR)       A       L               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7390 200     2125    Zinsaufwend.f.Gebäude,die z.Betriebsvermögen gehören A       E               0       \N      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29      f
7391 152     8320    Erlöse aus im and.EG-Land steuerpfl.Lieferungen        A       I       AR_amount:IC_sale:IC_income     10      1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7392 153     8500    Provisionserlöse       A       I       AR_amount:IC_income     3       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7393 156     8520    Erlöse Abfallverwertung        A       I       AR_amount:IC_sale       3       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7394 157     8540    Erlös Leergut  A       I       AR_amount:IC_sale       3       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7395 168     8829    Erl.a.Anlagenverk.bei Buchgewinn        A       I       AR_amount       3       \N      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7396 169     8900    Unentgeltliche Wertabgaben      A       I       AR_amount       0       \N      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7397 170     8905    Entnahme v. Gegenst.o.USt.      A       I               0       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7398 173     8919    Entnahme durch den Untern.f.Zwecke außerhalb d.Untern.(Waren)o.USt     A       I               0       5       \N      3       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7399 174     8924    Verwendung v.Gegenständen f.Zwecke außerhalb d.Untern.o.USt.  A       I               0       \N      \N      3       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7400 179     8955    Umsatzsteuervergütungen        A       I               0       \N      \N      7       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      7       f
7401 180     9000    Saldenvorträge,Sachkonten      A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7402 181     9008    Saldenvorträge,Debitoren       A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7403 182     9009    Saldenvorträge,Kreditoren      A       L               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7404 183     9090    Summenvortragskonto     A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7405 185     8800    Erlöse aus Anlagenverkäufen   A       I       AR_amount       3       \N      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7406 186     4380    Beiträge       A       E       AP_amount       0       \N      \N      14      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      14      f
7407 187     4360    Versicherungen  A       E       AP_amount       0       13      \N      14      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      14      f
7408 188     4390    Sonstige Abgaben        A       E       AP_amount       0       \N      \N      14      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      14      f
7409 189     0631    Vblk.geg.Kreditinst.- Restlaufzeit b.1 Jahr     A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7410 190     0640    Vblk.geg.Kreditinst.- Restlaufzeit 1 bis 5 Jahre        A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7411 191     0650    Vblk.geg.Kreditinst.- Restlaufzeit grösser als 5 Jahre A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7412 201     1445    Ford.a.LuL z.allg.USt-Satz o.eines Kleinuntern.(EÜR)   A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7413 202     1446    Ford.aLuL z.erm.USt.-Satz (EÜR)        A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7414 203     1447    Ford.a.steuerfr.od.nicht steuerb.LuL (EÜR)     A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7415 204     1448    Ford.a.LuL n.Durchschnittss.gem.§24UStG(EÜR)  A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7416 205     1449    Gegenkto. 1445-1448 bei Aufteil.d.Ford.n.Steuers.(EÜR) A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7417 206     1605    Vblk.a.LuL z.allg.Umsatzsteuersatz (EÜR)       A       L       AP      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7418 207     1606    Vblk.a.LuL zum erm.Umsatzsteuersatz (EÜR)      A       L       AP      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7419 208     2212    Kapitalertragssteuer 20%        A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7420 209     2342    Einst.in SoPo m.Rücklageanteil (Existenzgründungsrücklage)   A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7421 210     2351    Gründstücksaufwend.f.Gebäude,die nicht z.Betriebsverm.gehören       A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7422 211     2376    Grundsteuer f.Gebäude,die nicht z.Betriebsvermögen geh.       A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7423 212     2733    Erträge a.d.Auflösung v.SoPo m.Rücklageant.(Exitenzgründungszusch.) A       I               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7424 213     2746    Steuerfr.Erträge a.d.Auflös.v.SoPo m.Rücklageanteil  A       I               0       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7425 214     2747    Sonst.steuerfreie Betriebseinnahmen     A       I               0       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7426 215     2797    Entnahmen a.satzungsmäßigen Rücklagen        A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7427 216     3559    Steuerfreie Einfuhren   A       E       AP_amount:IC_cogs       0       \N      \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7428 217     3580    Wareneinkauf z.allg.Umsatzsteuersatz (EÜR)     A       E               0       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7429 218     3581    Wareneinkauf z.erm.Umsatzsteuersatz(EÜR)       A       E               0       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7430 155     8508    Provisionserlöse 16%/19% USt.  A       I       AR_amount:IC_income     3       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7431 236     4678    Kilometergelderstatt.(Wohn.-Arbeitsst.abziehb.Teil)     A       E               0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7432 237     4679    Fahrten zw.Wohn.und Arbeitsstätte (nicht abziehb.Teil) A       E               0       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7433 238     4680    Fahrten zw.Wohn.-und Arbeitsstätte (Haben)     A       E               0       \N      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7434 240     4830    Abschreibungen auf Sachanlagen (o.Kfz u.Geb.)   A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7435 241     4832    Abschreibungen auf Kfz  A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7436 242     4841    Absetzung f.außergew.techn.u.wirtschaftl.AfA bei Gebäuden     A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7437 220     3589    Gegenkto.3580-3582 b.Aufteilung d.WE n.Steuersätzen(EüR)      A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7438 221     4261    Instandhlt.betriebl.Räume in Geb.die nicht z.BV gehören       A       E               0       \N      \N      11      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      11      f
7439 222     4271    Abgaben f.betriebl.genutzten Grundbesitz,d.nicht z.BV gehört   A       E               0       \N      \N      11      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      11      f
7440 223     4288    Aufwend.f.ein häusliches Arbeitszimmer(abziehb.Anteil) A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7441 224     4289    Aufwend.f.ein häusliches Arbeitszimmer(nicht abziehb.Anteil)   A       E               0       11      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7442 225     4361    Versicherungen f.Gebäude,die zum BV gehören   A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7443 226     4505    Fahrzeugkosten f.Kfz,die nicht zum BV gehören  A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7444 227     4515    Kfz-Steuer f.Kfz,die nicht zum BV gehören      A       E               0       \N      \N      15      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      15      f
7445 228     4525    Kfz-Versicherung f.Kfz,die nicht zum BV gehören        A       E               0       \N      \N      16      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      16      f
7446 229     4535    Lfd.Kfz-Betriebskosten f.Kfz,die nicht zum BV gehören  A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7447 230     4545    Kfz-Rep.für Kfz,die nicht zum BV gehören      A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7448 231     4555    Garagenmiete f.Kfz,die nicht zum BV gehören    A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7449 232     4560    Mautgebühren   A       E               0       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7450 233     4565    Mautgebühren f. Kfz,die nicht zum BV gehören  A       E               0       \N      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7451 234     4651    Sonst.eingeschr.abziehb.Betriebsausgaben (abziehb.Anteil)       A       E               0       20      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7452 235     4652    Sonst.eingeschr.abziehb.Betriebsausgaben(nicht abziehb.Teil)    A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7453 247     4965    Mietleasing     A       E               9       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7454 243     4842    Absetzung f.außergew.techn.u.wirtschaftl.AfA des Kfz   A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7455 244     4843    Absetzung f.außergew.techn.u.wirtschaftl.AfA sonst.WG  A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7456 245     4851    Sonderabschreibung nach Â§7g(1)u.(2)EStG (ohne Kfz)     A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7457 246     4852    Sonderabschreibung n.§7g(1)u.(2)EStG (für Kfz)        A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7458 248     4966    Gewerbest.zu berücksicht.Mietleasing Â§8 GewStG        A       E               0       \N      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7459 249     8580    Erlöse zum allg.Umsatzsteuersatz (EÜR)        A       I               0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7460 250     8581    Erlöse zum ermä.Umsatzsteuersatz (EÜR)       A       I               0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7461 251     8582    Erlöse steuerfrei u.nicht steuerbar (EÜR)     A       I               0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7462 252     8589    Gegenkonto 8580-8582 b.Aufteilung d.Erlöse n.Steuersätzen(EÜR)       A       C               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7463 257     1000    Kasse   A       A       AR_paid:AP_paid 0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7464 264     2501    Ausserordentliche Erträge finanzwirksam        A       I               0       \N      \N      5       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      5       f
7465 265     2505    Ausserordentliche Erträge nicht finanzwirksam  A       I               0       \N      \N      5       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      5       f
7466 266     4130    Gesetzlich soziale Aufwendungen A       E               0       10      \N      10      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      10      f
7467 267     4630    Geschenke bis 35 EUR abzugsfähig       A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7468 268     4635    Geschenke Ã¼ber 35EUR nicht abzugsf.    A       E       AP_amount       0       15      \N      18      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      18      f
7469 269     4655    Nicht abzugsf.Betriebsausg.a.Werbe-Repräsentatisonk.etc.       A       E       AP_amount       9       15      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7470 270     4805    Rep.u.Instandhalt.v.and.Anlagen u.Betriebs-u.Geschäftsausst.   A       E       AP_amount       9       18      \N      19      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      19      f
7471 272     8195    Erlöse als Kleinunternehmer i.S.d.§19(1)UStG  A       I       AR_amount       0       1       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7472 277     8960    Bestandsveränderung unf.Erz.   A       E               0       2       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7473 278     8970    Bestandsveränd.unf.Leist.      A       E               0       2       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7474 279     8980    Bestandsveränd.fert..Leist.    A       E               0       2       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7475 280     8990    And.aktiv.Eigenleistungen       A       E               0       3       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7476 281     3090    Energiestoffe (Fert.).  A       E       IC      9       4       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7477 282     4595    Fremdfahrzeuge  A       E       AP_amount       0       14      \N      17      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      17      f
7478 283     1450    Ford.a.LuL n.Durchschnittss.gem.§24UStG(EÜR)  A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7479 304     8949    Unentgeltl.Zuwendung v.Waren o.USt.     A       I               0       5       \N      3       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7480 305     4126    Tantiemen       A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9       f
7481 306     4127    Geschäftsführergehälter      A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9       f
7482 307     4167    Pauschale Lohnsteuer auf sonst.Bezüge(z.B.Direktversicherung   A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9       f
7483 308     4170    Vermögenswirksame Leistungen   A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9       f
7484 286     1580    Gegenkonto Vorsteuer Â§4/3 EStG A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7485 287     1581    Auflösung Vorst.a.Vorjahr Â§4/3 EStG   A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7486 288     1582    Vorst.aus Investitionen Â§4/3 EStG      A       E               0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27      f
7487 289     1584    abziehb.VorSt IG Erwerb Neufzg.b.Lief. o. USt.Ident.Nr  A       E       AR_tax  0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27      f
7488 291     1592    Fremdgeld       A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7489 292     3100    Fremdleistungen A       E       AP_amount       9       5       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7490 295     3600    Nicht abziehbare Vorsteuer      A       E               0       5       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7491 296     3610    Nicht abziehb.Vorsteuer 7%      A       E               0       5       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7492 298     2739    Erträge Aufl. Sopo m.R.(Ansparafa)     A       I               0       5       \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7493 299     8590    Verrechnete sons. Sachbezüge keine Waren       A       I       AR_amount       0       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7494 301     8939    Unentgeltl.Zuw.v.Gegens.ohne Ust        A       I               0       5       \N      3       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7495 309     4180    Bedienungsgelder        A       E               0       10      \N      9       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      9       f
7496 310     4826    Außerplan.AfA a.immat.Vermögensgeg.   A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7497 311     4850    Abschr.a.Sachanl.aufgr.steuerl.Sondervorschriften       A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7498 312     4870    Abschreibungen auf Finanzanlagen        A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7499 313     4875    Abschr.a.Wertp.d.Umlaufvermögens       A       E               0       17      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7500 314     4880    Abschreibungen auf Umlaufverm. o.Wertpapiere (soweit unübl.Höhe       A       E               0       17      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7501 315     2208    Solidaritätszuschlag   A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7502 316     2209    Solidaritätszuschlag für Vorjahr      A       E               0       19      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7503 317     2375    Grundsteuer     A       E               0       19      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7504 318     2400    Forderungsverlust-übliche Höhe        A       E               0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7505 321     2341    Einstellungen in SoPo m.Rücklageanteil (Ansparabschreibung     A       E               0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7506 322     2100    Zinsen und Ã¤hnl.Aufwendungen   A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29      f
7507 323     2107    Zinsaufwendung-betriebliche Steuern Â§223aAO    A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29      f
7508 324     2140    Zinsähnliche Aufwendungen      A       E               0       30      \N      29      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      29      f
7509 325     2000    Außerordentliche Aufwendung    A       E               0       31      \N      30      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      30      f
7510 326     2010    Betriebsfremde Aufwendungen soweit n.außerord. A       E               0       31      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7511 327     2020    Periodenfremde Aufwend.(soweit n.außerordentlich       A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7512 329     2170    Nicht abziehbare Vorsteuer      A       E               0       31      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7513 330     2171    Nicht abziehbare Vorsteuer 7%   A       E               0       31      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7514 332     2280    Stnachzahl.Vorj.v.Einkomm u.Ertrag      A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7515 333     2285    Steuernachzahlung Vorj.f.sons.Steue     A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7516 334     2289    Erträge a.d.Aufl.v. Rück.f.sons.Ste   A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7517 335     2350    Grundstücksaufwendungen        A       E               9       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7518 336     2380    Zuwend.,Spenden,steuerlich n.abziehbar  A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7519 337     2450    Einstell.i.d.Pauschalwertbe.z.Forde     A       E               0       31      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7520 338     2657    Zinserträge-betriebliche Steuern       A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4       f
7521 339     2670    Diskonterträge A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4       f
7522 340     2680    Zinsähnliche Erträge  A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4       f
7523 347     8727    Erlösschmä.and.EG Land stpfl.Liefer   A       I               0       32      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7524 348     2500    Außerordentliche Erträge      A       I               0       33      \N      5       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      5       f
7525 349     2510    Betriebsfremde Erträge nichtaußerorden        A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7526 350     2520    Periodenfremde Erträge nicht außero   A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7527 351     2600    Erträge aus Beteiligungen      A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7528 354     2710    Ertrag a.d.Zuschreib.d.Anlagevermög    A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7529 355     2715    Ertr.a.Zuschreib.d.Umlaufvermögens     A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7530 356     2725    Ertr.a.d.Abg.v.Gegenst.d.Umlaufverm     A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7531 357     2730    Ertr.a.Herabsetzung d.PWB zu Forderungen        A       I               0       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7532 358     2732    Ertr. aus abgeschriebenen Forderung     A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7533 297     3650    Nicht abziehb.Vorsteuer 16%/19% A       E               0       5       \N      8       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7534 331     2175    Nicht abziehbare Vorsteuer 16%/19%      A       E               0       31      \N      24      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      24      f
7535 274     8808    Erlöse a.Verk.Sachanlagen steuerfrei§4Nr.1bUStG(b.Buchverlust)        A       E               0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7536 147     8135    Steuerfr.innergem.Lief.v.Neufahrz.an Abn.o.USt-Ident-Nr.        A       I       AR_amount:IC_sale       0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7537 144     8120    Steuerfreie Umsätze Â§4Nr.1a UstG      A       I       AR_amount:IC_sale:IC_income     0       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7538 148     8150    Sonstige steuerfreie Umsätze Â§42-7UStG        A       I       AR_amount:IC_sale:IC_income     0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7539 253     8827    Erlöse a.Verk.Sachanlagen steuerfr.§4Nr.1aUStG(bei Buchgewinn)        A       I               0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7540 359     2735    Ertr.a.d.Auflösung v.Rückstellungen   A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7541 360     2743    Investitionszuschüsse-steuerpflicht    A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7542 361     2744    Investitionszulage-steuerfrei   A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7543 362     2750    Grundstückserträge    A       I               3       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7544 363     2284    Ertr.a.d.Aufl.v.Rücks.f.St.v.Ein.Er    A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7545 364     2287    Steuererstattung Vorj.f.sons.Steuer     A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7546 365     2282    Sterstat.Vorj.Steuer v.Eink.u.Ertrag    A       I               0       33      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7547 367     4990    Kalkulatorischer Unternehmerlohn        A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7548 368     4992    Kalkulatorische Zinsen  A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7549 369     4993    Kalkulatorische Aschreibungen   A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7550 370     4994    Kalkulatorische Wagnisse        A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7551 371     4995    Kalkulatorischer Lohn f.unentgeltl.Mitarbeiter  A       E               0       34      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7552 372     2200    Körperschaftssteuer    A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7553 373     2214    Anrechenb.Soli auf Kapitalertragssteuer 20%     A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7554 374     2215    Zinsabschlagsteuer      A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7555 375     2218    Anrechb.Solidari.zuschlag a.Zinsabschlagst.     A       E               0       35      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7556 775     1776    Umsatzsteuer 19 %       A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      6       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      6       f
7557 145     8125    Steuerfrei innergem. Lieferungen Â§41bUStG      A       I       AR_amount:IC_sale:IC_income     0       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7558 146     8130    Liefe.d.1.Abnehm.bei innergem.Dreiecksg Â§25b2UStG      A       I       AR_amount:IC_sale:IC_income     0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7559 254     8828    Erlöse a.Verk.Sachanlagen steuerfr.§4Nr.1bUStG(b.Buchgewinn)  A       I               0       \N      \N      2       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7560 86      8100    Steuerfreie Umsätze Â§4Nr.8ff UstG     A       I       AR_amount       0       1       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7561 273     8807    Erlöse a.Verk.Sachanlagen steuerfrei§4Nr.1aUStG(b.Buchverlust)        A       E               0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7562 87      8110    Sonstige steuerfreie Umsätze Inland    A       I       AR_amount       0       \N      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7563 160     8600    Sonstige Erlöse betriebl.u.regelmäß  A       I       AR_amount       3       5       \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7564 353     2700    Sonstige Erträge       A       I               3       33      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7565 195     1775    Umsatzsteuer 16%        A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      6       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      6       f
7566 150     8310    Erlöse Inland stpfl. EG-Lieferung7%    A       I       AR_amount:IC_sale:IC_income     12      1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7567 154     8506    Provisionserlöse 7% USt.       A       I       AR_amount:IC_income     2       \N      \N      2       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7568 158     8591    Sachbezüge 7% Ust (Waren)      A       I       AR_amount       2       5       \N      2       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7569 163     8750    Gewährte Boni 7% USt.  A       E       AR_paid 2       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7570 165     8780    Gewährte Rabatte 7% USt.       A       E       AR_paid 2       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7571 172     8915    Entnah.d.Untern.f.Zwecke ausserh.d.Untern.7%USt A       I       AR_amount       2       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7572 176     8930    Verwendung v.Gegenst.f.Zwecke außerhalb d.Unternehmens 7% USt. A       I       AR_amount       2       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7573 303     8945    Unentgeltl.Zuw.von Waren 7% Ust A       I               2       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7574 319     2401    Forderungsverluste 7% USt.(übliche Höhe       A       E               2       20      \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7575 151     8315    Erlös Inland stpfl.EG-Lieferung 16%/19%        A       I       AR_amount:IC_sale:IC_income     13      1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7576 159     8595    Sachbezüge 16%/19% Ust (Waren) A       I       AR_amount       3       5       \N      2       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7577 284     1577    Abzieb.Vorst.n.allg.Durchschnittss.UStVA Kz.63  A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27      f
7578 259     1571    Abziehbare Vorsteuer 7% A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27      f
7579 261     1575    Abziehbare Vorsteuer 16%        A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27      f
7580 776     1576    Abziehbare Vorsteuer 19 %       A       E       AP_tax:IC_taxpart:IC_taxservice 9       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27      f
7581 40      3440    Innergem.Erwerb v.Neufahrz.v.Lief.o.USt.Identnr.16%/19%VSt.u.16%/19%USt.        A       E       AP_amount:IC_cogs       19      \N      \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7582 45      3760    Erhaltene Boni 16%/19% Vorsteuer        A       I       AP_paid 9       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7583 88      8300    Erlöse 7 % / 5 % USt   A       I       AR_amount:IC_sale:IC_income     2       1       \N      1       t       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      \N      \N      1       f
7584 343     8710    Erlösschmälerung 7% USt.      A       I               2       32      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7585 7       0410    Geschäftsausstattung   A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7586 8       0420    Büroeinrichtung        A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7587 9       0430    Ladeneinrichtung        A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7588 10      0440    Werkzeuge       A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7589 11      0480    Geringwertige Wirtschaftsg.b.410EUR     A       A       AP_amount       9       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7590 12      1200    Bank    A       A       AR_paid:AP_paid 0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7591 13      1360    Geldtransit     A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7592 14      1400    Ford. a.Lieferungen und Leistungen      A       A       AR      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7593 15      1590    Durchlaufende Posten    A       A               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7594 16      1600    Verbindlichkeiten aus Lief.u.Leist.     A       L       AP      0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7595 345     8725    Erlösschmä.Inl.stpfl.EG-Lief. 7%USt   A       I               12      32      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7596 271     8190    Erlöse,die mit den Durchschnittssätzen d.§24UStG vers.werd.  A       I       AR_amount       0       \N      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7597 178     8950    Nicht steuerbare Umsätze       A       I               0       5       \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7598 293     3110    Leist.v.ausländ.Untern. 7% VSt.u.7%USt.        A       E       AP_amount       8       5       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7599 366     1785    Umsatzsteuer n.§13b UStG       A       I               0       33      \N      7       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      7       f
7600 290     1588    Bezahlte Einfuhrumsatzsteuer    A       E               0       \N      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7601 285     1578    Abzieb.Vorst.n.§13b    A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27      f
7602 47      3790    Erhaltene Rabatte 16%/19% Vorsteuer     A       I       AP_paid 9       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7603 77      4305    Nicht abziehbare Vorsteuer 16%/19%      A       E       AP_paid 0       20      \N      \N      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7604 164     8760    Gewährte Boni 16%/19% USt.     A       E       AR_paid 3       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7605 166     8790    Gewährte Rabatte 16%/19% Ust.  A       E       AR_paid 3       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7606 167     8820    Erlöse aus Anlageverkäufen Sachanl.verm.b.Buchgewinn16%/19%Ust        A       I       AR_amount       3       5       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7607 171     8910    Entnahme des Untern.f.Zwecke ausserh.d.Untern 16%/19%(Waren)    A       I       AR_amount       3       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7608 175     8925    Unentgeltl.Erbring.sons.Leis.16%/19%USt A       I       AR_amount       3       \N      \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7609 177     8935    Unentgeltl.Zuwend.v.Gegens. 16%/19% Ust A       I       AR_amount       3       \N      \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7610 255     8921    Verwend.v.Gegenst.f.Zwecke außerh.d.Untern.16%/19%USt(Kfz-Nutzung)     A       I               0       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7611 256     8922    Verwend.f.Gegenst.f.Zwecke außerh.d.Untern.16%/19%USt(Telefonnutzung)  A       I               0       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7612 275     8809    Erlöse aus Verk.Sachanlagevermögen16%/19% USt (bei Buchverlust)       A       E               0       \N      \N      2       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      2       f
7613 276     8801    Erlöse aus Anlagenverkäufen Sachanl.verm.b.Buchverl.16%/19%USt.       A       E               3       5       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7614 300     8920    Verw.v.Gegens.f.Zwecke ausserh.d.Untern.16%/19%USt.     A       I               3       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7615 302     8940    Unentgeltl.Zuw.v Waren 16%/19% Ust      A       I               3       5       \N      3       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      3       f
7616 320     2405    Forderungsverluste 16%/19% USt.(übliche Höhe  A       E               3       20      \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7617 184     8400    Erlöse 19 % / 16 % USt A       I       AR_amount:IC_sale:IC_income     3       1       \N      1       t       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      \N      \N      1       f
7618 17      1780    Umsatzsteuer-Vorauszahlungen    A       E               0       \N      \N      28      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      28      f
7619 18      1790    Umsatzsteuer Vorjahr    A       E               0       \N      \N      28      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      28      f
7620 239     4831    Abschreibung auf Gebäude       A       E               0       17      \N      25      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      25      f
7621 341     8650    Erlöse Zinsen und Diskotspesen A       I               0       32      \N      4       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      4       f
7622 342     8700    Erlösschmälerungen    A       I               0       32      \N      1       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7623 344     8720    Erlösschmälerung 16%/19% USt. A       I               3       32      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7624 346     8726    Erlösschmä.Inl.stpfl.EG-Lief.16%/19%USt       A       I               13      32      \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7625 294     3120    Leist.v.ausländ.Untern. 16%/19% VSt.u.16%/19%USt.      A       E       AP_amount       9       5       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7626 862     1570    Anrechenbare Vorsteuer  A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      \N      f       2018-11-30 19:55:46.317645      2018-11-30 19:56:03.190929      \N      \N      \N      f
7627 863     1574    Abziehbare Vorsteuer aus innergem. Erwerb 19 %  A       E       AP_tax:IC_taxpart:IC_taxservice 19      \N      \N      \N      f       2018-11-30 19:55:46.317645      2018-11-30 19:56:03.190929      \N      \N      \N      f
7628 864     1774    Umsatzsteuer aus innergem. Erwerb 19 %  A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      \N      f       2018-11-30 19:55:46.317645      2018-11-30 19:56:03.190929      \N      \N      \N      f
7629 262     1772    Umsatzsteuer 7% innergem.Erwerb A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      6       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      6       f
7630 258     1572    Abziehbare Vorsteuer 7% innergem. Erwerb        A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27      f
7631 260     1573    Abziehbare Vorsteuer 16% innergem. Erwerb       A       E       AP_tax:IC_taxpart:IC_taxservice 0       \N      \N      27      f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      27      f
7632 39      3425    Innergem. Erwerb 16%/19% VSt u. USt.    A       E       AP_amount:IC_cogs       0       4       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7633 38      3420    Innergem. Erwerb 7% VSt u. USt. A       E       AP_amount:IC_cogs       0       4       \N      8       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      8       f
7634 194     1771    Umsatzsteuer 7% A       I       AR_tax:IC_taxpart:IC_taxservice 2       \N      \N      6       f       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      6       f
7635 161     8731    Gewährte Skonti 7% USt A       I       AR_paid 2       1       \N      1       t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      1       f
7636 42      3731    Erhaltene Skonti 7% Vorsteuer   A       E       AP_paid 8       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7637 43      3735    Erhaltene Skonti 16%/19% Vorsteuer      A       E       AP_paid 9       4       \N      \N      t       2018-11-30 19:55:43.8645        2018-11-30 19:56:03.190929      \N      \N      \N      f
7638 263     1773    Umsatzsteuer 5 %        A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      28      f       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      \N      \N      28      f
7639 162     8736    Gewährte Skonti 19 % USt       A       I       AR_paid 3       1       \N      1       f       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      \N      \N      1       f
7640 1110    1711    Erhaltene, versteuerte Anzahlungen 7 % USt (Verbindlichkeiten)  A       L       AR_amount       0       \N      \N      \N      f       2023-12-16 23:40:35.617575      \N      \N      \N      \N      f
7641 1112    1718    Erhaltene, versteuerte Anzahlungen 19 % USt (Verbindlichkeiten) A       L       AR_amount       0       \N      \N      \N      f       2023-12-16 23:40:35.628546      \N      \N      \N      \N      f
7642 1108    1593    Verrechnungskonto erhalt. Anzahl. bei Buchung Ã¼ber Debitorenkonto      A       L       AR      0       \N      \N      \N      f       2023-12-16 23:40:35.603336      2023-12-16 23:40:35.67778       \N      \N      \N      f
7643 1114    1787    Umsatzsteuer nach Â§13b UStG 19%        A       I       AR_tax:IC_taxpart:IC_taxservice 0       \N      \N      \N      f       2023-12-16 23:40:35.919304      \N      \N      \N      \N      f
7644 328     2150    Aufwendungen aus Kursdifferenzen        A       E       AR_paid:AP_paid 0       31      \N      24      f       2018-11-30 19:55:43.8645        2026-04-24 23:21:56.503662      \N      \N      24      f
7645 352     2660    Erträge aus Kursdifferenzen    A       I       AR_paid:AP_paid 0       33      \N      2       f       2018-11-30 19:55:43.8645        2026-04-24 23:21:56.503662      \N      \N      2       f
7646 \.
7647
7648
7649 --
7650 -- Data for Name: contact_departments; Type: TABLE DATA; Schema: public; Owner: kivitendo
7651 --
7652
7653 COPY public.contact_departments (id, description) FROM stdin;
7654 \.
7655
7656
7657 --
7658 -- Data for Name: contact_titles; Type: TABLE DATA; Schema: public; Owner: kivitendo
7659 --
7660
7661 COPY public.contact_titles (id, description) FROM stdin;
7662 \.
7663
7664
7665 --
7666 -- Data for Name: contacts; Type: TABLE DATA; Schema: public; Owner: kivitendo
7667 --
7668
7669 COPY public.contacts (cp_id, cp_cv_id, cp_title, cp_givenname, cp_name, cp_email, cp_phone1, cp_phone2, itime, mtime, cp_fax, cp_mobile1, cp_mobile2, cp_satphone, cp_satfax, cp_project, cp_privatphone, cp_privatemail, cp_abteilung, cp_gender, cp_street, cp_zipcode, cp_city, cp_birthday, cp_position, cp_main) FROM stdin;
7670 \.
7671
7672
7673 --
7674 -- Data for Name: csv_import_profile_settings; Type: TABLE DATA; Schema: public; Owner: kivitendo
7675 --
7676
7677 COPY public.csv_import_profile_settings (id, csv_import_profile_id, key, value) FROM stdin;
7678 1       1       charset UTF-8
7679 2       1       full_preview    0
7680 3       1       update_policy   skip
7681 4       1       numberformat    1000.00
7682 5       1       sep_char        ;
7683 6       1       quote_char      "
7684 7       1       escape_char     "
7685 8       1       json_mappings   []
7686 9       1       duplicates      no_check
7687 10      1       dont_edit_profile       1
7688 \.
7689
7690
7691 --
7692 -- Data for Name: csv_import_profiles; Type: TABLE DATA; Schema: public; Owner: kivitendo
7693 --
7694
7695 COPY public.csv_import_profiles (id, name, type, is_default, login) FROM stdin;
7696 1       MT940   bank_transactions       t       default
7697 \.
7698
7699
7700 --
7701 -- Data for Name: csv_import_report_rows; Type: TABLE DATA; Schema: public; Owner: kivitendo
7702 --
7703
7704 COPY public.csv_import_report_rows (id, csv_import_report_id, col, "row", value) FROM stdin;
7705 \.
7706
7707
7708 --
7709 -- Data for Name: csv_import_report_status; Type: TABLE DATA; Schema: public; Owner: kivitendo
7710 --
7711
7712 COPY public.csv_import_report_status (id, csv_import_report_id, "row", type, value) FROM stdin;
7713 \.
7714
7715
7716 --
7717 -- Data for Name: csv_import_reports; Type: TABLE DATA; Schema: public; Owner: kivitendo
7718 --
7719
7720 COPY public.csv_import_reports (id, session_id, profile_id, type, file, numrows, numheaders, test_mode) FROM stdin;
7721 \.
7722
7723
7724 --
7725 -- Data for Name: currencies; Type: TABLE DATA; Schema: public; Owner: kivitendo
7726 --
7727
7728 COPY public.currencies (id, name) FROM stdin;
7729 1       EUR
7730 2       USD
7731 \.
7732
7733
7734 --
7735 -- Data for Name: custom_data_export_queries; Type: TABLE DATA; Schema: public; Owner: kivitendo
7736 --
7737
7738 COPY public.custom_data_export_queries (id, name, description, sql_query, access_right, itime, mtime) FROM stdin;
7739 \.
7740
7741
7742 --
7743 -- Data for Name: custom_data_export_query_parameters; Type: TABLE DATA; Schema: public; Owner: kivitendo
7744 --
7745
7746 COPY public.custom_data_export_query_parameters (id, query_id, name, description, parameter_type, itime, mtime, default_value_type, default_value) FROM stdin;
7747 \.
7748
7749
7750 --
7751 -- Data for Name: custom_variable_config_partsgroups; Type: TABLE DATA; Schema: public; Owner: kivitendo
7752 --
7753
7754 COPY public.custom_variable_config_partsgroups (custom_variable_config_id, partsgroup_id, itime, mtime) FROM stdin;
7755 \.
7756
7757
7758 --
7759 -- Data for Name: custom_variable_configs; Type: TABLE DATA; Schema: public; Owner: kivitendo
7760 --
7761
7762 COPY public.custom_variable_configs (id, name, description, type, module, default_value, options, searchable, includeable, included_by_default, sortkey, itime, mtime, flags, first_tab) FROM stdin;
7763 \.
7764
7765
7766 --
7767 -- Data for Name: custom_variables; Type: TABLE DATA; Schema: public; Owner: kivitendo
7768 --
7769
7770 COPY public.custom_variables (id, config_id, trans_id, bool_value, timestamp_value, text_value, number_value, itime, mtime, sub_module) FROM stdin;
7771 \.
7772
7773
7774 --
7775 -- Data for Name: custom_variables_validity; Type: TABLE DATA; Schema: public; Owner: kivitendo
7776 --
7777
7778 COPY public.custom_variables_validity (id, config_id, trans_id, itime) FROM stdin;
7779 \.
7780
7781
7782 --
7783 -- Data for Name: customer; Type: TABLE DATA; Schema: public; Owner: kivitendo
7784 --
7785
7786 COPY public.customer (id, name, department_1, department_2, street, zipcode, city, country, contact, phone, fax, homepage, email, notes, discount, taxincluded, creditlimit, customernumber, cc, bcc, business_id, taxnumber, account_number, bank_code, bank, language, itime, mtime, obsolete, username, user_password, salesman_id, c_vendor_id, language_id, payment_id, taxzone_id, greeting, ustid, iban, bic, direct_debit, depositor, taxincluded_checked, mandator_id, mandate_date_of_signature, delivery_term_id, hourly_rate, currency_id, gln, pricegroup_id, order_lock, commercial_court, invoice_mail, contact_origin, delivery_order_mail, create_zugferd_invoices, natural_person, c_vendor_routing_id, postal_invoice, dunning_mail, dunning_lock) FROM stdin;
7787 \.
7788
7789
7790 --
7791 -- Data for Name: datev; Type: TABLE DATA; Schema: public; Owner: kivitendo
7792 --
7793
7794 COPY public.datev (beraternr, beratername, mandantennr, dfvkz, datentraegernr, abrechnungsnr, itime, mtime, id) FROM stdin;
7795 \.
7796
7797
7798 --
7799 -- Data for Name: defaults; Type: TABLE DATA; Schema: public; Owner: kivitendo
7800 --
7801
7802 COPY public.defaults (inventory_accno_id, income_accno_id, expense_accno_id, fxgain_accno_id, fxloss_accno_id, invnumber, sonumber, weightunit, businessnumber, version, closedto, revtrans, ponumber, sqnumber, rfqnumber, customernumber, vendornumber, articlenumber, servicenumber, coa, itime, mtime, rmanumber, cnnumber, accounting_method, inventory_system, profit_determination, dunning_ar_amount_fee, dunning_ar_amount_interest, dunning_ar, pdonumber, sdonumber, ar_paid_accno_id, id, language_id, datev_check_on_sales_invoice, datev_check_on_purchase_invoice, datev_check_on_ar_transaction, datev_check_on_ap_transaction, datev_check_on_gl_transaction, payments_changeable, is_changeable, ir_changeable, ar_changeable, ap_changeable, gl_changeable, show_bestbefore, sales_order_show_delete, purchase_order_show_delete, sales_delivery_order_show_delete, purchase_delivery_order_show_delete, is_show_mark_as_paid, ir_show_mark_as_paid, ar_show_mark_as_paid, ap_show_mark_as_paid, warehouse_id, bin_id, company, taxnumber, co_ustid, duns, sepa_creditor_id, templates, max_future_booking_interval, "precision", webdav, webdav_documents, vertreter, parts_show_image, parts_listing_image, parts_image_css, normalize_vc_names, normalize_part_descriptions, assemblynumber, show_weight, transfer_default, transfer_default_use_master_default_bin, transfer_default_ignore_onhand, warehouse_id_ignore_onhand, bin_id_ignore_onhand, balance_startdate_method, currency_id, customer_hourly_rate, signature, requirement_spec_section_order_part_id, transfer_default_services, rndgain_accno_id, rndloss_accno_id, global_bcc, customer_projects_only_in_sales, reqdate_interval, require_transaction_description_ps, sales_purchase_order_ship_missing_column, allow_sales_invoice_from_sales_quotation, allow_sales_invoice_from_sales_order, allow_new_purchase_delivery_order, allow_new_purchase_invoice, disabled_price_sources, transport_cost_reminder_article_number_id, is_transfer_out, ap_chart_id, ar_chart_id, letternumber, order_always_project, project_status_id, project_type_id, feature_balance, feature_datev, feature_erfolgsrechnung, feature_eurechnung, feature_ustva, order_warn_duplicate_parts, show_longdescription_select_item, email_journal, quick_search_modules, stocktaking_warehouse_id, stocktaking_bin_id, stocktaking_cutoff_date, stocktaking_qty_threshold, bcc_to_login, create_part_if_not_found, fa_bufa_nr, fa_dauerfrist, fa_steuerberater_city, fa_steuerberater_name, fa_steuerberater_street, fa_steuerberater_tel, fa_voranmeld, doc_delete_printfiles, doc_max_filesize, doc_storage, doc_storage_for_documents, doc_storage_for_attachments, doc_storage_for_images, doc_files, doc_files_rootpath, doc_webdav, shipped_qty_require_stock_out, sepa_reference_add_vc_vc_id, assortmentnumber, doc_storage_for_shopimages, datev_export_format, order_warn_no_deliverydate, sepa_set_duedate_as_default_exec_date, sepa_set_skonto_date_as_default_exec_date, sepa_set_skonto_date_buffer_in_days, delivery_date_interval, email_attachment_vc_files_checked, email_attachment_part_files_checked, email_attachment_record_files_checked, invoice_mail_settings, dunning_creator, address_street1, address_street2, address_zipcode, address_city, address_country, workflow_po_ap_chart_id, carry_over_account_chart_id, profit_carried_forward_chart_id, loss_carried_forward_chart_id, contact_departments_use_textfield, contact_titles_use_textfield, create_zugferd_invoices, vc_greetings_use_textfield, sales_serial_eq_charge, undo_transfer_interval, create_qrbill_invoices, customer_ustid_taxnummer_unique, vendor_ustid_taxnummer_unique, sales_delivery_order_check_stocked, purchase_delivery_order_check_stocked, ir_add_doc, ar_add_doc, ap_add_doc, gl_add_doc, reqdate_on, deliverydate_on, sales_delivery_order_check_service, purchase_delivery_order_check_service, produce_assembly_same_warehouse, produce_assembly_transfer_service, warn_no_delivery_order_for_invoice, order_warn_no_cusordnumber, partsgroup_required, print_interpolate_variables_in_positions, sales_purchase_record_numbers_changeable, always_record_links_from_order, sudonumber, rdonumber, advance_payment_clearing_chart_id, advance_payment_taxable_19_id, advance_payment_taxable_7_id, p_reclamation_record_number, s_reclamation_record_number, sales_reclamation_show_delete, purchase_reclamation_show_delete, reclamation_warn_no_reqdate, reclamation_warn_duplicate_parts, soinumber, pqinumber, lock_oe_subversions, qrbill_copy_invnumber, email_sender_sales_quotation, email_sender_request_quotation, email_sender_sales_order, email_sender_purchase_order, email_sender_invoice, email_sender_purchase_invoice, email_sender_letter, email_sender_purchase_delivery_order, email_sender_sales_delivery_order, email_sender_dunning, dunning_original_invoice_creation_mode, record_links_from_order_with_myself, record_links_from_order_with_quotations, layout_style, allowed_documents_with_no_positions, fuzzy_skonto, fuzzy_skonto_percentage, transit_items_chart_id, webdav_sync_extern, webdav_sync_extern_url, webdav_sync_extern_login, webdav_sync_extern_pass, yearend_method, pocnumber, sepa_export_xml, no_bank_proposals, check_bt_duplicates_endtoend, show_invoice_for_advance_payment, show_sales_order_intake, show_purchase_quotation_intake, show_purchase_order_confirmation, show_sales_reclamation, show_purchase_reclamation, email_subject_transaction_description, order_item_input_position) FROM stdin;
7803 \N      \N      \N      \N      \N      \N      \N      \N      \N      2.4.0.0 \N      f       \N      \N      \N      \N      \N      \N      \N      Germany-DATEV-SKR03EU   2018-11-30 19:55:38.426226      \N      \N      \N      accrual perpetual       balance \N      \N      \N      0       0       \N      1       \N      t       t       t       t       t       0       2       2       2       2       2       f       t       t       t       t       t       t       t       t       \N      \N      \N      \N      \N      \N      \N      \N      360     0.01000 f       f       f       t       f       border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px; t       t       \N      f       t       f       f       \N      \N      closedto        1       100.00  \N      \N      t       \N      \N              f       0       f       f       t       t       t       t       \N      \N      f       16      14      \N      f       \N      \N      t       t       f       t       t       t       f       2       {contact,gl_transaction}        \N      \N      \N      0.00000 f       t       \N      \N      \N      \N      \N      \N      \N      f       10000000        f       Filesystem      Filesystem      Filesystem      f       ./documents     f       f       f       \N      Filesystem      cp1252-translit t       f       f       0       0       t       t       t       cp      current_employee                                                \N      \N      \N      \N      t       t       1       t       f       7       0       f       f       f       f       f       f       f       f       t       t       t       t       t       f       f       f       f       t       f       f       0       0       1108    1112    1110    0       0       t       t       t       t       \N      \N      f       f                                                                                       create_new      f       f       \N      \N      t       0.5     15      f       \N      \N      \N      default \N      t       f       f       t       t       t       t       t       t       f       0
7804 \.
7805
7806
7807 --
7808 -- Data for Name: delivery_order_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
7809 --
7810
7811 COPY public.delivery_order_items (id, delivery_order_id, parts_id, description, qty, sellprice, discount, project_id, reqdate, serialnumber, ordnumber, transdate, cusordnumber, unit, base_qty, longdescription, lastcost, price_factor_id, price_factor, marge_price_factor, itime, mtime, pricegroup_id, "position", active_price_source, active_discount_source, orderer_id) FROM stdin;
7812 \.
7813
7814
7815 --
7816 -- Data for Name: delivery_order_items_stock; Type: TABLE DATA; Schema: public; Owner: kivitendo
7817 --
7818
7819 COPY public.delivery_order_items_stock (id, delivery_order_item_id, qty, unit, warehouse_id, bin_id, chargenumber, itime, mtime, bestbefore) FROM stdin;
7820 \.
7821
7822
7823 --
7824 -- Data for Name: delivery_orders; Type: TABLE DATA; Schema: public; Owner: kivitendo
7825 --
7826
7827 COPY public.delivery_orders (id, donumber, ordnumber, transdate, vendor_id, customer_id, reqdate, shippingpoint, notes, intnotes, employee_id, closed, delivered, cusordnumber, oreqnumber, department_id, shipvia, cp_id, language_id, shipto_id, globalproject_id, salesman_id, transaction_description, itime, mtime, taxzone_id, taxincluded, delivery_term_id, currency_id, payment_id, tax_point, billing_address_id, record_type, vendor_confirmation_number) FROM stdin;
7828 \.
7829
7830
7831 --
7832 -- Data for Name: delivery_terms; Type: TABLE DATA; Schema: public; Owner: kivitendo
7833 --
7834
7835 COPY public.delivery_terms (id, description, description_long, sortkey, itime, mtime, obsolete) FROM stdin;
7836 \.
7837
7838
7839 --
7840 -- Data for Name: department; Type: TABLE DATA; Schema: public; Owner: kivitendo
7841 --
7842
7843 COPY public.department (id, description, itime, mtime) FROM stdin;
7844 \.
7845
7846
7847 --
7848 -- Data for Name: drafts; Type: TABLE DATA; Schema: public; Owner: kivitendo
7849 --
7850
7851 COPY public.drafts (id, module, submodule, description, itime, form, employee_id) FROM stdin;
7852 \.
7853
7854
7855 --
7856 -- Data for Name: dunning; Type: TABLE DATA; Schema: public; Owner: kivitendo
7857 --
7858
7859 COPY public.dunning (id, trans_id, dunning_id, dunning_level, transdate, duedate, fee, interest, dunning_config_id, itime, mtime, fee_interest_ar_id, original_invoice_printed) FROM stdin;
7860 \.
7861
7862
7863 --
7864 -- Data for Name: dunning_config; Type: TABLE DATA; Schema: public; Owner: kivitendo
7865 --
7866
7867 COPY public.dunning_config (id, dunning_level, dunning_description, active, auto, email, terms, payment_terms, fee, interest_rate, email_body, email_subject, email_attachment, template, create_invoices_for_fees, print_original_invoice) FROM stdin;
7868 \.
7869
7870
7871 --
7872 -- Data for Name: email_imports; Type: TABLE DATA; Schema: public; Owner: kivitendo
7873 --
7874
7875 COPY public.email_imports (id, host_name, user_name, folder, itime) FROM stdin;
7876 \.
7877
7878
7879 --
7880 -- Data for Name: email_journal; Type: TABLE DATA; Schema: public; Owner: kivitendo
7881 --
7882
7883 COPY public.email_journal (id, sender_id, "from", recipients, sent_on, subject, body, headers, extended_status, itime, mtime, email_import_id, folder, uid, obsolete, folder_uidvalidity, status, record_type) FROM stdin;
7884 \.
7885
7886
7887 --
7888 -- Data for Name: email_journal_attachments; Type: TABLE DATA; Schema: public; Owner: kivitendo
7889 --
7890
7891 COPY public.email_journal_attachments (id, "position", email_journal_id, name, mime_type, content, itime, mtime, file_id) FROM stdin;
7892 \.
7893
7894
7895 --
7896 -- Data for Name: employee; Type: TABLE DATA; Schema: public; Owner: kivitendo
7897 --
7898
7899 COPY public.employee (id, login, startdate, enddate, sales, itime, mtime, name, deleted, deleted_email, deleted_signature, deleted_tel, deleted_fax) FROM stdin;
7900 1107    michael 2021-01-16      \N      t       2021-01-16 23:40:38.27028       \N      michael f       \N      \N      \N      \N
7901 \.
7902
7903
7904 --
7905 -- Data for Name: employee_project_invoices; Type: TABLE DATA; Schema: public; Owner: kivitendo
7906 --
7907
7908 COPY public.employee_project_invoices (employee_id, project_id) FROM stdin;
7909 \.
7910
7911
7912 --
7913 -- Data for Name: exchangerate; Type: TABLE DATA; Schema: public; Owner: kivitendo
7914 --
7915
7916 COPY public.exchangerate (transdate, buy, sell, itime, mtime, id, currency_id) FROM stdin;
7917 \.
7918
7919
7920 --
7921 -- Data for Name: file_full_texts; Type: TABLE DATA; Schema: public; Owner: kivitendo
7922 --
7923
7924 COPY public.file_full_texts (id, file_id, full_text, itime, mtime) FROM stdin;
7925 \.
7926
7927
7928 --
7929 -- Data for Name: file_versions; Type: TABLE DATA; Schema: public; Owner: kivitendo
7930 --
7931
7932 COPY public.file_versions (guid, file_id, version, file_location, doc_path, backend, itime, mtime) FROM stdin;
7933 \.
7934
7935
7936 --
7937 -- Data for Name: files; Type: TABLE DATA; Schema: public; Owner: kivitendo
7938 --
7939
7940 COPY public.files (id, object_id, file_name, file_type, mime_type, source, backend_data, title, description, itime, mtime, print_variant, object_type, backend, uid) FROM stdin;
7941 \.
7942
7943
7944 --
7945 -- Data for Name: finanzamt; Type: TABLE DATA; Schema: public; Owner: kivitendo
7946 --
7947
7948 COPY public.finanzamt (fa_land_nr, fa_bufa_nr, fa_name, fa_strasse, fa_plz, fa_ort, fa_telefon, fa_fax, fa_plz_grosskunden, fa_plz_postfach, fa_postfach, fa_blz_1, fa_kontonummer_1, fa_bankbezeichnung_1, fa_blz_2, fa_kontonummer_2, fa_bankbezeichnung_2, fa_oeffnungszeiten, fa_email, fa_internet, id) FROM stdin;
7949 10      1010    Saarlouis       Gaswerkweg 25   66740   Saarlouis       06831/4490      06831/449397            66714   1440    59000000        59301502        BBK SAARBRUECKEN        59010066        7761668 POSTBANK SAARBRUECKEN   Mo,Di,Do 7.30-15.30, Mi 7.30-18,Fr 7.30-12                      1
7950 10      1020    Merzig  Am Gaswerk      66663   Merzig  06861/7030      06861/703133            66653   100232  59000000        59301502        BBK SAARBRUECKEN        59010066        7761668 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 7.30-12.00                     2
7951 10      1030    Neunkirchen     Uhlandstr.      66538   Neunkirchen     06821/1090      06821/109275            66512   1234    59000000        59001508        BBK SAARBRUECKEN        59010066        2988669 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 07.30-12.00                    3
7952 10      1040    Saarbrücken Am Stadtgr         Am Stadtgraben 2-4      66111   Saarbrücken    0681/30000      0681/3000329            66009   100952  59000000        59001502        BBK SAARBRUECKEN        59010066        7766663 POSTBANK SAARBRUECKEN   Mo,Di,Do 7.30-15.30, Mi 7.30-18,Fr 7.30-12                      4
7953 10      1055    Saarbrücken MainzerStr         Mainzer Str.109-111     66121   Saarbrücken    0681/30000      0681/3000762            66009   100944  59000000        59001502        BBK SAARBRUECKEN        59010066        7766663 POSTBANK SAARBRUECKEN   Mo,Mi,Fr 8.30-12.00, zus. Mi 13.30 - 15.30                      5
7954 10      1060    St. Wendel      Marienstr. 27   66606   St. Wendel      06851/8040      06851/804189            66592   1240    59000000        59001508        BBK SAARBRUECKEN        59010066        2988669 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 07.30-12.00                    6
7955 10      1070    Sulzbach        Vopeliusstr. 8  66280   Sulzbach        06897/9082-0    06897/9082110           66272   1164    59000000        59001502        BBK SAARBRUECKEN        59010066        7766663 POSTBANK SAARBRUECKEN   Mo,Mi,Fr 08.30-12.00, zus. Mi 13.30-18.00                       7
7956 10      1075    Homburg         Schillerstr. 15 66424   Homburg 06841/6970      06841/697199            66406   1551    59000000        59001508        BBK SAARBRUECKEN        59010066        2988669 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 07.30-12.00                    8
7957 10      1085    St. Ingbert     Rentamtstr. 39  66386   St. Ingbert     06894/984-01    06894/984159            66364   1420    59000000        59001508        BBK SAARBRUECKEN        59010066        2988669 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 7.30-12.00                     9
7958 10      1090    Völklingen     Marktstr.       66333   Völklingen     06898/20301     06898/203133            66304   101440  59000000        59001502        BBK SAARBRUECKEN        59010066        7766663 POSTBANK SAARBRUECKEN   Mo-Do 7.30-15.30,Mi bis 18.00,Fr 07.30-12.00                    10
7959 11      1113    Berlin Charlottenburg   Bismarckstraße 48      10627   Berlin  030 9024-13-0   030 9024-13-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      facharlottenburg@berlin.de      http://www.berlin.de/ofd        11
7960 11      1114    Berlin Kreuzberg        Mehringdamm 22  10961   Berlin  030 9024-14-0   030 9024-14-900 10958                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakreuzberg@berlin.de   http://www.berlin.de/oberfinanzdirektion        12
7961 11      1115    Berlin Neukölln                                                                                                                                faneukoelln@berlin.de           13
7962 11      1116    Berlin Neukölln        Thiemannstr. 1  12059   Berlin  030 9024-16-0   030 9024-16-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      faneukoelln@berlin.de   http://www.berlin.de/oberfinanzdirektion        14
7963 11      1117    Berlin Reinickendorf    Eichborndamm 208        13403   Berlin  030 9024-17-0   030 9024-17-900 13400                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fareinickendorf@berlin.de       http://www.berlin.de/oberfinanzdirektion        15
7964 11      1118    Berlin Schöneberg      Bülowstraße 85/88     10783   Berlin  030/9024-18-0   030/9024-18-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Montag und Freitag: 8:00 - 13:00 Uhr Donnerstag: 11:00 - 18:00 Uhr      faschoeneberg@berlin.de http://www.berlin.de/oberfinanzdirektion        16
7965 11      1119    Berlin Spandau  Nonnendammallee 15-21   13599   Berlin  030/9024-19-0   030/9024-19-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      faspandau@berlin.de     http://www.berlin.de/oberfinanzdirektion        17
7966 11      1120    Berlin Steglitz Schloßstr. 58/59       12165   Berlin  030/9024-20-0   030/9024-20-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fasteglitz@berlin.de    http://www.berlin.de/oberfinanzdirektion        18
7967 11      1121    Berlin Tempelhof        Tempelhofer Damm 234/236        12099   Berlin  030 9024-21-0   030 9024-21-900 12096                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fatempelhof@berlin.de   http://www.berlin.de/oberfinanzdirektion        19
7968 11      1123    Berlin Wedding  Osloer Straße 37       13359   Berlin  030 9024-23-0   030 9024-23-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fawedding@berlin.de     http://www.berlin.de/oberfinanzdirektion        20
7969 11      1124    Berlin Wilmersdorf      Blissestr. 5    10713   Berlin  030/9024-24-0   030/9024-24-900 10702                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fawilmersdorf@berlin.de http://www.berlin.de/oberfinanzdirektion        21
7970 11      1125    Berlin Zehlendorf       Martin-Buber-Str. 20/21 14163   Berlin  030 9024-25-0   030 9024-25-900 14160                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fazehlendorf@berlin.de  http://www.berlin.de/oberfinanzdirektion        22
7971 11      1127    Berlin für Körperschaften I   Gerichtstr. 27  13347   Berlin  030 9024-27-0   030 9024-27-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakoerperschaften1@berlin.de    http://www.berlin.de/oberfinanzdirektion        23
7972 11      1128    Berlin Pankow/Weißennsee - nur KFZ-Steuer -    Berliner Straße 32     13089   Berlin  030/4704-0      030/94704-1777  13083                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      pankow.weissensee@berlin.de     http://www.berlin.de/oberfinanzdirektion        24
7973 11      1129    Berlin für Körperschaften III Volkmarstr. 13  12099   Berlin  030/70102-0     030/70102-100           12068   420844  10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakoeperschaften3@berlin.de     http://www.berlin.de/oberfinanzdirektion        25
7974 11      1130    Berlin für Körperschaften IV  Magdalenenstr. 25       10365   Berlin  030 9024-30-0   030 9024-30-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakoeperschaften4@berlin.de     http://www.berlin.de/oberfinanzdirektion        26
7975 11      1131    Berlin Friedrichsh./Prenzb.     Pappelallee 78/79       10437   Berlin  030 9024-28-0   030 9024-28-900 10431                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fafriedrichshain.prenzlauerberg@berlin.de       http://www.berlin.de/oberfinanzdirektion        27
7976 11      1132    Berlin Lichtenb./Hohenschh.     Josef-Orlopp-Str. 62    10365   Berlin  030/5501-0      030/55012222    10358                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      falichtenberg.hohenschoenhausen@berlin.de       http://www.berlin.de/oberfinanzdirektion        28
7977 11      1133    Berlin Hellersdorf/Marzahn      Allee der Kosmonauten 29        12681   Berlin  030 9024-26-0   030 9024-26-900 12677                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fahellersdorf.marzahn@berlin.de http://www.berlin.de/oberfinanzdirektion        29
7978 11      1134    Berlin Mitte/Tiergarten Neue Jakobstr. 6-7      10179   Berlin  030 9024-22-0   030 9024-22-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      famitte.tiergarten@berlin.de    http://www.berlin.de/oberfinanzdirektion        30
7979 11      1135    Berlin Pankow/Weißensee        Berliner Straße 32     13089   Berlin  030/4704-0      030/47041777    13083                   10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      pankow.weissensee@berlin.de     http://www.berlin.de/oberfinanzdirektion        31
7980 11      1136    Berlin Treptow/Köpenick        Seelenbinderstr. 99     12555   Berlin  030 9024-12-0   030 9024-12-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fatreptow.koepenick@berlin.de   http://www.berlin.de/oberfinanzdirektion        32
7981 11      1137    Berlin für Körperschaften II  Magdalenenstr. 25       10365   Berlin  030 9024-29-0   030 9024-29-900                         10010010        691555100       POSTBANK BERLIN 10050000        6600046463      LBB GZ - BERLINER SPARKASSE     Mo und Fr 8:00 - 13:00, Do 11:00 - 18:00 Uhr und nach Vereinbarung      fakoeperschaften2@berlin.de     http://www.berlin.de/oberfinanzdirektion        33
7982 11      1138    Berlin für Fahndung und Strafsachen    Colditzstr. 41  12099   Berlin  030/70102-777   030/70102-700                                                                           Mo - Mi 10:00 - 14:00, Do 10:00 - 18:00, Fr 10:00 - 14:00 Uhr   fafahndung.strafsachen@berlin.de        http://www.berlin.de/oberfinanzdirektion        34
7983 1       2111    Bad Segeberg    Theodor-Storm-Str. 4-10 23795   Bad Segeberg    04551 54-0      04551 54-303    23792                   23000000        23001502        BBK LUEBECK     23051030        744     KR SPK SUEDHOLSTEIN BAD SEG     0830-1200 MO, DI, DO, FR, 1330-1630 DO                  35
7984 1       2112    Eckernförde    Bergstr. 50     24340   Eckernförde    04351 756-0     04351 83379             24331   1180    21000000        21001500        BBK KIEL        21092023        11511260        ECKERNFOERDER BANK VRB  0800-1200 MO-FR                 36
7985 1       2113    Elmshorn        Friedensallee 7-9       25335   Elmshorn        04121 481-0     04121 481-460   25333                   22200000        22201502        BBK KIEL EH ITZEHOE                             0800-1200 MO-FR                 37
7986 1       2114    Eutin   Robert-Schade-Str. 22   23701   Eutin   04521 704-0     04521 704-406           23691   160     23000000        23001505        BBK LUEBECK     21352240        4283    SPK OSTHOLSTEIN EUTIN   0830-1200 MO-FR, Nebenstelle Janusstr. 5 am Mo., Di, Do und Fr. 0830-1200, Do. 1330-1700                        38
7987 1       2115    Flensburg       Duburger Str. 58-64     24939   Flensburg       0461 813-0      0461 813-254            24905   1552    21500000        21501500        BBK FLENSBURG                           0800-1200 MO-FR                 39
7988 1       2116    Heide   Ernst-Mohr-Str. 34      25746   Heide   0481 92-1       0481 92-690     25734                   21500000        21701502        BBK FLENSBURG   22250020        60000123        SPK WESTHOLSTEIN        0800-1200 MO, DI, DO, FR, 1400-1700 DO                  40
7989 1       2117    Husum   Herzog-Adolf-Str. 18    25813   Husum   04841 8949-0    04841 8949-200          25802   1230    21500000        21701500        BBK FLENSBURG                           0800-1200 MO-FR                 41
7990 1       2118    Itzehoe         Fehrsstr. 5     25524   Itzehoe 04821 66-0      04821 661-499           25503   1344    22200000        22201500        BBK KIEL EH ITZEHOE                             0800-1200 MO, DI, DO, FR, 1400-1730 DO                  42
7991 1       2119    Kiel-Nord       Holtenauer Str. 183     24118   Kiel    0431 8819-0     0431 8819-1200  24094                   21000000        21001501        BBK KIEL        21050000        52001500        HSH NORDBANK KIEL       0800-1200 MO-FR 1430-1600 DI                    43
7992 1       2120    Kiel-Süd       Hopfenstr. 2a   24114   Kiel    0431 602-0      0431 602-1009   24095                   21000000        21001502        BBK KIEL        21050000        52001510        HSH NORDBANK KIEL       0800-1200 MO, DI, DO, FR, 1430-1730 DI                  44
7993 1       2121    Leck    Eesacker Str. 11 a      25917   Leck    04662 85-0      04662 85-266            25912   1240    21700000        21701501        BBK FLENSBURG EH HUSUM  21750000        80003569        NORD-OSTSEE SPK SCHLESWIG       0800-1200 MO-FR                 45
7994 1       2122    Lübeck         Possehlstr. 4   23560   Lübeck 0451 132-0      0451 132-501    23540                   23000000        23001500        BBK LUEBECK     21050000        7052000200      HSH NORDBANK KIEL       0730-1300 MO+DI 0730-1700 Do 0730-1200 Fr                       46
7995 1       2123    Meldorf         Jungfernstieg 1 25704   Meldorf 04832 87-0      04832 87-2508           25697   850     21500000        21701503        BBK FLENSBURG   21851830        106747  VERB SPK MELDORF        0800-1200 MO, DI, DO, FR, 1400-1700 MO                  47
7996 1       2124    Neumünster     Bahnhofstr. 9   24534   Neumünster     04321 496 0     04321 496-189   24531                   21000000        21001507        BBK KIEL                                0800-1200 MO-MI, FR 1400-1700 DO                        48
7997 1       2125    Oldenburg       Lankenstr. 1    23758   Oldenburg       04361 497-0     04361 497-125           23751   1155    23000000        23001504        BBK LUEBECK     21352240        51000396        SPK OSTHOLSTEIN EUTIN   0900-1200 MO-FR 1400-1600 MI                    49
7998 1       2126    Plön   Fünf-Seen-Allee 1      24306   Plön   04522 506-0     04522 506-2149          24301   108     21000000        21001503        BBK KIEL        21051580        2600    SPK KREIS PLOEN 0800-1200 MO, Di, Do, Fr, 1400-1700 Di                  50
7999 1       2127    Ratzeburg       Bahnhofsallee 20        23909   Ratzeburg       04541 882-01    04541 882-200   23903                   23000000        23001503        BBK LUEBECK     23052750        100188  KR SPK LAUENBURG RATZEBURG      0830-1230 MO, DI, DO, FR, 1430-1730 DO                  51
8000 1       2128    Rendsburg       Ritterstr. 10   24768   Rendsburg       04331 598-0     04331 598-2770          24752   640     21000000        21001504        BBK KIEL        21450000        1113    SPK MITTELHOLSTEIN RENDSBG      0730-1200 MO-FR                 52
8001 1       2129    Schleswig       Suadicanistr. 26-28     24837   Schleswig       04621 805-0     04621 805-290           24821   1180    21500000        21501501        BBK FLENSBURG   21690020        91111   VOLKSBANK RAIFFEISENBANK        0800-1200 MO, DI, DO, FR, 1430-1700 DO                  53
8002 1       2130    Stormarn        Berliner Ring 25        23843   Bad Oldesloe    04531 507-0     04531 507-399   23840                   23000000        23001501        BBK LUEBECK     23051610        20503   SPK BAD OLDESLOE        0830-1200 MO-FR                 54
8003 1       2131    Pinneberg       Friedrich-Ebert-Str. 29 25421   Pinneberg       04101 5472-0    04101 5472-680          25404   1451    22200000        22201503        BBK KIEL EH ITZEHOE                             0800-1200 MO-FR                 55
8004 1       2132    Bad Segeberg / Außenst.Norderstedt     Europaallee 22  22850   Norderstedt     040 523068-0    040 523068-70                           23000000        23001502        BBK LUEBECK     23051030        744     KR SPK SUEDHOLSTEIN BAD SEG     0830-1200 MO, DI, DO, FR, 1330-1630 DO                  56
8005 2       2201    Hamburg Steuerkasse     Steinstraße 10 20095   Hamburg 040/42853-03    040/42853-2159          20041   106026  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerSteuererhebung@finanzamt.hamburg.de              57
8006 2       2210    Hamburg f.VerkSt.u.Grundbes-10  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6199          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              63
8007 2       2216    Hamburg f.VerkSt.u.Grundbes-16  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6199          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              65
8008 2       2217    Hamburg-Mitte-Altstadt 17       Wendenstraße 35 b      20097   Hamburg 040/42853-06    040/42853-6671          20503   261338  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgMitteAltstadt@finanzamt.hamburg.de            66
8009 2       2220    Hamburg f.VerkSt.u.Grundbes-20  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6599          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              67
8010 2       2224    Hamburg-Mitte-Altstadt  Wendenstr. 35 b 20097   Hamburg 040/42853-06    040/42853-6671          20503   261338  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgMitteAltstadt@finanzamt.hamburg.de            69
8011 2       2225    Hamburg-Neustadt-St.Pauli       Steinstraße 10 20095   Hamburg 040/42853-02    040/42853-2106          20015   102246  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgNeustadt@finanzamt.hamburg.de         70
8012 2       2227    Hamburg für Großunternehmen   Amsinckstr. 40  20097   Hamburg 040/42853-05    040/42853-5559          20015   102205  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerGroßunternehmen@finanzamt.hamburg.de            72
8013 2       2228    Hamburg Neust.-St.Pauli-28      Steinstr. 10    20095   Hamburg 040/42853-3589  040/42853-2106          20015   102246  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgNeustadt@finanzamt.hamburg.de         73
8014 2       2230    Hamburg f.Verkehrst.u.Grundbes  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6799          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              74
8015 2       2235    Hamburg f.VerkSt.u.Grundbes-35  Gorch-Fock-Wall 11      20355   Hamburg 040/42843-60    040/42843-6199          20306   301721  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAfuerVerkehrsteuern@finanzamt.hamburg.de              75
8016 3       2311    Alfeld (Leine)  Ravenstr.10     31061   Alfeld  05181/7050      05181/705240            31042   1244    25000000        25901505        BBK HANNOVER    25950130        10011102        KR SPK HILDESHEIM       Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-alf.niedersachsen.de      www.ofd.niedersachsen.de        79
8017 3       2312    Bad Gandersheim         Alte Gasse 24   37581   Bad Gandersheim 05382/760       (05382) 76-213 + 204            37575   1180    26000000        26001501        BBK GOETTINGEN  25050000        22801005        NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-gan.niedersachsen.de      www.ofd.niedersachsen.de        80
8018 3       2313    Braunschweig-Altewiekring       Altewiekring 20 38102   Braunschweig    0531/7050       0531/705309             38022   3229    27000000        27001501        BBK BRAUNSCHWEIG        25050000        2498020 NORD LB HANNOVER        Mo. - Fr. 8.00 - 12.00 Uhr, Mo. 14.00 - 17.00 Uhr       Poststelle@fa-bs-a.niedersachsen.de     www.ofd.niedersachsen.de        81
8019 3       2314    Braunschweig-Wilhelmstr.        Wilhelmstr. 4   38100   Braunschweig    0531/4890       0531/489224             38022   3249    27000000        27001502        BBK BRAUNSCHWEIG        25050000        811422  NORD LB HANNOVER        Mo. - Fr. 8.00 - 12.00 Uhr, Mo. 14.00 - 17.00 Uhr       Poststelle@fa-bs-w.niedersachsen.de     www.ofd.niedersachsen.de        82
8020 3       2315    Buchholz in der Nordheide       Bgm.-A.-Meyer-Str. 5    21244   Buchholz        04181/2030      (04181) 203-4444                21232   1262    20000000        20001520        BBK HAMBURG     20750000        3005063 SPK HARBURG-BUXTEHUDE   Mo. - Fr. 8.00 - 12.00 Uhr , Do. 14.00 - 17.00 Uhr      Poststelle@fa-buc.niedersachsen.de      www.ofd.niedersachsen.de        83
8021 3       2316    Burgdorf        V.d.Hannov. Tor 30      31303   Burgdorf        05136/8060      05136/806144    31300                   25000000        25001515        BBK HANNOVER    25050180        1040400010      SPARKASSE HANNOVER      Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-bu.niedersachsen.de       www.ofd.niedersachsen.de        84
8022 3       2317    Celle   Sägemühlenstr. 5      29221   Celle   (05141) 915-0   05141/915666            29201   1107    25000000        25701511        BBK HANNOVER    25750001        59      SPARKASSE CELLE Mo. - Fr. 8.00 - 12.00 Uhr , Do. 14.00 - 17.00 Uhr      Poststelle@fa-ce.niedersachsen.de       www.ofd.niedersachsen.de        85
8023 3       2318    Cuxhaven        Poststr. 81     27474   Cuxhaven        (04721) 563-0   04721/563313            27452   280     29000000        24101501        BBK BREMEN      24150001        100503  ST SPK CUXHAVEN Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-cux.niedersachsen.de      www.ofd.niedersachsen.de        86
8024 3       2319    Gifhorn         Braunschw. Str. 6-8     38518   Gifhorn 05371/8000      05371/800241            38516   1249    27000000        27001503        BBK BRAUNSCHWEIG        26951311        11009958        SPK GIFHORN-WOLFSBURG   Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00   Poststelle@fa-gf.niedersachsen.de       www.ofd.niedersachsen.de        87
8025 3       2320    Göttingen      Godehardstr. 6  37073   Göttingen      0551/4070       0551/407449     37070                   26000000        26001500        BBK GOETTINGEN  26050001        91      SPARKASSE GOETTINGEN    Servicecenter: Mo., Di., Mi. und Fr. 8.00 - 12.00 u. Do. 8.00 - 17.00 Uhr,      Poststelle@fa-goe.niedersachsen.de      www.ofd.niedersachsen.de        88
8026 3       2321    Goslar  Wachtelpforte 40        38644   Goslar  05321/5590      05321/559200            38604   1440    27000000        27001505        BBK BRAUNSCHWEIG        26850001        2220    SPARKASSE GOSLAR/HARZ   Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-gs.niedersachsen.de       www.ofd.niedersachsen.de        89
8027 3       2322    Hameln  Süntelstraße 2        31785   Hameln  05151/2040      05151/204200            31763   101325  25000000        25401511        BBK HANNOVER    25450001        430     ST SPK HAMELN   Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-hm.niedersachsen.de       www.ofd.niedersachsen.de        90
8028 3       2323    Hannover-Land I         Göttinger Chaus. 83A   30459   Hannover        (0511) 419-1    0511/4192269            30423   910320  25000000        25001512        BBK HANNOVER    25050000        101342434       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-h-l1.niedersachsen.de     www.ofd.niedersachsen.de        91
8029 3       2324    Hannover-Mitte  Lavesallee 10   30169   Hannover        0511/16750      0511/1675277            30001   143     25000000        25001516        BBK HANNOVER    25050000        101341816       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhrund nach Vereinbarung  Poststelle@fa-h-mi.niedersachsen.de     www.ofd.niedersachsen.de        92
8030 3       2325    Hannover-Nord   Vahrenwalder Str.206    30165   Hannover        0511/67900      (0511) 6790-6090                30001   167     25000000        25001514        BBK HANNOVER    25050000        101342426       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-h-no.niedersachsen.de     www.ofd.niedersachsen.de        93
8031 3       2326    Hannover-Süd   Göttinger Chaus. 83B   30459   Hannover        0511/4191       0511/4192575            30423   910355  25000000        25001517        BBK HANNOVER    25050000        101342400       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-h-su.niedersachsen.de     www.ofd.niedersachsen.de        94
8032 3       2327    Hannover-Land II        Vahrenwalder Str.208    30165   Hannover        0511/67900      (0511) 6790-6633                30001   165     25000000        25001520        BBK HANNOVER    25050000        101342517       NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-h-l2.niedersachsen.de     www.ofd.niedersachsen.de        95
8033 3       2328    Helmstedt       Ernst-Koch-Str.3        38350   Helmstedt       05351/1220      (05351) 122-299         38333   1320    27000000        27101500        BBK BRAUNSCHWEIG        25050000        5801006 NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-he.niedersachsen.de       www.ofd.niedersachsen.de        96
8034 3       2329    Herzberg am Harz        Sieberstr. 1    37412   Herzberg        05521/8570      05521/857220            37401   1153    26000000        26001502        BBK GOETTINGEN  26351015        1229327 SPARKASSE IM KREIS OSTERODE     Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-hz.niedersachsen.de       www.ofd.niedersachsen.de        97
8035 3       2330    Hildesheim      Kaiserstrasse 47        31134   Hildesheim      05121/3020      05121/302480            31104   100455  25000000        25901500        BBK HANNOVER    25950130        5555    KR SPK HILDESHEIM       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-hi.niedersachsen.de       www.ofd.niedersachsen.de        98
8036 3       2331    Holzminden      Ernst-August-Str.30     37603   Holzminden      05531/1220      05531/122100            37601   1251    25000000        25401512        BBK HANNOVER    25050000        27811140        NORD LB HANNOVER        Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-hol.niedersachsen.de      www.ofd.niedersachsen.de        99
8037 3       2332    Lüchow         Mittelstr.5     29439   Lüchow (05841) 963-0   05841/963170            29431   1144    24000000        25801503        BBK LUENEBURG   25851335        2080000 KR SPK LUECHOW-DANNENBERG       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-luw.niedersachsen.de      www.ofd.niedersachsen.de        100
8038 3       2333    Lüneburg       Am Alt. Eisenwerk 4a    21339   Lüneburg       04131/3050      04131/305915    21332                   24000000        24001500        BBK LUENEBURG   24050110        18      SPK LUENEBURG   Mo. - Fr. 8.00-12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung   Poststelle@fa-lg.niedersachsen.de       www.ofd.niedersachsen.de        101
8039 3       2334    Nienburg/Weser  Schloßplatz 10 31582   Nienburg        05021/8011      05021/801300            31580   2000    25000000        25601500        BBK HANNOVER    25650106        302224  SPARKASSE NIENBURG      Mo. - Fr. 7.30 - 12.00 Uhr und nach Vereinbarung, zusätzl. Arbeitnehmerbereich: Do. 14 -       Poststelle@fa-ni.niedersachsen.de       www.ofd.niedersachsen.de        102
8040 3       2335    Northeim        Graf-Otto-Str. 31       37154   Northeim        05551/7040      05551/704221            37142   1261    26000000        26201500        BBK GOETTINGEN  26250001        208     KR SPK NORTHEIM Mo. - Fr. 8.30 - 12.30 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-nom.niedersachsen.de      www.ofd.niedersachsen.de        103
8041 3       2336    Osterholz-Scharmbeck    Pappstraße 2   27711   Osterholz-Scharmbeck    04791/3020      04791/302101            27701   1120    29000000        29001523        BBK BREMEN      29152300        202622  KR SPK OSTERHOLZ        Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-ohz.niedersachsen.de      www.ofd.niedersachsen.de        104
8042 3       2338    Peine   Duttenstedt.Str. 106    31224   Peine   05171/4070      05171/407199    31221                   27000000        27001507        BBK BRAUNSCHWEIG        25250001        75003210        KR SPK PEINE    Mo. - Mi. Fr. 9.00 - 12.00, Do. 13.30 - 16.00 UhrDo. (Infothek) 13.30 - Poststelle@fa-pe.niedersachsen.de       www.ofd.niedersachsen.de        105
8043 3       2340    Rotenburg (Wümme)      Hoffeldstr. 5   27356   Rotenburg       04261/740       04261/74108             27342   1260    29000000        29001522        BBK BREMEN      24151235        26106377        SPK ROTENBURG-BREMERVOERDE      Mo. - Mi., Fr. 8.00 - 12.00 Uhr, Do. 8.00 - 17.30       Poststelle@fa-row.niedersachsen.de      www.ofd.niedersachsen.de        106
8044 3       2341    Soltau  Rühberg 16 - 20        29614   Soltau  05191/8070      05191/807144            29602   1243    24000000        25801502        BBK LUENEBURG   25851660        100016  KR SPK SOLTAU   Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-sol.niedersachsen.de      www.ofd.niedersachsen.de        107
8045 3       2342    Hannover-Land I Außenstelle Springe    Bahnhofstr. 28  31832   Springe 05041/7730      05041/77363             31814   100255  25000000        25001512        BBK HANNOVER    25050180        3001000037      SPARKASSE HANNOVER      Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-ast-spr.niedersachsen.de  www.ofd.niedersachsen.de        108
8046 3       2343    Stade   Harburger Str. 113      21680   Stade   (04141) 536-0   (04141) 536-499 21677                   24000000        24001560        BBK LUENEBURG   24151005        42507   SPK STADE-ALTES LAND    Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-std.niedersachsen.de      www.ofd.niedersachsen.de        109
8047 3       2344    Stadthagen      Schloß 31655   Stadthagen      05721/7050      05721/705250    31653                   49000000        49001502        BBK MINDEN, WESTF       25551480        470140401       SPARKASSE SCHAUMBURG    Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-shg.niedersachsen.de      www.ofd.niedersachsen.de        110
8048 3       2345    Sulingen        Hindenburgstr. 16       27232   Sulingen        04271/870       04271/87289             27226   1520    29000000        29001516        BBK BREMEN      25651325        30101430        KR SPK DIEPHOLZ Mo., Mi., Do. und Fr. 8.00 - 12.00 Uhr, Di. 8.00 - 17.00 Uhr    Poststelle@fa-su.niedersachsen.de       www.ofd.niedersachsen.de        111
8049 3       2346    Syke    Bürgerm.-Mävers-Str. 15       28857   Syke    04242/1620      04242/162423            28845   1164    29000000        29001515        BBK BREMEN      29151700        1110044557      KREISSPARKASSE SYKE     Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-sy.niedersachsen.de       www.ofd.niedersachsen.de        112
8050 3       2347    Uelzen  Am Königsberg 3        29525   Uelzen  0581/8030       0581/803404             29504   1462    24000000        25801501        BBK LUENEBURG   25850110        26      SPARKASSE UELZEN        Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-ue.niedersachsen.de       www.ofd.niedersachsen.de        113
8051 3       2348    Verden (Aller)  Bremer Straße 4        27283   Verden  04231/9190      04231/919310            27263   1340    29000000        29001517        BBK BREMEN      29152670        10000776        KR SPK VERDEN   Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-ver.niedersachsen.de      www.ofd.niedersachsen.de        114
8052 3       2349    Wesermünde     Borriesstr. 50  27570   Bremerhaven     0471/1830       0471/183119             27503   100369  29000000        29201501        BBK BREMEN      29250150        100103200       KR SPK WESERMUENDE-HADELN       Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-wem.niedersachsen.de      www.ofd.niedersachsen.de        115
8053 3       2350    Winsen (Luhe)   Von-Somnitz-Ring 6      21423   Winsen  04171/6560      (04171) 656-115         21413   1329    24000000        24001550        BBK LUENEBURG   20750000        7051519 SPK HARBURG-BUXTEHUDE   Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 18.00 Uhr und nach Vereinbarung Poststelle@fa-wl.niedersachsen.de       www.ofd.niedersachsen.de        116
8054 3       2351    Wolfenbüttel   Jägerstr. 19   38304   Wolfenbüttel   05331/8030      (05331) 803-113/266     38299                   27000000        27001504        BBK BRAUNSCHWEIG        25050000        9801002 NORD LB HANNOVER        Mo. - Fr. 8.00 - 12.00 Uhr, Mi. 14.00 - 17.00 Uhr       Poststelle@fa-wf.niedersachsen.de       www.ofd.niedersachsen.de        117
8055 3       2352    Zeven   Kastanienweg 1  27404   Zeven   04281/7530      04281/753290            27392   1259    29000000        29201503        BBK BREMEN      24151235        404350  SPK ROTENBURG-BREMERVOERDE      Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-zev.niedersachsen.de      www.ofd.niedersachsen.de        118
8056 3       2353    Papenburg       Große Straße 32       26871   Aschendorf      04962/5030      04962/503222            26883   2264    28000000        28501512        BBK OLDENBURG (OLDB)    26650001        1020007 SPK EMSLAND     Mo. - Fr. 9.00 - 12.00 Uhr, Mi. 14.00 - 17.00 Uhr       Poststelle@fa-pap.niedersachsen.de      www.ofd.niedersachsen.de        119
8057 3       2354    Aurich  Hasseburger Str. 3      26603   Aurich  04941/1750      04941/175152            26582   1260    28000000        28501514        BBK OLDENBURG (OLDB)    28350000        90001   SPK AURICH-NORDEN       Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-aur.niedersachsen.de      www.ofd.niedersachsen.de        120
8058 3       2355    Bad Bentheim    Heinrich-Böll-Str. 2   48455   Bad Bentheim    05922/970-0     05922/970-2000          48443   1262    26500000        26601501        BBK OSNABRUECK  26750001        1000066 KR SPK NORDHORN Mo. - Fr. 9.00 - 12.00 Uhr, Do 14.00 - 15.30 Uhr        Poststelle@fa-ben.niedersachsen.de      www.ofd.niedersachsen.de        121
8059 3       2356    Cloppenburg     Bahnhofstr. 57  49661   Cloppenburg     04471/8870      04471/887477            49646   1680    28000000        28001501        BBK OLDENBURG (OLDB)    28050100        80402100        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-clp.niedersachsen.de      www.ofd.niedersachsen.de        122
8060 3       2357    Delmenhorst     Fr.-Ebert-Allee 15      27749   Delmenhorst     04221/1530      04221/153126    27747                   29000000        29001521        BBK BREMEN      28050100        30475669        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 9.00 - 12.00 Uhr, Di. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-del.niedersachsen.de      www.ofd.niedersachsen.de        123
8061 3       2358    Emden   Ringstr. 5      26721   Emden   (04921) 934-0   (04921) 934-499         26695   1553    28000000        28401500        BBK OLDENBURG (OLDB)    28450000        26      SPARKASSE EMDEN Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-emd.niedersachsen.de      www.ofd.niedersachsen.de        124
8062 3       2360    Leer (Ostfriesland)     Edzardstr. 12/16        26789   Leer    (0491) 9870-0   0491/9870209    26787                   28000000        28501511        BBK OLDENBURG (OLDB)    28550000        849000  SPARKASSE LEER-WEENER   Mo. - Fr. 8.00 - 12.00 Uhr, nur Infothek: Mo., Do. 14.00 - 17.30 Uhr    Poststelle@fa-ler.niedersachsen.de      www.ofd.niedersachsen.de        125
8063 3       2361    Lingen (Ems)    Mühlentorstr. 14       49808   Lingen  0591/91490      0591/9149468            49784   1440    26500000        26601500        BBK OSNABRUECK  26650001        2402    SPK EMSLAND     Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr und nach Vereinbarung Poststelle@fa-lin.niedersachsen.de      www.ofd.niedersachsen.de        126
8064 3       2362    Norden  Mühlenweg 20   26506   Norden  04931/1880      04931/188196            26493   100360  28000000        28501515        BBK OLDENBURG (OLDB)    28350000        1115    SPK AURICH-NORDEN       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-nor.niedersachsen.de      www.ofd.niedersachsen.de        127
8065 3       2363    Nordenham       Plaatweg 1      26954   Nordenham       04731/8700      04731/870100            26942   1264    28000000        28001504        BBK OLDENBURG (OLDB)    28050100        63417000        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 8.30 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-nhm.niedersachsen.de      www.ofd.niedersachsen.de        128
8066 3       2364    Oldenburg (Oldenburg)   91er Straße 4  26121   Oldenburg       0441/2381       (0441) 238-201/2/3              26014   2445    28000000        28001500        BBK OLDENBURG (OLDB)    28050100        423301  LANDESSPARKASSE OLDENBURG       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-ol.niedersachsen.de       www.ofd.niedersachsen.de        129
8067 3       2365    Osnabrück-Land         Hannoversche Str. 12    49084   Osnabrück      0541/58420      0541/5842450            49002   1280    26500000        26501501        BBK OSNABRUECK  26552286        110007  KREISSPARKASSE MELLE    Mo., Mi., Do. u. Fr. 8.00 - 12.00 Uhr, Di. 12.00 - 17.00 Uhr    Poststelle@fa-os-l.niedersachsen.de     www.ofd.niedersachsen.de        130
8068 3       2366    Osnabrück-Stadt        Süsterstr. 46/48       49074   Osnabrück      0541/3540       (0541) 354-312          49009   1920    26500000        26501500        BBK OSNABRUECK  26550105        19000   SPARKASSE OSNABRUECK    Mo. - Mi., Fr. 8.00 - 12.00 Uhr, nur Infothek: Do. 12.00 - 17.00 Uhr    Poststelle@fa-os-s.niedersachsen.de     www.ofd.niedersachsen.de        131
8069 3       2367    Quakenbrück    Lange Straße 37        49610   Quakenbrück    05431/1840      05431/184101            49602   1261    26500000        26501503        BBK OSNABRUECK  26551540        18837179        KR SPK BERSENBRUECK     Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-qua.niedersachsen.de      www.ofd.niedersachsen.de        132
8070 3       2368    Vechta  Rombergstr. 49  49377   Vechta  04441/180       (04441) 18-100  49375                   28000000        28001502        BBK OLDENBURG (OLDB)    28050100        70400049        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 8.30 - 12.00 Uhr, Mo. 14.00 - 16.00 Uhr,Mi. 14.00 - 17.00     Poststelle@fa-vec.niedersachsen.de      www.ofd.niedersachsen.de        133
8071 3       2369    Westerstede     Ammerlandallee 14       26655   Westerstede     04488/5150      04488/515444    26653                   28000000        28001503        BBK OLDENBURG (OLDB)    28050100        40465007        LANDESSPARKASSE OLDENBURG       Mo. - Fr. 9.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-wst.niedersachsen.de      www.ofd.niedersachsen.de        134
8072 3       2370    Wilhelmshaven   Rathausplatz 3  26382   Wilhelmshaven   04421/1830      04421/183111            26354   1462    28000000        28201500        BBK OLDENBURG (OLDB)    28250110        2117000 SPARKASSE WILHELMSHAVEN Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-whv.niedersachsen.de      www.ofd.niedersachsen.de        135
8073 3       2371    Wittmund        Harpertshausen.Str.2    26409   Wittmund        04462/840       04462/84195             26398   1153    28000000        28201502        BBK OLDENBURG (OLDB)                            Mo. - Fr. 8.00 - 12.00 Uhr, Do. 14.00 - 17.00 Uhr       Poststelle@fa-wtm.niedersachsen.de      www.ofd.niedersachsen.de        136
8074 3       2380    Braunschweig für Großbetriebsprüfung Theodor-Heuss-Str.4a    38122   Braunschweig    0531/80970      (0531) 8097-333         38009   1937                                                    nach Vereinbarung       Poststelle@fa-gbp-bs.niedersachsen.de   www.ofd.niedersachsen.de        137
8075 3       2381    Göttingen für Großbetriebsprüfung   Godehardstr. 6  37073   Göttingen      0551/4070       (0551) 407-448                                                                                  Poststelle@fa-gbp-goe.niedersachsen.de  www.ofd.niedersachsen.de        138
8076 3       2382    Hannover I für Großbetriebsprüfung   Bischofsholer Damm 15   30173   Hannover        (0511) 8563-01  (0511) 8563-195                                                                                 Poststelle@fa-gbp-h1.niedersachsen.de   www.ofd.niedersachsen.de        139
8077 3       2383    Hannover II für Großbetriebsprüfung  Bischofsholer Damm 15   30173   Hannover        (0511) 8563-02  (0511) 8563-250         30019   1927                                                            Poststelle@fa-gbp-h2.niedersachsen.de   www.ofd.niedersachsen.de        140
8078 3       2384    Stade für Großbetriebsprüfung        Am Ã„rztehaus 12        21680   Stade   (04141) 602-0   (04141) 602-60                                                                                  Poststelle@fa-gbp-std.niedersachsen.de  www.ofd.niedersachsen.de        141
8079 3       2385    Oldenburg für Großbetriebsprüfung    Georgstr. 36    26121   Oldenburg       0441/2381       (0441) 238-522          26014   2445                                                            Poststelle@fa-gbp-ol.niedersachsen.de   www.ofd.niedersachsen.de        142
8080 3       2386    Osnabrück für Großbetriebsprüfung   Johann-Domann-Str. 6    49080   Osnabrück      (0541) 503 800  (0541) 503 888                                                                                  Poststelle@fa-gbp-os.niedersachsen.de   www.ofd.niedersachsen.de        143
8081 3       2390    Braunschweig für Fahndung und Strafsachen      Rudolf-Steiner-Str. 1   38120   Braunschweig    0531/28510      (0531) 2851-150         38009   1931                                                    nach Vereinbarung       Poststelle@fa-fust-bs.niedersachsen.de  www.ofd.niedersachsen.de        144
8082 3       2391    Hannover für Fahndung und Strafsachen  Göttinger Chaus. 83B   30459   Hannover        (0511) 419-1    (0511) 419-2988         30430   911007                                                          Poststelle@fa-fust-h.niedersachsen.de   www.ofd.niedersachsen.de        145
8083 3       2392    Lüneburg für Fahndung und Strafsachen Horst-Nickel-Str. 6     21337   Lüneburg       (04131) 8545-600        (04131) 8545-698                21305   1570                                                            Poststelle@fa-fust-lg.niedersachsen.de  www.ofd.niedersachsen.de        146
8084 3       2393    Oldenburg für Fahndung und Strafsachen Cloppenburger Str. 320  26133   Oldenburg       (0441) 9401-0   (0441) 9401-200         26014   2442                                                            Poststelle@fa-fust-ol.niedersachsen.de  www.ofd.niedersachsen.de        147
8085 4       2457    Bremen-Mitte Bewertung  Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-2725   0421 322-2878           28079   10 79 67        29050000        1070110002      BREMER LANDESBANK BREMEN        29050101        109 0901        SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtMitte.bremen.de         148
8086 4       2471    Bremen-Mitte    Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-2725   0421 322-2878   28187   28079   10 79 67        29000000        29001512        BBK BREMEN      29050101        1090646 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtMitte.bremen.de         149
8087 4       2472    Bremen-Ost      Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-3005   0421 322-3178           28057   10 57 09        29000000        29001513        BBK BREMEN      29050101        1090612 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtOst.bremen.de           150
8088 4       2473    Bremen-West     Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-3422   0421 322-3478           28057   10 57 29        29000000        29001514        BBK BREMEN      29050101        1090638 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtWest.bremen.de          151
8089 6       2618    Fulda   Königstraße 2 36037   Fulda   0661/924-01     0661/924-1606           36003   1346    53000000        53001500        BBK KASSEL EH FULDA     53050180        49009   SPARKASSE FULDA Mo-Mi 8:00-15:30, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Fulda.de   www.Finanzamt-Fulda.de  177
8090 4       2474    Bremen-Nord     Gerhard-Rohlfs-Str. 32  28757   Bremen  0421 6607-1     0421 6607-300           28734   76 04 34        29000000        29001518        BBK BREMEN      29050101        5016001 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-14:00     office@FinanzamtNord.bremen.de          152
8091 4       2475    Bremerhaven     Schifferstr. 2-8        27568   Bremerhaven     0471 486-1      0471 486-370            27516   12 02 42        29200000        29201500        BBK BREMEN EH BREMERHAVEN       29250000        1100068 STE SPK BREMERHAVEN     Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtBremerhaven.bremen.de           153
8092 4       2476    Bremen-Mitte KraftfahrzeugSt    Schillerstr. 22 28195   Bremen  0421 322-2725   0421 322-2878           28079   107967  29000000        29001512        BBK BREMEN      29050101         109 0646       SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtMitte.bremen.de         154
8093 4       2477    Bremerhaven Bewertung   Schifferstr. 2 - 8      27568   Bremerhaven     0471 486-1      0471 486-370            27516   12 02 42        29200000        29201500        BBK BREMEN EH BREMERHAVEN       29250000        1100068 STE SPK BREMERHAVEN     Zentrale Informations- und Annahmestelle Mo+Do 08.00-18.00/Di+Mi 08.00-16.00/Fr 08.00-15.00     office@FinanzamtBremerhaven.bremen.de           155
8094 4       2478    Bremen für Großbetriebsprüfung       Schillerstr. 6-7        28195   Bremen  0421 322-4019   0421 322-4078           28057   10 57 69                                                        nach Vereinbarung                       156
8095 4       2482    Bremen-Ost Arbeitnehmerbereich  Rudolf-Hilferding-Platz 1       28195   Bremen  0421 322-3005   0421 322-3178           28057   10 57 09        29000000        29001513        BBK BREMEN      29050101        1090612 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtOst.bremen.de           157
8096 4       2484    Bremen-Nord Arbeitnehmerbereic  Gerhard-Rohlfs-Str. 32  28757   Bremen  0421 6607-1     0421 6607-300           28734   76 04 34        29000000        29001518        BBK BREMEN      29050101        5016001 SPK BREMEN      Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-14:00     office@FinanzamtNord.bremen.de          158
8097 4       2485    Bremerhaven Arbeitnehmerbereic  Schifferstr. 2-8        27568   Bremerhaven     0471 486-1      0471 486-370            27516   12 02 42        29200000        29201500        BBK BREMEN EH BREMERHAVEN       29250000        1100068 STE SPK BREMERHAVEN     Zentrale Informations- und Annahmestelle Mo+Do 08:00-18:00,Di+Mi 08:00-16:00,Fr 08:00-15:00     office@FinanzamtBremerhaven.bremen.de           159
8098 6       2601    Alsfeld-Lauterbach Verwaltungsstelle Alsfeld    In der Rambach 11       36304   Alsfeld 06631/790-0     06631/790-555           36292   1263    51300000        51301504        BBK GIESSEN     53051130        1022003 SPARKASSE VOGELSBERGKREIS       Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Alsfeld-Lauterbach.de      www.Finanzamt-Alsfeld-Lauterbach.de     160
8099 6       2602    Hersfeld-Rotenburg Verwaltungsstelle Bad Hersfeld       Im Stift 7      36251   Bad Hersfeld    06621/933-0     06621/933-333           36224   1451    53200000        53201500        BBK KASSEL EH BAD HERSFELD      53250000        1000016 SPK BAD HERSFELD-ROTENBURG      Mo u. Do 8:00-12:00, Di 14:00-18:00 Uhr poststelle@Finanzamt-Hersfeld-Rotenburg.de      www.Finanzamt-Hersfeld-Rotenburg.de     161
8100 6       2604    Rheingau-Taunus Verwaltungsst. Bad Schwalbach   Emser Str.27a   65307   Bad Schwalbach  06124/705-0     06124/705-400           65301   1165    51000000        51001502        BBK WIESBADEN   51050015        393000643       NASS SPK WIESBADEN      Mo-Mi 8:00-15:30, Do 13:30-18:00, Fr 8:00-12:00 Uhr     poststelle@Rheingau-Taunus.de   www.Finanzamt-Rheingau-Taunus.de        163
8101 6       2605    Bensheim        Berliner Ring 35        64625   Bensheim        06251/15-0      06251/15-267            64603   1351    50800000        50801510        BBK DARMSTADT   50950068        1040005 SPARKASSE BENSHEIM      Mo-Mi 8:00-15:30, Do 13:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Bensheim.de        www.Finanzamt-Bensheim.de       164
8102 6       2606    Marburg-Biedenkopf Verwaltungsstelle Biedenkopf Im Feldchen 2   35216   Biedenkopf      06421/698-0     06421/698-109                           51300000        51301514        BBK GIESSEN     53350000        110027303       SPK MARBURG-BIEDENKOPF  Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06461/709-0  poststelle@Finanzamt-Marburg-Biedenkopf.de      www.Finanzamt-Marburg-Biedenkopf.de     165
8103 6       2607    Darmstadt       Soderstraße 30 64283   Darmstadt       06151/102-0     06151/102-1262  64287   64219   110465  50800000        50801500        BBK DARMSTADT   50850049        5093005006      LD BK GZ DARMSTADT      Mo-Mi 8:00-15:30, Do 8:00-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Darmstadt.de       www.Finanzamt-Darmstadt.de      166
8104 6       2608    Dieburg         Marienstraße 19        64807   Dieburg 06071/2006-0    06071/2006-100          64802   1209    50800000        50801501        BBK DARMSTADT   50852651        33211004        SPARKASSE DIEBURG       Mo-Mi 7:30-15:30, Do 13:30-18:00, Fr 7:30-12:00 Uhr     poststelle@Finanzamt-Dieburg.de www.Finanzamt-Dieburg.de        167
8105 6       2609    Dillenburg      Wilhelmstraße 9        35683   Dillenburg      02771/908-0     02771/908-100           35663   1362    51300000        51301509        BBK GIESSEN     51650045        18      BEZ SPK DILLENBURG      Mo-Mi 8:00-15:30, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Dillenburg.de      www.Finanzamt-Dillenburg.de     168
8106 6       2610    Eschwege-Witzenhausen Verwaltungsstelle Eschwege        Schlesienstraße 2      37269   Eschwege        05651/926-5     05651/926-720   37267   37252   1280    52000000        52001510        BBK KASSEL      52250030        18      SPARKASSE WERRA-MEISSNER        Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Eschwege-Witzenhausen.de   www.Finanzamt-Eschwege-Witzenhausen.de  169
8107 6       2611    Korbach-Frankenberg Verwaltungsstelle Frankenberg       Geismarer Straße 16    35066   Frankenberg     05631/563-0     05631/563-888                           51300000        51301513        BBK GIESSEN     52350005        5001557 SPK WALDECK-FRANKENBERG Mo, Di u. Do 8:00-15:30, Mi 13:30-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Korbach-Frankenberg.de     www.Finanzamt-Korbach-Frankenberg.de    170
8108 6       2612    Frankfurt am Main II    Gutleutstraße 122      60327   Frankfurt       069/2545-02     069/2545-2999           60305   110862  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo-Mi 8:00-15:30, Do 13:30-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Frankfurt-2.de     www.Finanzamt-Frankfurt-am-Main.de      171
8109 6       2613    Frankfurt am Main I     Gutleutstraße 124      60327   Frankfurt       069/2545-01     069/2545-1999           60305   110861  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo-Mi 8:00-15:30, Do 13:30-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Frankfurt-1.de     www.Finanzamt-Frankfurt-am-Main.de      172
8110 6       2614    Frankfurt am Main IV    Gutleutstraße 118      60327   Frankfurt       069/2545-04     069/2545-4999           60305   110864  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Frankfurt-4.de     www.Finanzamt-Frankfurt-am-Main.de      173
8111 6       2615    Frankfurt/M. V-Höchst Verwaltungsstelle Höchst        Hospitalstraße 16 a    65929   Frankfurt       069/2545-05     069/2545-5999                           50000000        50001502        BBK FILIALE FRANKFURT MAIN      50050201        608604  FRANKFURTER SPK FRANKFURT       Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr Telefon Verwaltungsstelle: 069/30830-0  poststelle@Finanzamt-Frankfurt-5-Hoechst.de     www.Finanzamt-Frankfurt-am-Main.de      174
8112 6       2616    Friedberg (Hessen)      Leonhardstraße 10 - 12 61169   Friedberg       06031/49-1      06031/49-333            61143   100362  51300000        51301506        BBK GIESSEN     51850079        50000400        SPARKASSE WETTERAU      Di 8:00-12:00, Do 14:00-18:00, Fr 8:00-12:00 Uhr        poststelle@Finanzamt-Friedberg.de       www.Finanzamt-Friedberg.de      175
8113 6       2617    Bensheim Außenstelle Fürth    Erbacher Straße 23     64658   Fürth  06253/206-0     06253/206-10            64654   1154    50800000        50801510        BBK DARMSTADT   50950068        1040005 SPARKASSE BENSHEIM              poststelle@Finanzamt-Bensheim.de        www.Finanzamt-Bensheim.de       176
8114 6       2619    Gelnhausen      Frankfurter Straße 14  63571   Gelnhausen      06051/86-0      06051/86-299    63569   63552   1262    50600000        50601502        BBK FRANKFURT EH HANAU  50750094        2008    KREISSPARKASSE GELNHAUSEN       Mo u. Mi 8:00-12:00, Do 14:30-18:00 Uhr poststelle@Finanzamt-Gelnhausen.de      www.Finanzamt-Gelnhausen.de     178
8115 6       2620    Gießen         Schubertstraße 60      35392   Gießen 0641/4800-100   0641/4800-1590  35387   35349   110440                          51300000        51301500        BBK GIESSEN     Mo-Mi 8:00-15:30,Do 14:00-18:00, Fr 8:00-12:00 Uhr      info@Finanzamt-Giessen.de       www.Finanzamt-Giessen.de        179
8116 6       2621    Groß-Gerau     Europaring 11-13        64521   Groß-Gerau     06152/170-01    06152/170-601   64518   64502   1262    50800000        50801502        BBK DARMSTADT   50852553        1685    KR SPK GROSS-GERAU      Mo-Mi 8:00-15.30, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Gross-Gerau.de     www.Finanzamt-Gross-Gerau.de    180
8117 6       2622    Hanau   Am Freiheitsplatz 2     63450   Hanau   06181/101-1     06181/101-501   63446   63404   1452    50600000        50601500        BBK FRANKFURT EH HANAU  50650023        50104   SPARKASSE HANAU Mo u. Mi 7:30-12:00, Do 14:30-18:00 Uhr poststelle@Finanzamt-Hanau.de   www.Finanzamt-Hanau.de  181
8118 6       2623    Kassel-Hofgeismar Verwaltungsstelle Hofgeismar  Altstädter Kirchplatz 10       34369   Hofgeismar      0561/7207-0     0561/7207-2500                          52000000        52001501        BBK KASSEL      52050353        100009202       KASSELER SPARKASSE      Di, Mi u. Fr 8:00-12:00, Do 15:00-18:00 Uhr Telefon Verwaltungsstelle: 05671/8004-0     poststelle@Finanzamt-Kassel-Hofgeismar.de       www.Finanzamt-Kassel.de 182
8119 6       2624    Schwalm-Eder Verwaltungsstelle Fritzlar Georgengasse 5  34560   Fritzlar        05622/805-0     05622/805-111           34551   1161    52000000        52001502        BBK KASSEL      52052154        110007507       KREISSPARKASSE SCHWALM-EDER     Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr poststelle@Finanzamt-Schwalm-Eder.de    www.Finanzamt-Schwalm-Eder.de   183
8120 6       2625    Kassel-Spohrstraße     Spohrstraße 7  34117   Kassel  0561/7208-0     0561/7208-408   34111   34012   101249  52000000        52001500        BBK KASSEL      52050000        4091300006      LANDESKREDITKASSE KASSEL        Mo u. Fr 7:30-12:00, Mi 14:00-18:00 Uhr poststelle@Finanzamt-Kassel-Spohrstrasse.de     www.Finanzamt-Kassel.de 184
8121 6       2626    Kassel-Hofgeismar Verwaltungsstelle Kassel      Goethestraße 43        34119   Kassel  0561/7207-0     0561/7207-2500  34111   34012   101229  52000000        52001500        BBK KASSEL      52050000        4091300006      LANDESKREDITKASSE KASSEL        Mo, Mi u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr     poststelle@Finanzamt-Kassel-Hofgeismar.de       www.Finanzamt-Kassel.de 185
8122 6       2627    Korbach-Frankenberg Verwaltungsstelle Korbach   Medebacher Landstraße 29       34497   Korbach 05631/563-0     05631/563-888   34495   34482   1240    52000000        52001509        BBK KASSEL      52350005        19588   SPK WALDECK-FRANKENBERG Mo, Mi u. Fr 8:00-12:00, Do 15:30-18:00 Uhr     poststelle@Finanzamt-Korbach-Frankenberg.de     www.Finanzamt-Korbach-Frankenberg.de    186
8123 6       2628    Langen  Zimmerstraße 27        63225   Langen  06103/591-01    06103/591-285   63222   63202   1280    50000000        50001511        BBK FILIALE FRANKFURT MAIN      50592200        31500   VB DREIEICH     Mo, Mi u. Do 8:00-15:30, Di 13:30-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Langen.de  www.Finanzamt-Langen.de 187
8124 6       2629    Alsfeld-Lauterbach Verwaltungsstelle Lauterbach Bahnhofstraße 69       36341   Lauterbach      06631/790-0     06631/790-555   36339                   53000000        53001501        BBK KASSEL EH FULDA     53051130        60100509        SPARKASSE VOGELSBERGKREIS       Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06641/188-0  poststelle@Finanzamt-Alsfeld-Lauterbach.de      www.Finanzamt-Alsfeld-Lauterbach.de     188
8125 6       2630    Limburg-Weilburg Verwaltungsstelle Limburg      Walderdorffstraße 11   65549   Limburg 06431/208-1     06431/208-294   65547   65534   1465    51000000        51001507        BBK WIESBADEN   51050015        535054800       NASS SPK WIESBADEN      Mo-Mi 8:00-15:30, Do 8:00-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Limburg-Weilburg.de        www.Finanzamt-Limburg-Weilburg.de       189
8126 6       2631    Marburg-Biedenkopf Verwaltungsstelle Marburg    Robert-Koch-Straße 7   35037   Marburg 06421/698-0     06421/698-109   35034   35004   1469    51300000        51301512        BBK GIESSEN     53350000        11517   SPK MARBURG-BIEDENKOPF  Mo-Mi 8:00-15:30, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Marburg-Biedenkopf.de      www.Finanzamt-Marburg-Biedenkopf.de     190
8127 6       2632    Schwalm-Eder Verwaltungsstelle Melsungen        Kasseler Straße 31 (Schloß)   34212   Melsungen       05622/805-0     05622/805-111                           52000000        52001503        BBK KASSEL      52052154        10060002        KREISSPARKASSE SCHWALM-EDER     Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 05661/706-0  poststelle@Finanzamt-Schwalm-Eder.de    www.Finanzamt-Schwalm-Eder.de   191
8128 6       2633    Michelstadt     Erbacher Straße 48     64720   Michelstadt     06061/78-0      06061/78-100            64712   3180    50800000        50801503        BBK DARMSTADT   50851952        40041451        SPK ODENWALDKREIS ERBACH        Mo, Di u. Do 8:00-15:30, Mi 13:30-18:00, Fr 8:00-12:00 Uhr      poststelle@Finanzamt-Michelstadt.de     www.Finanzamt-Michelstadt.de    192
8129 6       2634    Nidda   Schillerstraße 38      63667   Nidda   06043/805-0     06043/805-159           63658   1180    50600000        50601501        BBK FRANKFURT EH HANAU  51850079        150003652       SPARKASSE WETTERAU      Mo, Di u. Do 7:30-16:00, Mi 13:30-18:00, Fr 7:00-12:00 Uhr      poststelle@Finanzamt-Nidda.de   www.Finanzamt-Nidda.de  193
8130 6       2635    Offenbach am Main-Stadt         Bieberer Straße 59     63065   Offenbach       069/8091-1      069/8091-2400   63063   63005   100563  50000000        50001500        BBK FILIALE FRANKFURT MAIN      50550020        493     STE SPK OFFENBACH       Mo, Di u. Do 7:30-15:30, Mi 13:00-18:00, Fr 7:30-12:00 Uhr      poststelle@Finanzamt-Offenbach-Stadt.de www.Finanzamt-Offenbach.de      194
8131 5       5383    Hagen f. Steuerfahndung und Steuerstrafsachen   Becheltestr. 32 58089   Hagen   02331/3089-0    0800 10092675383                58041   4143    45000000        145001500       BBK HAGEN       45050001        100001580       SPARKASSE HAGEN         Service@FA-5383.fin-nrw.de              195
8132 6       2636    Hersfeld-Rotenburg Verwaltungsstelle Rotenburg  Dickenrücker Straße 12        36199   Rotenburg       06621/933-0     06621/933-333                           52000000        52001504        BBK KASSEL      53250000        50000012        SPK BAD HERSFELD-ROTENBURG      Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06623/816-0  poststelle@Finanzamt-Hersfeld-Rotenburg.de      www.Finanzamt-Hersfeld-Rotenburg.de     196
8133 6       2637    Rheingau-Taunus Verwaltungsstelle Rüdesheim    Hugo-Asbach-Straße 3 - 7       65385   Rüdesheim      06124/705-0     06124/705-400                           51000000        51001501        BBK WIESBADEN   51050015        455022800       NASS SPK WIESBADEN      Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06722/405-0  poststelle@Finanzamt-Rheingau-Taunus.de www.Finanzamt-Rheingau-Taunus.de        197
8134 6       2638    Limburg-Weilburg Verwaltungsstelle Weilburg     Kruppstraße 1  35781   Weilburg        06431/208-1     06431/208-294   35779                   51000000        51001511        BBK WIESBADEN   51151919        100000843       KR SPK WEILBURG Mo-Mi 8:00-16:00, Do 14:00-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Limburg-Weilburg.de        www.Finanzamt-Limburg-Weilburg.de       198
8135 6       2639    Wetzlar         Frankfurter Straße 59  35578   Wetzlar 06441/202-0     06441/202-6810  35573   35525   1520    51300000        51301508        BBK GIESSEN     51550035        46003   SPARKASSE WETZLAR       Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Wetzlar.de www.Finanzamt-Wetzlar.de        199
8136 6       2640    Wiesbaden I     Dostojewskistraße 8    65187   Wiesbaden       0611/813-0      0611/813-1000   65173   65014   2469    51000000        51001500        BBK WIESBADEN   51050015        100061600       NASS SPK WIESBADEN      Mo, Di u. Do 8:00-15:30, Mi 13:30-18:00, Fr 7:00-12:00 Uhr      poststelle@Finanzamt-Wiesbaden-1.de     www.Finanzamt-Wiesbaden.de      200
8137 6       2641    Eschwege-Witzenhausen Verwaltungsstelle Witzenhausen    Südbahnhofstraße 37   37213   Witzenhausen    05651/926-5     05651/926-720                           52000000        52001505        BBK KASSEL      52250030        50000991        SPARKASSE WERRA-MEISSNER        Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr Telefon Verwaltungsstelle: 05542/602-0  poststelle@Finanzamt-Eschwege-Witzenhausen.de   www.Finanzamt-Eschwege-Witzenhausen.de  201
8138 6       2642    Schwalm-Eder Verwaltungsstelle Schwalmstadt     Landgraf-Philipp-Straße 15     34613   Schwalmstadt    05622/805-0     05622/805-111                           52000000        52001506        BBK KASSEL      52052154        200006641       KREISSPARKASSE SCHWALM-EDER     Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr Telefon Verwaltungsstelle: 06691/738-0  poststelle@Finanzamt-Schwalm-Eder.de    www.Finanzamt-Schwalm-Eder.de   202
8139 6       2643    Wiesbaden II    Dostojewskistraße 8    65187   Wiesbaden       0611/813-0      0611/813-2000   65173   65014   2469    51000000        51001500        BBK WIESBADEN   51050015        100061600       NASS SPK WIESBADEN      Mo, Di u. Do 8:00-15:30, Mi 13:30-18:00, Fr 7:00-12:00 Uhr      poststelle@Finanzamt-Wiesbaden-2.de     www.Finanzamt-Wiesbaden.de      203
8140 6       2644    Offenbach am Main-Land  Bieberer Straße 59     63065   Offenbach       069/8091-1      069/8091-3400   63063   63005   100552  50000000        50001500        BBK FILIALE FRANKFURT MAIN      50550020        493     STE SPK OFFENBACH       Mo, Di u. Do 7:30-15:30, Mi 13:00-18:00, Fr 7:30-12:00 Uhr      poststelle@Finanzamt-Offenbach-Land.de  www.Finanzamt-Offenbach.de      204
8141 6       2645    Frankfurt am Main III   Gutleutstraße 120      60327   Frankfurt       069/2545-03     069/2545-3999           60305   110863  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Frankfurt-3.de     wwww.Finanzamt-Frankfurt-am-Main.de     205
8142 6       2646    Hofheim am Taunus       Nordring 4 - 10 65719   Hofheim 06192/960-0     06192/960-412   65717   65703   1380    50000000        50001503        BBK FILIALE FRANKFURT MAIN      51250000        2000008 TAUNUS-SPARKASSE BAD HOMBG      Mo-Mi 8:00-15:30, Do 13:30-18:00, Fr 8:00-12:00 Uhr     poststelle@Finanzamt-Hofheim-am-Taunus.de       www.Finanzamt-Hofheim-am-Taunus.de      206
8143 6       2647    Frankfurt/M. V-Höchst Verwaltungsstelle Frankfurt      Gutleutstraße 116      60327   Frankfurt       069/2545-05     069/2545-5999           60305   110865  50000000        50001504        BBK FILIALE FRANKFURT MAIN      50050000        1600006 LD BK HESS-THUER GZ FFM Mo u. Mi 8:00-12:00, Do 14:00-18:00 Uhr poststelle@Finanzamt-Frankfurt-5-Hoechst.de     www.Finanzamt-Frankfurt-am-Main.de      207
8144 7       2701    Bad Neuenahr-Ahrweiler  Römerstr. 5    53474   Bad Neuenahr-Ahrweiler  02641/3820      02641/38212000          53457   1209    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-aw.fin-rlp.de             208
8145 7       2702    Altenkirchen-Hachenburg         Frankfurter Str. 21     57610   Altenkirchen    02681/860       02681/8610090   57609   57602   1260    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ak.fin-rlp.de     www.finanzamt-altenkirchen-hachenburg.de        209
8146 7       2703    Bingen-Alzey Aussenstelle Alzey Rochusallee 10  55411   Bingen  06721/7060      06721/70614080  55409   55382           55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06731/4000       Poststelle@fa-bi.fin-rlp.de     www.finanzamt-bingen-alzey.de   210
8147 7       2706    Bad Kreuznach   Ringstr. 10     55543   Bad Kreuznach   0671/7000       0671/70011702   55541   55505   1552    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-kh.fin-rlp.de     www.finanzamt-bad-kreuznach.de  211
8148 7       2707    Bernkastel-Wittlich Aussenstelle Bernkastel-Kues        Unterer Sehlemet 15     54516   Wittlich        06571/95360     06571/953613400         54502   1240    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06531/5060       Poststelle@fa-wi.fin-rlp.de     www.finanzamt-bernkastel-wittlich.de    212
8149 7       2708    Bingen-Alzey    Rochusallee 10  55411   Bingen  06721/7060      06721/70614080  55409   55382           55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-bi.fin-rlp.de     www.finanzamt-bingen-alzey.de   213
8150 7       2709    Idar-Oberstein  Hauptstraße 199        55743   Idar-Oberstein  06781/680       06781/6818333           55708   11820   55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-io.fin-rlp.de     www.finanzamt-idar-oberstein.de 214
8151 7       2710    Bitburg-Prüm   Kölner Straße 20      54634   Bitburg 06561/6030      06561/60315090          54622   1252    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-bt.fin-rlp.de     www.finanzamt-bitburg-pruem.de  215
8152 7       2713    Daun    Berliner Straße 1      54550   Daun    06592/95790     06592/957916175         54542   1160    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-da.fin-rlp.de     www.finanzamt-daun.de   216
8153 7       2714    Montabaur-Diez Aussenstelle Diez        Koblenzer Str. 15       56410   Montabaur       02602/1210      02602/12127099  56409   56404   1461    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06432/5040       Poststelle@fa-mt.fin-rlp.de     www.finanzamt-montabaur-diez.de 217
8154 7       2715    Frankenthal     Friedrich-Ebert-Straße 6       67227   Frankenthal     06233/49030     06233/490317082 67225   67203   1324    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ft.fin-rlp.de     www.finanzamt-frankenthal.de    218
8155 7       2716    Speyer-Germersheim Aussenstelle Germersheim     Johannesstr. 9-12       67346   Speyer  06232/60170     06232/601733431 67343   67323   1309    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 07274/9500       Poststelle@fa-sp.fin-rlp.de     www.finanzamt-speyer-germersheim.de     219
8156 7       2718    Altenkirchen-Hachenburg Aussenstelle Hachenburg Frankfurter Str. 21     57610   Altenkirchen    02681/860       02681/8610090   57609   57602   1260    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 02662/94520      Poststelle@fa-ak.fin-rlp.de     www.finanzamt-altenkirchen-hachenburg.de        220
8157 7       2719    Kaiserslautern  Eisenbahnstr. 56        67655   Kaiserslautern  0631/36760      0631/367619500  67653   67621   3360    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-kl.fin-rlp.de     www.finanzamt-kaiserslautern.de 221
8158 7       2721    Worms-Kirchheimbolanden Aussenstelle Kirchheimbolanden  Karlsplatz 6    67549   Worms   06241/30460     06241/304635060 67545                   55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06352/4070       Poststelle@fa-wo.fin-rlp.de     www.finanzamt-worms-kirchheimbolanden.de        222
8159 7       2722    Koblenz         Ferdinand-Sauerbruch-Str. 19    56073   Koblenz 0261/49310      0261/493120090  56060   56007   709     55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ko.fin-rlp.de     www.finanzamt-koblenz.de        223
8160 7       2723    Kusel-Landstuhl         Trierer Str. 46 66869   Kusel   06381/99670     06381/996721060         66864   1251    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ku.fin-rlp.de     www.finanzamt-kusel-landstuhl.de        224
8161 7       2724    Landau  Weißquartierstr. 13    76829   Landau  06341/9130      06341/91322100  76825   76807   1760u.1780      55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ld.fin-rlp.de             225
8162 7       2725    Kusel-Landstuhl Aussenstelle Landstuhl  Trierer Str. 46 66869   Kusel   06381/99670     06381/996721060         66864   1251    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06371/61730      Poststelle@fa-ku.fin-rlp.de     www.finanzamt-kusel-landstuhl.de        226
8163 7       2726    Mainz-Mitte     Schillerstr. 13 55116   Mainz   06131/2510      06131/25124090          55009   1980    55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-mz.fin-rlp.de     www.finanzamt-mainz-mitte.de    227
8164 7       2727    Ludwigshafen    Bayernstr. 39   67061   Ludwigshafen    0621/56140      0621/561423051          67005   210507  55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-lu.fin-rlp.de     www.finanzamt-ludwigshafen.de   228
8165 7       2728    Mainz-Süd      Emy-Roeder-Str. 3       55129   Mainz   06131/5520      06131/55225272          55071   421365  55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ms.fin-rlp.de     www.finanzamt-mainz-sued.de     229
8166 7       2729    Mayen   Westbahnhofstr. 11      56727   Mayen   02651/70260     02651/702626090         56703   1363    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-my.fin-rlp.de     www.finanzamt-mayen.de  230
8167 7       2730    Montabaur-Diez  Koblenzer Str. 15       56410   Montabaur       02602/1210      02602/12127099  56409   56404   1461    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-mt.fin-rlp.de     www.finanzamt-montabaur-diez.de 231
8168 7       2731    Neustadt        Konrad-Adenauer-Str. 26 67433   Neustadt        06321/9300      06321/93028600  67429   67404   100 465 55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-nw.fin-rlp.de             232
8169 7       2732    Neuwied         Augustastr. 54  56564   Neuwied 02631/9100      02631/91029906  56562   56505   1561    55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-nr.fin-rlp.de             233
8170 7       2735    Pirmasens-Zweibrücken  Kaiserstr. 2    66955   Pirmasens       06331/7110      06331/71130950  66950   66925   1662    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-ps.fin-rlp.de     www.finanzamt-pirmasens-zweibruecken.de 234
8171 7       2736    Bitburg-Prüm Aussenstelle Prüm        Kölner Str. 20 54634   Bitburg 06561/6030      06561/60315093          54622   1252    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06551/9400       Poststelle@fa-bt.fin-rlp.de     www.finanzamt-bitburg-pruem.de  235
8172 7       2738    Sankt Goarshausen-Sankt Goar Aussenstelle Sankt Goar    Wellmicher Str. 79      56346   St. Goarshausen 06771/95900     06771/959031090         56342           55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06741/98100      Poststelle@fa-gh.fin-rlp.de     www.finanzamt-sankt-goarshausen-sankt-goar.de   236
8173 7       2739    Sankt Goarshausen-Sankt Goar    Wellmicher Str. 79      56346   St. Goarshausen 06771/95900     06771/959031090         56342           55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-gh.fin-rlp.de     www.finanzamt-sankt-goarshausen-sankt-goar.de   237
8174 7       2740    Simmern-Zell    Brühlstraße 3 55469   Simmern 06761/8550      06761/85532053          55464   440     55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-si.fin-rlp.de             238
8175 7       2741    Speyer-Germersheim      Johannesstr. 9-12       67346   Speyer  06232/60170     06232/601733431 67343   67323   1309    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-sp.fin-rlp.de     www.finanzamt-speyer-germersheim.de     239
8176 7       2742    Trier   Hubert-Neuerburg-Str. 1 54290   Trier   0651/93600      0651/936034900          54207   1750u.1760      55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-tr.fin-rlp.de     www.finanzamt-trier.de  240
8177 7       2743    Bernkastel-Wittlich     Unterer Sehlemet 15     54516   Wittlich        06571/95360     06571/953613400         54502   1240    55050000        902     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-wi.fin-rlp.de     www.finanzamt-bernkastel-wittlich.de    241
8178 7       2744    Worms-Kirchheimbolanden         Karlsplatz 6    67549   Worms   06241/30460     06241/304635060 67545                   55050000        901     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR    Poststelle@fa-wo.fin-rlp.de     www.finanzamt-worms-kirchheimbolanden.de        242
8179 7       2745    Simmern-Zell Aussenstelle Zell  Brühlstr. 3    55469   Simmern 06761/8550      06761/85532053          55464   440     55050000        908     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06542/7090       Poststelle@fa-si.fin-rlp.de             243
8180 7       2746    Pirmasens-Zweibrücken Aussenstelle Zweibrücken        Kaiserstr. 2    66955   Pirmasens       06331/7110      06331/71130950  66950   66925   1662    55050000        910     LRP GZ MAINZ                            8.00-17.00 MO-MI 8.00-18.00 DO 8.00-13.00 FR Telefon-Nr. Aussenstelle: 06332/80680      Poststelle@fa-ps.fin-rlp.de     www.finanzamt-pirmasens-zweibruecken.de 244
8181 8       2801    Achern  Allerheiligenstr. 10    77855   Achern  07841/6940      07841/694136    77843   77843   1260    66000000        66001518        BBK KARLSRUHE   66450050        88013009        SPARKASSE OFFENBURG-ORTENAU     MO-DO 8-12.30+13.30-15.30,DO-17.30,FR 8-12 H    poststelle@fa-achern.fv.bwl.de          245
8182 8       2804    Donaueschingen  Käferstr. 25   78166   Donaueschingen  0771/8080       0771/808359     78153   78153   1269    69400000        694 01501       BBK VILLINGEN-SCHWENNINGEN      69421020        6204700600      BW BANK DONAUESCHINGEN  MO-MI 8-16 UHR, DO 8-17.30 UHR, FR 8-12 UHR     poststelle@fa-donaueschingen.fv.bwl.de          246
8183 8       2805    Emmendingen     Bahnhofstr. 3   79312   Emmendingen     07641/4500      07641/450350    79305   79305   1520    68000000        680 01507       BBK FREIBURG IM BREISGAU        68050101        20066684        SPK FREIBURG-NOERDL BREISGA     MO-MI 7:30-15:30,DO 7:30-17:00,FR 7:30-12:00    poststelle@fa-emmendingen.fv.bwl.de             247
8184 8       2806    Freiburg-Stadt  Sautierstr. 24  79104   Freiburg        0761/2040       0761/2043295    79079                   68000000        680 01501       BBK FREIBURG IM BREISGAU        68020020        4402818100      BW BANK FREIBURG BREISGAU       MO, DI, DO 7.30-16,MI 7.30-17.30, FR 7.30-12    poststelle@fa-freiburg-stadt.fv.bwl.de          248
8185 8       2807    Freiburg-Land   Stefan-Meier-Str. 133   79104   Freiburg        0761/2040       0761/2043424    79095                   68000000        680 015 00      BBK FREIBURG IM BREISGAU        68090000        12222300        VOLKSBANK FREIBURG      ZIA: MO,DI,DO 8-16, MI 8-17:30, FR 8-12 UHR     poststelle@fa-freiburg-land.fv.bwl.de           249
8186 8       2808    Kehl    Ludwig-Trick-Str. 1     77694   Kehl    07851/8640      07851/864108    77676   77676   1640    66400000        664 01501       BBK FREIBURG EH OFFENBURG       66451862        -6008   SPK HANAUERLAND KEHL    MO,DI,MI 7.45-15.30, DO -17.30, FR -12.00UHR    poststelle@fa-kehl.fv.bwl.de            250
8187 8       2809    Konstanz        Bahnhofplatz 12 78462   Konstanz        07531/2890      07531/289312    78459                   69400000        69001500        BBK VILLINGEN-SCHWENNINGEN      69020020        6604947900      BW BANK KONSTANZ        MO,DI,DO 7.30-15.30,MI 7.30-17.00,FR 7.30-12    poststelle@fa-konstanz.fv.bwl.de                251
8188 8       2810    Lahr    Gerichtstr. 5   77933   Lahr    07821/2830      07821/283100            77904   1466    66000000        66001527        BBK KARLSRUHE   66450050        76103333        SPARKASSE OFFENBURG-ORTENAU     MO,DI,DO 7:30-16:00, MI 7:30-17:30, FR 7:30-12:00       poststelle@fa-lahr.fv.bwl.de            252
8189 8       2811    Lörrach        Luisenstr. 10 a 79539   Lörrach        07621/1730      07621/173245    79537                   68000000        68301500        BBK FREIBURG IM BREISGAU        68320020        4602600100      BW BANK LOERRACH        MO-MI 7.00-15.30/DO 7.00-17.30/FR 7.00-12.00    poststelle@fa-loerrach.fv.bwl.de                253
8190 8       2812    Müllheim       Goethestr. 11   79379   Müllheim       07631/18900     (07631)189-190  79374   79374   1461    68000000        680 01511       BBK FREIBURG IM BREISGAU        68351865        802 888 8       SPARKASSE MARKGRAEFLERLAND      MO-MI 7,30-15,30 DO 7,30-17,30 FR 7,30-12,00    poststelle@fa-muellheim.fv.bwl.de               254
8191 8       2813    Titisee-Neustadt        Goethestr. 5    79812   Titisee-Neustadt        07651/2030      07651/203110            79812   12 69   68000000        680 015 10      BBK FREIBURG IM BREISGAU        68051004        4040408 SPK HOCHSCHWARZWALD T-NEUST     MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.30    poststelle@fa-titisee-neustadt.fv.bwl.de                255
8192 8       2814    Offenburg       Zeller Str. 1- 3        77654   Offenburg       0781/9330       0781/9332444    77604   77604   1440    68000000        664 01500       BBK FREIBURG IM BREISGAU        66420020        4500000700      BW BANK OFFENBURG       MO-DO 7.30-15.30 DURCHGEHEND,MI -18.00,FR-12    poststelle@fa-offenburg.fv.bwl.de               256
8193 8       2815    Oberndorf       Brandeckerstr. 4        78727   Oberndorf       07423/8150      07423/815107    78721   78721   1240    69400000        694 01506       BBK VILLINGEN-SCHWENNINGEN      64250040        813 015 KR SPK ROTTWEIL ZIA:MO,DI,DO 8-16,MI 8-17:30,FR 8-12 UHR        poststelle@fa-oberndorf.fv.bwl.de               257
8194 8       2816    Bad Säckingen  Werderstr. 5    79713   Bad Säckingen  07761/5660      07761/566126    79702   79702   1148    68000000        683 015 02      BBK FREIBURG IM BREISGAU                                MO,DI,DO 8-15.30, MI 8-17.30, FR 8-12 UHR       poststelle@fa-badsaeckingen.fv.bwl.de           258
8195 8       2818    Singen  Alpenstr. 9     78224   Singen  07731/8230      07731/823650            78221   380     69000000        69001507        BBK VILL-SCHWEN EH KONSTANZ     69220020        6402000100      BW BANK SINGEN  MO-DO 7:30-15:30, MI bis 17:30, FR 7:30-12:00   poststelle@fa-singen.fv.bwl.de          259
8196 8       2819    Rottweil        Körnerstr. 28  78628   Rottweil        0741/2430       0741/2432194    78612   78612   1252    69400000        69401505        BBK VILLINGEN-SCHWENNINGEN      64250040        136503  KR SPK ROTTWEIL MO-MI 8-16, DO 8-18, FR 8-12 UHR        poststelle@fa-rottweil.fv.bwl.de                260
8197 8       2820    Waldshut-Tiengen        Bahnhofstr. 11  79761   Waldshut-Tiengen        07741/6030      07741/603213    79753   79753   201360  68000000        68301501        BBK FREIBURG IM BREISGAU        68452290        14449   SPARKASSE HOCHRHEIN     MO-MI 8-15.30,DO 8-17.30,FR 8-12 UHR    poststelle@fa-waldshut-tiengen.fv.bwl.de                261
8198 8       2821    Tuttlingen      Zeughausstr. 91 78532   Tuttlingen      07461/980       07461/98303             78502   180     69400000        69401502        BBK VILLINGEN-SCHWENNINGEN      64350070        251     KR SPK TUTTLINGEN       MO-MI8-15.30,DO8-17.30,FR8-12.00UHR     poststelle@fa-tuttlingen.fv.bwl.de              262
8199 8       2822    Villingen-Schwenningen  Weiherstr. 7    78050   Villingen-Schwenningen  07721/923-0     07721/923-100   78045                   69400000        69401500        BBK VILLINGEN-SCHWENNINGEN                              MO-MI 8-16UHR,DO 8-17.30UHR,FR 8-12UHR  poststelle@fa-villingen-schwenningen.fv.bwl.de          263
8200 8       2823    Wolfach         Hauptstr. 55    77709   Wolfach 07834/9770      07834/977-169   77705   77705   1160    66400000        664 01502       BBK FREIBURG EH OFFENBURG       66452776        -31956  SPK WOLFACH     MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-wolfach.fv.bwl.de         264
8201 8       2830    Bruchsal        Schönbornstr. 1-5      76646   Bruchsal        07251/740       07251/742111    76643   76643   3021    66000000        66001512        BBK KARLSRUHE   66350036        50      SPK KRAICHGAU   SERVICEZENTRUM:MO-MI8-15:30DO8-17:30FR8-1200    poststelle@fa-bruchsal.fv.bwl.de                265
8202 8       2831    Ettlingen       Pforzheimer Str. 16     76275   Ettlingen       07243/5080      07243/508295    76257   76257   363     66000000        66001502        BBK KARLSRUHE   66051220        1043009 SPARKASSE ETTLINGEN     MO+DI 8-15.30,MI 7-15.30,DO 8-17.30,FR 8-12     poststelle@fa-ettlingen.fv.bwl.de               266
8203 8       2832    Heidelberg      Kurfürsten-Anlage 15-17        69115   Heidelberg      06221/590       06221/592355    69111                   67000000        67001510        BBK MANNHEIM    67220020        5302059000      BW BANK HEIDELBERG      ZIA:MO-DO 7.30-15.30, MI - 17.30, FR - 12.00    poststelle@fa-heidelberg.fv.bwl.de              267
8204 8       2833    Baden-Baden     Stephanienstr. 13 + 15  76530   Baden-Baden     07221/3590      07221/359320    76520                   66000000        66001516        BBK KARLSRUHE   66220020        4301111300      BW BANK BADEN-BADEN     MO,DI,DO 8-16 UHR,MI 8-17.30 UHR,FR 8-12 UHR    poststelle@fa-baden-baden.fv.bwl.de             268
8205 8       2834    Karlsruhe-Durlach       Prinzessenstr. 2        76227   Karlsruhe       0721/9940       0721/9941235    76225   76203   410326  66000000        66001503        BBK KARLSRUHE                           MO-DO 8-15.30,MI 8-17.30,FR 8-12        poststelle@fa-karlsruhe-durlach.fv.bwl.de               269
8206 8       2835    Karlsruhe-Stadt         Schlossplatz 14 76131   Karlsruhe       0721/1560       (0721) 156-1000                         66000000        66001501        BBK KARLSRUHE   66020020        4002020800      BW BANK KARLSRUHE       MO-DO 7.30-15.30 MI -17.30 FR 7.30-12.00        poststelle@fa-karlsruhe-stadt.fv.bwl.de         270
8207 8       2836    Bühl   Alban-Stolz-Str. 8      77815   Bühl   07223/8030      07223/3625      77815                   66000000        66001525        BBK KARLSRUHE   66220020        4301111300      BW BANK BADEN-BADEN     MO,DI,DO=8-16UHR, MI=8-17.30UHR,FR=8-12UHR      poststelle@fa-buehl.fv.bwl.de           271
8208 8       2837    Mannheim-Neckarstadt    L3, 10  68161   Mannheim        0621/2920       0621/292-1010   68150                   67000000        67001500        BBK MANNHEIM    67020020        5104719900      BW BANK MANNHEIM        MO,DI,DO7.30-15.30,MI7.30-17.30,FR7.30-12.00    poststelle@fa-mannheim-neckarstadt.fv.bwl.de            272
8209 8       2838    Mannheim-Stadt  L3, 10  68161   Mannheim        0621/2920       2923640 68150                   67000000        670 01500       BBK MANNHEIM    67020020        5104719900      BW BANK MANNHEIM        MO,DI,DO7.30-15.30,MI7.30.17.30,FR7.30-12.00    poststelle@fa-mannheim-stadt.fv.bwl.de          273
8210 8       2839    Rastatt         An der Ludwigsfeste 3   76437   Rastatt 07222/9780      07222/978330    76404   76404   1465    66000000        66001519        BBK KARLSRUHE   66020020        4150199000      BW BANK KARLSRUHE       MO-MI 8-15:30 UHR,DO 8-17:30 UHR,FR 8-12 UHR    poststelle@fa-rastatt.fv.bwl.de         274
8211 8       2840    Mosbach         Pfalzgraf-Otto-Str. 5   74821   Mosbach 06261/8070      06261/807200    74819                   62000000        62001502        BBK HEILBRONN, NECKAR   62030050        5501964000      BW BANK HEILBRONN       MO-DO 08.00-16.00 UHR, DO-17.30,FR-12.00 UHR    poststelle@fa-mosbach.fv.bwl.de         275
8212 8       2841    Pforzheim       Moltkestr. 8    75179   Pforzheim       07231/1830      (07231)183-1111 75090                   66000000        66001520        BBK KARLSRUHE   66620020        4812000000      BW BANK PFORZHEIM       MO-DO 7:30-15:30, DO bis 17:30, FR 7:30-12:00   poststelle@fa-pforzheim.fv.bwl.de               276
8213 8       2842    Freudenstadt    Musbacher Str. 33       72250   Freudenstadt    07441/560       07441/561011                            66000000        66001510        BBK KARLSRUHE   64251060        19565   KR SPK FREUDENSTADT     MO-MI 8.00-16.00,DO 8.00-17.30,FR 8.00-12.00    poststelle@fa-freudenstadt.fv.bwl.de            277
8214 8       2843    Schwetzingen    Schloss 68723   Schwetzingen    06202/810       (06202) 81298   68721                   67000000        67001501        BBK MANNHEIM    67250020        25008111        SPK HEIDELBERG  ZIA:MO-DO 7.30-15.30,MI-17.30,FR.7.30-12.00     poststelle@fa-schwetzingen.fv.bwl.de            278
8215 8       2844    Sinsheim        Bahnhofstr. 27  74889   Sinsheim        07261/6960      07261/696444    74887                   67000000        67001511        BBK MANNHEIM                            MO-DO 7:30-15:30, MI bis 17:30, FR 7:30-12 UHR  poststelle@fa-sinsheim.fv.bwl.de                279
8216 8       2845    Calw    Klosterhof 1    75365   Calw    07051/5870      07051/587111    75363                   66000000        66001521        BBK KARLSRUHE   60651070        1996    SPARKASSE PFORZHEIM CALW        MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-calw.fv.bwl.de            280
8217 8       2846    Walldürn       Albert-Schneider-Str. 1 74731   Walldürn       06282/7050      06282/705101    74723   74723   1162    62000000        62001509        BBK HEILBRONN, NECKAR   67450048        8102204 SPK NECKARTAL-ODENWALD  MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-wallduern.fv.bwl.de               281
8218 8       2847    Weinheim        Weschnitzstr. 2 69469   Weinheim        06201/6050      (06201) 605-220/299     69443   69443   100353  67000000        67001502        BBK MANNHEIM    67050505        63034444        SPK RHEIN NECKAR NORD   MO-MI 7.30-15.30 DO 7.30-17.30 FR 7.30-12       poststelle@fa-weinheim.fv.bwl.de                282
8219 8       2848    Mühlacker      Konrad-Adenauer-Platz 6 75417   Mühlacker      07041/8930      07041/893999            75415   1153    66000000        660 015 22      BBK KARLSRUHE   66650085        961 000 SPARKASSE PFORZHEIM CALW        ZIA:MO-DO 8-12:30 13:30-15:30 DO bis 17:30 FR 8-12      poststelle@fa-muehlacker.fv.bwl.de              283
8220 8       2849    Neuenbürg      Wildbader Str. 107      75305   Neuenbürg      07082/7990      07082/799166    75301   75301   1165    66600000        66601503        BBK PFORZHEIM   66650085        998400  SPARKASSE PFORZHEIM CALW        MO-FR 7.30-12UHR,MO-MI 13-16UHR,DO 13-18UHR     poststelle@fa-neuenbuerg.fv.bwl.de              284
8221 8       2850    Aalen / Württemberg    Bleichgartenstr. 17     73431   Aalen   (07361) 9578-0  (07361)9578-440 73428                   63000000        614 01500       BBK ULM, DONAU  61450050        110036902       KREISSPARKASSE OSTALB   MO-MI 7.30-16.00,DO 7.30-18.00,FR 7.30-12.00    poststelle@fa-aalen.fv.bwl.de           285
8222 8       2851    Backnang        Stiftshof 20    71522   Backnang        07191/120       07191/12221     71522                   60000000        60201501        BBK STUTTGART   60250010        244     KR SPK WAIBLINGEN       MO,DI,DO7.30-16.00MI7.30-18.00FR7.30-12.00      poststelle@fa-backnang.fv.bwl.de                286
8223 8       2852    Bad Mergentheim         Schloss 7       97980   Bad Mergentheim 07931/5300      07931/530228    97962   97962   1233    62000000        620 01508       BBK HEILBRONN, NECKAR   67352565        25866   SPK TAUBERFRANKEN       MO-DO 7.30-15.30,MI-17.30 UHR,FR 7.30-12 UHR    poststelle@fa-badmergentheim.fv.bwl.de          287
8224 8       2853    Balingen        Jakob-Beutter-Str. 4    72336   Balingen        07433/970       07433/972099    72334                   64000000        653 01500       BBK REUTLINGEN  65351260        24000110        SPK ZOLLERNALB  Mo-Mi 7:45-16:00,Do 7:45-17:30,Fr 7:45-12:30    poststelle@fa-balingen.fv.bwl.de                288
8225 8       2854    Biberach        Bahnhofstr. 11  88400   Biberach        07351/590       07351/59202     88396                   63000000        63001508        BBK ULM, DONAU  65450070        17      KR SPK BIBERACH MO,DI,DO 8-15.30, MI 8-17.30, FR 8-12 UHR       poststelle@fa-biberach.fv.bwl.de                289
8226 8       2855    Bietigheim-Bissingen    Kronenbergstr. 13       74321   Bietigheim-Bissingen    07142/5900      07142/590199    74319                   60000000        604 01501       BBK STUTTGART   60490150        427500001       VOLKSBANK LUDWIGSBURG   MO-MI(DO)7.30-15.30(17.30),FR 7.30-12.00 UHR    poststelle@fa-bietigheim-bissingen.fv.bwl.de            290
8227 8       2856    Böblingen      Talstr. 46      71034   Böblingen      (07031)13-01    07031/13-3200   71003   71003   1307    60300000        603 01500       BBK STUTTGART EH SINDELFING     60350130        220     KR SPK BOEBLINGEN       MO-MI 7.30-15.30,DO7.30-17.30,FR7.30-12.30      poststelle@fa-boeblingen.fv.bwl.de              291
8228 8       2857    Crailsheim      Schillerstr. 1  74564   Crailsheim      07951/4010      07951/401220    74552   74552   1252    62000000        620 01506       BBK HEILBRONN, NECKAR   62250030        282     SPARKASSE SCHWAEBISCH HALL      MO-DO:7.45-16.00,MI:-17.30,FR:7.45-12.30        poststelle@fa-crailsheim.fv.bwl.de              292
8229 8       2858    Ehingen         Hehlestr. 19    89584   Ehingen 07391/5080      07391/508260    89572   89572   1251    63000000        630 01502       BBK ULM, DONAU  63050000        9 300 691       SPARKASSE ULM   Mo-Mi 7.30-15.30,Do 7.30-17.30,Fr 7.30-12.00    poststelle@fa-ehingen.fv.bwl.de         293
8230 8       2859    Esslingen       Entengrabenstr. 11      73728   Esslingen       0711/39721      0711/3972400    73726                   61100000        61101500        BBK STUTTGART EH ESSLINGEN      61150020        902139  KR SPK ESSLINGEN-NUERTINGEN     Infothek Mo-Mi 7-15.30,Do-17.30, Fr 7-12 Uhr    poststelle@fa-esslingen.fv.bwl.de               294
8231 8       2861    Friedrichshafen         Ehlersstr. 13   88046   Friedrichshafen 07541/7060      07541/706111    88041                   63000000        65001504        BBK ULM, DONAU                          MO-MI 8-15.30, DO 8-17.30, FR 8-12.30 Uhr       poststelle@fa-friedrichshafen.fv.bwl.de         295
8232 8       2862    Geislingen      Schillerstr. 2  73312   Geislingen      07331/220       07331/22200     73302   73302   1253    60000000        61101504        BBK STUTTGART   61050000        6007203 KR SPK GOEPPINGEN       Mo-Mi 7-15:30, Do 7-17:30,Fr 7-12       poststelle@fa-geislingen.fv.bwl.de              296
8233 8       2863    Göppingen      Gartenstr. 42   73033   Göppingen      07161/63-0      07161/632935            73004   420     60000000        61101503        BBK STUTTGART   61050000        1 023   KR SPK GOEPPINGEN       MO-MI.7-15.30 Uhr,DO.7-17.30 Uhr,FR.7-12 Uhr    poststelle@fa-goeppingen.fv.bwl.de              297
8234 8       2864    Heidenheim      Marienstr. 15   89518   Heidenheim      07321/380       07321/381528    89503   89503   1320    63000000        61401505        BBK ULM, DONAU  63250030        880433  KR SPK HEIDENHEIM       Mo-Mi 7.30-15.30 Do 7.30-17.30 Fr 7.30-12.30    poststelle@fa-heidenheim.fv.bwl.de              298
8235 8       2865    Heilbronn       Moltkestr. 91   74076   Heilbronn       07131/1041      07131/1043000   74064                   62000000        620 01500       BBK HEILBRONN, NECKAR   62050000        123925  KR SPK HEILBRONN        Mo,Di,Do7:30-15:30,Mi7:30-17:30,Fr7:30-12:00    poststelle@fa-heilbronn.fv.bwl.de               299
8236 8       2869    Kirchheim       Alleenstr. 120  73230   Kirchheim       07021/5750      575258  73220   73220   1241    61100000        61101501        BBK STUTTGART EH ESSLINGEN      61150020        48317054        KR SPK ESSLINGEN-NUERTINGEN     KUNDENCENTER MO-MI 8-15.30,DO 8-17.30,FR8-12    poststelle@fa-kirchheim.fv.bwl.de               300
8237 8       2871    Ludwigsburg     Alt-Württ.-Allee 40 (Neubau)   71638   Ludwigsburg     07141/180       07141/182105    71631                   60000000        604 01500       BBK STUTTGART   60450050        7 759   KREISSPARKASSE LUDWIGSBURG      MO-MI 8-15.30,DO 8-18.00,FR 8-12.00     poststelle@fa-ludwigsburg.fv.bwl.de             302
8238 8       2874    Nürtingen      Sigmaringer Str. 15     72622   Nürtingen      07022/7090      07022/709-120   72603   72603   1309    60000000        61101502        BBK STUTTGART                           MO-Mi 7.30-15.30 Do 7.30-17.30 Fr 7.30-12.00    poststelle@fa-nuertingen.fv.bwl.de              303
8239 8       2876    Ã–hringen       Haagweg 39      74613   Ã–hringen       07941/6040      07941/604400    74611                   62000000        62001501        BBK HEILBRONN, NECKAR   62251550        40008   SPARKASSE HOHENLOHEKREIS        MO-DO 7.30-16.00UhrFR 7.30-12.00 Uhr    poststelle@fa-oehringen.fv.bwl.de               304
8240 8       2877    Ravensburg      Broner Platz 12 88250   Weingarten      0751/4030       403-303 88248                   65000000        650 015 00      BBK ULM EH RAVENSBURG   65050110        86 500 500      KR SPK RAVENSBURG       Mo,Di,Do 8-15.30Uhr,ZIA Mi 8-17.30,Fr8-12Uhr    poststelle@fa-ravensburg.fv.bwl.de              305
8241 8       2878    Reutlingen      Leonhardsplatz 1        72764   Reutlingen      07121/9400      07121/9401002   72705   72705   1543    64000000        64001500        BBK REUTLINGEN  64050000        64 905  KR SPK REUTLINGEN       Mo-Mi 7-15.30, Do 7-17.30, Fr 7-12.00 Uhr       poststelle@fa-reutlingen.fv.bwl.de              306
8242 8       2879    Riedlingen      Kirchstr. 30    88499   Riedlingen      07371/1870      07371/1871000   88491   88491   1164    63000000        63001509        BBK ULM, DONAU  65450070        400 600 KR SPK BIBERACH INFOST. MO-MI 7.30-15.30,DO-17.30,FR-12 UHR     poststelle@fa-riedlingen.fv.bwl.de              307
8243 8       2880    Tauberbischofsheim      Dr.-Burger-Str. 1       97941   Tauberbischofsheim      09341/8040      09341/804244    97933   97933   1340    62000000        620 01507       BBK HEILBRONN, NECKAR   67332551        8282661100      BW BANK TAUBERBISCHOFSHEIM      MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-tauberbischofsheim.fv.bwl.de              308
8244 8       2881    Bad Saulgau     Schulstr. 5     88348   Bad Saulgau     07581/504-0     07581/504499    88341   88341   1255    65000000        650 01501       BBK ULM EH RAVENSBURG   65351050        210058  LD BK KR SPK SIGMARINGEN        MO,DO,FR 8-12,DO 13.30-15.30UHR poststelle@fa-badsaulgau.fv.bwl.de              309
8245 8       2882    Schorndorf      Johann-Philipp-Palm-Str. 28     73614   Schorndorf      07181/6010      07181/601499    73603   73603   1320    60000000        60201502        BBK STUTTGART   60250010        5014008 KR SPK WAIBLINGEN       MO,DI,DO 8-15.30,MI 8-17.30,FR 8-12.00  poststelle@fa-schorndorf.fv.bwl.de              310
8246 8       2883    Schwäbisch Gmünd      Augustinerstr. 6        73525   Schwäbisch Gmünd      (07171) 602-0   07171/602266    73522                   63000000        61401501        BBK ULM, DONAU  61450050        440066604       KREISSPARKASSE OSTALB   MO,DI,DO 8-15.30 MI 8-17.30 FR 8-12.00 UHR      poststelle@fa-schwaebischgmuend.fv.bwl.de               311
8247 8       2884    Schwäbisch Hall        Bahnhofstr. 25  74523   Schwäbisch Hall        0791/752-0      0791/7521115    74502   74502   100260  62000000        62001503        BBK HEILBRONN, NECKAR   62250030        5070 011        SPARKASSE SCHWAEBISCH HALL      MO-MI 7.30-16.00 DO 7.30-17.30 FR 7.30-12.00    poststelle@fa-schwaebischhall.fv.bwl.de         312
8248 8       2885    Sigmaringen     Karlstr. 31     72488   Sigmaringen     07571/1010      07571/101300    72481   72481   1250    65300000        653 01501       BBK REUTLINGEN EH ALBSTADT      65351050        808 408 LD BK KR SPK SIGMARINGEN        MO-MI 7.45-15.30,DO 7.45-17.30,FR 7.45-12.00    poststelle@fa-sigmaringen.fv.bwl.de             313
8249 8       2886    Tübingen       Steinlachallee 6 - 8    72072   Tübingen       07071/7570      07071/7574500   72005   72005   1520    64000000        64001505        BBK REUTLINGEN                          Mo-Do 7.30-15.30,Mi -17.30,Fr 7.30-13.00 Uhr    poststelle@fa-tuebingen.fv.bwl.de               314
8250 8       2887    Ãœberlingen (Bodensee)  Mühlenstr. 28  88662   Ãœberlingen     07551/8360      07551/836299    88660                   69400000        69001501        BBK VILLINGEN-SCHWENNINGEN      69220020        6426155500      BW BANK SINGEN  Mo-Mi 8.00-15.30,Do 8.00-17.30,Fr 8.00-12.00    poststelle@fa-ueberlingen.fv.bwl.de             315
8251 8       2888    Ulm     Wagnerstr. 2    89077   Ulm     0731/1030       0731/103800             89008   1860    63000000        63001500        BBK ULM, DONAU  63050000        30001   SPARKASSE ULM   MO-MI 7.30-15.30,DO 7.30-17.30,FR 7.30-12.00    poststelle@fa-ulm.fv.bwl.de             316
8252 8       2889    Bad Urach       Graf-Eberhard-Platz 7   72574   Bad Urach       07125/1580      (07125)158-300  72562   72562   1149    64000000        640 01501       BBK REUTLINGEN  64050000        300 346 KR SPK REUTLINGEN       MO-MI 7.30-15.30 DO 7.30-17.30 FR 7.30-12.00    poststelle@fa-badurach.fv.bwl.de                317
8253 8       2890    Waiblingen      Fronackerstr. 77        71332   Waiblingen      07151/9550      07151/955200    71328                   60000000        602 01500       BBK STUTTGART   60250010        200 398 KR SPK WAIBLINGEN       INFOTHEK MO-DO 7.30-15.30,MI-17.30,FR-12.00     poststelle@fa-waiblingen.fv.bwl.de              318
8254 8       2891    Wangen  Lindauer Str.37 88239   Wangen  07522/710       07522(714000)   88228   88228   1262    63000000        650 01502       BBK ULM, DONAU  65050110        218 153 KR SPK RAVENSBURG       MO-MI 8-15.30, DO 8-17.30, FR 8-12 UHR  poststelle@fa-wangen.fv.bwl.de          319
8255 8       2892    Stuttgart IV    Seidenstr.23    70174   Stuttgart       0711/66730      0711/66736060   70049   70049   106052  60000000        600 01503       BBK STUTTGART   60050101        2 065 854       LANDESBANK BADEN-WUERTT MO,MI,FR 8-12,MI 13.30-16 UHR   poststelle@fa-stuttgart4.fv.bwl.de              320
8256 8       2893    Stuttgart I     Rotebühlplatz 30       70173   Stuttgart       0711/66730      6673 - 5010     70049   70049   106055  60000000        600 01503       BBK STUTTGART   60050101        2 065 854       LANDESBANK BADEN-WUERTT Mo,Die,Do: 8-15.30, Mi: 8-17.30, Fr: 8-12.00    poststelle@fa-stuttgart1.fv.bwl.de              321
8257 8       2895    Stuttgart II    Rotebühlstr. 40        70178   Stuttgart       0711/66730      0711/66735610                           60000000        60001503        BBK STUTTGART   60050101        2065854 LANDESBANK BADEN-WUERTT MO-DO:8-15.30 FR:8-12 MI:15.30-17.30    poststelle@fa-stuttgart2.fv.bwl.de              322
8258 8       2896    Stuttgart Zentrales Konzernprüfungsamt Hackstr. 86     70190   Stuttgart       0711/9251-6     0711/9251706                                                                                    poststelle@zbp-stuttgart.fv.bwl.de              323
8259 8       2897    Stuttgart III   Rotebühlplatz 30       70173   Stuttgart       0711/66730      0711/66735710           70049   106053  60000000        600 01503       BBK STUTTGART   60050101        2 065 854       LANDESBANK BADEN-WUERTT Mo-Do:8-15.30 Mi:8-17.30 Fr:8-12.00 Uhr poststelle@fa-stuttgart3.fv.bwl.de              324
8260 8       2899    Stuttgart-Körpersch.   Paulinenstr. 44 70178   Stuttgart       0711/66730      0711/66736525   70049   70049   106051  60000000        600 01503       BBK STUTTGART   60050101        2 065 854       LANDESBANK BADEN-WUERTT MO-FR 8:00-12:00, MO-DO 13:00-15:30 Uhr poststelle@fa-stuttgart-koerperschaften.fv.bwl.de               325
8261 12      3046    Potsdam-Stadt   Am Bürohochhaus 2      14478   Potsdam 0331 287-0      0331 287-1515           14429   80 03 22        16000000        16001501        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Potsdam-Stadt@fa.brandenburg.de           326
8262 12      3047    Potsdam-Land    Steinstr. 104 - 106     14480   Potsdam 0331 6469-0     0331 6469-200           14437   90 01 45        16000000        16001502        BBK POTSDAM                             täglich außer Mi: 08:00-12:30 Uhr, zusätzlich Di: 14:00-17:00 Uhr    poststelle.FA-Potsdam-Land@fa.brandenburg.de            327
8263 12      3048    Brandenburg     Magdeburger Straße 46  14770   Brandenburg     03381 397-100   03381 397-200                           16000000        16001503        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Brandenburg@fa.brandenburg.de             328
8264 12      3049    Königs Wusterhausen    Weg am Kreisgericht 9   15711   Königs Wusterhausen    03375 275-0     03375 275-103                           16000000        16001505        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Koenigs-Wusterhausen@fa.brandenburg.de            329
8265 12      3050    Luckenwalde     Industriestraße 2      14943   Luckenwalde     03371 606-0     03371 606-200                           16000000        16001504        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Luckenwalde@fa.brandenburg.de             330
8266 12      3051    Nauen   Ketziner Straße 3      14641   Nauen   03321 412-0     03321 412-888           14631   11 61   16000000        16001509        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Nauen@fa.brandenburg.de           331
8267 12      3052    Kyritz  Perleberger Straße 1 - 2       16866   Kyritz  033971 65-0     033971 65-200                           16000000        16001507        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Kyritz@fa.brandenburg.de          332
8268 12      3053    Oranienburg     Heinrich-Grüber-Platz 3        16515   Oranienburg     03301 857-0     03301 857-334                           16000000        16001508        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Oranienburg@fa.brandenburg.de             333
8269 12      3054    Pritzwalk       Freyensteiner Chaussee 10       16928   Pritzwalk       03395 757-0     03395 302110                            16000000        16001506        BBK POTSDAM                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Pritzwalk@fa.brandenburg.de               334
8270 12      3056    Cottbus         Vom-Stein-Straße 29    3050    Cottbus 0355 4991-4100  0355 4991-4150          3004    10 04 53        18000000        18001501        BBK COTTBUS                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Cottbus@fa.brandenburg.de         335
8271 12      3057    Calau   Springteichallee 25     3205    Calau   03541 83-0      03541 83-100            3201    11 71   18000000        18001502        BBK COTTBUS                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Calau@fa.brandenburg.de           336
8272 12      3058    Finsterwalde    Leipziger Straße 61 - 67       3238    Finsterwalde    03531 54-0      03531 54-180            3231    11 50   18000000        18001503        BBK COTTBUS                             Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Finsterwalde@fa.brandenburg.de            337
8273 12      3061    Frankfurt (Oder)        Müllroser Chaussee 53  15236   Frankfurt (Oder)        0335 560-1399   0335 560-1202                           17000000        17001502        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Frankfurt-Oder@fa.brandenburg.de          338
8274 12      3062    Angermünde     Jahnstraße 49  16278   Angermünde     03331 267-0     03331 267-200                           17000000        17001500        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Angermuende@fa.brandenburg.de             339
8275 12      3063    Fürstenwalde   Beeskower Chaussee 12   15517   Fürstenwalde   03361 595-0     03361 2198                              17000000        17001503        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Fuerstenwalde@fa.brandenburg.de           340
8276 12      3064    Strausberg      Prötzeler Chaussee 12 A        15344   Strausberg      03341 342-0     03341 342-127                           17000000        17001504        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Strausberg@fa.brandenburg.de              341
8277 12      3065    Eberswalde      Tramper Chaussee 5      16225   Eberswalde      03334 66-2000   03334 66-2001                           17000000        17001501        BBK FRANKFURT (ODER)                            Mo, Mi, Do: 08:00-15:00 Uhr, Di: 08:00-17:00 Uhr, Fr: 08:00-13:30 Uhr   poststelle.FA-Eberswalde@fa.brandenburg.de              342
8278 15      3101    Magdeburg I     Tessenowstraße 10      39114   Magdeburg       0391 885-29     0391 885-1400           39014   39 62   81000000        810 015 06      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-md1.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  343
8279 15      3102    Magdeburg II    Tessenowstraße 6       39114   Magdeburg       0391 885-12     0391 885-1000           39006   16 63   81000000        810 015 07      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-md2.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  344
8280 15      3103    Genthin         Berliner Chaussee 29 b  39307   Genthin 03933 908-0     03933 908-499           39302   13 41   81000000        810 015 08      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 09.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-gtn.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  345
8281 15      3104    Halberstadt     R.-Wagner-Straße 51    38820   Halberstadt     03941 33-0      03941 33-199            38805   15 26   81000000        268 015 01      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-hbs.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  346
8282 15      3105    Haldensleben    Jungfernstieg 37        39340   Haldensleben    03904 482-0     03904 482-200           39332   10 02 09        81000000        810 015 10      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-hdl.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  347
8283 15      3106    Salzwedel       Buchenallee 2   29410   Salzwedel       03901 857-0     03901 857-100           29403   21 51   81000000        810 015 05      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-saw.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  348
8284 15      3107    Staßfurt       Atzendorfer Straße 20  39418   Staßfurt       03925 980-0     03925 980-101           39404   13 55   81000000        810 015 12      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.30 - 18.00 Uhr   poststelle@fa-sft.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  349
8285 15      3108    Stendal         Scharnhorststraße 87   39576   Stendal 03931 57-1000   03931 57-2000           39551   10 11 31        81000000        810 015 13      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-sdl.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  350
8286 15      3109    Wernigerode     Gustav-Petri-Straße 14 38855   Wernigerode     03943 657-0     03943 657-150           38842   10 12 51        81000000        268 015 03      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 09.00 - 12.00 Uhr, Do.: 14.00 - 18.00 Uhr   poststelle@fa-wrg.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  351
8287 15      3110    Halle-Süd      Blücherstraße 1       6122    Halle   0345 6923-5     0345 6923-600   6103                    80000000        800 015 02      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr, Do.: 14.00       poststelle@fa-ha-s.ofd.mf.lsa-net.de    http://www.finanzamt.sachsen-anhalt.de  352
8288 15      3111    Halle-Nord      Blücherstraße 1       6122    Halle   0345 6924-0     0345 6924-400   6103                    80000000        800 015 01      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr, Do.: 14.00       poststelle@fa-ha-n.ofd.mf.lsa-net.de    http://www.finanzamt.sachsen-anhalt.de  353
8289 15      3112    Merseburg       Bahnhofstraße 10       6217    Merseburg       03461 282-0     03461 282-199           6203    13 51   80000000        800 015 09      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-msb.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  354
8290 15      3113    Bitterfeld      Röhrenstraße 33       6749    Bitterfeld      03493 347-0     03493 347-247           6732    12 64   80000000        805 015 05      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-btf.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  355
8291 15      3114    Dessau  Kühnauer Straße 166   6846    Dessau  0340 6513-0     0340 6513-403           6815    18 25   80000000        805 015 26      BBK HALLE                               Mo. - Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr    poststelle@fa-des.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  356
8292 15      3115    Wittenberg      Dresdener Straße 40    6886    Wittenberg      03491 430-0     03491 430-113           6872    10 02 54        80000000        805 015 07      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-wbg.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  357
8293 15      3116    Köthen         Zeppelinstraße 15      6366    Köthen 03496 44-0      03496 44-2900           6354    14 52   80000000        805 015 06      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr   poststelle@fa-kot.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  358
8294 15      3117    Quedlinburg     Adelheidstraße 2       6484    Quedlinburg     03946 976-0     03946 976-400           6472    14 20   81000000        268 015 02      BBK MAGDEBURG                           Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 17.30 Uhr   poststelle@fa-qlb.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  359
8295 15      3118    Eisleben        Bahnhofsring 10 a       6295    Eisleben        03475 725-0     03475 725-109   6291                    80000000        800 015 08      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-eil.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  360
8296 15      3119    Naumburg        Oststraße 26/26 a      6618    Naumburg        03445 753-0     03445 753-999           6602    12 51   80000000        800 015 27      BBK HALLE                               Mo., Di., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 13.00 - 18.00 Uhr   poststelle@fa-nbg.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  361
8297 15      3120    Zeitz   Friedensstraße 80      6712    Zeitz   03441 864-0     03441 864-480           6692    12 08   80000000        800 015 04      BBK HALLE                               Mo., Do., Fr.: 08.00 - 12.00 Uhr, Di.: 08.00 - 18.00 Uhr        poststelle@fa-ztz.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  362
8298 15      3121    Sangerhausen    Alte Promenade 27       6526    Sangerhausen    03464 539-0     03464 539-539           6512    10 12 24        80000000        800 015 25      BBK HALLE                               Di., Do., Fr.: 09.00 - 12.00 Uhr, Di.: 14.00 - 18.00 Uhr, Do.: 14.00 -  poststelle@fa-sgh.ofd.mf.lsa-net.de     http://www.finanzamt.sachsen-anhalt.de  363
8299 14      3201    Dresden I       Lauensteiner Str. 37    1277    Dresden 0351 2567-0     0351 2567-111   1264                    85000000        85001502        BBK DRESDEN                             Mo 8:00-15:00, Di 8:00-18:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-dresden1.smf.sachsen.de   http://www.Finanzamt-Dresden-I.de       364
8300 14      3202    Dresden II      Gutzkowstraße 10       1069    Dresden 0351 4655-0     0351 4655-269   1056                    85000000        85001503        BBK DRESDEN                             Mo - Fr 8:00-12:00 Uhr, Di 14:00-18:00, Do 14:00-18:00 Uhr      poststelle@fa-dresden2.smf.sachsen.de   http://www.Finanzamt-Dresden-II.de      365
8301 14      3203    Dresden III     Rabenerstr.1    1069    Dresden 0351 4691-0     0351 4717 369           1007    120641  85000000        85001504        BBK DRESDEN                             Mo 8:00-15:00, Di 8:00-18:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-dresden3.smf.sachsen.de   http://www.Finanzamt-Dresden-III.de     366
8302 14      3204    Bautzen         Wendischer Graben 3     2625    Bautzen 03591 488-0     03591 488-888   2621                    85000000        85001505        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-17:00, Mi 8:00-15:30, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-bautzen.smf.sachsen.de    http://www.Finanzamt-Bautzen.de 367
8303 5       5384    Münster f. Steuerfahndung und Steuerstrafsachen        Hohenzollernring 80     48145   Münster        0251/9370-0     0800 10092675384                                40000000        40001501        BBK MUENSTER, WESTF     40050150        95031001        SPK MUENSTERLAND OST            Service@FA-5384.fin-nrw.de              368
8304 14      3205    Bischofswerda   Kirchstraße 25 1877    Bischofswerda   03594 754-0     03594 754-444           1871    1111    85000000        85001506        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-17:00, Mi 8:00-15:30, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-bischofswerda.smf.sachsen.de      http://www.Finanzamt-Bischofswerda.de   369
8305 14      3206    Freital         Coschützer Straße 8-10        1705    Freital 0351 6478-0     0351 6478-428           1691    1560    85000000        85001507        BBK DRESDEN                             Mo 8:00-15:00, Di 8:00-18:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-freital.smf.sachsen.de    http://www.Finanzamt-Freital.de 370
8306 14      3207    Görlitz        Sonnenstraße 7 2826    Görlitz        03581 875-0     03581 875-100           2807    300235  85000000        85001512        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-goerlitz.smf.sachsen.de   http://www.Finanzamt-Goerlitz.de        371
8307 14      3208    Löbau  Georgewitzer Str.40     2708    Löbau  03585 455-0     03585 455-100           2701    1165    85000000        85001509        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-loebau.smf.sachsen.de     http://www.Finanzamt-Loebau.de  372
8308 14      3209    Meißen         Hermann-Grafe-Str.30    1662    Meißen 03521 745-30    03521 745-450           1651    100151  85000000        85001508        BBK DRESDEN                             Mo - Fr 8:00-12:00 Uhr Di 13:00-18:00, Do 13:00-17:00 Uhr       poststelle@fa-meissen.smf.sachsen.de    http://www.Finanzamt-Meissen.de 373
8309 14      3210    Pirna   Emil-Schlegel-Str. 11   1796    Pirna   03501 551-0     03501 551-201           1781    100143  85000000        85001510        BBK DRESDEN                             Mo - Fr 8:00-12:00 Uhr, Di 13:30-18:00, Do 13:30-17:00 Uhr      poststelle@fa-pirna.smf.sachsen.de      http://www.Finanzamt-Pirna.de   374
8310 14      3211    Riesa   Stahlwerkerstr.3        1591    Riesa   03525 714-0     03525 714-133           1571    24      85000000        85001511        BBK DRESDEN                             Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00 , Fr 8:00-12:00 Uhr  poststelle@fa-riesa.smf.sachsen.de      http://www.Finanzamt-Riesa.de   375
8311 14      3213    Hoyerswerda     Pforzheimer Platz 1     2977    Hoyerswerda     03571 460-0     03571 460-115           2961    1161/1162       85000000        85001527        BBK DRESDEN                             Mo 7:30-15:30, Di 7:30-17:00, Mi 7:30-13:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-hoyerswerda.smf.sachsen.de        http://www.Finanzamt-Hoyerswerda.de     376
8312 14      3214    Chemnitz-Süd   Paul-Bertz-Str. 1       9120    Chemnitz        0371 279-0      0371 227065     9097                    87000000        87001501        BBK CHEMNITZ                            Mo 8:00-16:00, Di 8:00-18:00, Mi 8:00-13:00, Do 8:00-18:00, Fr 8:00-13:00 Uhr   poststelle@fa-chemnitz-sued.smf.sachsen.de      http://www.Finanzamt-Chemnitz-Sued.de   377
8313 14      3215    Chemnitz-Mitte  August-Bebel-Str. 11/13 9113    Chemnitz        0371 467-0      0371 415830     9097                    87000000        87001502        BBK CHEMNITZ                            Mo 8:00-16:00, Di 8:00-18:00, Mi 8:00-14:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-chemnitz-mitte.smf.sachsen.de     http://www.Finanzamt-Chemnitz-Mitte.de  378
8314 14      3216    Chemnitz-Land   Reichenhainer Str. 31-33        9126    Chemnitz        0371 5360-0     0371 5360-317   9097                    87000000        87001503        BBK CHEMNITZ                            täglich 8:00-12:00, Di 13:30-17.00, Do 13:30-18:00 Uhr poststelle@fa-chemnitz-land.smf.sachsen.de      http://www.Finanzamt-Chemnitz-Land.de   379
8315 14      3217    Annaberg        Magazingasse 16 9456    Annaberg-B.     03733 4270      03733 427-217           9453    100631  87000000        87001504        BBK CHEMNITZ                            Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-annaberg.smf.sachsen.de   http://www.Finanzamt-Annaberg.de        380
8316 14      3218    Schwarzenberg   Karlsbader Str.23       8340    Schwarzenberg   03774 161-0     03774 161-100           8332    1209    87000000        87001505        BBK CHEMNITZ                            Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-schwarzenberg.smf.sachsen.de      http://www.Finanzamt-Schwarzenberg.de   381
8317 14      3219    Auerbach        Schulstraße 3, Haus 1  8209    Auerbach        03744 824-0     03744 824-200           8202    10132   87000000        87001506        BBK CHEMNITZ                            Mo 7:30-15:30, Di 7:30-18:00, Mi 7:30-12:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-aucherbach.smf.sachsen.de http://www.Finanzamt-Auerbach.de        382
8318 14      3220    Freiberg        Brückenstr.1   9599    Freiberg        03731 379-0     03731 379-999   9596                    87000000        87001507        BBK CHEMNITZ                            Mo - Fr 7:30-12:30, Mo 13:30-15:30, Di 13:00-18:00, Mi 13:30-15:30, Do 13:00-17:00 Uhr  poststelle@fa-freiberg.smf.sachsen.de   http://www.Finanzamt-Freiberg.de        383
8319 14      3221    Hohenstein-Ernstthal    Schulstraße 34 9337    Hohenstein-E.   03723 745-0     03723 745-399           9332    1246    87000000        87001510        BBK CHEMNITZ                            Mo - Fr 8:00-12:00, Mo 12:30-15:30, Di 12:30-18:00, Do 12:30-17:00      poststelle@fa-hohenstein-ernstthal.smf.sachsen.de       http://www.Finanzamt-Hohenstein-Ernstthal.de    384
8320 14      3222    Mittweida       Robert-Koch-Str. 17     9648    Mittweida       03727 987-0     03727 987-333           9641    1157    87000000        87001509        BBK CHEMNITZ                            Mo 7:30-15:00, Di 7:30-18:00, Mi 7:30-13:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-mittweida.smf.sachsen.de  http://www.Finanzamt-Mittweida.de       385
8321 14      3223    Plauen  Europaratstraße 17     8523    Plauen  03741 10-0      03741 10-2000           8507    100384  87000000        87001512        BBK CHEMNITZ                            Mo 7:30-14:00, Di 7:30-18:00, Mi 7:30-14:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-plauen.smf.sachsen.de     http://www.Finanzamt-Plauen.de  386
8322 14      3224    Stollberg       HOHENSTEINER STRASSE 54 9366    Stollberg       037296 522-0    037296 522-199          9361    1107    87000000        87001508        BBK CHEMNITZ                            Mo 7:30-15:30, Di 7:30-17:00, Mi 7:30-13:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-stollberg.smf.sachsen.de  http://www.Finanzamt-Stollberg.de       387
8323 14      3226    Zwickau-Stadt   Dr.-Friedrichs-Ring 21  8056    Zwickau 0375 3529-0     0375 3529-444           8070    100452  87000000        87001513        BBK CHEMNITZ                            Mo 7:30-15:30, Di 7:30-18:00, Mi 7:30-12:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-zwickau-stadt.smf.sachsen.de      http://www.Finanzamt-Zwickau-Stadt.de   388
8324 14      3227    Zwickau-Land    Ã„ußere Schneeberger Str. 62   8056    Zwickau 0375 4440-0     0375 4440-222           8067    100150  87000000        87001514        BBK CHEMNITZ                            Mo 8:00-15:30, Di 8:00-18:00, Mi 8:00-15:30, Do 8:00-17:00, Fr 8:00-12:00 Uhr   poststelle@fa-zwickau-land.smf.sachsen.de       http://www.Finanzamt-Zwickau-Land.de    389
8325 14      3228    Zschopau        August-Bebel-Str.17     9405    Zschopau        03725 293-0     03725 293-111           9402    58      87000000        87001515        BBK CHEMNITZ                            Mo7:30-12:00/13:00-16:30,Di 7:30-12:00/13:00-18:00Mi u. Fr 7:30-13:00, Do 7:30-12:00/13:00-18:00 Uhr    poststelle@fa-zschopau.smf.sachsen.de   http://www.Finanzamt-Zschopau.de        390
8326 14      3230    Leipzig I       Wilhelm-Liebknecht-Platz 3/4    4105    Leipzig 0341 559-0      0341 559-1540           4001    100105  86000000        86001501        BBK LEIPZIG                             Mo 7:30-14:00, Di 7:30-18:00, Mi 7:30-14:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-leipzig1.smf.sachsen.de   http://www.Finanzamt-Leipzig-I.de       391
8327 14      3231    Leipzig II      Erich-Weinert-Str. 20   4105    Leipzig 0341 559-0      0341 559-2505           4001    100145  86000000        86001502        BBK LEIPZIG                             Mo 7:30-14:00, Di 7:30-18:00, Mi 7:30-14:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-leipzig2.smf.sachsen.de   http://www.Finanzamt-Leipzig-II.de      392
8328 14      3232    Leipzig III     Wilhelm-Liebknecht-Platz 3/4    4105    Leipzig 0341 559-0      0341 559-3640           4002    100226  86000000        86001503        BBK LEIPZIG                             Mo 7:30-14:00, Di 7:30-18:00, Mi 7:30-14:00, Do 7:30-18:00, Fr 7:30-12:00 Uhr   poststelle@fa-leipzig3.smf.sachsen.de   http://www.Finanzamt-Leipzig-III.de     393
8329 14      3235    Borna   Brauhausstr.8   4552    Borna   03433 872-0     03433 872-255           4541    1325    86000000        86001509        BBK LEIPZIG                             Mo 8:00-15:00, Di 8:00-18:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-borna.smf.sachsen.de      http://www.Finanzamt-Borna.de   394
8330 14      3236    Döbeln         Burgstr.31      4720    Döbeln 03431 653-30    03431 653-444           4713    2346    86000000        86001507        BBK LEIPZIG                             Mo 7:30-15:30, Di 7:30-18:00, Mi 7:30-13:00, Do 7:30-17:00, Fr 7:30-12:00 Uhr   poststelle@fa-doebeln.smf.sachsen.de    http://www.Finanzamt-Doebeln.de 395
8331 14      3237    Eilenburg       Walther-Rathenau-Straße 8      4838    Eilenburg       03423 660-0     03423 660-460           4831    1133    86000000        86001506        BBK LEIPZIG                             Mo 8:00-16:00, Di 8:00-18:00, Mi 8:00-14:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-eilenburg.smf.sachsen.de  http://www.Finanzamt-Eilenburg.de       396
8332 14      3238    Grimma  Lausicker Straße 2     4668    Grimma  03437 940-0     03437 940-500           4661    1126    86000000        86001508        BBK LEIPZIG                             Mo 7:30-15:00, Di 7:30-18:00, Mi 7:30-13:30, Do 7:30-17:00, Fr 7:30-12:00 Uhr   poststelle@fa-grimma.smf.sachsen.de     http://www.Finanzamt-Grimma.de  397
8333 14      3239    Oschatz         Dresdener Str.77        4758    Oschatz 03435 978-0     03435 978-366           4752    1265    86000000        86001511        BBK LEIPZIG                             Mo 8:00-16:00, Di 8:00-17:00, Mi 8:00-15:00, Do 8:00-18:00, Fr 8:00-12:00 Uhr   poststelle@fa-oschatz.smf.sachsen.de    http://www.Finanzamt-Oschatz.de 398
8334 13      4071    Malchin         Schratweg 33    17139   Malchin 03994/6340      03994/634322            17131   1101    15000000        15001511        BBK NEUBRANDENBURG                              Mo Di Fr 08-12 Uhr Di 13-17 Uhr und Do 13-16 UhrMittwoch geschlossen    poststelle@fa-mc.ofd-hro.de             399
8335 13      4072    Neubrandenburg  Neustrelitzer Str. 120  17033   Neubrandenburg  0395/380 1000   0395/3801059            17041   110164  15000000        15001518        BBK NEUBRANDENBURG                              Mo Di Do Fr 08-12 Uhr und Di 13.00-17.30 Uhr Mittwoch geschlossen       poststelle@fa-nb.ofd-hro.de             400
8336 13      4074    Pasewalk        Torgelower Str. 32      17309   Pasewalk        (03973) 224-0   03973/2241199           17301   1102    15000000        15001512        BBK NEUBRANDENBURG                              Mo bis Fr 09.00-12.00 Uhr Di 14.00-18.00 Uhr    poststelle@fa-pw.ofd-hro.de             401
8337 13      4075    Waren   Einsteinstr. 15 17192   Waren (Müritz) 03991/1740      (03991)174499           17183   3154    15000000        15001515        BBK NEUBRANDENBURG                              Mo-Mi 08.00-16.00 Uhr Do 08.00-18.00 Uhr Fr 08.-13.00 Uhr       poststelle@fa-wrn.ofd-hro.de            402
8338 13      4079    Rostock         Möllner Str. 13        18109   Rostock (0381)7000-0    (0381)7000444           18071   201062  13000000        13001508        BBK ROSTOCK                             Mo Di Fr 8.30-12.00 Di 13.30-17.00 Do 13.30-16.00       poststelle@fa-hro.ofd-hro.de            403
8339 13      4080    Wismar  Philosophenweg 1        23970   Wismar  03841444-0      03841/444222                            14000000        14001516        BBK SCHWERIN                            Mo Di Fr 08.00-12.00 Uhr Di Do 14.00-17.00 Uhr Mittwoch geschlossen     poststelle@fa-wis.ofd-hro.de            404
8340 13      4081    Ribnitz-Damgarten       Sandhufe 3      18311   Ribnitz-Damgarten       (03821)884-0    (03821)884140           18301   1061    13000000        13001510        BBK ROSTOCK                             MO Di Mi DO 08.30-12.00 UHR DI 13.00-17.00 UHR Freitag geschlossen      poststelle@fa-rdg.ofd-hro.de            405
8341 13      4082    Stralsund       Lindenstraße 136       18435   Stralsund       03831/3660      (03831)366245 / 188             18409   2241    13000000        13001513        BBK ROSTOCK                             Mo Di Do Fr 08.00-12.00 Uhr Di 14.00 - 18.00 UhrMittwoch geschlossen    poststelle@fa-hst.ofd-hro.de            406
8342 13      4083    Bergen  Wasserstr. 15 d 18528   Bergen (Rügen) 03838/4000      03838/22217     18522   18522   1242    13000000        13001512        BBK ROSTOCK                             Mo Di Do Fr 8.30-12.00 Di 13.00-18.00 Mittwoch geschlossen      poststelle@fa-brg.ofd-hro.de            407
8343 13      4084    Greifswald      Am Gorzberg Haus 11     17489   Greifswald      03834/5590      03834-559315/316        17462   17462   3254    15000000        15001528        BBK NEUBRANDENBURG                              Mo Di Do Fr 8.30-12.00 Uhr Di 13.00-17.30 Uhr Mittwoch geschlossen      poststelle@fa-hgw.ofd-hro.de            408
8344 13      4085    Wolgast         Pestalozzistr. 45       17438   Wolgast 03836/254-0     03836/254300 /254100            17431   1139    15000000        15001529        BBK NEUBRANDENBURG                              Mo Di Mi Do Fr 08.00-12.00 Uhr  poststelle@fa-wlg.ofd-hro.de            409
8345 13      4086    Güstrow        Klosterhof 1    18273   Güstrow        03843/2620      03843/262111    18271                   13000000        13001501        BBK ROSTOCK                             Mo-Do 09.00-12.00 Uhr Do 13.00-18.00 Uhr Freitag geschlossen    poststelle@fa-gue.ofd-hro.de            410
8346 13      4087    Hagenow         Steegener Chaussee 8    19230   Hagenow 03883/6700      03883 670216 /670217            19222   1242    14000000        14001504        BBK SCHWERIN                            Mo Di Do Fr 08.30-12.00 Di 13.00-17.30 Mittwoch geschlossen     poststelle@fa-hgn.ofd-hro.de            411
8347 13      4089    Parchim         Ludwigsluster Chaussee 5        19370   Parchim 03871/4650      03871/443131            19363   1351    14000000        14001506        BBK SCHWERIN                            Mo Di Mi 08.30-15.00 Uhr Do 08.30-18.00 Uhr Fr 08.30-13.00 Uhr  poststelle@fa-pch.ofd-hro.de            412
8348 13      4090    Schwerin        Johannes-Stelling-Str.9-11      19053   Schwerin        0385/54000      0385/5400300            19091   160131  14000000        14001502        BBK SCHWERIN                             Di Do Fr 08.30 - 12.00 Uhr Mo 13.00 - 16.00 Uhr Do 14.00       poststelle@fa-sn.ofd-hro.de             413
8349 16      4151    Erfurt  Mittelhäuser Str. 64f  99091   Erfurt  (0361)378-00    0361/3782800            99001   100121  82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              DI. 8- 12/ 13.30 -18 MI./FR. 8 - 12 UHR poststelle@finanzamt-erfurt.thueringen.de               414
8350 16      4152    Sömmerda       Uhlandstrasse 3 99610   Sömmerda       03634/363-0     03634/363200            99609   100     82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO/MI/DO 8-16 UHR DI 8-18,FR 8-12 UHR   poststelle@finanzamt-soemmerda.thueringen.de            415
8351 16      4153    Weimar  Jenaer Str.2a   99425   Weimar  03643/5500      (03643)903811           99421   3676    82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              MO,MI,DO 8-15.30 UHR DI 8-18,FR 8-12 UHR        poststelle@finanzamt-weimar.thueringen.de               416
8352 16      4154    Ilmenau         Wallgraben 1    98693   Ilmenau (03677) 861-0   03677/861111            98686   100754  82050000        3001111685      LD BK HESS-THUER GZ ERFURT                              MO,MI 8-15.30 UHR, DI 8-18 UHR DO 8-16 UHR, FR 8-12 UHR poststelle@finanzamt-ilmenau.thueringen.de              417
8353 16      4155    Eisenach        Ernst-Thaelmann-Str. 70 99817   Eisenach        03691/687-0     03691/687250            99804   101454  82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              MO-FR: 8-12 UHR, MO-MI: 13-16 UHR, DO: 13-18 UHR        poststelle@finanzamt-eisenach.thueringen.de             418
8354 16      4156    Gotha   Reuterstr. 2a   99867   Gotha   (03621)33-0     03621/332000            99853   100301  82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              MO - MI 8-15.30 UHR DO 8-18,FR 8-12 UHR poststelle@finanzamt-gotha.thueringen.de                419
8355 16      4157    Mühlhausen     Martinistr. 22  99974   Mühlhausen     (03601)456-0    03601/456100            99961   1155    82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO/MI/DO 7.30-15 UHR DI.7.30-18,FR.7.30-12      poststelle@finanzamt-muehlhausen.thueringen.de          420
8356 16      4158    Nordhausen      Gerhart-Hauptmann-Str. 3        99734   Nordhausen      03631/427-0     03631/427174            99729   1120    82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO,DI,MI 8-12, 13.30-16 UHR DO 8-12,14-18 FR 8-12 UHR   poststelle@finanzamt-nordhausen.thueringen.de           421
8357 16      4159    Sondershausen   Schillerstraße 6       99706   Sondershausen   (03632)742-0    03632/742555            99702   1265    82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO/MI/DO 8-15.30 UHR DI 8-18, FR 8-12 UHR       poststelle@finanzamt-sondershausen.thueringen.de                422
8358 16      4160    Worbis  Bahnhofstr. 18  37339   Worbis  036074/37-0     036074/37219            37334   173     82050000        3001111628      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-15 UHR DO 7.30-18,FR 7.30-12 poststelle@finanzamt-worbis.thueringen.de               423
8359 16      4161    Gera    Hermann-Drechsler-Str.1 7548    Gera    0365/639-0      0365/6391491            7490    3044    82050000        3001111578      LD BK HESS-THUER GZ ERFURT                              MO,MI 7.30-15 DI,DO 7.30- 18 UHR FR 7.30-12 UHR poststelle@finanzamt-gera.thueringen.de         424
8360 16      4162    Jena    Leutragraben 8  7743    Jena    (03641)378-0    03641/378653            7740    500     82050000        3001111602      LD BK HESS-THUER GZ ERFURT                              MO-MI 8-15.30 DO 8-18 FR 8-12.00UHR     poststelle@finanzamt-jena.thueringen.de         425
8361 16      4163    Rudolstadt      Mörlaer Str. 2 7407    Rudolstadt      (03672)443-0    (03672)443100           7391    100155  82050000        3001111578      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-12, 13-15 DO 7.30-12, 13-18 UHR FR 7.30-12 UHR       poststelle@finanzamt-rudolstadt.thueringen.de           426
8362 16      4164    Greiz   Rosa-Luxemburg-Str. 23  7973    Greiz   03661/700-0     03661/700300            7962    1365    82050000        3001111578      LD BK HESS-THUER GZ ERFURT                              MO/DI/MI 8-16UHR DO 8-18,FR 8-12UHR     poststelle@finanzamt-greiz.thueringen.de                427
8363 16      4165    Pößneck       Gerberstr. 65   7381    Pößneck       (03647)446-0    (03647)446430           7372    1253    82050000        3001111578      LD BK HESS-THUER GZ ERFURT                              MO-FR 8-12 MO,MI,DO 13-15 UHR DI 13-18 UHR      poststelle@finanzamt-poessneck.thueringen.de            428
8364 16      4166    Altenburg       Wenzelstr. 45   4600    Altenburg       03447/593-0     03447/593200            4582    1251    82050000        3001111511      LD BK HESS-THUER GZ ERFURT                              MO,MI,DO 7.30-15.30 DI 7.30-18 UHR FR 7.30-12 UHR       poststelle@finanzamt-altenburg.thueringen.de            429
8365 16      4168    Bad Salzungen   August-Bebel-Str.2      36433   Bad Salzungen   (03695)668-0    03695/622496            36421   1153    82050000        3001111586      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-15 UHR DO 7.30-18,FR 7.30-12 poststelle@finanzamt-badsalzungen.thueringen.de         430
8366 16      4169    Meiningen       Charlottenstr. 2        98617   Meiningen       03693/461-0     (03693)461322           98606   100661  82050000        3001111610      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-15 UHR DO 7.30-18,FR 7.30-12 poststelle@finanzamt-meiningen.thueringen.de            431
8367 16      4170    Sonneberg       Köppelsdorfer Str.86   96515   Sonneberg       03675/884-0     03675/884254            96502   100241  82050000        3001111685      LD BK HESS-THUER GZ ERFURT                              MO-MI 7.30-15.00 UHR DO 7.30-18 FR 7.30-12      poststelle@finanzamt-sonneberg.thueringen.de            432
8368 16      4171    Suhl    Karl-Liebknecht-Str. 4  98527   Suhl    03681/73-0      03681/733512            98490   100153  82050000        3001111685      LD BK HESS-THUER GZ ERFURT                              MO - MI 8-16 UHR, DO 8-13 u. 14-18 UHR , FR 8-12 UHR    poststelle@finanzamt-suhl.thueringen.de         433
8369 5       5101    Dinslaken       Schillerstr. 71 46535   Dinslaken       02064/445-0     0800 10092675101                46522   100220  35000000        35201501        BBK DUISBURG    35251000        100123  SPK DINSLAKEN-VOERDE-HUENXE     Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5101.fin-nrw.de      www.finanzamt-Dinslaken.de      434
8370 5       5102    Viersen         Eindhovener Str. 71     41751   Viersen 02162/955-0     0800 10092675102                41726   110263  31000000        31001503        BBK MOENCHENGLADBACH    32050000        59203406        SPARKASSE KREFELD       Mo-Fr 8:30 bis 12:00 Uhr,Di auch 13:30 bis 15:00 Uhr,und nach Vereinbarung      Service@FA-5102.fin-nrw.de      www.finanzamt-Viersen.de        435
8371 5       5103    Düsseldorf-Altstadt    Kaiserstr. 52   40479   Düsseldorf     0211/4974-0     0800 10092675103                40001   101021  30000000        30001504        BBK DUESSELDORF 30050110        10124006        ST SPK DUESSELDORF      Mo-Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung Service@FA-5103.fin-nrw.de      www.finanzamt-Duesseldorf-Altstadt.de   436
8372 5       5105    Düsseldorf-Nord        Roßstr. 68     40476   Düsseldorf     0211/4496-0     0800 10092675105                40403   300314  30000000        30001501        BBK DUESSELDORF 30050110        10124501        ST SPK DUESSELDORF      Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5105.fin-nrw.de      www.finanzamt-Duesseldorf-Nord.de       437
8373 5       5106    Düsseldorf-Süd        Kruppstr.110- 112       40227   Düsseldorf     0211/779-9      0800 10092675106                40001   101025  30000000        30001502        BBK DUESSELDORF 30050110        10125003        ST SPK DUESSELDORF      Mo-Fr 8.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung      Service@FA-5106.fin-nrw.de      www.finanzamt-Duesseldorf-Sued.de       438
8374 5       5107    Duisburg-Hamborn        Hufstr. 25      47166   Duisburg        0203/5445-0     0800 10092675107                47142   110264  35000000        35001502        BBK DUISBURG                            Mo-Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung Service@FA-5107.fin-nrw.de      www.finanzamt-Duisburg-Hamborn.de       439
8375 5       5109    Duisburg-Süd   Landfermannstr 25       47051   Duisburg        0203/3001-0     0800 10092675109                47015   101502  35000000        35001500        BBK DUISBURG    35050000        200403020       SPK DUISBURG    Mo-Fr 08:30 Uhr - 12:00 Uhr,Di auch 13:30 Uhr - 15:00 Uhr       Service@FA-5109.fin-nrw.de      www.finanzamt-Duisburg-Sued.de  440
8376 5       5110    Essen-Nord      Altendorfer Str. 129    45143   Essen   0201/1894-0     0800 10092675110                45011   101155  36000000        36001500        BBK ESSEN       36050105        275008  SPARKASSE ESSEN Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5110.fin-nrw.de      www.finanzamt-Essen-Nord.de     441
8377 5       5111    Essen-Ost       Altendorfer Str. 129    45143   Essen   0201/1894-0     0800 10092675111        45116   45012   101262  36000000        36001501        BBK ESSEN       36050105        261800  SPARKASSE ESSEN Mo-Fr,Di        Service@FA-5111.fin-nrw.de      www.finanzamt-Essen-Ost.de      442
8378 5       5112    Essen-Süd      Altendorfer Str. 129    45143   Essen   0201/1894-0     0800 10092675112                45011   101145  36000000        36001502        BBK ESSEN       36050105        203000  SPARKASSE ESSEN Mo-Fr 08.30-12.00 Uhr, Di auch 13.30-15.00 Uhr, und nach Vereinbarung   Service@FA-5112.fin-nrw.de      www.finanzamt-Essen-Sued.de     443
8379 5       5113    Geldern         Gelderstr 32    47608   Geldern 02831/127-0     0800 10092675113                47591   1163    32000000        32001502        BBK MOENCHENGLADBACH EH KRE     32051370        112011  SPARKASSE GELDERN       Montag - Freitag 8:30 - 12:00,Uhr,Dienstag auch 13:00 - 15:00 U,hr und nach Vereinbarung        Service@FA-5113.fin-nrw.de      www.finanzamt-Geldern.de        444
8380 5       5114    Grevenbroich    Erckensstr. 2   41515   Grevenbroich    02181/607-0     0800 10092675114                41486   100264  30000000        30001507        BBK DUESSELDORF 30550000        101683  SPARKASSE NEUSS Mo-Fr 8:30-12:00 Uhr,Di auch 13:30-15:00 Uhr,und nach Vereinbarung      Service@FA-5114.fin-nrw.de      www.finanzamt-Grevenbroich.de   445
8381 5       5115    Kempen  Arnoldstr 13    47906   Kempen  02152/919-0     0800 10092675115                47880   100329  31000000        32001501        BBK MOENCHENGLADBACH                            MO.-DO. 8.30-12.00 UHR,FREITAGS GESCHLOSSEN     Service@FA-5115.fin-nrw.de      www.finanzamt-Kempen.de 446
8382 5       5116    Kleve   Emmericher Str. 182     47533   Kleve   02821/803-1     0800 10092675116                47512   1251    35000000        32401501        BBK DUISBURG    32450000        5013628 SPARKASSE KLEVE Mo - Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr     Service@FA-5116.fin-nrw.de      www.finanzamt-Kleve.de  447
8383 5       5117    Krefeld         Grenzstr 100    47799   Krefeld 02151/854-0     0800 10092675117                47706   100665  31000000        32001500        BBK MOENCHENGLADBACH                            Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5117.fin-nrw.de      www.finanzamt-Krefeld.de        448
8384 5       5119    Moers   Unterwallstr 1  47441   Moers   02841/208-0     0800 10092675119        47439   47405   101520  35000000        35001505        BBK DUISBURG    35450000        1101000121      SPARKASSE MOERS Montag-Freitag von 8.30-12.00,Dienstag von 13.30-15.00  Service@FA-5119.fin-nrw.de      www.finanzamt-Moers.de  449
8385 5       5120    Mülheim an der Ruhr    Wilhelmstr 7    45468   Mülheim an der Ruhr    0208/3001-1     0800 10092675120                45405   100551  36000000        36201500        BBK ESSEN       36250000        300007007       SPK MUELHEIM AN DER RUHR        Mo-Fr,Di auch 13:30-15:00 Uhr,und nach Vereinbarung     Service@FA-5120.fin-nrw.de      www.finanzamt-Muelheim-Ruhr.de  450
8386 5       5121    Mönchengladbach-Mitte  Kleiststr. 1    41061   Mönchengladbach        02161/189-0     0800 10092675121                41008   100813  31000000        31001500        BBK MOENCHENGLADBACH    31050000        8888    ST SPK MOENCHENGLADBACH Mo - Fr,Di auch,und nach Vereinbarung   Service@FA-5121.fin-nrw.de      www.finanzamt-Moenchengladbach-Mitte.de 451
8387 5       5122    Neuss II        Hammfelddamm 9  41460   Neuss   02131/6656-0    0800 10092675122                41405   100502  30000000        30001509        BBK DUESSELDORF 30550000        123000  SPARKASSE NEUSS Mo,Di,Do,Fr von 8.30-12.00,Di von 13.30-15.00   Service@FA-5122.fin-nrw.de      www.finanzamt-Neuss2.de 452
8388 5       5206    Bonn-Außenstadt        Bachstr. 36     53115   Bonn    0228/7268-0     0800 10092675206                53005   1580    38000000        38001501        BBK BONN        38050000        22004   SPARKASSE BONN  Mo-Do,Do auch 13:30 bis 17:30 Uhr,Freitags geschlossen  Service@FA-5206.fin-nrw.de      www.finanzamt-Bonn-Aussenstadt.de       453
8389 5       5123    Oberhausen-Nord         Gymnasialstr. 16        46145   Oberhausen      0208/6499-0     0800 10092675123                46122   110220  36000000        36501501        BBK ESSEN       36550000        260125  ST SPK OBERHAUSEN       Mo-Fr 08:30-12:00 Uhr,Di auch 13:30-15:00 Uhr,und nach Vereinbarung     Service@FA-5123.fin-nrw.de      www.finanzamt-Oberhausen-Nord.de        454
8390 5       5124    Oberhausen-Süd         Schwartzstr. 7-9        46045   Oberhausen      0208/8504-0     0800 10092675124                46004   100447  36000000        36501500        BBK ESSEN       36550000        138156  ST SPK OBERHAUSEN       Mo - Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5124.fin-nrw.de      www.finanzamt-Oberhausen-Sued.de        455
8391 5       5125    Neuss I         Schillerstr 80  41464   Neuss   02131/943-0     0800 10092675125        41456   41405   100501  30000000        30001508        BBK DUESSELDORF 30550000        129999  SPARKASSE NEUSS Mo-Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00 Uhr   Service@FA-5125.fin-nrw.de      www.finanzamt-Neuss1.de 456
8392 5       5126    Remscheid       Wupperstr 10    42897   Remscheid       02191/961-0     0800 10092675126                42862   110269  33000000        33001505        BBK WUPPERTAL   34050000        113001  ST SPK REMSCHEID        Mo-Fr 08.30-12.00Uhr,Di auch 13.30-15.00Uhr,und nach Vereinbarung       Service@FA-5126.fin-nrw.de      www.finanzamt-Remscheid.de      457
8393 5       5127    Mönchengladbach-Rheydt         Wilhelm-Strauß-Str. 50 41236   Mönchengladbach        02166/450-0     0800 10092675127                41204   200442  31000000        31001502        BBK MOENCHENGLADBACH    31050000        295600  ST SPK MOENCHENGLADBACH MO - FR 08.30 - 12.00 Uhr,DI auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5127.fin-nrw.de      www.finanzamt-Moenchengladbach-Rheydt.de        458
8394 5       5128    Solingen-Ost    Goerdelerstr.24- 26     42651   Solingen        0212/282-1      0800 10092675128        42648   42609   100984  33000000        33001503        BBK WUPPERTAL   34250000        22707   ST SPK SOLINGEN Mo.-Fr.,Mo. auch 13.30-15.00 Uhr,und nach Vereinbarung  Service@FA-5128.fin-nrw.de      www.finanzamt-Solingen-Ost.de   459
8395 5       5129    Solingen-West   Merscheider Busch 23    42699   Solingen        0212/2351-0     0800 10092675129                42663   110340  33000000        33001501        BBK WUPPERTAL   34250000        130005  ST SPK SOLINGEN MO-FR 08.30 - 12.00 Uhr,und nach Vereinbarung   Service@FA-5129.fin-nrw.de      www.finanzamt-Solingen-West.de  460
8396 5       5130    Wesel   Poppelbaumstr. 5-7      46483   Wesel   0281/105-0      0800 10092675130                46461   100136  35000000        35601500        BBK DUISBURG    35650000        208660  VERB SPK WESEL  Mo-Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung Service@FA-5130.fin-nrw.de      www.finanzamt-Wesel.de  461
8397 5       5131    Wuppertal-Barmen        Unterdörnen 96 42283   Wuppertal       0202/9543-0     0800 10092675131        42271   42208   200853  33000000        33001502        BBK WUPPERTAL                           Mo - Fr,Do auch,und nach Vereinbarung   Service@FA-5131.fin-nrw.de      www.finanzamt-Wuppertal-Barmen.de       462
8398 5       5132    Wuppertal-Elberfeld     Kasinostr. 12   42103   Wuppertal       0202/489-0      0800 10092675132                42002   100209  33000000        33001500        BBK WUPPERTAL                           Mo-Fr 08.30-12.00 Uhr,Do auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5132.fin-nrw.de      www.finanzamt-Wuppertal-Elberfeld.de    463
8399 5       5133    Düsseldorf-Mitte       Kruppstr. 110   40227   Düsseldorf     0211/779-9      0800 10092675133                40001   101024  30000000        30001505        BBK DUESSELDORF 30050110        10123008        ST SPK DUESSELDORF              Service@FA-5133.fin-nrw.de      www.finanzamt-Duesseldorf-Mitte.de      464
8400 5       5134    Duisburg-West   Friedrich-Ebert-Str 133 47226   Duisburg        02065/307-0     0800 10092675134                47203   141355  35000000        35001503        BBK DUISBURG                            Mo - Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5134.fin-nrw.de      www.finanzamt-Duisburg-West.de  465
8401 5       5135    Hilden  Neustr. 60      40721   Hilden  02103/917-0     0800 10092675135                40710   101046  30000000        30001506        BBK DUESSELDORF                         Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5135.fin-nrw.de      www.finanzamt-Hilden.de 466
8402 5       5139    Velbert         Nedderstraße 38        42549   Velbert 02051/47-0      0800 10092675139                42513   101310  33000000        33001504        BBK WUPPERTAL   33450000        26205500        SPARKASSE HRV   Mo-Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00 Uhr   Service@FA-5139.fin-nrw.de      www.finanzamt-Velbert.de        467
8403 5       5147    Düsseldorf-Mettmann    Harkortstr. 2-4 40210   Düsseldorf     0211/3804-0     0800 10092675147                40001   101023  30000000        30001500        BBK DUESSELDORF 30050000        4051017 WESTLB DUESSELDORF      Montag bis Freitag,08.30 bis 12.00 Uhr,und nach Vereinbarung    Service@FA-5147.fin-nrw.de      www.finanzamt-Duesseldorf-Mettmann.de   468
8404 5       5149    Rechenzentrum d. FinVew NRW     Roßstraße 131 40476   Düsseldorf     0211/4572-0     0211/4572-302           40408   300864                                                          Service@FA-5149.fin-nrw.de              469
8405 5       5170    Düsseldorf I für Groß- und Konzernbetriebsprüfung   Werftstr. 16    40549   Düsseldorf     0211/56354-01   0800 10092675170                40525   270264                                                          Service@FA-5170.fin-nrw.de              470
8406 5       5171    Düsseldorf II für Groß- und Konzernbetriebsprüfung  Werftstr. 16    40549   Düsseldorf     0211/56354-0    0800 10092675171                40525   270264                                                          Service@FA-5171.fin-nrw.de              471
8407 5       5172    Essen für Groß- und Konzernbetriebsprüfung   In der Hagenbeck 64     45143   Essen   0201/6300-1     0800 10092675172                45011   101155                                                          Service@FA-5172.fin-nrw.de              472
8408 5       5173    Krefeld für Groß- und Konzernbetriebsprüfung Steinstr. 137   47798   Krefeld 02151/8418-0    0800 10092675173                                                                                        Service@FA-5173.fin-nrw.de              473
8409 5       5174    Berg. Land für Groß- und Konzernbetriebsprüfung      Bendahler Str. 29       42285   Wuppertal       0202/2832-0     0800 10092675174        42271                                                                           Service@FA-5174.fin-nrw.de              474
8410 5       5176    Mönchengladbach für Groß- und  Konzernbetriebsprüfung       Aachener Str. 114       41061   Mönchengladbach        02161/3535-0    0800 10092675176                41017   101715                                                          Service@FA-5176.fin-nrw.de              475
8411 5       5181    Düsseldorf f. Steuerfahndung und Steuerstrafsachen     Kruppstr.110 -112       40227   Düsseldorf     0211/779-9      0800 10092675181                40001   101024  30000000        30001502        BBK DUESSELDORF 30050110        10125003        ST SPK DUESSELDORF      Mo - Di 07.30 - 16.30 Uhr,Mi - Fr 07.30 - 16.00 Uhr     Service@FA-5181.fin-nrw.de              476
8412 5       5182    Essen f. Steuerfahndung und Steuerstrafsachen   In der Hagenbeck 64     45143   Essen   0201/6300-1     0800 10092675182                45011   101155  36000000        36001502        BBK ESSEN       36050105        203000  SPARKASSE ESSEN         Service@FA-5182.fin-nrw.de              477
8413 5       5183    Wuppertal f. Steuerfahndung und Steuerstrafsachen       Unterdörnen 96 42283   Wuppertal       0202/9543-0     0800 10092675183                42205   200553  33000000        33001502        BBK WUPPERTAL   33050000        135004  ST SPK WUPPERTAL                Service@FA-5183.fin-nrw.de              478
8414 5       5201    Aachen-Innenstadt       Mozartstr 2-10  52064   Aachen  0241/469-0      0800 10092675201                52018   101833  39000000        39001501        BBK AACHEN      39050000        26      SPARKASSE AACHEN        Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 -15.00 Uhr,und nach Vereinbarung        Service@FA-5201.fin-nrw.de      www.finanzamt-Aachen-Innenstadt.de      479
8415 5       5202    Aachen-Kreis    Beverstr 17     52066   Aachen  0241/940-0      0800 10092675202                52018   101829  39000000        39001500        BBK AACHEN      39050000        311118  SPARKASSE AACHEN        Mo.-Fr. 08.30 - 12.00 Uhr,Mo.,und nach Vereinbarung     Service@FA-5202.fin-nrw.de      www.finanzamt-Aachen-Kreis.de   480
8416 5       5203    Bergheim        Rathausstrasse 3        50126   Bergheim        02271/82-0      0800 10092675203                50101   1120    39500000        39501501        BBK AACHEN EH DUEREN                            Mo-Fr 08:30-12:00 Uhr,Di 13:30-15:00 Uhr,und nach Vereinbarung  Service@FA-5203.fin-nrw.de      www.finanzamt-Bergheim.de       481
8417 5       5204    Bergisch Gladbach       Refrather Weg 35        51469   Bergisch Gladbach       02202/9342-0    0800 10092675204                51433   200380  37000000        37001508        BBK KOELN                               Mo.-Fr. 8.30-12.00 Uhr  Service@FA-5204.fin-nrw.de      www.finanzamt-Bergisch-Gladbach.de      482
8418 5       5205    Bonn-Innenstadt         Welschnonnenstr. 15     53111   Bonn    0228/718-0      0800 10092675205                53031   180120  38000000        38001500        BBK BONN        38050000        17079   SPARKASSE BONN  Mo-Mi 08.30-12.00 Uhr,Do 07.00-17.00 Uhr,Freitag geschlossen    Service@FA-5205.fin-nrw.de      www.finanzamt-Bonn-Innenstadt.de        483
8419 5       5207    Düren  Goethestrasse 7 52349   Düren  02421/947-0     0800 10092675207                52306   100646  39500000        39501500        BBK AACHEN EH DUEREN    39550110        188300  SPARKASSE DUEREN        Mo-Fr 08:30 - 12:00 Uhr,Di auch 13:30 - 15:00 Uhr,und nach Vereinbarung Service@FA-5207.fin-nrw.de      www.finanzamt-Dueren.de 484
8420 5       5208    Erkelenz        Südpromenade 37        41812   Erkelenz        02431/801-0     0800 10092675208                41806   1651    31000000        31001501        BBK MOENCHENGLADBACH    31251220        402800  KR SPK HEINSBERG ERKELENZ       Mo - Fr 8.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung        Service@FA-5208.fin-nrw.de      www.finanzamt-Erkelenz.de       485
8421 5       5209    Euskirchen      Thomas-Mann-Str. 2      53879   Euskirchen      02251/982-0     0800 10092675209                53864   1487    38000000        38001505        BBK BONN        38250110        1000330 KREISSPARKASSE EUSKIRCHEN       Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5209.fin-nrw.de      www.finanzamt-Euskirchen.de     486
8422 5       5210    Geilenkirchen   H.-Wilh.-Str 45 52511   Geilenkirchen   02451/623-0     0800 10092675210                52501   1193    39000000        39001502        BBK AACHEN      31251220        5397    KR SPK HEINSBERG ERKELENZ       Mo.-Fr. 8.30 - 12.00 Uhr,nachmittags nur tel. von,13.30 - 15.00 Uhr     Service@FA-5210.fin-nrw.de      www.finanzamt-Geilenkirchen.de  487
8423 5       5211    Schleiden       Kurhausstr. 7   53937   Schleiden       02444/85-0      0800 10092675211                53929   1140    38000000        38001506        BBK BONN        38250110        3200235 KREISSPARKASSE EUSKIRCHEN       Mo-Fr 08.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,sowie nach Vereinbarung       Service@FA-5211.fin-nrw.de      www.finanzamt-Schleiden.de      488
8424 5       5212    Gummersbach     Mühlenbergweg 5        51645   Gummersbach     02261/86-0      0800 10092675212        51641                   37000000        37001506        BBK KOELN                               Mo - Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00 Uhr Service@FA-5212.fin-nrw.de      www.finanzamt-Gummersbach.de    489
8425 5       5213    Jülich         Wilhelmstr 5    52428   Jülich 02461/685-0     0800 10092675213                52403   2180    39000000        39701500        BBK AACHEN      39550110        25023   SPARKASSE DUEREN        Mo.-Fr. 08.00-12.00 Uhr,Di. 13.30-15.00 Uhr     Service@FA-5213.fin-nrw.de      www.finanzamt-Juelich.de        490
8426 5       5214    Köln-Altstadt  Am Weidenbach 2-4       50676   Köln   0221/2026-0     0800 10092675214                50517   250140  37000000        37001501        BBK KOELN       37050198        70052964        STADTSPARKASSE KOELN    Mo - Fr 8.30 - 12.00 Uhr,Di auch 13.00 - 15.00 Uhr,und nach Vereinbarung        Service@FA-5214.fin-nrw.de      www.finanzamt-Koeln-Altstadt.de 491
8427 5       5215    Köln-Mitte     Blaubach 7      50676   Köln   0221/92400-0    0800 10092675215                50524   290208  37000000        37001505        BBK KOELN       37050198        70062963        STADTSPARKASSE KOELN    MO-FR 08.30 - 12.00 UHR Service@FA-5215.fin-nrw.de      www.finanzamt-Koeln-Mitte.de    492
8428 5       5216    Köln-Porz      Klingerstr. 2-6 51143   Köln   02203/598-0     0800 10092675216                51114   900469  37000000        37001524        BBK KOELN                               Mo-Fr08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung      Service@FA-5216.fin-nrw.de      www.finanzamt-Koeln-Porz.de     493
8429 5       5217    Köln-Nord      Innere Kanalstr. 214    50670   Köln   0221/97344-0    0800 10092675217                50495   130164  37000000        37001502        BBK KOELN       37050198        70102967        STADTSPARKASSE KOELN    Mo - Fr 8.30 - 12.00 Uhr,und nach Vereinbarung  Service@FA-5217.fin-nrw.de      www.finanzamt-Koeln-Nord.de     494
8430 5       5218    Köln-Ost       Siegesstrasse 1 50679   Köln   0221/9805-0     0800 10092675218                50529   210340  37000000        37001503        BBK KOELN       37050198        70082961        STADTSPARKASSE KOELN    Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5218.fin-nrw.de      www.finanzamt-Koeln-Ost.de      495
8431 5       5219    Köln-Süd      Am Weidenbach 6 50676   Köln   0221/2026-0     0800 10092675219                50517   250160  37000000        37001504        BBK KOELN       37050198        70032966        STADTSPARKASSE KOELN    Mo-Fr,Di auch 13.00-15.00 Uhr   Service@FA-5219.fin-nrw.de      www.finanzamt-Koeln-Sued.de     496
8432 5       5220    Siegburg        Mühlenstr 19   53721   Siegburg        02241/105-0     0800 10092675220                53703   1351    38000000        38001503        BBK BONN                                Mo.-Fr. 08.30-12.00 Uhr,Mo. auch 13.30-17.00 Uhr,und nach Vereinbarung  Service@FA-5220.fin-nrw.de      www.finanzamt-Siegburg.de       497
8433 5       5221    Wipperfürth    Am Stauweiher 3 51688   Wipperfürth    02267/870-0     0800 10092675221                51676   1240    37000000        37001513        BBK KOELN                               Mo-Fr 08.30-12.00 Uhr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5221.fin-nrw.de      www.finanzamt-Wipperfuerth.de   498
8434 5       5222    Sankt Augustin  Hubert-Minz-Str 10      53757   Sankt Augustin  02241/242-1     0800 10092675222                53730   1229    38000000        38001504        BBK BONN                                Mo - Fr 8.30-12.00 Uhr,Di auch 13.30-15.00 Uhr  Service@FA-5222.fin-nrw.de      www.finanzamt-Sankt-Augustin.de 499
8435 5       5223    Köln-West      Haselbergstr 20 50931   Köln   0221/5734-0     0800 10092675223                50864   410469  37000000        37001523        BBK KOELN       37050198        70022967        STADTSPARKASSE KOELN            Service@FA-5223.fin-nrw.de      www.finanzamt-Koeln-West.de     500
8436 5       5224    Brühl  Kölnstr. 104   50321   Brühl  02232/703-0     0800 10092675224        50319                   37000000        37001507        BBK KOELN                               Mo-Fr 08.30 - 12.00,Die zusätzlich 13.30 - 15.00 ,und nach Vereinbarung        Service@FA-5224.fin-nrw.de      www.finanzamt-Bruehl.de 501
8437 5       5225    Aachen-Außenstadt      Beverstraße    52066   Aachen  0241/940-0      0800 10092675225                52018   101825  39000000        39001503        BBK AACHEN      39050000        1099    SPARKASSE AACHEN        Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5225.fin-nrw.de      www.finanzamt-Aachen-Aussenstadt.de     502
8438 5       5230    Leverkusen      Haus-Vorster-Str 12     51379   Leverkusen      02171/407-0     0800 10092675230        51367                   37000000        37001511        BBK KOELN       37551440        118318500       SPARKASSE LEVERKUSEN    Mo-Do 8.30 - 12.00 Uhr,Di.: 13.30 - 15.00 Uhr,und nach Vereinbarung     Service@FA-5230.fin-nrw.de      www.finanzamt-Leverkusen.de     503
8439 5       5270    KonzBP Köln für Groß- und Konzernbetriebsprüfung    Riehler Platz 2 50668   Köln   0221/2021-0     0800 10092675270                                                                                        Service@FA-5270.fin-nrw.de              504
8440 5       5271    Aachen für Groß- und Konzernbetriebsprüfung  Beverstr. 17    52066   Aachen  0241/940-0      0800 10092675271                52017   101744                                                          Service@FA-5271.fin-nrw.de              505
8441 5       5272    Bonn für Groß- und Konzernbetriebsprüfung    Am Propsthof 17 53121   Bonn    0228/7223-0     0800 10092675272                                                                                        Service@FA-5272.fin-nrw.de              506
8442 5       5281    Aachen f. Steuerfahndung und Steuerstrafsachen  Beverstr 17     52066   Aachen  0241/940-0      0800 10092675281                52017   101722  39000000        39001500        BBK AACHEN      39050000        311118  SPARKASSE AACHEN                Service@FA-5281.fin-nrw.de              507
8443 5       5282    Bonn f. Steuerfahndung und Steuerstrafsachen    Theaterstr. 1   53111   Bonn    0228/718-0      0800 10092675282                                38000000        38001500        BBK BONN        38050000        17079   SPARKASSE BONN          Service@FA-5282.fin-nrw.de              508
8444 5       5283    Köln f. Steuerfahndung und Steuerstrafsachen   Am Gleisdreieck 7- 9    50823   Köln   0221/5772-0     0800 10092675283                50774   300451  37000000        37001502        BBK KOELN       37050198        70102967        STADTSPARKASSE KOELN            Service@FA-5283.fin-nrw.de              509
8445 5       5301    Ahaus   Vredener Dyk 2  48683   Ahaus   02561/929-0     0800 10092675301                48662   1251    40000000        40001503        BBK MUENSTER, WESTF     40154530        51027902        SPARKASSE WESTMUENSTERLAND      Mo - Fr 08.30 - 12.00 Uhr,zudem Mo 13.30 - 15.00 Uhr,sowie Do 13.30 -   Service@FA-5301.fin-nrw.de      www.finanzamt-Ahaus.de  510
8446 5       5302    Altena  Winkelsen 11    58762   Altena  02352/917-0     0800 10092675302                58742   1253    45000000        45001501        BBK HAGEN       45851020        80020001        VER SPK PLETTENBERG     Mo,Di-Do,und nach Vereinbarung  Service@FA-5302.fin-nrw.de      www.finanzamt-Altena.de 511
8447 5       5303    Arnsberg        Rumbecker Straße 36    59821   Arnsberg        02931/875-0     0800 10092675303        59818   59802   5245    41000000        46401501        BBK HAMM, WESTF 46650005        1020007 SPK ARNSBERG-SUNDERN    Mo-Mi 08.30 - 12.00 Uhr,Fr,und nach Vereinbarung        Service@FA-5303.fin-nrw.de      www.finanzamt-Arnsberg.de       512
8448 5       5304    Beckum  Elisabethstraße 19     59269   Beckum  02521/25-0      0800 10092675304        59267   59244   1452    41000000        41001501        BBK HAMM, WESTF 41250035        1000223 SPK BECKUM-WADERSLOH    MO-FR 08.30-12.00 UHR,MO AUCH 13.30-15.00 UHR,UND NACH VEREINBARUNG     Service@FA-5304.fin-nrw.de      www.finanzamt-Beckum.de 513
8449 5       5305    Bielefeld-Innenstadt    Ravensberger Straße 90 33607   Bielefeld       0521/548-0      0800 10092675305                33503   100371  48000000        48001500        BBK BIELEFELD   48050161        109     SPK BIELEFELD   Mo - Fr 8.30 - 12.00 Uhr,Di auch 13.30 - 15.00 Uhr,und nach Vereinbarung        Service@FA-5305.fin-nrw.de      www.finanzamt-Bielefeld-Innenstadt.de   514
8450 5       5306    Bochum-Mitte    Castroper Str. 40 - 42  44791   Bochum  0234/514-0      0800 10092675306                44707   100729  43000000        43001500        BBK BOCHUM      43050001        1300011 SPARKASSE BOCHUM        Mo-Fr 08:30 - 12:00 Uhr,Di auch 13:30 - 15:00 Uhr,Individuelle Terminver-,einbarungen sind möglich     Service@FA-5306.fin-nrw.de      www.finanzamt-Bochum-Mitte.de   515
8451 5       5307    Borken  Nordring 184    46325   Borken  02861/938-0     0800 10092675307        46322   46302   1240    40000000        40001514        BBK MUENSTER, WESTF     40154530        51021137        SPARKASSE WESTMUENSTERLAND      Mo-Fr 8.30 - 12.00 Uhr,Mo 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5307.fin-nrw.de      www.finanzamt-Borken.de 516
8452 5       5308    Bottrop         Scharnhölzstraße 32   46236   Bottrop 02041/691-0     0800 10092675308                46205   100553  43000000        42401501        BBK BOCHUM      42451220        10009   SPK BOTTROP     Mo-Mi 08.00-12.00 Uhr,Do 07.30-12.00 u 13.30-15.00 ,Freitags geschlossen        Service@FA-5308.fin-nrw.de      www.finanzamt-Bottrop.de        517
8453 5       5309    Brilon  Steinweg 30     59929   Brilon  02961/788-0     0800 10092675309                59915   1260    48000000        47201502        BBK BIELEFELD   41651770        17004   SPK HOCHSAUERLAND BRILON        Mo - Fr 08:30 - 12:00 Uhr,Di auch 13:30 - 15:00 Uhr,und nach Vereinbarung       Service@FA-5309.fin-nrw.de      www.finanzamt-Brilon.de 518
8454 5       5310    Bünde  Lettow-Vorbeck-Str 2-10 32257   Bünde  05223/169-0     0800 10092675310                32216   1649    48000000        48001502        BBK BIELEFELD   49450120        210003000       SPARKASSE HERFORD               Service@FA-5310.fin-nrw.de      www.finanzamt-Buende.de 519
8455 5       5311    Steinfurt       Ochtruper Straße 2     48565   Steinfurt       02551/17-0      0800 10092675311        48563   48542   1260    40000000        40301500        BBK MUENSTER, WESTF                             Mo-Fr 08.00-12.00 Uhr,Mo auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5311.fin-nrw.de      www.finanzamt-Steinfurt.de      520
8456 5       5312    Coesfeld        Friedrich-Ebert-Str. 8  48653   Coesfeld        02541/732-0     0800 10092675312                48633   1344    40000000        40001505        BBK MUENSTER, WESTF     40154530        59001644        SPARKASSE WESTMUENSTERLAND      Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5312.fin-nrw.de      www.finanzamt-Coesfeld.de       521
8457 5       5313    Detmold         Wotanstraße 8  32756   Detmold 05231/972-0     0800 10092675313        32754   32706   1664    48000000        48001504        BBK BIELEFELD   47650130        4002    SPK DETMOLD     Mo. bis Fr.,Montags,und nach Vereinbarung       Service@FA-5313.fin-nrw.de      www.finanzamt-Detmold.de        522
8458 5       5314    Dortmund-West   Märkische Straße 124  44141   Dortmund        0231/9581-0     0800 10092675314                44047   105041  44000000        44001500        BBK DORTMUND    44050199        301001886       SPARKASSE DORTMUND      Montags geschlossen,Di - Fr 8.30 - 12.00,Do zusätzlich 13.30 - 15.00   Service@FA-5314.fin-nrw.de      www.finanzamt-Dortmund-West.de  523
8459 5       5315    Dortmund-Hörde         Niederhofener Str 3     44263   Dortmund        0231/4103-0     0800 10092675315                44232   300255  44000000        44001503        BBK DORTMUND    44050199        21003468        SPARKASSE DORTMUND      Mo-Do 8.30-12.00 Uhr,und nach Vereinbarung      Service@FA-5315.fin-nrw.de      www.finanzamt-Dortmund-Hoerde.de        524
8460 5       5316    Dortmund-Unna   Rennweg 1       44143   Dortmund        0231/5188-1     0800 10092675316                44047   105020  44000000        44001501        BBK DORTMUND    44050199        1060600 SPARKASSE DORTMUND      Mo-Fr 08.30-12.00 Uhr,und nach Vereinbarung     Service@FA-5316.fin-nrw.de      www.finanzamt-Dortmund-Unna.de  525
8461 5       5317    Dortmund-Ost    Nußbaumweg 210 44143   Dortmund        0231/5188-1     0800 10092675317                44047   105039  44000000        44001502        BBK DORTMUND    44050199        301001827       SPARKASSE DORTMUND      Mo - Fr 8.30 - 12.00 Uhr,und nach Vereinbarung  Service@FA-5317.fin-nrw.de      www.finanzamt-Dortmund-Ost.de   526
8462 5       5318    Gelsenkirchen-Nord      Rathausplatz 1  45894   Gelsenkirchen   0209/368-1      0800 10092675318                45838   200351  43000000        42001501        BBK BOCHUM      42050001        160012007       SPARKASSE GELSENKIRCHEN Mo-Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00Uhr    Service@FA-5318.fin-nrw.de      www.finanzamt-Gelsenkirchen-Nord.de     527
8463 5       5319    Gelsenkirchen-Süd      Zeppelinallee 9-13      45879   Gelsenkirchen   0209/173-1      0800 10092675319                45807   100753  43000000        42001500        BBK BOCHUM      42050001        101050003       SPARKASSE GELSENKIRCHEN Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr     Service@FA-5319.fin-nrw.de      www.finanzamt-Gelsenkirchen-Sued.de     528
8464 5       5320    Gladbeck        Jovyplatz 4     45964   Gladbeck        02043/270-1     0800 10092675320                45952   240     43000000        42401500        BBK BOCHUM      42450040        91      ST SPK GLADBECK MO-FR 08.30-12.00 UHR,DO AUCH 13.30-15.00 UHR,UND NACH VEREINBARUNG     Service@FA-5320.fin-nrw.de      www.finanzamt-Gladbeck.de       529
8465 5       5321    Hagen   Schürmannstraße 7     58097   Hagen   02331/180-0     0800 10092675321                58041   4145    45000000        45001500        BBK HAGEN       45050001        100001580       SPARKASSE HAGEN Mo-Fr,Mo auch 13.30-15.00 Uhr   Service@FA-5321.fin-nrw.de      www.finanzamt-Hagen.de  530
8466 5       5322    Hamm    Grünstraße 2  59065   Hamm    02381/918-0     0800 10092675322        59061   59004   1449    41000000        41001500        BBK HAMM, WESTF 41050095        90001   SPARKASSE HAMM  Mo-Do 8.30-12.00 Uhr,Mi auch 13.30-15.00 Uhr,und nach Vereinbarung      Service@FA-5322.fin-nrw.de      www.finanzamt-Hamm.de   531
8467 5       5323    Hattingen       Rathausplatz 19 45525   Hattingen       02324/208-0     0800 10092675323                45502   800257  43000000        43001501        BBK BOCHUM                              Mo-Fr,Di auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5323.fin-nrw.de      www.finanzamt-Hattingen.de      532
8468 5       5324    Herford         Wittekindstraße 5      32051   Herford 05221/188-0     0800 10092675324                32006   1642    48000000        48001503        BBK BIELEFELD   49450120        36004   SPARKASSE HERFORD       Mo,Di,Fr 7.30-12.00 Uhr,Do 7.30-17.00 Uhr,Mi geschlossen,und nach Vereinbarung  Service@FA-5324.fin-nrw.de      www.finanzamt-Herford.de        533
8469 5       5325    Herne-Ost       Markgrafenstraße 12    44623   Herne   02323/598-0     0800 10092675325                44602   101220  43000000        43001502        BBK BOCHUM      43250030        1012004 HERNER SPARKASSE        Rückfragen bitte nur,telefonisch oder nach,vorheriger Rücksprache mit,dem Bearbeiter  Service@FA-5325.fin-nrw.de      www.finanzamt-Herne-Ost.de      534
8470 5       5326    Höxter         Bismarckstraße 11      37671   Höxter 05271/969-0     0800 10092675326        37669   37652   100239  48000000        47201501        BBK BIELEFELD   47251550        3008521 SPK HOEXTER BRAKEL      Mo - Do,Do auch,und nach Vereinbarung   Service@FA-5326.fin-nrw.de      www.finanzamt-Hoexter.de        535
8471 5       5327    Ibbenbüren     Uphof 10        49477   Ibbenbüren     05451/920-0     0800 10092675327                49462   1263    40000000        40301501        BBK MUENSTER, WESTF     40351060        2469    KR SPK STEINFURT        Mo - Fr,Di auch Service@FA-5327.fin-nrw.de      www.finanzamt-Ibbenbueren.de    536
8472 5       5328    Iserlohn        Zollernstraße 16       58636   Iserlohn        02371/969-0     0800 10092675328        58634   58585   1554    45000000        45001503        BBK HAGEN       44550045        44008   SPK DER STADT ISERLOHN  Mo - Do 08.30 - 12.00 Uhr,Do auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5328.fin-nrw.de      www.finanzamt-Iserlohn.de       537
8473 5       5329    Lemgo   Engelb.-Kämpfer Str. 18        32657   Lemgo   05261/253-1     0800 10092675329                32632   240     48000000        48001505        BBK BIELEFELD   48250110        45005   SPARKASSE LEMGO Mo - Fr,Do auch,und nach Vereinbarung   Service@FA-5329.fin-nrw.de      www.finanzamt-Lemgo.de  538
8474 5       5330    Lippstadt       Im Grünen Winkel 3     59555   Lippstadt       02941/982-0     0800 10092675330                59525   1580    41000000        46401505        BBK HAMM, WESTF 41650001        15008   ST SPK LIPPSTADT        Mo - Fr 08.30 - 12.00,Do zusätzlich 13.30 - 15.00      Service@FA-5330.fin-nrw.de      www.finanzamt-Lippstadt.de      539
8475 5       5331    Lübbecke       Bohlenstraße 102       32312   Lübbecke       05741/334-0     0800 10092675331                32292   1244    49000000        49001501        BBK MINDEN, WESTF       49050101        141     SPARKASSE MINDEN-LUEBBECKE      Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5331.fin-nrw.de      www.finanzamt-Luebbecke.de      540
8476 5       5332    Lüdenscheid    Bahnhofsallee 16        58507   Lüdenscheid    02351/155-0     0800 10092675332        58505   58465   1589    45000000        45001502        BBK HAGEN       45850005        18      SPK LUEDENSCHEID        Mo-Fr 08.30-12.00 Uhr,Do auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5332.fin-nrw.de      www.finanzamt-Luedenscheid.de   541
8477 5       5333    Lüdinghausen   Bahnhofstraße 32       59348   Lüdinghausen   02591/930-0     0800 10092675333                59332   1243    40000000        40001506        BBK MUENSTER, WESTF     40154530        1008    SPARKASSE WESTMUENSTERLAND      vormittags: Mo.-Fr.8.30-12.00,nachmittags: Di. 13.30-15.00      Service@FA-5333.fin-nrw.de      www.finanzamt-Luedinghausen.de  542
8478 5       5334    Meschede        Fritz-Honsel-Straße 4  59872   Meschede        0291/950-0      0800 10092675334                59852   1265    41000000        46401502        BBK HAMM, WESTF 46451012        13003   SPK MESCHEDE    Mo-Fr 08:30 - 12:00,und nach Vereinbarung       Service@FA-5334.fin-nrw.de      www.finanzamt-Meschede.de       543
8479 5       5335    Minden  Heidestraße 10 32427   Minden  0571/804-1      0800 10092675335                32380   2340    49000000        49001500        BBK MINDEN, WESTF       49050101        40018145        SPARKASSE MINDEN-LUEBBECKE      Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5335.fin-nrw.de      www.finanzamt-Minden.de 544
8480 5       5336    Münster-Außenstadt    Friedrich-Ebert-Str. 46 48153   Münster        0251/9729-0     0800 10092675336                48136   6129    40000000        40001501        BBK MUENSTER, WESTF     40050150        95031001        SPK MUENSTERLAND OST    Mo-Fr 08.30-12.00 Uhr,Mo auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5336.fin-nrw.de      www.finanzamt-Muenster-Aussenstadt.de   545
8481 5       5337    Münster-Innenstadt     Münzstr. 10    48143   Münster        0251/416-1      0800 10092675337                48136   6103    40000000        40001502        BBK MUENSTER, WESTF     40050150        300004  SPK MUENSTERLAND OST            Service@FA-5337.fin-nrw.de      www.finanzamt-Muenster-Innenstadt.de    546
8482 5       5338    Olpe    Am Gallenberg 20        57462   Olpe    02761/963-0     0800 10092675338                57443   1320    45000000        46001501        BBK HAGEN                               Mo-Do 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,Freitag keine Sprechzeit      Service@FA-5338.fin-nrw.de      www.finanzamt-Olpe.de   547
8483 5       5339    Paderborn       Bahnhofstraße 28       33102   Paderborn       05251/100-0     0800 10092675339                33045   1520    48000000        47201500        BBK BIELEFELD   47250101        1001353 SPARKASSE PADERBORN             Service@FA-5339.fin-nrw.de      www.finanzamt-Paderborn.de      548
8484 5       5340    Recklinghausen  Westerholter Weg 2      45657   Recklinghausen  02361/583-0     0800 10092675340                45605   100553  43000000        42601500        BBK BOCHUM      42650150        90034158        SPK RECKLINGHAUSEN      Mo - Fr 08:30 bis 12:00,Mi auch 13:30 bis 15:00,und nach Vereinbarung   Service@FA-5340.fin-nrw.de      www.finanzamt-Recklinghausen.de 549
8485 5       5341    Schwelm         Bahnhofplatz 6  58332   Schwelm 02336/803-0     0800 10092675341                58316   340     45000000        45001520        BBK HAGEN       45451555        80002   ST SPK SCHWELM  Mo-Fr 8.30-12.00 Uhr,Mo,und nach Vereinbarung   Service@FA-5341.fin-nrw.de      www.finanzamt-Schwelm.de        550
8486 5       5342    Siegen  Weidenauer Straße 207  57076   Siegen  0271/4890-0     0800 10092675342                57025   210148  45000000        46001500        BBK HAGEN       46050001        1100114 SPK SIEGEN      Mo-Fr,Do auch 13:30 - 17:00 Uhr,und nach Vereinbarung   Service@FA-5342.fin-nrw.de      www.finanzamt-Siegen.de 551
8487 5       5343    Soest   Waisenhausstraße 11    59494   Soest   02921/351-0     0800 10092675343        59491   59473   1364    41000000        46401504        BBK HAMM, WESTF 41450075        208     SPARKASSE SOEST Mo-Fr 0830-1200Uhr,und nach Vereinbarung        Service@FA-5343.fin-nrw.de      www.finanzamt-Soest.de  552
8488 5       5344    Herne-West      Edmund-Weber-Str. 210   44651   Herne   02325/696-0     0800 10092675344                44632   200262  43000000        43001503        BBK BOCHUM      43250030        17004   HERNER SPARKASSE        Mo-Fr 08.30-12.00 Uhr,Mo 13.30-15.00 Uhr,und nach Vereinbarung  Service@FA-5344.fin-nrw.de      www.finanzamt-Herne-West.de     553
8489 5       5345    Warburg         Sternstraße 33 34414   Warburg 05641/771-0     0800 10092675345                34402   1226    48000000        47201503        BBK BIELEFELD   47251550        25005521        SPK HOEXTER BRAKEL              Service@FA-5345.fin-nrw.de      www.finanzamt-Warburg.de        554
8490 5       5346    Warendorf       Düsternstraße 43      48231   Warendorf       02581/924-0     0800 10092675346                48205   110361  40000000        40001504        BBK MUENSTER, WESTF     40050150        182     SPK MUENSTERLAND OST    Mo-Fr 08.30-12.00 Uhr,Do auch 13.30-15.00 Uhr,und nach Vereinbarung     Service@FA-5346.fin-nrw.de      www.finanzamt-Warendorf.de      555
8491 5       5347    Wiedenbrück    Hauptstraße 34 33378   Rheda-Wiedenbrück      05242/934-0     0800 10092675347        33372   33342   1429    48000000        47801500        BBK BIELEFELD   47853520        5231    KREISSPARKASSE WIEDENBRUECK     Mo - Fr 08.30 - 12.00 Uhr,Do auch 13.30 - 14.30 Uhr     Service@FA-5347.fin-nrw.de      www.finanzamt-Wiedenbrueck.de   556
8492 5       5348    Witten  Ruhrstraße 43  58452   Witten  02302/921-0     0800 10092675348                58404   1420    43000000        43001505        BBK BOCHUM      45250035        6007    ST SPK WITTEN   Mo - Fr 08.30 - 12.00 Uhr,Mo auch 13.30 - 15.00 Uhr,und nach Vereinbarung       Service@FA-5348.fin-nrw.de      www.finanzamt-Witten.de 557
8493 5       5349    Bielefeld-Außenstadt   Ravensberger Straße 125        33607   Bielefeld       0521/548-0      0800 10092675349                33503   100331  48000000        48001501        BBK BIELEFELD   48050161        180000  SPK BIELEFELD   Mo - Fr 08:30 - 12:00 Uhr,Do auch 13:30 - 15:00 Uhr,und nach Vereinbarung       Service@FA-5349.fin-nrw.de      www.finanzamt-Bielefeld-Aussenstadt.de  558
8494 5       5350    Bochum-Süd     Königsallee 21 44789   Bochum  0234/3337-0     0800 10092675350                44707   100764  43000000        43001504        BBK BOCHUM      43050001        1307792 SPARKASSE BOCHUM        Mo-Fr 08:30-12:00 Uhr,Di auch 13:30-15:00 Uhr   Service@FA-5350.fin-nrw.de      www.finanzamt-Bochum-Sued.de    559
8495 5       5351    Gütersloh      Neuenkirchener Str. 86  33332   Gütersloh      05241/3071-0    0800 10092675351                33245   1565    48000000        48001506        BBK BIELEFELD                           Mo - Fr 08.30 - 12.00 Uhr,Do auch 13.30 - 15.00 Uhr     Service@FA-5351.fin-nrw.de      www.finanzamt-Guetersloh.de     560
8496 5       5359    Marl    Brassertstraße 1       45768   Marl    02365/516-0     0800 10092675359        45765   45744   1420    43000000        42601501        BBK BOCHUM      42650150        40020000        SPK RECKLINGHAUSEN              Service@FA-5359.fin-nrw.de      www.finanzamt-Marl.de   561
8497 5       5371    Bielefeld für Groß- und Konzernbetriebsprüfung       Ravensberger Str. 90    33607   Bielefeld       0521/548-0      0800 10092675371                33511   101150                                                          Service@FA-5371.fin-nrw.de              562
8498 5       5372    Herne für Groß- und Konzernbetriebsprüfung   Hauptstr. 123   44651   Herne   02325/693-0     0800 10092675372                44636   200620                                                          Service@FA-5372.fin-nrw.de              563
8499 5       5373    Detmold für Groß- und Konzernbetriebsprüfung Richthofenstrasse 94    32756   Detmold 05231/974-300   0800 10092675373                32706   1664                                                            Service@FA-5373.fin-nrw.de              564
8500 5       5374    Dortmund für Groß- und Konzernbetriebsprüfung        Nußbaumweg 210 44143   Dortmund        0231/5188-8953  0800 10092675374                44047   105039                                                          Service@FA-5374.fin-nrw.de              565
8501 5       5375    Hagen für Groß- und Konzernbetriebsprüfung   Hochstr. 43 - 45        58095   Hagen   02331/3760-0    0800 10092675375                                                                                        Service@FA-5375.fin-nrw.de              566
8502 5       5376    Münster für Groß- und Konzernbetriebsprüfung        Andreas-Hofer-Straße 50        48145   Münster        0251/934-2115   0800 10092675376                                                                                        Service@FA-5376.fin-nrw.de              567
8503 5       5381    Bielefeld f. Steuerfahndung und Steuerstrafsachen       Ravensberger Str. 90    33607   Bielefeld       0521/548-0      0800 10092675381                33511   101173  48000000        48001500        BBK BIELEFELD   48050161        109     SPK BIELEFELD           Service@FA-5381.fin-nrw.de              568
8504 5       5382    Bochum f. Steuerfahndung und Steuerstrafsachen  Uhlandstr. 37   44791   Bochum  0234/5878-0     0800 10092675382                44707   100768  43000000        43001500        BBK BOCHUM      43050001        1300011 SPARKASSE BOCHUM                Service@FA-5382.fin-nrw.de              569
8505 9       9101    Augsburg-Stadt Arbeitnehmerbereich      Prinzregentenpl. 2      86150   Augsburg        0821 506-01     0821 506-2222           86135   10 00 65        72000000        72001500        BBK AUGSBURG    72050000        24109   ST SPK AUGSBURG Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-17:30 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-a-s.bayern.de     www.finanzamt-augsburg-stadt.de 570
8506 9       9102    Augsburg-Land   Peutingerstr. 25        86152   Augsburg        0821 506-02     0821 506-3270   86144   86031   11 06 69        72000000        72001501        BBK AUGSBURG    72050101        8003    KR SPK AUGSBURG Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-a-l.bayern.de     www.finanzamt-augsburg-land.de  571
8507 9       9103    Augsburg-Stadt  Prinzregentenpl. 2      86150   Augsburg        0821 506-01     0821 506-2222           86135   10 00 65        72000000        72001500        BBK AUGSBURG    72050000        24109   ST SPK AUGSBURG Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-17:30 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-a-s.bayern.de     www.finanzamt-augsburg-stadt.de 572
8508 9       9104    Bad Tölz -Außenstelle des Finanzamts Wolfratshausen-  Prof.-Max-Lange-Platz 2 83646   Bad Tölz       08041 8005-0    08041 8005-185          83634   1420    70000000        70001505        BBK MUENCHEN    70054306        31054   SPK BAD TOELZ-WOLFRATSHAUSE     Servicezentrum: Mo 7:30-18:00 Uhr, Di-Do 7:30-13:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-toel.bayern.de    www.finanzamt-bad-toelz.de      573
8509 9       9105    Berchtesgaden   Salzburger Str. 6       83471   Berchtesgaden   08652 960-0     08652 960-100           83461   1154    71000000        71001500        BBK MUENCHEN EH B REICHENHA     71050000        350009  SPK BERCHTESGADENER LAND        Servicezentrum: Mo-Do 7:30-13:30 Uhr (Nov-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-bgd.bayern.de     www.finanzamt-berchtesgaden.de  574
8510 9       9106    Burghausen      Tittmoninger Str. 1     84489   Burghausen      08677 8706-0    08677 8706-100          84480   1257    71000000        71001501        BBK MUENCHEN EH B REICHENHA     71051010        250001  KR SPK ALTOETTING-BURGHAUSE     Servicezentrum: Mo-Mi 7:45-15:00 Uhr Do 7:45-17:00 Uhr, Fr 7:45-12:00 Uhr       poststelle@fa-burgh.bayern.de   www.finanzamt-burghausen.de     575
8511 9       9107    Dachau  Bürgermeister-Zauner-Ring 2    85221   Dachau  08131 701-0     08131 701-111   85219   85202   1280    70000000        70001507        BBK MUENCHEN    70051540        908327  SPARKASSE DACHAU        Servicezentrum: Mo, Di, Do 7:30-15:00 Uhr (Nov-Mai Do 7:30-18:00 Uhr), Mi,Fr 7:30-12:00 Uhr     poststelle@fa-dah.bayern.de     www.finanzamt-dachau.de 576
8512 9       9108    Deggendorf      Pfleggasse 18   94469   Deggendorf      0991 384-0      0991 384-150            94453   1355    75000000        75001506        BBK REGENSBURG  74150000        380019950       SPK DEGGENDORF  Servicezentrum: Mo, Di, Do 7:45-15:00 Uhr (Jan-Mai Do 7:45-18:00 Uhr), Mi, Fr 7:45-12:00 Uhr    poststelle@fa-deg.bayern.de     www.finanzamt-deggendorf.de     577
8513 9       9109    Dillingen       Schloßstr. 3   89407   Dillingen       09071 507-0     09071 507-300   89401                   72000000        72001503        BBK AUGSBURG    72251520        24066   KR U ST SPK DILLINGEN   Servicezentrum: Mo, Di, Mi, Fr 7:30-13:00 Uhr, Do 7:30-13:00 Uhr u. 14:00-18:00 Uhr     poststelle@fa-dlg.bayern.de     www.finanzamt-dillingen.de      578
8514 9       9110    Dingolfing      Obere Stadt 44  84130   Dingolfing      08731 504-0     08731 504-190           84122   1156    74300000        74301501        BBK REGENSBURG EH LANDSHUT      74351310        100017805       SPK DINGOLFING-LANDAU   Servicezentrum: Mo-Di 7:30-15:00 Uhr, Mi, Fr 7:30-12:00 Uhr, Do 7:30-17:00 Uhr  poststelle@fa-dgf.bayern.de     www.finanzamt-dingolfing.de     579
8515 9       9111    Donauwörth -Außenstelle des Finanzamts Nördlingen-   Sallingerstr. 2 86609   Donauwörth     0906 77-0       0906 77-150     86607                   72000000        72001502        BBK AUGSBURG    70010080        1632-809        POSTBANK -GIRO- MUENCHEN        Servicezentrum: Mo-Mi 7:30-13:30 Uhr, Do 7:30-18:00 Uhr, Fr 7:30 -13:00 Uhr     poststelle@fa-don.bayern.de     www.finanzamt-donauwoerth.de    580
8516 9       9112    Ebersberg       Schloßplatz 1-3        85560   Ebersberg       08092 267-0     08092 267-102                           70000000        70001508        BBK MUENCHEN    70051805        75      KR SPK EBERSBERG        Servicezentrum: Mo-Do 7:30-13:00 Uhr, Fr 7:30-12:00 Uhr poststelle@fa-ebe.bayern.de     www.finanzamt-ebersberg.de      581
8517 9       9113    Eggenfelden     Pfarrkirchner Str. 71   84307   Eggenfelden     08721 981-0     08721 981-200           84301   1160    74300000        74301502        BBK REGENSBURG EH LANDSHUT      74351430        5603    SPK ROTTAL-INN EGGENFELDEN      Servicezentrum: Mo, Di, Do 7:45-15:00 Uhr (Jan-Mai Do 7:45-17:00 Uhr), Mi, Fr 7:30-12:00 Uhr    poststelle@fa-eg.bayern.de      www.finanzamt-eggenfelden.de    582
8518 9       9114    Erding  Münchener Str. 31      85435   Erding  08122 188-0     08122 188-150           85422   1262    70000000        70001509        BBK MUENCHEN    70051995        8003    SPK ERDING-DORFEN       Servicezentrum: Mo-Mi 7:30-14:00 Uhr Do 7:30-18:00 Uhr, Fr 7:30 -12:00 Uhr      poststelle@fa-ed.bayern.de      www.finanzamt-erding.de 583
8519 9       9115    Freising        Prinz-Ludwig-Str. 26    85354   Freising        08161 493-0     08161 493-106   85350   85313   1343    70000000        70001510        BBK MUENCHEN    70021180        4001010 HYPOVEREINSBK FREISING  Servicezentrum: Mo-Di 7:30-15:00 Uhr, Mi, Fr 7:30-12:00 Uhr, Do 7:30-18:00 Uhr  poststelle@fa-fs.bayern.de      www.finanzamt-freising.de       584
8520 9       9117    Fürstenfeldbruck       Münchner Str.36        82256   Fürstenfeldbruck       08141 60-0      08141 60-150            82242   1261    70000000        70001511        BBK MUENCHEN    70053070        8007221 SPK FUERSTENFELDBRUCK   Servicezentrum: Mo-Mi 7:30-14:30 Uhr, Do 7:30-17:30 Uhr, Fr 7:30 -12:30 Uhr     poststelle@fa-ffb.bayern.de     www.finanzamt-fuerstenfeldbruck.de      585
8521 9       9118    Füssen -Außenstelle des Finanzamts Kaufbeuren-        Rupprechtstr. 1 87629   Füssen 08362 5056-0    08362 5056-290          87620   1460    73300000        73301510        BBK AUGSBURG EH KEMPTEN 73350000        310500525       SPARKASSE ALLGAEU       Servicezentrum: Mo-Mi 8:00-15:00 Uhr, Do 8:00-18:00 Uhr, Fr 8:00-13:00 Uhr      poststelle@fa-fues.bayern.de    www.finanzamt-fuessen.de        586
8522 9       9119    Garmisch-Partenkirchen  Von-Brug-Str. 5 82467   Garmisch-Partenkirchen  08821 700-0     08821 700-111           82453   1363    70000000        70001520        BBK MUENCHEN    70350000        505     KR SPK GARMISCH-PARTENKIRCH     Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-gap.bayern.de     www.finanzamt-garmisch-partenkirchen.de 587
8523 9       9120    Bad Griesbach -Außenstelle des Finanzamts Passau-      Schloßhof 5-6  94086   Bad Griesbach   0851 504-0      0851 504-2222           94083   1222    74000000        74001500        BBK REGENSBURG EH PASSAU        74050000        16170   SPK PASSAU      Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-griesb.bayern.de  www.finanzamt-bad-griesbach.de  588
8524 9       9121    Günzburg       Schloßpl. 4    89312   Günzburg       08221 902-0     08221 902-209           89302   1241    72000000        72001505        BBK AUGSBURG    72051840        18      SPK GUENZBURG-KRUMBACH  Servicezentrum: Mo-Di 7:45-12:30 u. 13:30-15:30, Mi, Fr 7:45-12:30, Do 7:45-12:30 u. 13:30-18:00        poststelle@fa-gz.bayern.de      www.finanzamt-guenzburg.de      589
8525 9       9123    Immenstadt -Außenstelle des Finanzamts Kempten-        Rothenfelsstr. 18       87509   Immenstadt      08323 801-0     08323 801-235           87502   1251    73300000        73301520        BBK AUGSBURG EH KEMPTEN 73350000        113464  SPARKASSE ALLGAEU       Servicezentrum: Mo-Do 7:30-14:00 Uhr (Okt-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-immen.bayern.de   www.finanzamt-immenstadt.de     590
8526 9       9124    Ingolstadt      Esplanade 38    85049   Ingolstadt      0841 311-0      0841 311-133            85019   210451  72100000        72101500        BBK MUENCHEN EH INGOLSTADT      72150000        25 080  SPARKASSE INGOLSTADT    Servicezentrum: Mo-Di 7:15-13:30, Mi 7:15-12:30, Do 7:15-17:30, Fr 7:15-12:00   poststelle@fa-in.bayern.de      www.finanzamt-ingolstadt.de     591
8527 9       9125    Kaufbeuren      Remboldstr. 21  87600   Kaufbeuren      08341 802-0     08341 802-221           87572   1260    73300000        73401500        BBK AUGSBURG EH KEMPTEN 73450000        25700   KR U ST SPK KAUFBEUREN  Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-kf.bayern.de      www.finanzamt-kaufbeuren.de     592
8528 9       9126    Kelheim         Klosterstr. 1   93309   Kelheim 09441 201-0     09441 201-201           93302   1252    75000000        75001501        BBK REGENSBURG  75051565        190201301       KREISSPARKASSE KELHEIM  Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-keh.bayern.de     www.finanzamt-kelheim.de        593
8529 9       9127    Kempten (Allgäu)       Am Stadtpark 3  87435   Kempten 0831 256-0      0831 256-260            87405   1520    73300000        73301500        BBK AUGSBURG EH KEMPTEN 73350000        117     SPARKASSE ALLGAEU       Servicezentrum: Mo-Do 7:30-14:30 Uhr (Nov-Mai Do 7:20-17:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-ke.bayern.de      www.finanzamt-kempten.de        594
8530 9       9131    Landsberg       Israel-Beker-Str. 20    86899   Landsberg       08191 332-0     08191 332-108   86896                   72000000        72001504        BBK AUGSBURG    70052060        158     SPK LANDSBERG-DIESSEN   Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-16:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-ll.bayern.de      www.finanzamt-landsberg.de      595
8531 9       9132    Landshut        Maximilianstr. 21       84028   Landshut        0871 8529-000   0871 8529-360                           74300000        74301500        BBK REGENSBURG EH LANDSHUT      74350000        10111   SPK LANDSHUT    Servicezentrum: Mo-Di 8:00-15:00 Uhr, Mi, Fr 8:00-12:00 Uhr, Do 8:00-18:00 Uhr  poststelle@fa-la.bayern.de      www.finanzamt-landshut.de       596
8532 9       9133    Laufen - Außenstelle des Finanzamts Berchtesgaden-     Rottmayrstr. 13 83410   Laufen  08682 918-0     08682 918-100           83406   1251    71000000        71001502        BBK MUENCHEN EH B REICHENHA     71050000        59998   SPK BERCHTESGADENER LAND        Servicezentrum: Mo-Do 7:30-13:30 Uhr (Nov-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-lauf.bayern.de    www.finanzamt-laufen.de 597
8533 9       9134    Lindau  Brettermarkt 4  88131   Lindau  08382 916-0     08382 916-100           88103   1320    73300000        73501500        BBK AUGSBURG EH KEMPTEN 73150000        620018333       SPK MEMMINGEN-LINDAU-MINDEL     Servicezentrum: Mo-Do 7:30-14:00 Uhr (Nov-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-li.bayern.de      www.finanzamt-lindau.de 598
8534 9       9138    Memmingen       Bodenseestr. 6  87700   Memmingen       08331 608-0     08331 608-165           87683   1345    73100000        73101500        BBK AUGSBURG EH MEMMINGEN       73150000        210005  SPK MEMMINGEN-LINDAU-MINDEL     Servicezentrum: Mo-Do 7:30-14:00 Uhr, (Nov-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr    poststelle@fa-mm.bayern.de      www.finanzamt-memmingen.de      599
8535 9       9139    Miesbach        Schlierseer Str. 5      83714   Miesbach        08025 709-0     08025 709-500           83711   302     70000000        70001512        BBK MUENCHEN    71152570        4002    KR SPK MIESBACH-TEGERNSEE       Servicezentrum: Mo, Di, Mi, Fr 7:30-14:00 Uhr, Do 7:30-18:00 Uhr        poststelle@fa-mb.bayern.de      www.finanzamt-miesbach.de       600
8536 9       9140    Mindelheim -Außenstelle des Finanzamts Memmingen-      Bahnhofstr. 16  87719   Mindelheim      08261 9912-0    08261 9912-300          87711   1165    73100000        73101502        BBK AUGSBURG EH MEMMINGEN       73150000        810004788       SPK MEMMINGEN-LINDAU-MINDEL     Servicezentrum: Mo-Mi 7:30-12:00 u. 13:30-15:30, Do 7:30-12:00 u. 13:30-17:30, Fr 7:30-12:00    poststelle@fa-mn.bayern.de      www.finanzamt-mindelheim.de     601
8537 9       9141    Mühldorf       Katharinenplatz 16      84453   Mühldorf       08631 616-0     08631 616-100           84445   1369    71100000        71101501        BBK MUENCHEN EH ROSENHEIM       71151020        885     KR SPK MUEHLDORF        Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-mue.bayern.de     www.finanzamt-muehldorf.de      602
8538 9       9142    München f. Körpersch. Bewertung des Grundbesitzes     Meiserstr. 4    80333   München        089 1252-0      089 1252-7777   80275   80008   20 09 26        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-koe.bayern.de   www.finanzamt-muenchen-koerperschaften.de       603
8539 9       9143    München f. Körpersch. Körperschaftsteuer     Meiserstr. 4    80333   München        089 1252-0      089 1252-7777   80275   80008   20 09 26        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-koe.bayern.de   www.finanzamt-muenchen-koerperschaften.de       604
8540 9       9144    München I      Karlstr. 9-11   80333   München        089 1252-0      089 1252-1111   80276   80008   20 09 05        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m1.bayern.de      www.finanzamt-muenchen-I.de     605
8541 9       9145    München III    Deroystr. 18    80335   München        089 1252-0      089 1252-3333   80301                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m3.bayern.de      www.finanzamt-muenchen-III.de   606
8542 9       9146    München IV     Deroystr. 4 Aufgang I   80335   München        089 1252-0      089 1252-4000   80302                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m4.bayern.de      www.finanzamt-muenchen-IV.de    607
8543 9       9147    München II     Deroystr. 20    80335   München        089 1252-0      089 1252-2222   80269                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m2.bayern.de      www.finanzamt-muenchen-II.de    608
8544 9       9148    München V      Deroystr. 4 Aufgang II  80335   München        089 1252-0      089 1252-5281   80303                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       poststelle@fa-m5.bayern.de      www.finanzamt-muenchen-V.de     609
8545 9       9149    München-Zentral Erhebung, Vollstreckung        Winzererstr. 47a        80797   München        089 3065-0      089 3065-1900   80784                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-zfa.bayern.de   www.finanzamt-muenchen-zentral.de       610
8546 9       9150    Neuburg -Außenstelle des Finanzamts Schrobenhausen-    Fünfzehnerstr. 7       86633   Neuburg 08252 918-0     08252 918-222           86618   1320    72100000        72101505        BBK MUENCHEN EH INGOLSTADT      72151880        104000  ST SPK SCHROBENHAUSEN   Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:30 Uhr      poststelle@fa-nd.bayern.de      www.finanzamt-neuburg.de        611
8547 9       9151    Neu-Ulm         Nelsonallee 5   89231   Neu-Ulm 0731 7045-0     0731 7045-500   89229   89204   1460    63000000        63001501        BBK ULM, DONAU  73050000        430008425       SPK NEU-ULM ILLERTISSEN Servicezentrum: Mo, Di, Mi, Fr 8:00-13:00 Uhr, Do 8:00-13:00 Uhr u. 14:00-18:00 Uhr     poststelle@fa-nu.bayern.de      www.finanzamt-neu-ulm.de        612
8548 9       9152    Nördlingen     Tändelmarkt 1  86720   Nördlingen     09081 215-0     09081 215-100           86715   1521    72000000        72001506        BBK AUGSBURG    72250000        111500  SPARKASSE NOERDLINGEN   Servicezentrum: Mo, Di, Mi, Fr 7:30-13:00 Uhr, Do 7:30-13:00 Uhr u. 14:00-18:00 Uhr     poststelle@fa-noe.bayern.de     www.finanzamt-noerdlingen.de    613
8549 9       9153    Passau mit Außenstellen        Innstr. 36      94032   Passau  0851 504-0      0851 504-1410           94030   1450    74000000        740 01500       BBK REGENSBURG EH PASSAU        74050000        16170   SPK PASSAU      Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-pa.bayern.de      www.finanzamt-passau.de 614
8550 9       9154    Pfaffenhofen    Schirmbeckstr. 5        85276   Pfaffenhofen a. d. Ilm  08441 77-0      08441 77-199            85265   1543    72100000        72101504        BBK MUENCHEN EH INGOLSTADT      72151650        7302    VER SPK PFAFFENHOFEN    Servicezentrum: Mo-Mi 7:30-14:30 Uhr, Do 7:30-17:30 Uhr, Fr 7:30-12:30 Uhr      poststelle@fa-paf.bayern.de     www.finanzamt-pfaffenhofen.de   615
8551 9       9156    Rosenheim m. ASt Wasserburg     Wittelsbacherstr. 25    83022   Rosenheim       08031 201-0     08031 201-222           83002   100255  71100000        71101500        BBK MUENCHEN EH ROSENHEIM       71150000        34462   SPK ROSENHEIM   Servicezentrum: Mo-Do 7:30-14:00 Uhr, (Okt-Mai Do 7:30-17:00 Uhr), Fr 7:30-12.00 Uhr    poststelle@fa-ro.bayern.de      www.finanzamt-rosenheim.de      616
8552 9       9157    Grafenau        Friedhofstr. 1  94481   Grafenau        08552 423-0     08552 423-170                           75000000        75001507        BBK REGENSBURG  70010080        1621-806        POSTBANK -GIRO- MUENCHEN        Servicezentrum: Mo, Di 7:30-15:00 Uhr, Mi, Fr 7:30-12:00 Uhr, Do 7:30-18:00 Uhr poststelle@fa-gra.bayern.de     www.finanzamt-grafenau.de       617
8553 9       9158    Schongau - Außenstelle des Finanzamts Weilheim-Schongau -      Rentamtstr. 1   86956   Schongau        0881 184-0      0881 184-373            86951   1147    70000000        70001521        BBK MUENCHEN    70351030        20149   VER SPK WEILHEIM        Servicezentrum: Mo-Do 7:30-14:00 Uhr (Okt-Jun Do 7:30-17:30 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-sog.bayern.de     www.finanzamt-schongau.de       618
8554 9       9159    Schrobenhausen m. ASt Neuburg   Rot-Kreuz-Str. 2        86529   Schrobenhausen  08252 918-0     08252 918-430           86522   1269    72100000        72101505        BBK MUENCHEN EH INGOLSTADT      72151880        104000  ST SPK SCHROBENHAUSEN   Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:30 Uhr      poststelle@fa-sob.bayern.de     www.finanzamt-schrobenhausen.de 619
8555 9       9161    Starnberg       Schloßbergstr. 82319   Starnberg       08151 778-0     08151 778-250           82317   1251    70000000        70001513        BBK MUENCHEN    70250150        430064295       KR SPK MUENCHEN STARNBERG       Servicezentrum: Mo-Mi 7:30-15:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-13:00 Uhr      poststelle@fa-sta.bayern.de     www.finanzamt-starnberg.de      620
8556 9       9162    Straubing       Fürstenstr. 9  94315   Straubing       09421 941-0     09421 941-272           94301   151     75000000        75001502        BBK REGENSBURG  74250000        240017707       SPK STRAUBING-BOGEN     Servicezentrum: Mo, Di, Mi, Fr 7:30-13:00 Uhr, Do 7:30-18:00 Uhr        poststelle@fa-sr.bayern.de      www.finanzamt-straubing.de      621
8557 9       9163    Traunstein      Herzog-Otto-Str. 6      83278   Traunstein      0861 701-0      0861 701-338    83276   83263   1309    71000000        71001503        BBK MUENCHEN EH B REICHENHA     71052050        7070    KR SPK TRAUNSTEIN-TROSTBERG     Servicezentrum: Mo-Do 7:30-14:00 Uhr (Okt.-Mai Do 7:30-18:00 Uhr), Fr 7:30-12:00 Uhr    poststelle@fa-ts.bayern.de      www.finanzamt-traunstein.de     622
8558 9       9164    Viechtach -Außenstelle des Finanzamts Zwiesel- Mönchshofstr. 27       94234   Viechtach       09922 507-0     09922 507-399           94228   1162    75000000        75001508        BBK REGENSBURG  74151450        240001008       SPARKASSE REGEN-VIECHTACH       Servicezentrum: Mo-Di 7:45-15:00 Uhr, Mi, Fr 7:45-12:00 Uhr, Do 7:45-18:00 Uhr  poststelle@fa-viech.bayern.de   www.finanzamt-viechtach.de      623
8559 9       9166    Vilshofen -Außenstelle des Finanzamts Passau-  Kapuzinerstr. 36        94474   Vilshofen       0851 504-0      0851 504-2465                           74000000        74001500        BBK REGENSBURG EH PASSAU        74050000        16170   SPK PASSAU      Servicezentrum: Mo-Mi 7:30-14:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:00 Uhr      poststelle@fa-vof.bayern.de     www.finanzamt-vilshofen.de      624
8560 9       9167    Wasserburg -Außenstelle des Finanzamts Rosenheim-      Rosenheimer Str. 16     83512   Wasserburg      08037 201-0     08037 201-150           83502   1280    71100000        71101500        BBK MUENCHEN EH ROSENHEIM       71150000        34462   SPK ROSENHEIM   Servicezentrum: Mo-Do 7:30-14:00 Uhr, (Okt-Mai Do 7:30-17:00 Uhr), Fr 7:30-12.00 Uhr    poststelle@fa-ws.bayern.de      www.finanzamt-wasserburg.de     625
8561 9       9168    Weilheim-Schongau       Hofstr. 23      82362   Weilheim        0881 184-0      0881 184-500            82352   1264    70000000        70001521        BBK MUENCHEN    70351030        20149   VER SPK WEILHEIM        Servicezentrum: Mo-Do 7:30-14:00 Uhr (Okt-Jun Do 7:30-17:30 Uhr), Fr 7:30-12:00 Uhr     poststelle@fa-wm.bayern.de      www.finanzamt-weilheim.de       626
8562 9       9169    Wolfratshausen  Heimgartenstr. 5        82515   Wolfratshausen  08171 25-0      08171 25-150            82504   1444    70000000        70001514        BBK MUENCHEN    70054306        505     SPK BAD TOELZ-WOLFRATSHAUSE     Servicezentrum: Mo-MI 7:30-14:00 Uhr, Do 7:30-17:00 Uhr, Fr 7:30-12:30 Uhr      poststelle@fa-wor.bayern.de     www.finanzamt-wolfratshausen.de 627
8563 9       9170    Zwiesel m. ASt Viechtach        Stadtplatz 16   94227   Zwiesel 09922 507-0     09922 507-200           94221   1262    75000000        75001508        BBK REGENSBURG  74151450        240001008       SPARKASSE REGEN-VIECHTACH       Servicezentrum: Mo-Di 7:45-15:00 Uhr, Mi, Fr 7:45-12:00 Uhr, Do 7:45-18:00 Uhr  poststelle@fa-zwi.bayern.de     www.finanzamt-zwiesel.de        628
8564 9       9171    Eichstätt      Residenzplatz 8 85072   Eichstätt      08421 6007-0    08421 6007-400  85071   85065   1163    72100000        72101501        BBK MUENCHEN EH INGOLSTADT      72151340        1214    SPARKASSE EICHSTAETT    Servicezentrum: Mo, Di, Mi 7:30-14:00 Uhr, Do 7:30-18:00 Uhr, Fr 7:30-12:00 Uhr poststelle@fa-ei.bayern.de      www.finanzamt-eichstaett.de     629
8565 9       9180    München f. Körpersch.         Meiserstr. 4    80333   München        089 1252-0      089 1252-7777   80275   80008   20 09 26        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-koe.bayern.de   www.finanzamt-muenchen-koerperschaften.de       630
8566 9       9181    München I Arbeitnehmerbereich  Karlstr. 9/11   80333   München        089 1252-0      089 1252-1111   80276   80008   20 09 05        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m1-BS.bayern.de   www.finanzamt-muenchen-I.de     631
8567 9       9182    München II Arbeitnehmerbereich Deroystr. 20    80335   München        089 1252-0      089 1252-2888   80269                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m2-BS.bayern.de   www.finanzamt-muenchen-II.de    632
8568 9       9183    München III Arbeitnehmerbereich        Deroystr. 18    80335   München        089 1252-0      089 1252-3788   80301                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m3-BS.bayern.de   www.finanzamt-muenchen-III.de   633
8569 9       9184    München IV Arbeitnehmerbereich Deroystr. 4 Aufgang I   80335   München        089 1252-0      089 1252-4820   80302                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m4-BS.bayern.de   www.finanzamt-muenchen-IV.de    634
8570 9       9185    München V Arbeitnehmerbereich  Deroystr. 4 Aufgang II  80335   München        089 1252-0      089 1252-5799   80303                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Servicezentrum Deroystr. 6: Mo-Mi 7:30-16:00, Do 7:30-18:00, Fr 7:30-12:30 (i. Ãœ. nach Vereinb.)       Poststelle@fa-m5-BS.bayern.de   www.finanzamt-muenchen-V.de     635
8571 9       9187    München f. Körpersch.         Meiserstr. 4    80333   München        089 1252-0      089 1252-7777   80275   80008   20 09 26        70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-koe.bayern.de   www.finanzamt-muenchen-koerperschaften.de       636
8572 9       9189    München-Zentral Kraftfahrzeugsteuer    Winzererstr. 47a        80797   München        089 3065-0      089 3065-1900   80784                   70050000        24962   BAYERNLB MUENCHEN       70000000        70001506        BBK MUENCHEN    Mo, Di, Do, Fr 8:00-12:00 Uhr, Mi geschlossen   poststelle@fa-m-zfa.bayern.de   www.finanzamt-muenchen-zentral.de       637
8573 9       9201    Amberg  Kirchensteig 2  92224   Amberg  09621 36-0      09621 36-413            92204   1452    75300000        75301503        BBK REGENSBURG EH WEIDEN        75250000        190011122       SPARKASSE AMBERG-SULZBACH       Servicezentrum: Mo, Die, Mi, Fr: 07:30 - 12:00 UhrDo: 07:30 - 17:30 Uhr poststelle@fa-am.bayern.de      www.finanzamt-amberg.de 638
8574 9       9202    Obernburg a. Main mit Außenstelle Amorbach     Schneeberger Str. 1     63916   Amorbach        09373 202-0     09373 202-100           63912   1160    79500000        79501502        BBK WUERZBURG EH ASCHAFFENB     79650000        620300111       SPK MILTENBERG-OBERNBURG        Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-amorb.bayern.de   www.finanzamt-amorbach.de       639
8575 9       9203    Ansbach mit Außenstellen       Mozartstr. 25   91522   Ansbach 0981 16-0       0981 16-333             91511   608     76500000        76501500        BBK NUERNBERG EH ANSBACH        76550000        215004  VER SPK ANSBACH Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-an.bayern.de      www.finanzamt-ansbach.de        640
8576 9       9204    Aschaffenburg   Auhofstr. 13    63741   Aschaffenburg   06021 492-0     06021 492-1000  63736                   79500000        79501500        BBK WUERZBURG EH ASCHAFFENB     79550000        8375    SPK ASCHAFFENBURG ALZENAU       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 8:00 - 18:00 Uhr, Fr: 08:00     poststelle@fa-ab.bayern.de      www.finanzamt-aschaffenburg.de  641
8577 9       9205    Bad Kissingen   Bibrastr. 10    97688   Bad Kissingen   0971 8021-0     0971 8021-200           97663   1360    79300000        79301501        BBK WUERZBURG EH SCHWEINFUR     79351010        10009   SPK BAD KISSINGEN       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-kg.bayern.de      /www.finanzamt-bad-kissingen.de 642
8578 9       9206    Bad Neustadt a.d.S.     Meininger Str. 39       97616   Bad Neustadt    09771 9104-0    09771 9104-444  97615                   79300000        79301502        BBK WUERZBURG EH SCHWEINFUR     79353090        7005    SPK BAD NEUSTADT A D SAALE      Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-nes.bayern.de     www.finanzamt-bad-neustadt.de   643
8579 9       9207    Bamberg         Martin-Luther-Str. 1    96050   Bamberg 0951 84-0       0951 84-230     96045                   77000000        77001500        BBK NUERNBERG EH BAMBERG        77050000        30700   SPK BAMBERG     Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-ba.bayern.de      www.finanzamt-bamberg.de        644
8580 9       9208    Bayreuth        Maximilianstr. 12/14    95444   Bayreuth        0921 609-0      0921 609-254            95422   110361  77300000        773 01500       BBK BAYREUTH    77350110        9033333 SPARKASSE BAYREUTH      Servicezentrum: Mo - Mi: 07:30 - 14:00 Uhr, Do: 07:30 - 17:00 Uhr, Fr: 07:30    poststelle@fa-bt.bayern.de      www.finanzamt-bayreuth.de       645
8581 9       9211    Cham mit Außenstellen  Reberstr. 2     93413   Cham    09971 488-0     09971 488-199           93402   1253    74221170        344 755 205     HYPOVEREINSBK CHAM, OBERPF      76010085        1735-858        POSTBANK NUERNBERG      Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 18:00 Uhr, Fr: 07:30    poststelle@fa-cha.bayern.de     www.finanzamt-cham.de   646
8582 9       9212    Coburg  Rodacher Straße 4      96450   Coburg  09561 646-0     09561 646-130           96406   1653    77000000        78301500        BBK NUERNBERG EH BAMBERG        78350000        7450    VER SPK COBURG  Servicezentrum: Mo - Fr: 08:00 - 13:00 Uhr, Do: 14:00 - 18:00 Uhr       poststelle@fa-co.bayern.de      www.finanzamt-coburg.de 647
8583 9       9213    Dinkelsbühl - Außenstelle des  Finanzamts Ansbach -   Föhrenberggasse 30     91550   Dinkelsbühl    0981 16-0       09851 5737-607                          76500000        76501500        BBK NUERNBERG EH ANSBACH        76550000        215004  VER SPK ANSBACH Servicezentrum: Mo - Mi: 08:00 - 14:00, Do: 08:00 - 18:00 Uhr, Fr: 08:00 -      poststelle@fa-dkb.bayern.de     www.finanzamt-dinkelsbuehl.de   648
8584 9       9214    Ebern - Außenstelle des Finanzamts Zeil -      Rittergasse 1   96104   Ebern   09524 824-0     09524 824-225                           79300000        79301505        BBK WUERZBURG EH SCHWEINFUR     79351730        500900  SPK OSTUNTERFRANKEN     Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-ebn.bayern.de     www.finanzamt-ebern.de  649
8585 9       9216    Erlangen        Schubertstr 10  91052   Erlangen        09131 121-0     09131 121-369   91051                   76000000        76001507        BBK NUERNBERG   76350000        2929    ST U KR SPK ERLANGEN    Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-er.bayern.de      www.finanzamt-erlangen.de       650
8586 9       9217    Forchheim       Dechant-Reuder-Str. 6   91301   Forchheim       09191 626-0     09191 626-200   91299                   76000000        76001508        BBK NUERNBERG   76351040        91      SPARKASSE FORCHHEIM     Servicezentrum: Mo - Mi: 08:00 - 13:00 Uhr, Do: 08:00 - 17:30, Fr: 08:00 -      poststelle@fa-fo.bayern.de      www.finanzamt-forchheim.de      651
8587 9       9218    Fürth  Herrnstraße 69 90763   Fürth  0911 7435-0     0911 7435-350   90744                   76000000        76201500        BBK NUERNBERG   76250000        18200   SPK FUERTH      Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-fue.bayern.de     www.finanzamt-fuerth.de 652
8588 9       9220    Gunzenhausen    Hindenburgplatz 1       91710   Gunzenhausen    09831 8009-0    09831 8009-77   91709                   76500000        76501502        BBK NUERNBERG EH ANSBACH        76551540        109785  VER SPK GUNZENHAUSEN    Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-gun.bayern.de     www.finanzamt-gunzenhausen.de   653
8589 9       9221    Hersbruck       Amberger Str. 76 (Haus B)       91217   Hersbruck       09151 731-0     09151 731-200           91211   273     76000000        76001505        BBK NUERNBERG   76050101        190016618       SPARKASSE NUERNBERG     Servicezentrum: Mo - Mi: 08:00 - 15:30 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-heb.bayern.de     www.finanzamt-hersbruck.de      654
8590 9       9222    Hilpoltstein    Spitalwinkel 3  91161   Hilpoltstein    09174 469-0     09174 469-100           91155   1180    76000000        76401520        BBK NUERNBERG   76450000        240000026       SPK MITTELFRANKEN-SUED  Servicezentrum: Mo - Fr: 08:00 - 12:30 Uhr, Do: 14:00 - 18:00 Uhr       poststelle@fa-hip.bayern.de     www.finanzamt-hilpoltstein.de   655
8591 9       9223    Hof mit Außenstellen   Ernst-Reuter-Str. 60    95030   Hof     09281 929-0     09281 929-1500          95012   1368    78000000        78001500        BBK BAYREUTH EH HOF     78050000        380020750       KR U ST SPK HOF Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-ho.bayern.de      www.finanzamt-hof.de    656
8592 9       9224    Hofheim - Außenstelle des Finanzamts Zeil -    Marktplatz 1    97457   Hofheim 09524 824-0     09524 824-250                           79300000        79301505        BBK WUERZBURG EH SCHWEINFUR     79351730        500900  SPK OSTUNTERFRANKEN     Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-hoh.bayern.de     www.finanzamt-hofheim.de        657
8593 9       9225    Karlstadt - Außenstelle des Finanzamts Lohr -  Gemündener Str. 3      97753   Karlstadt       09353 949-0     09353 949-2250                          79000000        79001504        BBK WUERZBURG   79050000        2246    SPK MAINFRANKEN WUERZBURG       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-kar.bayern.de     www.finanzamt-karlstadt.de      658
8594 9       9227    Kitzingen       Moltkestr. 24   97318   Kitzingen       09321 703-0     09321 703-444           97308   660     79000000        79101500        BBK WUERZBURG   79050000        42070557        SPK MAINFRANKEN WUERZBURG       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-kt.bayern.de      www.finanzamt-kitzingen.de      659
8595 9       9228    Kronach         Amtsgerichtsstr. 13     96317   Kronach 09261 510-0     09261 510-199           96302   1262    77300000        77101501        BBK BAYREUTH    77151640        240006007       SPK KRONACH-LUDWIGSSTADT        Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08.00 - 17:30 Uhr, Fr: 08:00    poststelle@fa-kc.bayern.de      www.finanzamt-kronach.de        660
8596 9       9229    Kulmbach        Georg-Hagen-Str. 17     95326   Kulmbach        09221 650-0     09221 650-283           95304   1420    77300000        77101500        BBK BAYREUTH    77150000        105445  SPARKASSE KULMBACH      Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08.00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-ku.bayern.de      www.finanzamt-kulmbach.de       661
8597 9       9230    Lichtenfels     Kronacher Str. 39       96215   Lichtenfels     09571 764-0     09571 764-420           96206   1680    77000000        77001502        BBK NUERNBERG EH BAMBERG        77051860        2345    KR SPK LICHTENFELS      Servicezentrum: Mo - Fr: 08:00 - 13:00 Uhr, Do: 14:00 - 17:00 Uhr       poststelle@fa-lif.bayern.de     www.finanzamt-lichtenfels.de    662
8598 9       9231    Lohr a. Main mit Außenstellen          Rexrothstr. 14  97816   Lohr    09352 850-0     09352 850-1300          97804   1465    79000000        79001504        BBK WUERZBURG   79050000        2246    SPK MAINFRANKEN WUERZBURG       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-loh.bayern.de     www.finanzamt-lohr.de   663
8599 9       9232    Marktheidenfeld - Außenstelle  des Finanzamts Lohr -   Ringstr. 24/26  97828   Marktheidenfeld 09391 506-0     09391 506-3299                          79000000        79001504        BBK WUERZBURG   79050000        2246    SPK MAINFRANKEN WUERZBURG       Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-mar.bayern.de     www.finanzamt-marktheidenfeld.de        664
8600 9       9233    Münchberg - Außenstelle des Finanzamts Hof -  Hofer Str. 1    95213   Münchberg      09281 929-0     09281 929-3505                          78000000        78001500        BBK BAYREUTH EH HOF     78050000        380020750       KR U ST SPK HOF Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-mueb.bayern.de    www.finanzamt-muenchberg.de     665
8601 9       9234    Naila - Außenstelle des Finanzamts Hof -       Carl-Seyffert-Str. 3    95119   Naila   09281 929-0     09281 929-2506                          78000000        78001500        BBK BAYREUTH EH HOF     78050000        380020750       KR U ST SPK HOF Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-nai.bayern.de     www.finanzamt-naila.de  666
8602 9       9235    Neumarkt i.d.Opf.       Ingolstädter Str. 3    92318   Neumarkt        09181 692-0     09181 692-1200                          76000000        76001506        BBK NUERNBERG   76052080        6296    SPK NEUMARKT I D OPF-PARSBG     Servicezentrum: Mo - Do: 07:30 - 15:00 Uhr, Fr: 07:30 - 12:00 Uhr       poststelle@fa-nm.bayern.de      /www.finanzamt-neumarkt.de      667
8603 9       9236    Neunburg v. W. - Außenstelle des Finanzamts Schwandorf -       Krankenhausstr. 6       92431   Neunburg vorm Wald      09431 382-0     09431 382-539           92428   1000    75300000        75301502        BBK REGENSBURG EH WEIDEN        75051040        380019000       SPK IM LANDKREIS SCHWANDORF     Servicezentrum: Mo-Mi: 07:30-12:30 u. 13:30-15:30,Do: 07:30-12:30 u. 13:30-17:00, Fr: 07:30-12:30 h     poststelle@fa-nen.bayern.de     www.finanzamt-neunburg.de       668
8604 9       9238    Nürnberg-Nord  Kirchenweg 10   90419   Nürnberg       0911 3998-0     0911 3998-296   90340                   76000000        76001502        BBK NUERNBERG   76050000        20161   BAYERNLB NUERNBERG      Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-n-n.bayern.de     www.finanzamt-nuernberg-nord.de 669
8605 9       9240    Nürnberg-Süd  Sandstr. 20     90443   Nürnberg       0911 248-0      0911 248-2299/2599      90339                   76000000        76001503        BBK NUERNBERG   76050101        3648043 SPARKASSE NUERNBERG     Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-n-s.bayern.de     www.finanzamt-nuernberg-sued.de 670
8606 9       9241    Nürnberg-Zentral       Voigtländerstr. 7/9    90489   Nürnberg       0911 5393-0     0911 5393-2000                          76000000        76001501        BBK NUERNBERG   76050101        1025008 SPARKASSE NUERNBERG     Servicezentrum: Mo - Do: 08:00 - 12:30 h, Di und Do: 13:30 - 15:00 h,   poststelle@fa-n-zfa.bayern.de   www.zentralfinanzamt-nuernberg.de       671
8607 9       9242    Ochsenfurt - Außenstelle des Finanzamts Würzburg -    Völkstr.1      97199   Ochsenfurt      09331 904-0     09331 904-200           97196   1263    79000000        79001500        BBK WUERZBURG   79020076        801283  HYPOVEREINSBK WUERZBURG Servicezentrum: Mo - Mi: 07:30 - 13:00 Uhr, Do: 07:30 - 17:00 uhr, Fr: 07:30    poststelle@fa-och.bayern.de     www.finanzamt-ochsenfurt.de     672
8608 9       9244    Regensburg      Landshuter Str. 4       93047   Regensburg      0941 5024-0     0941 5024-1199  93042                   75000000        75001500        BBK REGENSBURG  75050000        111500  SPK REGENSBURG  Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 17:00 Uhr, Fr: 07:30    poststelle@fa-r.bayern.de       www.finanzamt-regensburg.de     673
8609 9       9246    Rothenburg - Außenstelle des Finanzamts Ansbach -      Ludwig-Siebert-Str. 31  91541   Rothenburg o.d.T.       0981 16-0       09861 706-511                           76500000        76501500        BBK NUERNBERG EH ANSBACH        76550000        215004  VER SPK ANSBACH Servicezentrum: Mo - Mi: 08:00 - 14:00 Uhr, Do: 08:00 - 18:00 Uhr, Fr: 08:00    poststelle@fa-rot.bayern.de     www.finanzamt-rothenburg.de     674
8610 9       9247    Schwabach       Theodor-Heuss-Str. 63   91126   Schwabach       09122 928-0     09122 928-100   91124                   76000000        76401500        BBK NUERNBERG   76450000        55533   SPK MITTELFRANKEN-SUED  Servicezentrum: Mo - Mi: 08:00 - 13:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-sc.bayern.de      www.finanzamt-schwabach.de      675
8611 9       9248    Schwandorf mit Außenstelle Neunburg v. W.      Friedrich-Ebert-Str.59  92421   Schwandorf      09431 382-0     09431 382-111   92419                   75300000        75301502        BBK REGENSBURG EH WEIDEN        75051040        380019000       SPK IM LANDKREIS SCHWANDORF     Servicezentrum: Mo-Mi: 07:30-12:30 u. 13:30-15:30,Do: 07:30-12:30 u. 13:30-17:00, Fr: 07:30-12:30 h     poststelle@fa-sad.bayern.de     www.finanzamt-schwandorf.de     676
8612 9       9249    Schweinfurt     Schrammstr. 3   97421   Schweinfurt     09721 2911-0    09721 2911-5070 97420                   79300000        79301500        BBK WUERZBURG EH SCHWEINFUR     79350101        15800   KR SPK SCHWEINFURT      Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-sw.bayern.de      www.finanzamt-schweinfurt.de    677
8613 9       9250    Selb - Außenstelle des Finanzamts Wunsiedel -  Wittelsbacher Str. 8    95100   Selb    09232 607-0     09232 607-300                           78000000        78101512        BBK BAYREUTH EH HOF     78055050        620006254       SPK FICHTELGEBIRGE      Servicezentrum: Mo-Mi: 07:30-12:30 u. 13:30-15:00,Do: 07:30-12:30 und 13:30-17:00, Fr: 07:30-12:00 h    poststelle@fa-sel.bayern.de     www.finanzamt-selb.de   678
8614 9       9252    Uffenheim       Schloßpl.      97215   Uffenheim       09842 200-0     09842 200-345           97211   1240    76500000        76501504        BBK NUERNBERG EH ANSBACH        76251020        620002006       SPK I LANDKREIS NEUSTADT        Servicezentrum: Mo-Mi: 08:00-12:00 u. 13:00-15:00,Do: 08:00-12:00 u. 13:00-17:00, Fr: 08:00-12:00 h     poststelle@fa-uff.bayern.de     www.finanzamt-uffenheim.de      679
8615 9       9253    Waldmünchen - Außenstelle des  Finanzamts Cham -      Bahnhofstr. 10  93449   Waldmünchen    09971 488-0     09971 488-550                           74221170        344 755 205     HYPOVEREINSBK CHAM, OBERPF      76010085        1735-858        POSTBANK NUERNBERG      Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 17:00 Uhr, Fr: 07:30    poststelle@fa-wuem.bayern.de    www.finanzamt-waldmuenchen.de   680
8616 9       9254    Waldsassen      Johannisplatz 13        95652   Waldsassen      09632 847-0     09632 847-199           95646   1329    75300000        75301511        BBK REGENSBURG EH WEIDEN        78151080        32367   SPK TIRSCHENREUTH       Servicezentrum: Mo - Fr: 07:30 - 12:30 Uhr, Mo - Mi: 13:30 - 15:30 Uhr, poststelle@fa-wasa.bayern.de    www.finanzamt-waldsassen.de     681
8617 9       9255    Weiden i.d.Opf.         Schlörpl. 2 u. 4       92637   Weiden  0961 301-0      0961 32600              92604   1460    75300000        75301500        BBK REGENSBURG EH WEIDEN        75350000        172700  ST SPK WEIDEN   Servicezentrum: Mo - Fr: 07:30 - 12:30 Uhr, Mo - Mi: 13:30 - 15:30 Uhr, poststelle@fa-wen.bayern.de     www.finanzamt-weiden.de 682
8618 9       9257    Würzburg mit Außenstelle Ochsenfurt   Ludwigstr. 25   97070   Würzburg       0931 387-0      0931 387-4444   97064                   79000000        79001500        BBK WUERZBURG   79020076        801283  HYPOVEREINSBK WUERZBURG Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 17:00 Uhr, Fr: 07:30    poststelle@fa-wue.bayern.de     www.finanzamt-wuerzburg.de      683
8619 9       9258    Wunsiedel mit Außenstelle Selb Sonnenstr. 11   95632   Wunsiedel       09232 607-0     09232 607-200   95631                   78000000        78101512        BBK BAYREUTH EH HOF     78055050        620006254       SPK FICHTELGEBIRGE      Servicezentrum: Mo-Mi: 07:30-12:30 u 13:30-15:00, Do: 07:30-12:30 und 13:30-17:00, Fr: 07:30-12:00 h    poststelle@fa-wun.bayern.de     www.finanzamt-wunsiedel.de      684
8620 9       9259    Zeil a. Main mit Außenstellen          Obere Torstr. 9 97475   Zeil    09524 824-0     09524 824-100           97470   1160    79300000        79301505        BBK WUERZBURG EH SCHWEINFUR     79351730        500900  SPK OSTUNTERFRANKEN     Servicezentrum: Mo - Mi: 08:00 - 15:00 Uhr, Do: 08:00 - 17:00 Uhr, Fr: 08:00    poststelle@fa-zei.bayern.de     www.finanzamt-zeil.de   685
8621 9       9260    Kötzting - Außenstelle des Finanzamts Cham -  Bahnhofstr. 3   93444   Kötzting       09971 488-0     09971 488-450                           74221170        344 755 205     HYPOVEREINSBK CHAM, OBERPF      76010085        1735-858        POSTBANK NUERNBERG      Servicezentrum: Mo - Mi: 07:30 - 15:00 Uhr, Do: 07:30 - 18:00 Uhr, Fr: 07:30    poststelle@fa-koez.bayern.de    www.finanzamt-koetzting.de      686
8622 2       2241    Hamburg-Altona  Gr. Bergstr. 264/266    22767   Hamburg 040/42811-02    040/42811-2871          22704   500471  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgAltona@finanzamt.hamburg.de           58
8623 2       2242    Hamburg-Am Tierpark     Hugh-Greene-Weg 6       22529   Hamburg                         22520           20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgAmTierpark@finanzamt.hamburg.de               77
8624 2       2243    Hamburg-Barmbek-Uhlenhorst      Lübecker Str. 101-109  22087   Hamburg 040/42860-0     040/42860-730           22053   760360  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FABarmbekUhlenhorst@finanzamt.hamburg.de               78
8625 2       2243    Hamburg-Barmbek-Uhlenhorst 15   Lübecker Str. 101-109  22087   Hamburg 040/42860-0     040/42860-730           22053   760360  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgBarmbekUhlenhorst@finanzamt.hamburg.de                64
8626 2       2244    Hamburg-Bergedorf       Ludwig-Rosenberg-Ring 41        21031   Hamburg 040/42891-0     040/42891-2243          21003   800360  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL               FAHamburgBergedorf@finanzamt.hamburg.de         59
8627 2       2245    Hamburg-Eimsbüttel     Stresemannstraße 23    22769   Hamburg 040/42807-0     040/42807-220           22770   570110  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgEimsbuettel@finanzamt.hamburg.de              76
8628 2       2246    Hamburg-Hansa   Steinstraße 10 20095   Hamburg 040/42853-01    040/42853-2064          20015   102244  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL               FAHamburgHansa@finanzamt.hamburg.de             68
8629 2       2247    Hamburg-Harburg         Harburger Ring 40       21073   Hamburg 040/42871-0     040/42871-2215          21043   900352  20000000        200 015 30      BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgHarburg@finanzamt.hamburg.de          60
8630 2       2249    Hamburg-Nord    Borsteler Chaussee 45   22453   Hamburg 040/42806-0     040/42806-220           22207   600707  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL               FAHamburgNord@finanzamt.hamburg.de              71
8631 2       2250    Hamburg-Oberalster      Hachmannplatz 2 20099   Hamburg 040/42854-90    040/42854-4960          20015   102248  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgOberalster@finanzamt.hamburg.de               62
8632 2       2251    Hamburg-Wandsbek        Schloßstr.107  22041   Hamburg 040/42881-0     040/42881-2888          22006   700660  20000000        20001530        BBK HAMBURG     21050000        101444000       HSH NORDBANK KIEL                FAHamburgWandsbek@finanzamt.hamburg.de         61
8633 6       2603    Bad Homburg v.d. Höhe  Kaiser-Friedr.-Promenade 8-10   61348   Bad Homburg     06172/107-0     06172/107-317   61343   61284   1445    50050000        1000124 Landesbank Hessen-Thüringen    50000000        50001501        DT BBK Filiale Frankfurt am Main        Mo u. Fr 8:00-12:00, Mi 14:00-18:00 Uhr poststelle@Finanzamt-Bad-Homburg.de     www.Finanzamt-Bad-Homburg.de    162
8634 8       2870    Leonberg        Schlosshof 3    71229   Leonberg        (07152) 15-1    07152/15333     71226                   60000000        60301501        DT BBK Filiale Stuttgart                                MO-MI 7.30-12.00,DO 7.30-17.30,FR 7.30-12.30    poststelle-70@finanzamt.bwl.de  http://www.fa-leonberg.de/      301
8635 \.
8636
8637
8638 --
8639 -- Data for Name: follow_up_access; Type: TABLE DATA; Schema: public; Owner: kivitendo
8640 --
8641
8642 COPY public.follow_up_access (who, what, id) FROM stdin;
8643 \.
8644
8645
8646 --
8647 -- Data for Name: follow_up_created_for_employees; Type: TABLE DATA; Schema: public; Owner: kivitendo
8648 --
8649
8650 COPY public.follow_up_created_for_employees (id, follow_up_id, employee_id) FROM stdin;
8651 \.
8652
8653
8654 --
8655 -- Data for Name: follow_up_done; Type: TABLE DATA; Schema: public; Owner: kivitendo
8656 --
8657
8658 COPY public.follow_up_done (id, follow_up_id, done_at, employee_id) FROM stdin;
8659 \.
8660
8661
8662 --
8663 -- Data for Name: follow_up_links; Type: TABLE DATA; Schema: public; Owner: kivitendo
8664 --
8665
8666 COPY public.follow_up_links (id, follow_up_id, trans_id, trans_type, trans_info, itime, mtime) FROM stdin;
8667 \.
8668
8669
8670 --
8671 -- Data for Name: follow_ups; Type: TABLE DATA; Schema: public; Owner: kivitendo
8672 --
8673
8674 COPY public.follow_ups (id, follow_up_date, note_id, created_by, itime, mtime) FROM stdin;
8675 \.
8676
8677
8678 --
8679 -- Data for Name: generic_translations; Type: TABLE DATA; Schema: public; Owner: kivitendo
8680 --
8681
8682 COPY public.generic_translations (id, language_id, translation_type, translation_id, translation) FROM stdin;
8683 \.
8684
8685
8686 --
8687 -- Data for Name: gl; Type: TABLE DATA; Schema: public; Owner: kivitendo
8688 --
8689
8690 COPY public.gl (id, reference, description, transdate, gldate, employee_id, notes, department_id, taxincluded, itime, mtime, type, ob_transaction, cb_transaction, storno, storno_id, deliverydate, imported, tax_point, transaction_description) FROM stdin;
8691 \.
8692
8693
8694 --
8695 -- Data for Name: greetings; Type: TABLE DATA; Schema: public; Owner: kivitendo
8696 --
8697
8698 COPY public.greetings (id, description) FROM stdin;
8699 \.
8700
8701
8702 --
8703 -- Data for Name: history_erp; Type: TABLE DATA; Schema: public; Owner: kivitendo
8704 --
8705
8706 COPY public.history_erp (id, trans_id, employee_id, addition, what_done, itime, snumbers) FROM stdin;
8707 \.
8708
8709
8710 --
8711 -- Data for Name: inventory; Type: TABLE DATA; Schema: public; Owner: kivitendo
8712 --
8713
8714 COPY public.inventory (warehouse_id, parts_id, oe_id, delivery_order_items_stock_id, shippingdate, employee_id, itime, mtime, bin_id, qty, trans_id, trans_type_id, project_id, chargenumber, comment, bestbefore, id, invoice_id) FROM stdin;
8715 \.
8716
8717
8718 --
8719 -- Data for Name: invoice; Type: TABLE DATA; Schema: public; Owner: kivitendo
8720 --
8721
8722 COPY public.invoice (id, trans_id, parts_id, description, qty, allocated, sellprice, fxsellprice, discount, assemblyitem, project_id, deliverydate, serialnumber, itime, mtime, pricegroup_id, ordnumber, transdate, cusordnumber, unit, base_qty, subtotal, longdescription, marge_total, marge_percent, lastcost, price_factor_id, price_factor, marge_price_factor, donumber, "position", active_price_source, active_discount_source, inventory_chart_id, expense_chart_id, tax_id, tax_chart_type) FROM stdin;
8723 \.
8724
8725
8726 --
8727 -- Data for Name: language; Type: TABLE DATA; Schema: public; Owner: kivitendo
8728 --
8729
8730 COPY public.language (id, description, template_code, article_code, itime, mtime, output_numberformat, output_dateformat, output_longdates, obsolete) FROM stdin;
8731 \.
8732
8733
8734 --
8735 -- Data for Name: leads; Type: TABLE DATA; Schema: public; Owner: kivitendo
8736 --
8737
8738 COPY public.leads (id, lead) FROM stdin;
8739 \.
8740
8741
8742 --
8743 -- Data for Name: letter; Type: TABLE DATA; Schema: public; Owner: kivitendo
8744 --
8745
8746 COPY public.letter (id, customer_id, letternumber, subject, greeting, body, employee_id, salesman_id, itime, mtime, date, reference, intnotes, cp_id, vendor_id) FROM stdin;
8747 \.
8748
8749
8750 --
8751 -- Data for Name: letter_draft; Type: TABLE DATA; Schema: public; Owner: kivitendo
8752 --
8753
8754 COPY public.letter_draft (id, customer_id, cp_id, letternumber, date, intnotes, reference, subject, greeting, body, employee_id, salesman_id, itime, mtime, vendor_id) FROM stdin;
8755 \.
8756
8757
8758 --
8759 -- Data for Name: makemodel; Type: TABLE DATA; Schema: public; Owner: kivitendo
8760 --
8761
8762 COPY public.makemodel (parts_id, model, itime, mtime, lastcost, lastupdate, sortorder, make, id, part_description, part_longdescription) FROM stdin;
8763 \.
8764
8765
8766 --
8767 -- Data for Name: notes; Type: TABLE DATA; Schema: public; Owner: kivitendo
8768 --
8769
8770 COPY public.notes (id, subject, body, created_by, trans_id, trans_module, itime, mtime) FROM stdin;
8771 \.
8772
8773
8774 --
8775 -- Data for Name: oe; Type: TABLE DATA; Schema: public; Owner: kivitendo
8776 --
8777
8778 COPY public.oe (id, ordnumber, transdate, vendor_id, customer_id, amount, netamount, reqdate, taxincluded, shippingpoint, notes, employee_id, closed, quonumber, cusordnumber, intnotes, department_id, itime, mtime, shipvia, cp_id, language_id, payment_id, delivery_customer_id, delivery_vendor_id, taxzone_id, proforma, shipto_id, order_probability, expected_billing_date, globalproject_id, delivered, salesman_id, marge_total, marge_percent, transaction_description, delivery_term_id, currency_id, exchangerate, tax_point, billing_address_id, order_status_id, record_type, vendor_confirmation_number) FROM stdin;
8779 \.
8780
8781
8782 --
8783 -- Data for Name: oe_version; Type: TABLE DATA; Schema: public; Owner: kivitendo
8784 --
8785
8786 COPY public.oe_version (oe_id, version, final_version, email_journal_id, file_id, itime, mtime) FROM stdin;
8787 \.
8788
8789
8790 --
8791 -- Data for Name: order_statuses; Type: TABLE DATA; Schema: public; Owner: kivitendo
8792 --
8793
8794 COPY public.order_statuses (id, name, description, "position", obsolete, itime, mtime) FROM stdin;
8795 1       bestätigt      Auftrag von Kunde bestätigt    1       f       2026-04-24 23:21:55.955321      \N
8796 \.
8797
8798
8799 --
8800 -- Data for Name: orderitems; Type: TABLE DATA; Schema: public; Owner: kivitendo
8801 --
8802
8803 COPY public.orderitems (trans_id, parts_id, description, qty, sellprice, discount, project_id, reqdate, ship, serialnumber, id, itime, mtime, pricegroup_id, ordnumber, transdate, cusordnumber, unit, base_qty, subtotal, longdescription, marge_total, marge_percent, lastcost, price_factor_id, price_factor, marge_price_factor, "position", active_price_source, active_discount_source, optional, recurring_billing_mode, recurring_billing_invoice_id, orderer_id) FROM stdin;
8804 \.
8805
8806
8807 --
8808 -- Data for Name: part_classifications; Type: TABLE DATA; Schema: public; Owner: kivitendo
8809 --
8810
8811 COPY public.part_classifications (id, description, abbreviation, used_for_purchase, used_for_sale, report_separate) FROM stdin;
8812 0       ------- None (typeabbreviation) t       t       f
8813 1       Purchase        Purchase (typeabbreviation)     t       f       f
8814 2       Sales   Sales (typeabbreviation)        f       t       f
8815 3       Merchandise     Merchandise (typeabbreviation)  t       t       f
8816 4       Production      Production (typeabbreviation)   f       t       f
8817 \.
8818
8819
8820 --
8821 -- Data for Name: part_customer_prices; Type: TABLE DATA; Schema: public; Owner: kivitendo
8822 --
8823
8824 COPY public.part_customer_prices (id, parts_id, customer_id, customer_partnumber, price, sortorder, lastupdate, part_description, part_longdescription) FROM stdin;
8825 \.
8826
8827
8828 --
8829 -- Data for Name: parts; Type: TABLE DATA; Schema: public; Owner: kivitendo
8830 --
8831
8832 COPY public.parts (id, partnumber, description, listprice, sellprice, lastcost, priceupdate, weight, notes, makemodel, rop, shop, obsolete, bom, image, drawing, microfiche, partsgroup_id, ve, gv, itime, mtime, unit, formel, not_discountable, buchungsgruppen_id, payment_id, ean, price_factor_id, onhand, stockable, has_sernumber, warehouse_id, bin_id, classification_id, part_type, order_qty, order_locked, tariff_code) FROM stdin;
8833 \.
8834
8835
8836 --
8837 -- Data for Name: parts_price_history; Type: TABLE DATA; Schema: public; Owner: kivitendo
8838 --
8839
8840 COPY public.parts_price_history (id, part_id, valid_from, lastcost, listprice, sellprice, price_factor) FROM stdin;
8841 \.
8842
8843
8844 --
8845 -- Data for Name: partsgroup; Type: TABLE DATA; Schema: public; Owner: kivitendo
8846 --
8847
8848 COPY public.partsgroup (id, partsgroup, itime, mtime, obsolete, sortkey) FROM stdin;
8849 \.
8850
8851
8852 --
8853 -- Data for Name: payment_terms; Type: TABLE DATA; Schema: public; Owner: kivitendo
8854 --
8855
8856 COPY public.payment_terms (id, description, description_long, terms_netto, terms_skonto, percent_skonto, itime, mtime, sortkey, auto_calculation, description_long_invoice, obsolete) FROM stdin;
8857 \.
8858
8859
8860 --
8861 -- Data for Name: periodic_invoices; Type: TABLE DATA; Schema: public; Owner: kivitendo
8862 --
8863
8864 COPY public.periodic_invoices (id, config_id, ar_id, period_start_date, itime) FROM stdin;
8865 \.
8866
8867
8868 --
8869 -- Data for Name: periodic_invoices_configs; Type: TABLE DATA; Schema: public; Owner: kivitendo
8870 --
8871
8872 COPY public.periodic_invoices_configs (id, oe_id, periodicity, print, printer_id, copies, active, terminated, start_date, end_date, ar_chart_id, extend_automatically_by, first_billing_date, order_value_periodicity, direct_debit, send_email, email_recipient_contact_id, email_recipient_address, email_sender, email_subject, email_body) FROM stdin;
8873 \.
8874
8875
8876 --
8877 -- Data for Name: price_factors; Type: TABLE DATA; Schema: public; Owner: kivitendo
8878 --
8879
8880 COPY public.price_factors (id, description, factor, sortkey) FROM stdin;
8881 876     pro 10  10.00000        1
8882 877     pro 100 100.00000       2
8883 878     pro 1.000       1000.00000      3
8884 \.
8885
8886
8887 --
8888 -- Data for Name: price_rule_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
8889 --
8890
8891 COPY public.price_rule_items (id, price_rules_id, type, op, custom_variable_configs_id, value_text, value_int, value_date, value_num, itime, mtime) FROM stdin;
8892 \.
8893
8894
8895 --
8896 -- Data for Name: price_rules; Type: TABLE DATA; Schema: public; Owner: kivitendo
8897 --
8898
8899 COPY public.price_rules (id, name, type, priority, price, reduction, obsolete, itime, mtime, discount) FROM stdin;
8900 \.
8901
8902
8903 --
8904 -- Data for Name: pricegroup; Type: TABLE DATA; Schema: public; Owner: kivitendo
8905 --
8906
8907 COPY public.pricegroup (id, pricegroup, obsolete, sortkey) FROM stdin;
8908 \.
8909
8910
8911 --
8912 -- Data for Name: prices; Type: TABLE DATA; Schema: public; Owner: kivitendo
8913 --
8914
8915 COPY public.prices (parts_id, pricegroup_id, price, id) FROM stdin;
8916 \.
8917
8918
8919 --
8920 -- Data for Name: printers; Type: TABLE DATA; Schema: public; Owner: kivitendo
8921 --
8922
8923 COPY public.printers (id, printer_description, printer_command, template_code) FROM stdin;
8924 \.
8925
8926
8927 --
8928 -- Data for Name: project; Type: TABLE DATA; Schema: public; Owner: kivitendo
8929 --
8930
8931 COPY public.project (id, projectnumber, description, itime, mtime, active, customer_id, valid, project_type_id, start_date, end_date, billable_customer_id, budget_cost, order_value, budget_minutes, timeframe, project_status_id) FROM stdin;
8932 \.
8933
8934
8935 --
8936 -- Data for Name: project_participants; Type: TABLE DATA; Schema: public; Owner: kivitendo
8937 --
8938
8939 COPY public.project_participants (id, project_id, employee_id, project_role_id, minutes, cost_per_hour, itime, mtime) FROM stdin;
8940 \.
8941
8942
8943 --
8944 -- Data for Name: project_phase_participants; Type: TABLE DATA; Schema: public; Owner: kivitendo
8945 --
8946
8947 COPY public.project_phase_participants (id, project_phase_id, employee_id, project_role_id, minutes, cost_per_hour, itime, mtime) FROM stdin;
8948 \.
8949
8950
8951 --
8952 -- Data for Name: project_phases; Type: TABLE DATA; Schema: public; Owner: kivitendo
8953 --
8954
8955 COPY public.project_phases (id, project_id, start_date, end_date, name, description, budget_minutes, budget_cost, general_minutes, general_cost_per_hour, itime, mtime) FROM stdin;
8956 \.
8957
8958
8959 --
8960 -- Data for Name: project_roles; Type: TABLE DATA; Schema: public; Owner: kivitendo
8961 --
8962
8963 COPY public.project_roles (id, name, description, "position", itime, mtime) FROM stdin;
8964 \.
8965
8966
8967 --
8968 -- Data for Name: project_statuses; Type: TABLE DATA; Schema: public; Owner: kivitendo
8969 --
8970
8971 COPY public.project_statuses (id, name, description, "position", itime, mtime) FROM stdin;
8972 1       presales        Akquise 1       2018-11-30 19:56:01.493701      \N
8973 2       planning        In Planung      2       2018-11-30 19:56:01.493701      \N
8974 3       running In Bearbeitung  3       2018-11-30 19:56:01.493701      \N
8975 4       done    Fertiggestellt  4       2018-11-30 19:56:01.493701      \N
8976 \.
8977
8978
8979 --
8980 -- Data for Name: project_types; Type: TABLE DATA; Schema: public; Owner: kivitendo
8981 --
8982
8983 COPY public.project_types (id, "position", description, internal) FROM stdin;
8984 1       1       Standard        f
8985 2       2       Festpreis       f
8986 3       3       Support f
8987 \.
8988
8989
8990 --
8991 -- Data for Name: purchase_basket_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
8992 --
8993
8994 COPY public.purchase_basket_items (id, part_id, orderer_id, qty, cleared, itime, mtime) FROM stdin;
8995 \.
8996
8997
8998 --
8999 -- Data for Name: reclamation_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
9000 --
9001
9002 COPY public.reclamation_items (id, reclamation_id, reason_id, reason_description_ext, reason_description_int, "position", itime, mtime, project_id, parts_id, description, longdescription, serialnumber, base_qty, qty, unit, sellprice, lastcost, discount, pricegroup_id, price_factor_id, price_factor, active_price_source, active_discount_source, reqdate) FROM stdin;
9003 \.
9004
9005
9006 --
9007 -- Data for Name: reclamation_reasons; Type: TABLE DATA; Schema: public; Owner: kivitendo
9008 --
9009
9010 COPY public.reclamation_reasons (id, name, description, "position", itime, mtime, valid_for_sales, valid_for_purchase) FROM stdin;
9011 \.
9012
9013
9014 --
9015 -- Data for Name: reclamations; Type: TABLE DATA; Schema: public; Owner: kivitendo
9016 --
9017
9018 COPY public.reclamations (id, record_number, transdate, itime, mtime, delivered, closed, employee_id, globalproject_id, delivery_term_id, shipto_id, department_id, contact_id, shipvia, transaction_description, shippingpoint, cv_record_number, reqdate, amount, netamount, payment_id, currency_id, taxincluded, tax_point, exchangerate, taxzone_id, notes, intnotes, language_id, salesman_id, customer_id, vendor_id, billing_address_id, record_type) FROM stdin;
9019 \.
9020
9021
9022 --
9023 -- Data for Name: reconciliation_links; Type: TABLE DATA; Schema: public; Owner: kivitendo
9024 --
9025
9026 COPY public.reconciliation_links (id, bank_transaction_id, acc_trans_id, rec_group) FROM stdin;
9027 \.
9028
9029
9030 --
9031 -- Data for Name: record_links; Type: TABLE DATA; Schema: public; Owner: kivitendo
9032 --
9033
9034 COPY public.record_links (from_table, from_id, to_table, to_id, itime, id) FROM stdin;
9035 \.
9036
9037
9038 --
9039 -- Data for Name: record_template_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
9040 --
9041
9042 COPY public.record_template_items (id, record_template_id, chart_id, tax_id, project_id, amount1, amount2, source, memo) FROM stdin;
9043 \.
9044
9045
9046 --
9047 -- Data for Name: record_templates; Type: TABLE DATA; Schema: public; Owner: kivitendo
9048 --
9049
9050 COPY public.record_templates (id, template_name, template_type, customer_id, vendor_id, currency_id, department_id, project_id, employee_id, taxincluded, direct_debit, ob_transaction, cb_transaction, reference, description, ordnumber, notes, ar_ap_chart_id, itime, mtime, show_details, payment_id, transaction_description) FROM stdin;
9051 \.
9052
9053
9054 --
9055 -- Data for Name: requirement_spec_acceptance_statuses; Type: TABLE DATA; Schema: public; Owner: kivitendo
9056 --
9057
9058 COPY public.requirement_spec_acceptance_statuses (id, name, description, "position", itime, mtime) FROM stdin;
9059 1       accepted        Abgenommen      1       2018-11-30 19:55:58.422952      \N
9060 2       accepted_with_defects   Mit Mängeln abgenommen 2       2018-11-30 19:55:58.422952      \N
9061 3       accepted_with_defects_to_be_fixed       Mit noch zu behebenden Mängeln abgenommen      3       2018-11-30 19:55:58.422952      \N
9062 4       not_accepted    Nicht abgenommen        4       2018-11-30 19:55:58.422952      \N
9063 \.
9064
9065
9066 --
9067 -- Data for Name: requirement_spec_complexities; Type: TABLE DATA; Schema: public; Owner: kivitendo
9068 --
9069
9070 COPY public.requirement_spec_complexities (id, description, "position", itime, mtime) FROM stdin;
9071 1       nicht bewertet  1       2018-11-30 19:55:58.422952      \N
9072 2       nur Anforderung 2       2018-11-30 19:55:58.422952      \N
9073 3       gering  3       2018-11-30 19:55:58.422952      \N
9074 4       mittel  4       2018-11-30 19:55:58.422952      \N
9075 5       hoch    5       2018-11-30 19:55:58.422952      \N
9076 \.
9077
9078
9079 --
9080 -- Data for Name: requirement_spec_item_dependencies; Type: TABLE DATA; Schema: public; Owner: kivitendo
9081 --
9082
9083 COPY public.requirement_spec_item_dependencies (depending_item_id, depended_item_id) FROM stdin;
9084 \.
9085
9086
9087 --
9088 -- Data for Name: requirement_spec_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
9089 --
9090
9091 COPY public.requirement_spec_items (id, requirement_spec_id, item_type, parent_id, "position", fb_number, title, description, complexity_id, risk_id, time_estimation, is_flagged, acceptance_status_id, acceptance_text, itime, mtime, order_part_id, sellprice_factor) FROM stdin;
9092 \.
9093
9094
9095 --
9096 -- Data for Name: requirement_spec_orders; Type: TABLE DATA; Schema: public; Owner: kivitendo
9097 --
9098
9099 COPY public.requirement_spec_orders (id, requirement_spec_id, order_id, version_id, itime, mtime) FROM stdin;
9100 \.
9101
9102
9103 --
9104 -- Data for Name: requirement_spec_parts; Type: TABLE DATA; Schema: public; Owner: kivitendo
9105 --
9106
9107 COPY public.requirement_spec_parts (id, requirement_spec_id, part_id, unit_id, qty, description, "position") FROM stdin;
9108 \.
9109
9110
9111 --
9112 -- Data for Name: requirement_spec_pictures; Type: TABLE DATA; Schema: public; Owner: kivitendo
9113 --
9114
9115 COPY public.requirement_spec_pictures (id, requirement_spec_id, text_block_id, "position", number, description, picture_file_name, picture_content_type, picture_mtime, picture_content, picture_width, picture_height, thumbnail_content_type, thumbnail_content, thumbnail_width, thumbnail_height, itime, mtime) FROM stdin;
9116 \.
9117
9118
9119 --
9120 -- Data for Name: requirement_spec_predefined_texts; Type: TABLE DATA; Schema: public; Owner: kivitendo
9121 --
9122
9123 COPY public.requirement_spec_predefined_texts (id, description, title, text, "position", itime, mtime, useable_for_text_blocks, useable_for_sections) FROM stdin;
9124 \.
9125
9126
9127 --
9128 -- Data for Name: requirement_spec_risks; Type: TABLE DATA; Schema: public; Owner: kivitendo
9129 --
9130
9131 COPY public.requirement_spec_risks (id, description, "position", itime, mtime) FROM stdin;
9132 1       nicht bewertet  1       2018-11-30 19:55:58.422952      \N
9133 2       nur Anforderung 2       2018-11-30 19:55:58.422952      \N
9134 3       gering  3       2018-11-30 19:55:58.422952      \N
9135 4       mittel  4       2018-11-30 19:55:58.422952      \N
9136 5       hoch    5       2018-11-30 19:55:58.422952      \N
9137 \.
9138
9139
9140 --
9141 -- Data for Name: requirement_spec_statuses; Type: TABLE DATA; Schema: public; Owner: kivitendo
9142 --
9143
9144 COPY public.requirement_spec_statuses (id, name, description, "position", itime, mtime) FROM stdin;
9145 1       planning        In Planung      1       2018-11-30 19:55:58.422952      \N
9146 2       running In Bearbeitung  2       2018-11-30 19:55:58.422952      \N
9147 3       done    Fertiggestellt  3       2018-11-30 19:55:58.422952      \N
9148 \.
9149
9150
9151 --
9152 -- Data for Name: requirement_spec_text_blocks; Type: TABLE DATA; Schema: public; Owner: kivitendo
9153 --
9154
9155 COPY public.requirement_spec_text_blocks (id, requirement_spec_id, title, text, "position", output_position, is_flagged, itime, mtime) FROM stdin;
9156 \.
9157
9158
9159 --
9160 -- Data for Name: requirement_spec_types; Type: TABLE DATA; Schema: public; Owner: kivitendo
9161 --
9162
9163 COPY public.requirement_spec_types (id, description, "position", itime, mtime, section_number_format, function_block_number_format, template_file_name) FROM stdin;
9164 1       Pflichtenheft   1       2018-11-30 19:55:58.422952      2018-11-30 19:56:00.17203       A00     FB000   requirement_spec
9165 2       Konzept 2       2018-11-30 19:55:58.422952      2018-11-30 19:56:00.17203       A00     FB000   requirement_spec
9166 \.
9167
9168
9169 --
9170 -- Data for Name: requirement_spec_versions; Type: TABLE DATA; Schema: public; Owner: kivitendo
9171 --
9172
9173 COPY public.requirement_spec_versions (id, version_number, description, comment, itime, mtime, requirement_spec_id, working_copy_id) FROM stdin;
9174 \.
9175
9176
9177 --
9178 -- Data for Name: requirement_specs; Type: TABLE DATA; Schema: public; Owner: kivitendo
9179 --
9180
9181 COPY public.requirement_specs (id, type_id, status_id, customer_id, project_id, title, hourly_rate, working_copy_id, previous_section_number, previous_fb_number, is_template, itime, mtime, time_estimation, previous_picture_number) FROM stdin;
9182 \.
9183
9184
9185 --
9186 -- Data for Name: schema_info; Type: TABLE DATA; Schema: public; Owner: kivitendo
9187 --
9188
9189 COPY public.schema_info (tag, login, itime) FROM stdin;
9190 SKR04-3804-addition     \N      2018-11-30 19:55:45.174964
9191 acc_trans_constraints   \N      2018-11-30 19:55:45.210558
9192 chart_category_to_sgn   \N      2018-11-30 19:55:45.218222
9193 chart_names     \N      2018-11-30 19:55:45.244082
9194 chart_names2    \N      2018-11-30 19:55:45.256024
9195 customer_vendor_ustid_length    \N      2018-11-30 19:55:45.261282
9196 language_output_formatting      \N      2018-11-30 19:55:45.322083
9197 remove_obsolete_trigger \N      2018-11-30 19:55:45.332541
9198 rename_buchungsgruppen_accounts_16_19_percent   \N      2018-11-30 19:55:45.365412
9199 sales_quotation_order_probability_expected_billing_date \N      2018-11-30 19:55:45.376983
9200 tax_id_if_taxkey_is_0   \N      2018-11-30 19:55:45.412791
9201 units_translations_and_singular_plural_distinction      \N      2018-11-30 19:55:45.446145
9202 tax_primary_key_taxkeys_foreign_keys    \N      2018-11-30 19:55:45.490042
9203 invalid_taxkesy \N      2018-11-30 19:55:45.555725
9204 release_2_4_1   \N      2018-11-30 19:55:45.564486
9205 PgCommaAggregateFunction        \N      2018-11-30 19:55:45.567866
9206 ap_ar_orddate_quodate   \N      2018-11-30 19:55:45.597428
9207 buchungsgruppen_sortkey \N      2018-11-30 19:55:45.605303
9208 customer_vendor_taxzone_id      \N      2018-11-30 19:55:45.622974
9209 drafts  \N      2018-11-30 19:55:45.634118
9210 employee_no_limits      \N      2018-11-30 19:55:45.680553
9211 globalprojectnumber_ap_ar_oe    \N      2018-11-30 19:55:45.803085
9212 oe_delivered    \N      2018-11-30 19:55:45.84173
9213 oe_is_salesman  \N      2018-11-30 19:55:45.873555
9214 parts_ean       \N      2018-11-30 19:55:45.887684
9215 payment_terms_sortkey   \N      2018-11-30 19:55:45.914306
9216 payment_terms_translation       \N      2018-11-30 19:55:45.960187
9217 project \N      2018-11-30 19:55:45.995579
9218 status_history  \N      2018-11-30 19:55:46.045406
9219 units_sortkey   \N      2018-11-30 19:55:46.115783
9220 history_erp     \N      2018-11-30 19:55:46.152037
9221 marge_initial   \N      2018-11-30 19:55:46.197707
9222 ustva_setup_2007        \N      2018-11-30 19:55:46.26325
9223 history_erp_snumbers    \N      2018-11-30 19:55:46.275988
9224 tax_description_without_percentage_skr04        \N      2018-11-30 19:55:46.279507
9225 ustva_setup_2007_update_chart_taxkeys_tax       \N      2018-11-30 19:55:46.317645
9226 fix_taxdescription      \N      2018-11-30 19:55:46.577194
9227 ustva_setup_2007_update_chart_taxkeys_tax_add_missing_tax_accounts      \N      2018-11-30 19:55:46.638225
9228 tax_description_without_percentage      \N      2018-11-30 19:55:46.643882
9229 release_2_4_2   \N      2018-11-30 19:55:46.669579
9230 COA_Account_Settings001 \N      2018-11-30 19:55:46.692044
9231 COA_Account_Settings002 \N      2018-11-30 19:55:46.696469
9232 USTVA_abstraction       \N      2018-11-30 19:55:46.705048
9233 ap_storno       \N      2018-11-30 19:55:46.896405
9234 ar_storno       \N      2018-11-30 19:55:46.910344
9235 cb_ob_transaction       \N      2018-11-30 19:55:46.917141
9236 dunning_config_interest_rate    \N      2018-11-30 19:55:46.930598
9237 dunning_dunning_id      \N      2018-11-30 19:55:46.934877
9238 dunning_invoices_for_fees       \N      2018-11-30 19:55:46.969019
9239 gl_storno       \N      2018-11-30 19:55:47.008196
9240 invalid_taxkeys_2       \N      2018-11-30 19:55:47.059046
9241 transaction_description \N      2018-11-30 19:55:47.063822
9242 USTVA_at        \N      2018-11-30 19:55:47.098808
9243 ar_ap_storno_id \N      2018-11-30 19:55:47.12736
9244 dunning_invoices_per_dunning_level      \N      2018-11-30 19:55:47.133384
9245 tax_report_table_name   \N      2018-11-30 19:55:47.166219
9246 release_2_4_3   \N      2018-11-30 19:55:47.171269
9247 acc_trans_without_oid   \N      2018-11-30 19:55:47.202126
9248 bank_accounts   \N      2018-11-30 19:55:47.273663
9249 change_makemodel_vendor_id      \N      2018-11-30 19:55:47.313558
9250 custom_variables        \N      2018-11-30 19:55:47.323778
9251 direct_debit    \N      2018-11-30 19:55:47.434728
9252 follow_ups      \N      2018-11-30 19:55:47.44274
9253 oe_employee_id_foreignkey       \N      2018-11-30 19:55:47.551783
9254 price_factors   \N      2018-11-30 19:55:47.562934
9255 sic_code        \N      2018-11-30 19:55:47.63685
9256 todo_config     \N      2018-11-30 19:55:47.653254
9257 trigger_assembly_update_lastcost        \N      2018-11-30 19:55:47.663649
9258 units_no_type_distinction       \N      2018-11-30 19:55:47.680328
9259 warehouse       \N      2018-11-30 19:55:47.68458
9260 delivery_orders \N      2018-11-30 19:55:47.84525
9261 transfer_type_shipped   \N      2018-11-30 19:55:48.001091
9262 warehouse2      \N      2018-11-30 19:55:48.006661
9263 ar_add_donumber \N      2018-11-30 19:55:48.033706
9264 ar_add_invnumber_for_credit_note        \N      2018-11-30 19:55:48.037974
9265 check_bin_belongs_to_wh_trigger \N      2018-11-30 19:55:48.042363
9266 record_links    \N      2018-11-30 19:55:48.077381
9267 transaction_description_not_null        \N      2018-11-30 19:55:48.126988
9268 release_2_6_0   \N      2018-11-30 19:55:48.152161
9269 auth_enable_sales_all_edit      \N      2018-11-30 19:55:48.157499
9270 custom_variables_parts_services_assemblies      \N      2018-11-30 19:55:48.16081
9271 custom_variables_valid  \N      2018-11-30 19:55:48.17155
9272 delivery_orders_fields_for_invoices     \N      2018-11-30 19:55:48.18514
9273 fix_acc_trans_ap_taxkey_bug     \N      2018-11-30 19:55:48.230767
9274 fix_datepaid    \N      2018-11-30 19:55:48.244741
9275 generic_translations    \N      2018-11-30 19:55:48.273009
9276 has_sernumber   \N      2018-11-30 19:55:48.346679
9277 rundungsfehler_korrigieren_BUG1328-2    \N      2018-11-30 19:55:48.354608
9278 sepa    \N      2018-11-30 19:55:48.361252
9279 update_date_paid        \N      2018-11-30 19:55:48.529305
9280 warehouse3      \N      2018-11-30 19:55:48.547206
9281 warehouse_add_bestbefore        \N      2018-11-30 19:55:48.554949
9282 add_depositor_for_customer_vendor       \N      2018-11-30 19:55:48.559391
9283 add_more_constraints_fibu_projekt_xplace3       \N      2018-11-30 19:55:48.619172
9284 cp_greeting_migration   \N      2018-11-30 19:55:48.634177
9285 release_2_6_1   \N      2018-11-30 19:55:48.663547
9286 acc_trans_id_uniqueness \N      2018-11-30 19:55:48.667941
9287 add_ar_paid_defaults    \N      2018-11-30 19:55:48.693201
9288 add_makemodel_prices    \N      2018-11-30 19:55:48.701451
9289 csv_import_profiles     \N      2018-11-30 19:55:48.726212
9290 customer_long_entries   \N      2018-11-30 19:55:48.818856
9291 drop_yearend    \N      2018-11-30 19:55:48.856194
9292 emmvee_background_jobs  \N      2018-11-30 19:55:48.862558
9293 invalid_entries_in_custom_variables_validity    \N      2018-11-30 19:55:48.963036
9294 payment_terms_translation2      \N      2018-11-30 19:55:48.970092
9295 periodic_invoices       \N      2018-11-30 19:55:48.97695
9296 schema_normalization_1  \N      2018-11-30 19:55:49.029455
9297 sepa_in \N      2018-11-30 19:55:49.123844
9298 shipto_add_cp_gender    \N      2018-11-30 19:55:49.205218
9299 skr03_04_bwa_zuordnung_konten_4250_4610 \N      2018-11-30 19:55:49.209728
9300 skr04_fix_category_3151_3160_3170       \N      2018-11-30 19:55:49.243863
9301 ustva_2010      \N      2018-11-30 19:55:49.248199
9302 csv_import_profiles_2   \N      2018-11-30 19:55:49.262001
9303 delete_translations_on_payment_term_delete      \N      2018-11-30 19:55:49.266837
9304 emmvee_background_jobs_2        \N      2018-11-30 19:55:49.890031
9305 periodic_invoices_background_job        \N      2018-11-30 19:55:51.402839
9306 periodic_invoices_first_billing_date    \N      2018-11-30 19:55:51.406167
9307 schema_normalization_2  \N      2018-11-30 19:55:51.412898
9308 background_jobs_3       \N      2018-11-30 19:55:52.438576
9309 csv_import_report_cache \N      2018-11-30 19:55:52.441912
9310 schema_normalization_3  \N      2018-11-30 19:55:52.545456
9311 csv_import_reports_add_numheaders       \N      2018-11-30 19:55:52.587012
9312 release_2_6_2   \N      2018-11-30 19:55:52.616262
9313 chart_taxkey_id_from_taxkeys    \N      2018-11-30 19:55:52.619914
9314 custom_variables_indices        \N      2018-11-30 19:55:52.800664
9315 custom_variables_indices_2      \N      2018-11-30 19:55:52.836623
9316 units_id        \N      2018-11-30 19:55:52.869217
9317 release_2_6_3   \N      2018-11-30 19:55:52.908529
9318 auth_enable_ct_all_edit \N      2018-11-30 19:55:52.912995
9319 auth_enable_edit_prices \N      2018-11-30 19:55:52.917117
9320 customer_add_constraints        \N      2018-11-30 19:55:52.920242
9321 customer_vendor_add_currency    \N      2018-11-30 19:55:52.950447
9322 defaults_add_language_id        \N      2018-11-30 19:55:52.955503
9323 delivery_order_items_add_pricegroup_id  \N      2018-11-30 19:55:52.963557
9324 department_drop_role    \N      2018-11-30 19:55:52.972121
9325 drop_datevexport        \N      2018-11-30 19:55:53.013368
9326 employee_deleted        \N      2018-11-30 19:55:53.023429
9327 license_invoice_drop    \N      2018-11-30 19:55:53.130064
9328 oe_customer_vendor_fkeys        \N      2018-11-30 19:55:53.165439
9329 parts_add_unit_foreign_key      \N      2018-11-30 19:55:53.204733
9330 umstellung_eur  \N      2018-11-30 19:55:53.234867
9331 ustva_2010_fixes        \N      2018-11-30 19:55:53.239459
9332 vendor_add_constraints  \N      2018-11-30 19:55:53.243604
9333 warehouse_alter_chargenumber    \N      2018-11-30 19:55:53.286666
9334 release_2_7_0   \N      2018-11-30 19:55:53.32324
9335 chart_type_skonto       \N      2018-11-30 19:55:53.33005
9336 contacts_add_street_and_zipcode_and_city        \N      2018-11-30 19:55:53.360981
9337 contacts_convert_cp_birthday_to_date    \N      2018-11-30 19:55:53.374281
9338 convert_curr_to_text    \N      2018-11-30 19:55:53.387468
9339 custom_variables_sub_module_not_null    \N      2018-11-30 19:55:54.240094
9340 customer_add_taxincluded_checked        \N      2018-11-30 19:55:54.260719
9341 customer_vendor_phone_no_limits \N      2018-11-30 19:55:54.412641
9342 defaults_datev_check    \N      2018-11-30 19:55:54.431168
9343 defaults_posting_config \N      2018-11-30 19:55:54.821303
9344 defaults_posting_records_config \N      2018-11-30 19:55:54.967149
9345 defaults_show_bestbefore        \N      2018-11-30 19:55:55.492255
9346 defaults_show_delete_on_orders  \N      2018-11-30 19:55:55.615344
9347 defaults_show_mark_as_paid_config       \N      2018-11-30 19:55:55.88072
9348 finanzamt_update_fa_bufa_nr_hamburg     \N      2018-11-30 19:55:56.06931
9349 record_links_post_delete_triggers       \N      2018-11-30 19:55:56.091963
9350 rename_buchungsgruppe_16_19_to_19       \N      2018-11-30 19:55:56.186938
9351 self_test_background_job        \N      2018-11-30 19:55:56.663123
9352 ustva_setup_2007_update_chart_taxkeys_tax_skr04 \N      2018-11-30 19:55:56.668566
9353 customer_add_taxincluded_checked_2      \N      2018-11-30 19:55:56.712326
9354 record_links_post_delete_triggers2      \N      2018-11-30 19:55:56.718717
9355 release_3_0_0   \N      2018-11-30 19:55:56.751464
9356 acc_trans_booleans_not_null     \N      2018-11-30 19:55:56.754674
9357 accounts_tax_office_bad_homburg \N      2018-11-30 19:55:56.797126
9358 add_chart_link_to_acc_trans     \N      2018-11-30 19:55:56.824237
9359 add_customer_mandator_id        \N      2018-11-30 19:55:56.83626
9360 add_fk_to_gl    \N      2018-11-30 19:55:56.860613
9361 add_warehouse_defaults  \N      2018-11-30 19:55:56.870774
9362 ap_add_direct_debit     \N      2018-11-30 19:55:56.898818
9363 ap_deliverydate \N      2018-11-30 19:55:56.904262
9364 ar_add_direct_debit     \N      2018-11-30 19:55:56.908048
9365 ar_ap_foreign_keys      \N      2018-11-30 19:55:56.915304
9366 ar_ap_gl_delete_triggers_deletion_from_acc_trans        \N      2018-11-30 19:55:57.017982
9367 background_job_change_create_periodic_invoices_to_daily \N      2018-11-30 19:55:57.057265
9368 charts_without_taxkey   \N      2018-11-30 19:55:57.062694
9369 cleanup_after_customer_vendor_deletion  \N      2018-11-30 19:55:57.06846
9370 clients \N      2018-11-30 19:55:57.090444
9371 contacts_add_cp_position        \N      2018-11-30 19:55:57.134133
9372 custom_variable_configs_column_type_text        \N      2018-11-30 19:55:57.138664
9373 custom_variables_validity_index \N      2018-11-30 19:55:57.205951
9374 defaults_add_max_future_booking_intervall       \N      2018-11-30 19:55:57.221416
9375 defaults_add_precision  \N      2018-11-30 19:55:57.303136
9376 defaults_feature        \N      2018-11-30 19:55:57.353376
9377 defaults_feature2       \N      2018-11-30 19:55:57.725789
9378 del_exchangerate        \N      2018-11-30 19:55:57.795674
9379 delete_close_follow_ups_when_order_is_deleted_closed_fkey_deletion      \N      2018-11-30 19:55:57.80842
9380 delete_customertax_vendortax_partstax   \N      2018-11-30 19:55:57.819414
9381 delete_translations_on_tax_delete       \N      2018-11-30 19:55:57.851555
9382 delivery_terms  \N      2018-11-30 19:55:57.85984
9383 drop_audittrail \N      2018-11-30 19:55:57.921336
9384 drop_dpt_trans  \N      2018-11-30 19:55:57.938584
9385 drop_gifi       \N      2018-11-30 19:55:57.976808
9386 drop_rma        \N      2018-11-30 19:55:58.008264
9387 employee_drop_columns   \N      2018-11-30 19:55:58.036212
9388 erzeugnisnummern        \N      2018-11-30 19:55:58.061156
9389 first_aggregator        \N      2018-11-30 19:55:58.077335
9390 fix_datepaid_for_sepa_transfers \N      2018-11-30 19:55:58.09061
9391 gewichte        \N      2018-11-30 19:55:58.095963
9392 gl_add_employee_foreign_key     \N      2018-11-30 19:55:58.160346
9393 invoice_add_donumber    \N      2018-11-30 19:55:58.166968
9394 oe_delivery_orders_foreign_keys \N      2018-11-30 19:55:58.171402
9395 orderitems_delivery_order_items_invoice_foreign_keys    \N      2018-11-30 19:55:58.263485
9396 parts_translation_foreign_keys  \N      2018-11-30 19:55:58.297551
9397 project_customer_type_valid     \N      2018-11-30 19:55:58.340146
9398 project_types   \N      2018-11-30 19:55:58.353524
9399 requirement_specs       \N      2018-11-30 19:55:58.422952
9400 rm_whitespaces  \N      2018-11-30 19:55:59.021297
9401 add_tax_id_to_acc_trans \N      2018-11-30 19:55:59.032428
9402 add_warehouse_client_config_default     \N      2018-11-30 19:55:59.045832
9403 balance_startdate_method        \N      2018-11-30 19:55:59.255326
9404 currencies      \N      2018-11-30 19:55:59.262932
9405 custom_variables_delete_via_trigger     \N      2018-11-30 19:55:59.380564
9406 default_bin_parts       \N      2018-11-30 19:55:59.386089
9407 defaults_customer_hourly_rate   \N      2018-11-30 19:55:59.392549
9408 defaults_signature      \N      2018-11-30 19:55:59.404603
9409 delete_close_follow_ups_when_order_is_deleted_closed    \N      2018-11-30 19:55:59.408479
9410 delete_cust_vend_tax    \N      2018-11-30 19:55:59.45219
9411 delete_translations_on_delivery_term_delete     \N      2018-11-30 19:55:59.480771
9412 drop_gifi_2     \N      2018-11-30 19:55:59.51466
9413 oe_do_delete_via_trigger        \N      2018-11-30 19:55:59.520499
9414 project_bob_attributes  \N      2018-11-30 19:55:59.646932
9415 remove_role_from_employee       \N      2018-11-30 19:55:59.992561
9416 requirement_spec_items_item_type_index  \N      2018-11-30 19:55:59.998481
9417 requirement_spec_items_update_trigger_fix       \N      2018-11-30 19:56:00.014323
9418 requirement_spec_pictures       \N      2018-11-30 19:56:00.053884
9419 requirement_spec_predefined_texts_for_sections  \N      2018-11-30 19:56:00.098069
9420 requirement_spec_types_number_formats   \N      2018-11-30 19:56:00.137145
9421 requirement_spec_types_template_file_name       \N      2018-11-30 19:56:00.17203
9422 requirement_specs_print_templates       \N      2018-11-30 19:56:00.241945
9423 requirement_specs_section_templates     \N      2018-11-30 19:56:00.24846
9424 tax_constraints \N      2018-11-30 19:56:00.259202
9425 add_fkey_tax_id_to_acc_trans    \N      2018-11-30 19:56:00.415812
9426 custom_variables_delete_via_trigger_2   \N      2018-11-30 19:56:00.435628
9427 custom_variables_delete_via_trigger_requirement_specs   \N      2018-11-30 19:56:00.442452
9428 project_bob_attributes_itime_default_fix        \N      2018-11-30 19:56:00.449332
9429 requirement_spec_delete_trigger_fix     \N      2018-11-30 19:56:00.46838
9430 requirement_spec_type_for_template_fix  \N      2018-11-30 19:56:00.487709
9431 requirement_specs_orders        \N      2018-11-30 19:56:00.497071
9432 steuerfilterung \N      2018-11-30 19:56:00.564361
9433 unit_foreign_key_for_line_items \N      2018-11-30 19:56:00.608361
9434 project_bob_attributes_fix_project_status_table_name    \N      2018-11-30 19:56:00.621462
9435 release_3_1_0   \N      2018-11-30 19:56:00.625093
9436 requirement_spec_delete_trigger_fix2    \N      2018-11-30 19:56:00.634053
9437 requirement_spec_items_update_trigger_fix2      \N      2018-11-30 19:56:00.714148
9438 add_warehouse_client_config_default2    \N      2018-11-30 19:56:00.733746
9439 background_jobs_clean_auth_sessions     \N      2018-11-30 19:56:00.847779
9440 bank_accounts_add_name  \N      2018-11-30 19:56:00.851389
9441 column_type_text_instead_of_varchar     \N      2018-11-30 19:56:00.855235
9442 custom_variable_partsgroups     \N      2018-11-30 19:56:00.878701
9443 defaults_add_delivery_plan_config       \N      2018-11-30 19:56:00.905864
9444 defaults_add_rnd_accno_ids      \N      2018-11-30 19:56:01.027447
9445 defaults_global_bcc     \N      2018-11-30 19:56:01.038855
9446 defaults_only_customer_projects_in_sales        \N      2018-11-30 19:56:01.091037
9447 defaults_reqdate_interval       \N      2018-11-30 19:56:01.100144
9448 defaults_require_transaction_description        \N      2018-11-30 19:56:01.153359
9449 defaults_sales_purchase_order_show_ship_missing_column  \N      2018-11-30 19:56:01.182996
9450 defaults_sales_purchase_process_limitations     \N      2018-11-30 19:56:01.194119
9451 defaults_transport_cost_reminder        \N      2018-11-30 19:56:01.22542
9452 delete_cvars_on_trans_deletion  \N      2018-11-30 19:56:01.233129
9453 invoice_positions       \N      2018-11-30 19:56:01.33658
9454 orderitems_delivery_order_items_positions       \N      2018-11-30 19:56:01.342234
9455 periodic_invoices_order_value_periodicity       \N      2018-11-30 19:56:01.376289
9456 price_rules     \N      2018-11-30 19:56:01.418433
9457 price_source_client_config      \N      2018-11-30 19:56:01.468635
9458 project_status_default_entries  \N      2018-11-30 19:56:01.493701
9459 record_links_orderitems_delete_triggers \N      2018-11-30 19:56:01.501871
9460 recorditem_active_price_source  \N      2018-11-30 19:56:01.538923
9461 remove_redundant_customer_vendor_delete_triggers        \N      2018-11-30 19:56:01.696117
9462 requirement_spec_edit_html      \N      2018-11-30 19:56:01.703192
9463 requirement_spec_parts  \N      2018-11-30 19:56:01.741876
9464 taxzone_charts  \N      2018-11-30 19:56:01.814132
9465 vendor_long_entries     \N      2018-11-30 19:56:01.854945
9466 warehouse_add_delivery_order_items_stock_id     \N      2018-11-30 19:56:01.868471
9467 column_type_text_instead_of_varchar2    \N      2018-11-30 19:56:01.90471
9468 convert_taxzone \N      2018-11-30 19:56:01.945692
9469 defaults_drop_delivery_plan_calculate_transferred_do    \N      2018-11-30 19:56:01.995423
9470 defaults_transport_cost_reminder_id     \N      2018-11-30 19:56:02.018688
9471 delete_cvars_on_trans_deletion_fix1     \N      2018-11-30 19:56:02.02745
9472 oe_ar_ap_delivery_orders_edit_notes_as_html     \N      2018-11-30 19:56:02.055665
9473 price_rules_cascade_delete      \N      2018-11-30 19:56:02.062784
9474 recorditem_active_record_source \N      2018-11-30 19:56:02.097336
9475 remove_redundant_cvar_delete_triggers   \N      2018-11-30 19:56:02.255687
9476 requirement_spec_parts_foreign_key_cascade      \N      2018-11-30 19:56:02.277195
9477 taxzone_sortkey \N      2018-11-30 19:56:02.283896
9478 transfer_out_sales_invoice      \N      2018-11-30 19:56:02.296391
9479 ar_ap_fix_notes_as_html_for_non_invoices        \N      2018-11-30 19:56:02.347814
9480 column_type_text_instead_of_varchar3    \N      2018-11-30 19:56:02.376546
9481 delete_cvars_on_trans_deletion_fix2     \N      2018-11-30 19:56:02.380593
9482 price_rules_discount    \N      2018-11-30 19:56:02.384504
9483 taxzone_default_id      \N      2018-11-30 19:56:02.38971
9484 change_taxzone_id_0     \N      2018-11-30 19:56:02.396636
9485 tax_zones_obsolete      \N      2018-11-30 19:56:02.42588
9486 taxzone_id_in_oe_delivery_orders        \N      2018-11-30 19:56:02.467415
9487 release_3_2_0   \N      2018-11-30 19:56:02.502253
9488 ar_ap_default   \N      2018-11-30 19:56:02.506427
9489 bank_accounts_unique_chart_constraint   \N      2018-11-30 19:56:02.522983
9490 bank_transactions       \N      2018-11-30 19:56:02.539866
9491 bankaccounts_reconciliation     \N      2018-11-30 19:56:02.580931
9492 bankaccounts_sortkey_and_obsolete       \N      2018-11-30 19:56:02.589744
9493 defaults_drop_delivery_plan_config      \N      2018-11-30 19:56:02.653749
9494 delete_invalidated_custom_variables_for_parts   \N      2018-11-30 19:56:02.659977
9495 invoices_amount_paid_not_null   \N      2018-11-30 19:56:02.665446
9496 letter  \N      2018-11-30 19:56:02.700442
9497 payment_terms_automatic_calculation     \N      2018-11-30 19:56:02.730977
9498 remove_terms_add_payment_id     \N      2018-11-30 19:56:02.740121
9499 sepa_items_payment_type \N      2018-11-30 19:56:02.760265
9500 tax_skonto_automatic    \N      2018-11-30 19:56:02.766946
9501 automatic_reconciliation        \N      2018-11-30 19:56:02.831818
9502 letter_country_page     \N      2018-11-30 19:56:02.875924
9503 letter_date_type        \N      2018-11-30 19:56:02.880335
9504 letter_draft    \N      2018-11-30 19:56:02.912831
9505 letter_reference        \N      2018-11-30 19:56:02.955158
9506 letter_emplyee_salesman \N      2018-11-30 19:56:02.988352
9507 use_html_in_letter      \N      2018-11-30 19:56:02.996959
9508 letter_notes_internal   \N      2018-11-30 19:56:03.003208
9509 letter_cp_id    \N      2018-11-30 19:56:03.039006
9510 release_3_3_0   \N      2018-11-30 19:56:03.067277
9511 add_project_defaults    \N      2018-11-30 19:56:03.070344
9512 buchungsgruppen_forein_keys     \N      2018-11-30 19:56:03.155929
9513 chart_pos_er    \N      2018-11-30 19:56:03.190929
9514 customer_vendor_shipto_add_gln  \N      2018-11-30 19:56:04.106585
9515 defaults_add_features   \N      2018-11-30 19:56:04.115246
9516 defaults_order_warn_duplicate_parts     \N      2018-11-30 19:56:04.419568
9517 defaults_show_longdescription_select_item       \N      2018-11-30 19:56:04.524557
9518 email_journal   \N      2018-11-30 19:56:04.603919
9519 periodic_invoices_direct_debit_flag     \N      2018-11-30 19:56:04.718257
9520 project_mtime_trigger   \N      2018-11-30 19:56:04.761914
9521 remove_index    \N      2018-11-30 19:56:04.767183
9522 sepa_contained_in_message_ids   \N      2018-11-30 19:56:04.939482
9523 defaults_enable_email_journal   \N      2018-11-30 19:56:05.014202
9524 release_3_4_0   \N      2018-11-30 19:56:05.072335
9525 add_parts_price_history \N      2018-11-30 19:56:05.084919
9526 defaults_add_quick_search_modules       \N      2018-11-30 19:56:05.139561
9527 delete_from_generic_translations_on_language_deletion   \N      2018-11-30 19:56:05.1508
9528 letter_cleanup  \N      2018-11-30 19:56:05.183375
9529 payment_terms_for_invoices      \N      2018-11-30 19:56:05.216678
9530 periodic_invoices_send_email    \N      2018-11-30 19:56:05.232662
9531 transfer_type_assembled \N      2018-11-30 19:56:05.265398
9532 add_parts_price_history2        \N      2018-11-30 19:56:05.290026
9533 inventory_fix_shippingdate_assemblies   \N      2018-11-30 19:56:05.295348
9534 release_3_4_1   \N      2018-11-30 19:56:05.300693
9535 add_stocktaking_preselects_client_config_default        michael 2021-01-16 23:40:30.58469
9536 transfer_type_stocktaking       michael 2021-01-16 23:40:31.412921
9537 add_stocktaking_qty_threshold_client_config_default     michael 2021-01-16 23:40:31.625275
9538 auto_delete_sepa_export_items_on_ap_ar_deletion michael 2021-01-16 23:40:32.228015
9539 csv_mt940_add_profile   michael 2021-01-16 23:40:32.518712
9540 re_add_sepa_export_items_foreign_keys   michael 2021-01-16 23:40:32.564432
9541 requirement_spec_items_price_factor     michael 2021-01-16 23:40:32.642578
9542 defaults_bcc_to_login   michael 2021-01-16 23:40:32.696085
9543 delete_cvars_on_trans_deletion_add_shipto       michael 2021-01-16 23:40:32.738113
9544 create_part_if_not_found        michael 2021-01-16 23:40:32.961663
9545 bank_transactions_type  michael 2021-01-16 23:40:33.031552
9546 auto_delete_reconciliation_links_on_acc_trans_deletion  michael 2021-01-16 23:40:33.060787
9547 bank_transactions_type2 michael 2021-01-16 23:40:33.151907
9548 inventory_shippingdate_not_null michael 2021-01-16 23:40:33.160807
9549 add_test_mode_to_csv_import_report      michael 2021-01-16 23:40:33.173339
9550 add_warehouse_for_assembly      michael 2021-01-16 23:40:33.212551
9551 assembly_parts_foreign_key      michael 2021-01-16 23:40:33.247233
9552 assembly_position       michael 2021-01-16 23:40:33.335202
9553 create_record_template_tables   michael 2021-01-16 23:40:33.341782
9554 customer_klass_rename_to_pricegroup_id_and_foreign_key  michael 2021-01-16 23:40:33.544404
9555 defaults_add_feature_experimental       michael 2021-01-16 23:40:33.590079
9556 defaults_add_finanzamt_data     michael 2021-01-16 23:40:33.645565
9557 eur_bwa_category_views  michael 2021-01-16 23:40:33.665107
9558 filemanagement_feature  michael 2021-01-16 23:40:33.734956
9559 files   michael 2021-01-16 23:40:34.100462
9560 get_shipped_qty_config  michael 2021-01-16 23:40:34.139709
9561 letter_vendorletter     michael 2021-01-16 23:40:34.2561
9562 makemodel_add_vendor_foreign_key        michael 2021-01-16 23:40:34.29576
9563 part_classifications    michael 2021-01-16 23:40:34.35685
9564 part_type_enum  michael 2021-01-16 23:40:34.511701
9565 partsgroup_sortkey_obsolete     michael 2021-01-16 23:40:34.561047
9566 payment_terms_obsolete  michael 2021-01-16 23:40:34.607337
9567 periodic_invoices_order_value_periodicity2      michael 2021-01-16 23:40:34.647167
9568 pricegroup_sortkey_obsolete     michael 2021-01-16 23:40:34.658253
9569 prices_delete_cascade   michael 2021-01-16 23:40:34.722808
9570 prices_unique   michael 2021-01-16 23:40:34.777376
9571 remove_alternate_from_parts     michael 2021-01-16 23:40:34.800397
9572 sepa_export_items       michael 2021-01-16 23:40:34.808154
9573 sepa_reference_add_vc_vc_id     michael 2021-01-16 23:40:34.8179
9574 user_preferences        michael 2021-01-16 23:40:34.855644
9575 assembly_parts_foreign_key2     michael 2021-01-16 23:40:34.893172
9576 assortment_items        michael 2021-01-16 23:40:34.912997
9577 convert_drafts_to_record_templates      michael 2021-01-16 23:40:34.958573
9578 defaults_add_feature_experimental2      michael 2021-01-16 23:40:35.024917
9579 defaults_filemanagement_remove_doc_database     michael 2021-01-16 23:40:35.092305
9580 displayable_name_prefs_defaults michael 2021-01-16 23:40:35.101786
9581 email_journal_attachments_add_fileid    michael 2021-01-16 23:40:35.113991
9582 part_classification_report_separate     michael 2021-01-16 23:40:35.147792
9583 part_remove_unneeded_fields     michael 2021-01-16 23:40:35.190285
9584 assortment_charge       michael 2021-01-16 23:40:35.203611
9585 release_3_5_0   michael 2021-01-16 23:40:35.22207
9586 alter_record_template_tables    michael 2021-01-16 23:40:35.229772
9587 custom_data_export      michael 2021-01-16 23:40:35.265952
9588 shops   michael 2021-01-16 23:40:35.347702
9589 trigram_extension       michael 2021-01-16 23:40:35.372111
9590 custom_data_export_default_values_for_parameters        michael 2021-01-16 23:40:35.729949
9591 customer_orderlock      michael 2021-01-16 23:40:35.749169
9592 shop_1  michael 2021-01-16 23:40:35.830864
9593 shop_2  michael 2021-01-16 23:40:35.894373
9594 shop_3  michael 2021-01-16 23:40:35.904605
9595 shop_orders     michael 2021-01-16 23:40:35.964169
9596 shop_parts      michael 2021-01-16 23:40:36.014721
9597 trigram_indices michael 2021-01-16 23:40:36.058484
9598 trigram_indices_webshop michael 2021-01-16 23:40:36.147532
9599 shop_orders_add_active_price_source     michael 2021-01-16 23:40:36.157795
9600 shopimages      michael 2021-01-16 23:40:36.166391
9601 shop_orders_update_1    michael 2021-01-16 23:40:36.24673
9602 shopimages_2    michael 2021-01-16 23:40:36.275103
9603 shopimages_3    michael 2021-01-16 23:40:36.284092
9604 shop_orders_update_2    michael 2021-01-16 23:40:36.29175
9605 shop_orders_update_3    michael 2021-01-16 23:40:36.309621
9606 release_3_5_1   michael 2021-01-16 23:40:36.318018
9607 create_part_customerprices      michael 2021-01-16 23:40:36.323446
9608 datev_export_format     michael 2021-01-16 23:40:36.363188
9609 stocktakings    michael 2021-01-16 23:40:36.414757
9610 release_3_5_2   michael 2021-01-16 23:40:36.44582
9611 accounts_tax_office_leonberg    michael 2021-01-16 23:40:36.454251
9612 defaults_order_warn_no_deliverydate     michael 2021-01-16 23:40:36.533032
9613 sepa_recommended_execution_date michael 2021-01-16 23:40:36.576618
9614 release_3_5_3   michael 2021-01-16 23:40:36.679454
9615 add_emloyee_project_assignment_for_viewing_invoices     michael 2021-01-16 23:40:36.686634
9616 bank_transactions_check_constraint_invoice_amount       michael 2021-01-16 23:40:36.704924
9617 contacts_add_main_contact       michael 2021-01-16 23:40:36.715044
9618 customer_add_commercial_court   michael 2021-01-16 23:40:36.759885
9619 customer_add_fields     michael 2021-01-16 23:40:36.76751
9620 customer_add_generic_mail_delivery      michael 2021-01-16 23:40:36.777481
9621 defaults_delivery_date_interval michael 2021-01-16 23:40:36.785329
9622 defaults_doc_email_attachment   michael 2021-01-16 23:40:36.840007
9623 defaults_invoice_mail_priority  michael 2021-01-16 23:40:36.993982
9624 defaults_set_dunning_creator    michael 2021-01-16 23:40:37.036143
9625 drop_payment_terms_ranking      michael 2021-01-16 23:40:37.076804
9626 dunning_foreign_key_for_trans_id        michael 2021-01-16 23:40:37.088044
9627 record_links_bt_acc_trans       michael 2021-01-16 23:40:37.12479
9628 record_links_post_delete_triggers_gl2   michael 2021-01-16 23:40:37.156066
9629 remove_comma_aggregate_functions        michael 2021-01-16 23:40:37.239148
9630 release_3_5_4   michael 2021-01-16 23:40:37.254006
9631 add_node_id_to_background_jobs  michael 2021-01-16 23:40:37.258937
9632 bank_transaction_acc_trans_remove_wrong_primary_key     michael 2021-01-16 23:40:37.266506
9633 bank_transactions_nuke_trailing_spaces_in_purpose       michael 2021-01-16 23:40:37.274411
9634 defaults_split_address  michael 2021-01-16 23:40:37.283971
9635 defaults_workflow_po_ap_chart_id        michael 2021-01-16 23:40:37.316713
9636 defaults_year_end_charts        michael 2021-01-16 23:40:37.325699
9637 inventory_itime_parts_id_index  michael 2021-01-16 23:40:37.343525
9638 inventory_parts_id_index        michael 2021-01-16 23:40:37.363435
9639 tax_removed_taxnumber   michael 2021-01-16 23:40:37.37719
9640 release_3_5_5   michael 2021-01-16 23:40:37.411376
9641 bank_account_flag_for_zugferd_usage     michael 2021-01-16 23:40:37.418934
9642 contact_departments_own_table   michael 2021-01-16 23:40:37.43411
9643 contact_titles_own_table        michael 2021-01-16 23:40:37.465453
9644 customer_create_zugferd_invoices        michael 2021-01-16 23:40:37.501408
9645 customer_vendor_add_natural_person      michael 2021-01-16 23:40:37.54232
9646 defaults_contact_departments_use_textfield      michael 2021-01-16 23:40:37.638688
9647 defaults_contact_titles_use_textfield   michael 2021-01-16 23:40:37.648428
9648 defaults_create_zugferd_data    michael 2021-01-16 23:40:37.657516
9649 defaults_vc_greetings_use_textfield     michael 2021-01-16 23:40:37.670689
9650 dunning_config_print_original_invoice   michael 2021-01-16 23:40:37.67969
9651 exchangerate_in_oe      michael 2021-01-16 23:40:37.688851
9652 gl_add_deliverydate     michael 2021-01-16 23:40:37.720975
9653 greetings_own_table     michael 2021-01-16 23:40:37.730298
9654 konjunkturpaket_2020_SKR03      michael 2021-01-16 23:40:37.788147
9655 remove_double_tax_entries_skr04 michael 2021-01-16 23:40:37.942349
9656 remove_taxkey_15_17_skr04       michael 2021-01-16 23:40:37.952378
9657 defaults_zugferd_test_mode      michael 2021-01-16 23:40:37.964377
9658 konjunkturpaket_2020_SKR04      michael 2021-01-16 23:40:38.016065
9659 konjunkturpaket_2020    michael 2021-01-16 23:40:38.053275
9660 konjunkturpaket_2020_SKR04-korrekturen  michael 2021-01-16 23:40:38.132741
9661 konjunkturpaket_2020_SKR03-korrekturen  michael 2021-01-16 23:40:38.150544
9662 release_3_5_6   michael 2021-01-16 23:40:38.164561
9663 alter_default_shipped_qty_config        michael 2021-01-16 23:40:38.172842
9664 ap_set_payment_term_from_vendor michael 2021-01-16 23:40:38.183237
9665 transfer_out_serial_charge_number       michael 2021-01-16 23:40:38.190564
9666 release_3_5_6_1 michael 2021-01-16 23:40:38.235462
9667 link_requirement_spec_to_orders_created_from_quotations_created_from_requirement_spec   michael 2023-12-16 23:40:34.587493
9668 cvars_remove_duplicate_entries  michael 2023-12-16 23:40:34.609593
9669 ap_gl   michael 2023-12-16 23:40:34.621889
9670 shop_4  michael 2023-12-16 23:40:34.639841
9671 shops_5 michael 2023-12-16 23:40:34.650623
9672 file_storage_type_letter        michael 2023-12-16 23:40:34.65891
9673 shop_add_proxy  michael 2023-12-16 23:40:34.671228
9674 file_storage_type_dunning_orig_invoice  michael 2023-12-16 23:40:34.679351
9675 file_storage_dunning_invoice    michael 2023-12-16 23:40:34.693469
9676 file_storage_dunning_documents  michael 2023-12-16 23:40:34.707669
9677 file_storage_project    michael 2023-12-16 23:40:34.718796
9678 shop_orders_update_4    michael 2023-12-16 23:40:34.730785
9679 file_storage_partial_invoices   michael 2023-12-16 23:40:34.801845
9680 add_gl_imported michael 2023-12-16 23:40:34.814718
9681 customer_vendor_routing_id      michael 2023-12-16 23:40:34.822975
9682 add_transfer_doc_interval       michael 2023-12-16 23:40:34.832677
9683 bank_account_information_for_swiss_qrbill       michael 2023-12-16 23:40:34.842275
9684 custom_variables_add_edit_position      michael 2023-12-16 23:40:34.855099
9685 customer_vendor_add_postal_invoice      michael 2023-12-16 23:40:34.869355
9686 defaults_create_qrbill_data     michael 2023-12-16 23:40:34.878136
9687 defaults_customer_vendor_ustid_taxnummer_unique michael 2023-12-16 23:40:34.897812
9688 defaults_delivery_orders_check_stocked  michael 2023-12-16 23:40:34.911498
9689 defaults_posting_records_add    michael 2023-12-16 23:40:34.922328
9690 defaults_req_delivery_date      michael 2023-12-16 23:40:34.940033
9691 defaults_transfer_settings      michael 2023-12-16 23:40:34.950923
9692 dunning_original_invoice_printed        michael 2023-12-16 23:40:34.966584
9693 orderitems_optional     michael 2023-12-16 23:40:35.00464
9694 record_links_dunning_post_delete_trigger        michael 2023-12-16 23:40:35.021152
9695 record_template_payment_id      michael 2023-12-16 23:40:35.051842
9696 tax_point       michael 2023-12-16 23:40:35.060696
9697 time_recordings michael 2023-12-16 23:40:35.074962
9698 defaults_posting_records_default_false  michael 2023-12-16 23:40:35.124259
9699 defaults_qrbill_variants        michael 2023-12-16 23:40:35.146036
9700 tax_point2      michael 2023-12-16 23:40:35.18613
9701 time_recordings2        michael 2023-12-16 23:40:35.196949
9702 time_recordings_articles        michael 2023-12-16 23:40:35.206823
9703 time_recordings_date_duration   michael 2023-12-16 23:40:35.232489
9704 time_recordings_remove_type     michael 2023-12-16 23:40:35.252591
9705 time_recordings_add_order       michael 2023-12-16 23:40:35.300994
9706 release_3_5_7   michael 2023-12-16 23:40:35.309827
9707 change_warehouse_client_config_default  michael 2023-12-16 23:40:35.318396
9708 defaults_produce_assembly_transfer_service      michael 2023-12-16 23:40:35.326954
9709 delete_warehouse_for_assembly   michael 2023-12-16 23:40:35.336827
9710 drop_shipped_qty_config michael 2023-12-16 23:40:35.346106
9711 release_3_5_8   michael 2023-12-16 23:40:35.357944
9712 add_gl_transaction_description  michael 2023-12-16 23:40:35.364501
9713 add_record_templates_transaction_description    michael 2023-12-16 23:40:35.37189
9714 ar_add_qrbill_without_amount    michael 2023-12-16 23:40:35.379889
9715 convert_columns_to_html_for_sending_html_emails michael 2023-12-16 23:40:35.395529
9716 custom_variables_convert_width_height_to_pixels michael 2023-12-16 23:40:35.411334
9717 customer_additional_billing_addresses   michael 2023-12-16 23:40:35.42111
9718 defaults_invoice_warn_no_delivery_order michael 2023-12-16 23:40:35.466469
9719 defaults_order_controller       michael 2023-12-16 23:40:35.474294
9720 defaults_order_warn_no_cusordnumber     michael 2023-12-16 23:40:35.483332
9721 defaults_partsgroup_required    michael 2023-12-16 23:40:35.492686
9722 defaults_print_interpolate_variables_in_positions       michael 2023-12-16 23:40:35.50251
9723 defaults_sales_purchase_record_numbers_changeable       michael 2023-12-16 23:40:35.550433
9724 defaults_view_record_links      michael 2023-12-16 23:40:35.559225
9725 deliveryorder_transnumbers      michael 2023-12-16 23:40:35.569624
9726 deliveryorder_type      michael 2023-12-16 23:40:35.581251
9727 files_add_variant       michael 2023-12-16 23:40:35.592775
9728 new_chart_1593_1495     michael 2023-12-16 23:40:35.603336
9729 new_chart_3260_1711     michael 2023-12-16 23:40:35.617575
9730 new_chart_3272_1718     michael 2023-12-16 23:40:35.628546
9731 convert_columns_to_html_for_sending_html_emails2        michael 2023-12-16 23:40:35.645818
9732 customer_remove_empty_additional_billing_addresses      michael 2023-12-16 23:40:35.654736
9733 defaults_advance_payment_clearing_chart_id      michael 2023-12-16 23:40:35.663407
9734 defaults_advance_payment_transfer_charts        michael 2023-12-16 23:40:35.67778
9735 release_3_6_0   michael 2023-12-16 23:40:35.699868
9736 convert_real_qty        michael 2023-12-16 23:40:35.707491
9737 defaults_invoice_prevent_browser_back   michael 2023-12-16 23:40:35.79653
9738 delete_wrong_charts_for_taxkeys michael 2023-12-16 23:40:35.812153
9739 delete_wrong_charts_for_taxkeys_04      michael 2023-12-16 23:40:35.838207
9740 file_full_texts michael 2023-12-16 23:40:35.845515
9741 full_texts_background_job       michael 2023-12-16 23:40:35.875381
9742 language_obsolete       michael 2023-12-16 23:40:35.884557
9743 record_links_remove_to_quotation        michael 2023-12-16 23:40:35.895709
9744 remove_oids     michael 2023-12-16 23:40:35.905782
9745 tax_reverse_charge      michael 2023-12-16 23:40:35.919304
9746 clean_tax_18_19 michael 2023-12-16 23:40:35.945126
9747 tax_reverse_charge_key_18       michael 2023-12-16 23:40:35.975985
9748 tax_reverse_charge_key_19       michael 2023-12-16 23:40:35.99041
9749 release_3_6_1   michael 2023-12-16 23:40:36.008628
9750 follow_up_created_for_employees michael 2026-04-24 23:21:53.40056
9751 follow_up_done  michael 2026-04-24 23:21:54.378785
9752 follow_up_done_close_follow_ups_when_order_is_closed    michael 2026-04-24 23:21:54.484131
9753 parts_price_history_add_price_factor    michael 2026-04-24 23:21:54.64706
9754 shop_order_items_discount       michael 2026-04-24 23:21:54.729723
9755 file_storage_supplier_delivery_order    michael 2026-04-24 23:21:54.746965
9756 part_customer_prices_add_description    michael 2026-04-24 23:21:54.774539
9757 file_storage_reclamation        michael 2026-04-24 23:21:54.804989
9758 file_storage_rma_delivery_order michael 2026-04-24 23:21:54.818872
9759 file_storage_sales_order_intake michael 2026-04-24 23:21:54.831454
9760 file_storage_purchase_quotation_intake  michael 2026-04-24 23:21:54.844045
9761 file_storage_purchase_order_confirmation        michael 2026-04-24 23:21:54.890127
9762 file_object_type_as_enum        michael 2026-04-24 23:21:54.902532
9763 clean_up_record_links_before_delete_trigger     michael 2026-04-24 23:21:54.976912
9764 reclamations    michael 2026-04-24 23:21:54.999469
9765 defaults_add_reclamations       michael 2026-04-24 23:21:55.450948
9766 delete_cvars_on_trans_deletion_add_reclamation_items    michael 2026-04-24 23:21:55.501336
9767 record_links_delete_triggers__reclamations__reclamation_items   michael 2026-04-24 23:21:55.51319
9768 deliveryorder_type_to_record_type       michael 2026-04-24 23:21:55.520561
9769 reclamation_add_additional_billing_addresses    michael 2026-04-24 23:21:55.572093
9770 change_file_backend_to_enum     michael 2026-04-24 23:21:55.655699
9771 customer_add_dunning_mail       michael 2026-04-24 23:21:55.671126
9772 oe_sales_order_intake_type      michael 2026-04-24 23:21:55.680038
9773 oe_version      michael 2026-04-24 23:21:55.695022
9774 sales_orders_recurring_billing_mode     michael 2026-04-24 23:21:55.72664
9775 update_employee_base_data       michael 2026-04-24 23:21:55.809799
9776 defaults_remove_invoice_prevent_browser_back    michael 2026-04-24 23:21:55.859321
9777 oe_purchase_quotation_intake    michael 2026-04-24 23:21:55.87048
9778 oe_version_create_first_        michael 2026-04-24 23:21:55.878541
9779 on_delete_oe_version_trigger    michael 2026-04-24 23:21:55.894453
9780 ar_add_qr_reference     michael 2026-04-24 23:21:55.904679
9781 bank_transactions_add_qr_reference      michael 2026-04-24 23:21:55.91363
9782 defaults_oe_subversion  michael 2026-04-24 23:21:55.92292
9783 delivery_order_remove_is_sales_in_db    michael 2026-04-24 23:21:55.936611
9784 exchangerate_in_arap    michael 2026-04-24 23:21:55.943457
9785 order_statuses  michael 2026-04-24 23:21:55.955321
9786 phone_notes_convert_to_html     michael 2026-04-24 23:21:56.012378
9787 validity_tokens michael 2026-04-24 23:21:56.049298
9788 oe_add_order_status     michael 2026-04-24 23:21:56.083342
9789 release_3_7_0   michael 2026-04-24 23:21:56.093017
9790 add_charts_and_tax_to_invoice_items     michael 2026-04-24 23:21:56.098863
9791 add_customer_dunning_lock       michael 2026-04-24 23:21:56.174742
9792 add_tax_chart_type_to_invoice_items     michael 2026-04-24 23:21:56.184232
9793 ap_add_qrbill_data      michael 2026-04-24 23:21:56.193302
9794 ap_is_sepa_blocked      michael 2026-04-24 23:21:56.20097
9795 ar_add_qr_unstructured_message  michael 2026-04-24 23:21:56.208717
9796 booking_group_obsolete  michael 2026-04-24 23:21:56.215349
9797 defaults_qrbill_copy_invnumber_to_message       michael 2026-04-24 23:21:56.239197
9798 defaults_record_sender_emails   michael 2026-04-24 23:21:56.250575
9799 defaults_set_invoice_creation_mode_for_dunning_attachment       michael 2026-04-24 23:21:56.29708
9800 defaults_view_record_links_options      michael 2026-04-24 23:21:56.308024
9801 delivery_terms_markable_as_obsolete     michael 2026-04-24 23:21:56.322935
9802 makemodel_add_part_description  michael 2026-04-24 23:21:56.330448
9803 order_type      michael 2026-04-24 23:21:56.337134
9804 reclamation_type        michael 2026-04-24 23:21:56.360248
9805 undo_delete_wrong_charts_for_taxkeys    michael 2026-04-24 23:21:56.373061
9806 index_for_record_types  michael 2026-04-24 23:21:56.412106
9807 oe_purchase_order_confirmation_order_types      michael 2026-04-24 23:21:56.459773
9808 release_3_8_0   michael 2026-04-24 23:21:56.46727
9809 add_business_models     michael 2026-04-24 23:21:56.474163
9810 add_link_for_fx_gain_loss_charts        michael 2026-04-24 23:21:56.503662
9811 add_orderer     michael 2026-04-24 23:21:56.55068
9812 add_parts_order_qty     michael 2026-04-24 23:21:56.58561
9813 bank_accounts_flag_for_use_with_bank_import     michael 2026-04-24 23:21:56.597855
9814 defaults_add_layout_style       michael 2026-04-24 23:21:56.604372
9815 defaults_allowed_documents_with_no_positions    michael 2026-04-24 23:21:56.612585
9816 defaults_fuzzy_skonto   michael 2026-04-24 23:21:56.620778
9817 defaults_transit_items_account  michael 2026-04-24 23:21:56.634321
9818 defaults_webdav michael 2026-04-24 23:21:56.644806
9819 defaults_yearend_method michael 2026-04-24 23:21:56.657749
9820 email_import    michael 2026-04-24 23:21:56.670092
9821 email_journal_add_obsolete      michael 2026-04-24 23:21:56.723201
9822 email_journal_add_uidvalidity   michael 2026-04-24 23:21:56.732119
9823 file_version    michael 2026-04-24 23:21:56.738739
9824 files_add_uid   michael 2026-04-24 23:21:56.762346
9825 invalid_chart   michael 2026-04-24 23:21:56.770148
9826 makemodel_add_longdescription   michael 2026-04-24 23:21:56.780773
9827 oe_delivery_orders_add_vendor_confirmation_number       michael 2026-04-24 23:21:56.78808
9828 oe_purchase_order_confirmation  michael 2026-04-24 23:21:56.800007
9829 parts_add_order_locked  michael 2026-04-24 23:21:56.808966
9830 parts_delete_trigger_priceupdate        michael 2026-04-24 23:21:56.817325
9831 parts_zolltarifnr       michael 2026-04-24 23:21:56.830203
9832 purchase_basket_items   michael 2026-04-24 23:21:56.838299
9833 add_business_models_position    michael 2026-04-24 23:21:56.863647
9834 add_file_version        michael 2026-04-24 23:21:56.885502
9835 email_journal_extend_status     michael 2026-04-24 23:21:56.937775
9836 file_versions_guid_as_primary_key       michael 2026-04-24 23:21:56.946516
9837 email_journal_record_import_types       michael 2026-04-24 23:21:56.967695
9838 email_journal_record_types_add_purchase_order_confirmation      michael 2026-04-24 23:21:57.024413
9839 email_journal_record_types_add_catch_all        michael 2026-04-24 23:21:57.031845
9840 release_3_9_0   michael 2026-04-24 23:21:57.038658
9841 add_description_to_backgroundjob_and_backgroundjobhistory       michael 2026-04-24 23:21:57.047329
9842 bank_accounts_add_qr_iban       michael 2026-04-24 23:21:57.056235
9843 bank_transactions_add_end_to_end_id     michael 2026-04-24 23:21:57.064497
9844 defaults_bank_config    michael 2026-04-24 23:21:57.071605
9845 defaults_endtoend       michael 2026-04-24 23:21:57.08641
9846 defaults_set_ARAP       michael 2026-04-24 23:21:57.095681
9847 defaults_show_invoice_for_advance_payment       michael 2026-04-24 23:21:57.115418
9848 defaults_show_new_docs  michael 2026-04-24 23:21:57.125097
9849 remove_trigger_assembly_purchase_price  michael 2026-04-24 23:21:57.144858
9850 shop_images_dont_skip_position  michael 2026-04-24 23:21:57.167516
9851 release_3_9_1   michael 2026-04-24 23:21:57.21683
9852 defaults_drop_feature_experimental_assortment   michael 2026-04-24 23:21:57.222292
9853 defaults_drop_feature_experimental_order        michael 2026-04-24 23:21:57.230601
9854 defaults_email_subject_transaction_description  michael 2026-04-24 23:21:57.239141
9855 defaults_order_item_input_position      michael 2026-04-24 23:21:57.249471
9856 release_3_9_2   michael 2026-04-24 23:21:57.26071
9857 \.
9858
9859
9860 --
9861 -- Data for Name: sepa_export; Type: TABLE DATA; Schema: public; Owner: kivitendo
9862 --
9863
9864 COPY public.sepa_export (id, employee_id, executed, closed, itime, vc) FROM stdin;
9865 \.
9866
9867
9868 --
9869 -- Data for Name: sepa_export_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
9870 --
9871
9872 COPY public.sepa_export_items (id, sepa_export_id, ap_id, chart_id, amount, reference, requested_execution_date, executed, execution_date, our_iban, our_bic, vc_iban, vc_bic, end_to_end_id, our_depositor, vc_depositor, ar_id, vc_mandator_id, vc_mandate_date_of_signature, payment_type, skonto_amount) FROM stdin;
9873 \.
9874
9875
9876 --
9877 -- Data for Name: sepa_export_message_ids; Type: TABLE DATA; Schema: public; Owner: kivitendo
9878 --
9879
9880 COPY public.sepa_export_message_ids (id, sepa_export_id, message_id) FROM stdin;
9881 \.
9882
9883
9884 --
9885 -- Data for Name: shipto; Type: TABLE DATA; Schema: public; Owner: kivitendo
9886 --
9887
9888 COPY public.shipto (trans_id, shiptoname, shiptodepartment_1, shiptodepartment_2, shiptostreet, shiptozipcode, shiptocity, shiptocountry, shiptocontact, shiptophone, shiptofax, shiptoemail, itime, mtime, module, shipto_id, shiptocp_gender, shiptogln) FROM stdin;
9889 \.
9890
9891
9892 --
9893 -- Data for Name: shop_images; Type: TABLE DATA; Schema: public; Owner: kivitendo
9894 --
9895
9896 COPY public.shop_images (id, file_id, "position", thumbnail_content, org_file_width, org_file_height, thumbnail_content_type, itime, mtime, object_id) FROM stdin;
9897 \.
9898
9899
9900 --
9901 -- Data for Name: shop_order_items; Type: TABLE DATA; Schema: public; Owner: kivitendo
9902 --
9903
9904 COPY public.shop_order_items (id, shop_trans_id, shop_order_id, description, partnumber, "position", tax_rate, quantity, price, active_price_source, discount, discount_code, identifier) FROM stdin;
9905 \.
9906
9907
9908 --
9909 -- Data for Name: shop_orders; Type: TABLE DATA; Schema: public; Owner: kivitendo
9910 --
9911
9912 COPY public.shop_orders (id, shop_trans_id, shop_ordernumber, shop_customer_comment, amount, netamount, order_date, shipping_costs, shipping_costs_net, shipping_costs_id, tax_included, payment_id, payment_description, shop_id, host, remote_ip, transferred, transfer_date, kivi_customer_id, shop_customer_id, shop_customer_number, customer_lastname, customer_firstname, customer_company, customer_street, customer_zipcode, customer_city, customer_country, customer_greeting, customer_department, customer_vat, customer_phone, customer_fax, customer_email, customer_newsletter, shop_c_billing_id, shop_c_billing_number, billing_lastname, billing_firstname, billing_company, billing_street, billing_zipcode, billing_city, billing_country, billing_greeting, billing_department, billing_vat, billing_phone, billing_fax, billing_email, sepa_account_holder, sepa_iban, sepa_bic, shop_c_delivery_id, shop_c_delivery_number, delivery_lastname, delivery_firstname, delivery_company, delivery_street, delivery_zipcode, delivery_city, delivery_country, delivery_greeting, delivery_department, delivery_vat, delivery_phone, delivery_fax, delivery_email, obsolete, positions, itime, mtime) FROM stdin;
9913 \.
9914
9915
9916 --
9917 -- Data for Name: shop_parts; Type: TABLE DATA; Schema: public; Owner: kivitendo
9918 --
9919
9920 COPY public.shop_parts (id, shop_id, part_id, shop_description, itime, mtime, last_update, show_date, sortorder, front_page, active, shop_category, active_price_source, metatag_keywords, metatag_description, metatag_title) FROM stdin;
9921 \.
9922
9923
9924 --
9925 -- Data for Name: shops; Type: TABLE DATA; Schema: public; Owner: kivitendo
9926 --
9927
9928 COPY public.shops (id, description, obsolete, sortkey, connector, pricetype, price_source, taxzone_id, last_order_number, orders_to_fetch, server, port, login, password, protocol, path, realm, transaction_description, itime, mtime, shipping_costs_parts_id, use_part_longdescription, proxy) FROM stdin;
9929 \.
9930
9931
9932 --
9933 -- Data for Name: status; Type: TABLE DATA; Schema: public; Owner: kivitendo
9934 --
9935
9936 COPY public.status (trans_id, formname, printed, emailed, spoolfile, chart_id, itime, mtime, id) FROM stdin;
9937 \.
9938
9939
9940 --
9941 -- Data for Name: stocktakings; Type: TABLE DATA; Schema: public; Owner: kivitendo
9942 --
9943
9944 COPY public.stocktakings (id, inventory_id, warehouse_id, bin_id, parts_id, employee_id, qty, comment, chargenumber, bestbefore, cutoff_date, itime, mtime) FROM stdin;
9945 \.
9946
9947
9948 --
9949 -- Data for Name: tax; Type: TABLE DATA; Schema: public; Owner: kivitendo
9950 --
9951
9952 COPY public.tax (chart_id, rate, taxkey, taxdescription, itime, mtime, id, chart_categories, skonto_sales_chart_id, skonto_purchase_chart_id, reverse_charge_chart_id) FROM stdin;
9953 776     0.19000 9       Vorsteuer       2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      778     E       \N      43      \N
9954 259     0.07000 8       Vorsteuer       2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      380     E       \N      42      \N
9955 194     0.07000 2       Umsatzsteuer    2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      378     I       161     \N      \N
9956 775     0.19000 3       Umsatzsteuer    2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      777     I       162     \N      \N
9957 \N      0.00000 0       Keine Steuer    2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      0       ALQCIE  \N      \N      \N
9958 \N      0.00000 1       USt-frei        2018-11-30 19:55:43.8645        2018-11-30 19:56:02.766946      377     ALQCIE  \N      \N      \N
9959 263     0.05000 2       Umsatzsteuer    2021-01-16 23:40:37.788147      \N      899     I       893     \N      \N
9960 897     0.05000 8       Vorsteuer       2021-01-16 23:40:37.788147      \N      900     E       \N      894     \N
9961 195     0.16000 3       Umsatzsteuer    2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      379     I       895     \N      \N
9962 261     0.16000 9       Vorsteuer       2018-11-30 19:55:43.8645        2021-01-16 23:40:37.788147      381     E       \N      896     \N
9963 196     0.00000 10      Im anderen EU-Staat steuerpflichtige Lieferung  2018-11-30 19:55:43.8645        2018-11-30 19:56:00.564361      382     I       \N      \N      \N
9964 \N      0.00000 11      Steuerfreie innergem. Lieferung an Abnehmer mit Id.-Nr. 2018-11-30 19:55:43.8645        2018-11-30 19:56:00.564361      383     I       \N      \N      \N
9965 262     0.07000 12      Steuerpflichtige EG-Lieferung zum ermäßigten Steuersatz       2018-11-30 19:55:43.8645        2018-11-30 19:56:00.564361      384     I       \N      \N      \N
9966 864     0.19000 13      Steuerpflichtige EG-Lieferung zum vollen Steuersatz     2018-11-30 19:55:46.317645      2018-11-30 19:56:00.564361      865     I       \N      \N      \N
9967 \N      0.16000 13      Steuerpflichtige EG-Lieferung zum vollen Steuersatz     2018-11-30 19:55:43.8645        2023-12-16 23:40:35.812153      385     I       \N      \N      \N
9968 258     0.07000 18      Stpf. innergemeinschaftlicher Erwerb zum verminderten Vor- und Ust.-satz        2023-12-16 23:40:35.975985      \N      1117    EI      \N      \N      262
9969 284     0.19000 94      19% Vorsteuer und 19% Umsatzsteuer      2023-12-16 23:40:35.919304      2023-12-16 23:40:35.99041       1115    EI      \N      \N      1114
9970 863     0.19000 19      Stpf. innergemeinschaftlicher Erwerb zum vollem Vor- und Ust.-satz      2023-12-16 23:40:35.99041       \N      1118    EI      \N      \N      864
9971 \.
9972
9973
9974 --
9975 -- Data for Name: tax_zones; Type: TABLE DATA; Schema: public; Owner: kivitendo
9976 --
9977
9978 COPY public.tax_zones (id, description, sortkey, obsolete) FROM stdin;
9979 1       EU mit USt-ID Nummer    2       f
9980 2       EU ohne USt-ID Nummer   3       f
9981 3       Außerhalb EU   4       f
9982 4       Inland  1       f
9983 \.
9984
9985
9986 --
9987 -- Data for Name: taxkeys; Type: TABLE DATA; Schema: public; Owner: kivitendo
9988 --
9989
9990 COPY public.taxkeys (id, chart_id, tax_id, taxkey_id, pos_ustva, startdate) FROM stdin;
9991 898     897     0       0       66      1970-01-01
9992 901     893     899     2       861     2020-07-01
9993 902     894     900     8       861     2020-07-01
9994 904     896     381     9       66      2020-07-01
9995 905     1       381     9       \N      2020-07-01
9996 906     1       778     9       \N      2021-01-01
9997 907     2       381     9       \N      2020-07-01
9998 908     2       778     9       \N      2021-01-01
9999 909     3       381     9       \N      2020-07-01
10000 910     3       778     9       \N      2021-01-01
10001 911     4       381     9       \N      2020-07-01
10002 912     4       778     9       \N      2021-01-01
10003 913     5       381     9       \N      2020-07-01
10004 914     5       778     9       \N      2021-01-01
10005 915     6       381     9       \N      2020-07-01
10006 916     6       778     9       \N      2021-01-01
10007 917     7       381     9       \N      2020-07-01
10008 918     7       778     9       \N      2021-01-01
10009 919     8       381     9       \N      2020-07-01
10010 920     8       778     9       \N      2021-01-01
10011 921     9       381     9       \N      2020-07-01
10012 922     9       778     9       \N      2021-01-01
10013 923     10      381     9       \N      2020-07-01
10014 924     10      778     9       \N      2021-01-01
10015 925     11      381     9       \N      2020-07-01
10016 926     11      778     9       \N      2021-01-01
10017 927     776     381     9       66      2020-07-01
10018 928     776     778     9       66      2021-01-01
10019 931     335     381     9       \N      2020-07-01
10020 932     335     778     9       \N      2021-01-01
10021 934     319     378     2       86      2021-01-01
10022 936     320     777     3       81      2021-01-01
10023 938     353     777     3       81      2021-01-01
10024 940     362     777     3       81      2021-01-01
10025 941     35      381     9       \N      2020-07-01
10026 942     35      778     9       \N      2021-01-01
10027 943     281     381     9       0       2020-07-01
10028 944     281     778     9       0       2021-01-01
10029 945     292     381     9       \N      2020-07-01
10030 946     292     778     9       \N      2021-01-01
10031 947     293     900     8       \N      2020-07-01
10032 948     293     380     8       \N      2021-01-01
10033 949     294     381     9       \N      2020-07-01
10034 950     294     778     9       \N      2021-01-01
10035 951     36      900     8       \N      2020-07-01
10036 952     36      380     8       \N      2021-01-01
10037 953     37      381     9       \N      2020-07-01
10038 954     37      778     9       \N      2021-01-01
10039 955     42      900     8       \N      2020-07-01
10040 956     42      380     8       \N      2021-01-01
10041 957     43      381     9       \N      2020-07-01
10042 958     43      778     9       \N      2021-01-01
10043 959     44      900     8       \N      2020-07-01
10044 960     44      380     8       \N      2021-01-01
10045 961     45      381     9       \N      2020-07-01
10046 962     45      778     9       \N      2021-01-01
10047 963     46      900     8       \N      2020-07-01
10048 964     46      380     8       \N      2021-01-01
10049 965     47      381     9       \N      2020-07-01
10050 966     47      778     9       \N      2021-01-01
10051 967     68      381     9       \N      2020-07-01
10052 968     68      778     9       \N      2021-01-01
10053 969     69      381     9       \N      2020-07-01
10054 970     69      778     9       \N      2021-01-01
10055 971     71      381     9       \N      2020-07-01
10056 972     71      778     9       \N      2021-01-01
10057 973     72      381     9       \N      2020-07-01
10058 974     72      778     9       \N      2021-01-01
10059 975     73      381     9       \N      2020-07-01
10060 976     73      778     9       \N      2021-01-01
10061 977     74      381     9       \N      2020-07-01
10062 978     74      778     9       \N      2021-01-01
10063 979     75      381     9       \N      2020-07-01
10064 980     75      778     9       \N      2021-01-01
10065 981     85      381     9       \N      2020-07-01
10066 982     85      778     9       \N      2021-01-01
10067 983     89      381     9       \N      2020-07-01
10068 984     89      778     9       \N      2021-01-01
10069 985     92      381     9       \N      2020-07-01
10070 986     92      778     9       \N      2021-01-01
10071 987     93      381     9       \N      2020-07-01
10072 988     93      778     9       \N      2021-01-01
10073 989     94      381     9       \N      2020-07-01
10074 990     94      778     9       \N      2021-01-01
10075 991     95      381     9       \N      2020-07-01
10076 992     95      778     9       \N      2021-01-01
10077 993     96      381     9       \N      2020-07-01
10078 994     96      778     9       \N      2021-01-01
10079 995     97      381     9       \N      2020-07-01
10080 996     97      778     9       \N      2021-01-01
10081 997     98      381     9       \N      2020-07-01
10082 998     98      778     9       \N      2021-01-01
10083 999     269     381     9       \N      2020-07-01
10084 1000    269     778     9       \N      2021-01-01
10085 1001    100     381     9       \N      2020-07-01
10086 1002    100     778     9       \N      2021-01-01
10087 1003    101     900     8       \N      2020-07-01
10088 1004    101     380     8       \N      2021-01-01
10089 1005    105     381     9       \N      2020-07-01
10090 1006    105     778     9       \N      2021-01-01
10091 1007    106     900     8       \N      2020-07-01
10092 1008    106     380     8       \N      2021-01-01
10093 1009    116     381     9       \N      2020-07-01
10094 1010    116     778     9       \N      2021-01-01
10095 1011    270     381     9       \N      2020-07-01
10096 1012    270     778     9       \N      2021-01-01
10097 1013    117     381     9       \N      2020-07-01
10098 1014    117     778     9       \N      2021-01-01
10099 1015    118     381     9       \N      2020-07-01
10100 1016    118     778     9       \N      2021-01-01
10101 1017    126     381     9       \N      2020-07-01
10102 1018    126     778     9       \N      2021-01-01
10103 1019    127     381     9       \N      2020-07-01
10104 1020    127     778     9       \N      2021-01-01
10105 1021    130     381     9       \N      2020-07-01
10106 1022    130     778     9       \N      2021-01-01
10107 1023    131     381     9       \N      2020-07-01
10108 1024    131     778     9       \N      2021-01-01
10109 1025    132     381     9       \N      2020-07-01
10110 1026    132     778     9       \N      2021-01-01
10111 1027    133     900     8       \N      2020-07-01
10112 1028    133     380     8       \N      2021-01-01
10113 1029    134     381     9       \N      2020-07-01
10114 1030    134     778     9       \N      2021-01-01
10115 1031    136     381     9       \N      2020-07-01
10116 1032    136     778     9       \N      2021-01-01
10117 1033    137     381     9       \N      2020-07-01
10118 1034    137     778     9       \N      2021-01-01
10119 1035    138     381     9       \N      2020-07-01
10120 1036    138     778     9       \N      2021-01-01
10121 1037    139     381     9       \N      2020-07-01
10122 1038    139     778     9       \N      2021-01-01
10123 1039    247     381     9       \N      2020-07-01
10124 1040    247     778     9       \N      2021-01-01
10125 1041    140     381     9       \N      2020-07-01
10126 1042    140     778     9       \N      2021-01-01
10127 1043    142     381     9       \N      2020-07-01
10128 1044    142     778     9       \N      2021-01-01
10129 1045    143     381     9       \N      2020-07-01
10130 1046    143     778     9       \N      2021-01-01
10131 1048    88      378     2       86      2021-01-01
10132 1050    184     777     3       81      2021-01-01
10133 1052    153     777     3       81      2021-01-01
10134 1054    154     378     2       86      2021-01-01
10135 1056    155     777     3       81      2021-01-01
10136 1057    156     379     3       \N      2020-07-01
10137 1058    156     777     3       \N      2021-01-01
10138 1060    157     777     3       81      2021-01-01
10139 1062    158     378     2       86      2021-01-01
10140 1064    159     777     3       81      2021-01-01
10141 1066    160     777     3       81      2021-01-01
10142 1068    343     378     2       86      2021-01-01
10143 1070    344     777     3       81      2021-01-01
10144 1072    161     378     2       86      2021-01-01
10145 1074    162     777     3       81      2021-01-01
10146 1076    163     378     2       86      2021-01-01
10147 1078    164     777     3       81      2021-01-01
10148 1080    165     378     2       86      2021-01-01
10149 1082    166     777     3       81      2021-01-01
10150 1084    185     777     3       81      2021-01-01
10151 1086    276     777     3       81      2021-01-01
10152 1088    167     777     3       81      2021-01-01
10153 1089    168     379     3       \N      2020-07-01
10154 1090    168     777     3       \N      2021-01-01
10155 1092    171     777     3       81      2021-01-01
10156 1094    172     378     2       86      2021-01-01
10157 1096    300     777     3       81      2021-01-01
10158 1098    175     777     3       81      2021-01-01
10159 1100    176     378     2       86      2021-01-01
10160 1102    177     777     3       81      2021-01-01
10161 1104    302     777     3       81      2021-01-01
10162 1106    303     378     2       86      2021-01-01
10163 929     194     0       0       861     2020-07-01
10164 930     194     0       0       861     2021-01-01
10165 933     319     899     2       35      2020-07-01
10166 1047    88      899     2       35      2020-07-01
10167 1053    154     899     2       35      2020-07-01
10168 1061    158     899     2       35      2020-07-01
10169 1067    343     899     2       35      2020-07-01
10170 1071    161     899     2       35      2020-07-01
10171 1075    163     899     2       35      2020-07-01
10172 1079    165     899     2       35      2020-07-01
10173 1093    172     899     2       35      2020-07-01
10174 1099    176     899     2       35      2020-07-01
10175 1105    303     899     2       35      2020-07-01
10176 903     895     379     3       35      2020-07-01
10177 935     320     379     3       35      2020-07-01
10178 937     353     379     3       35      2020-07-01
10179 939     362     379     3       35      2020-07-01
10180 1049    184     379     3       35      2020-07-01
10181 1051    153     379     3       35      2020-07-01
10182 1055    155     379     3       35      2020-07-01
10183 1059    157     379     3       35      2020-07-01
10184 1063    159     379     3       35      2020-07-01
10185 1065    160     379     3       35      2020-07-01
10186 1069    344     379     3       35      2020-07-01
10187 1073    162     379     3       35      2020-07-01
10188 1077    164     379     3       35      2020-07-01
10189 1081    166     379     3       35      2020-07-01
10190 1083    185     379     3       35      2020-07-01
10191 1085    276     379     3       35      2020-07-01
10192 1087    167     379     3       35      2020-07-01
10193 1091    171     379     3       35      2020-07-01
10194 1095    300     379     3       35      2020-07-01
10195 1097    175     379     3       35      2020-07-01
10196 1101    177     379     3       35      2020-07-01
10197 1103    302     379     3       35      2020-07-01
10198 657     343     378     2       86      1970-01-01
10199 658     319     378     2       86      1970-01-01
10200 659     303     378     2       86      1970-01-01
10201 660     176     378     2       86      1970-01-01
10202 661     172     378     2       86      1970-01-01
10203 662     165     378     2       86      1970-01-01
10204 663     163     378     2       86      1970-01-01
10205 664     161     378     2       86      1970-01-01
10206 665     158     378     2       86      1970-01-01
10207 666     154     378     2       86      1970-01-01
10208 667     88      378     2       86      1970-01-01
10209 668     362     379     3       51      1970-01-01
10210 669     353     379     3       51      1970-01-01
10211 670     344     379     3       51      1970-01-01
10212 671     320     379     3       51      1970-01-01
10213 672     302     379     3       51      1970-01-01
10214 673     300     379     3       51      1970-01-01
10215 674     276     379     3       51      1970-01-01
10216 675     185     379     3       51      1970-01-01
10217 676     184     379     3       51      1970-01-01
10218 677     177     379     3       51      1970-01-01
10219 678     175     379     3       51      1970-01-01
10220 679     171     379     3       51      1970-01-01
10221 680     168     379     3       \N      1970-01-01
10222 681     167     379     3       51      1970-01-01
10223 682     166     379     3       51      1970-01-01
10224 683     164     379     3       51      1970-01-01
10225 684     162     379     3       51      1970-01-01
10226 685     160     379     3       51      1970-01-01
10227 686     159     379     3       51      1970-01-01
10228 687     157     379     3       51      1970-01-01
10229 689     155     379     3       51      1970-01-01
10230 690     153     379     3       51      1970-01-01
10231 691     293     380     8       \N      1970-01-01
10232 692     133     380     8       \N      1970-01-01
10233 693     106     380     8       \N      1970-01-01
10234 694     101     380     8       \N      1970-01-01
10235 695     46      380     8       \N      1970-01-01
10236 696     44      380     8       \N      1970-01-01
10237 697     42      380     8       \N      1970-01-01
10238 698     36      380     8       \N      1970-01-01
10239 699     335     381     9       \N      1970-01-01
10240 700     294     381     9       \N      1970-01-01
10241 701     292     381     9       \N      1970-01-01
10242 702     281     381     9       0       1970-01-01
10243 703     270     381     9       \N      1970-01-01
10244 704     269     381     9       \N      1970-01-01
10245 705     247     381     9       \N      1970-01-01
10246 706     143     381     9       \N      1970-01-01
10247 707     142     381     9       \N      1970-01-01
10248 708     140     381     9       \N      1970-01-01
10249 709     139     381     9       \N      1970-01-01
10250 710     138     381     9       \N      1970-01-01
10251 711     137     381     9       \N      1970-01-01
10252 712     136     381     9       \N      1970-01-01
10253 713     134     381     9       \N      1970-01-01
10254 714     132     381     9       \N      1970-01-01
10255 715     131     381     9       \N      1970-01-01
10256 716     130     381     9       \N      1970-01-01
10257 717     127     381     9       \N      1970-01-01
10258 718     126     381     9       \N      1970-01-01
10259 719     118     381     9       \N      1970-01-01
10260 720     117     381     9       \N      1970-01-01
10261 721     116     381     9       \N      1970-01-01
10262 688     156     379     3       51      1970-01-01
10263 722     105     381     9       \N      1970-01-01
10264 723     100     381     9       \N      1970-01-01
10265 724     98      381     9       \N      1970-01-01
10266 725     97      381     9       \N      1970-01-01
10267 726     96      381     9       \N      1970-01-01
10268 727     95      381     9       \N      1970-01-01
10269 728     94      381     9       \N      1970-01-01
10270 729     93      381     9       \N      1970-01-01
10271 730     92      381     9       \N      1970-01-01
10272 731     89      381     9       \N      1970-01-01
10273 732     85      381     9       \N      1970-01-01
10274 733     75      381     9       \N      1970-01-01
10275 734     74      381     9       \N      1970-01-01
10276 735     73      381     9       \N      1970-01-01
10277 736     72      381     9       \N      1970-01-01
10278 737     71      381     9       \N      1970-01-01
10279 738     69      381     9       \N      1970-01-01
10280 739     68      381     9       \N      1970-01-01
10281 740     47      381     9       \N      1970-01-01
10282 741     45      381     9       \N      1970-01-01
10283 742     43      381     9       \N      1970-01-01
10284 743     37      381     9       \N      1970-01-01
10285 744     35      381     9       \N      1970-01-01
10286 745     11      381     9       \N      1970-01-01
10287 746     10      381     9       \N      1970-01-01
10288 747     9       381     9       \N      1970-01-01
10289 748     8       381     9       \N      1970-01-01
10290 749     7       381     9       \N      1970-01-01
10291 750     6       381     9       \N      1970-01-01
10292 751     5       381     9       \N      1970-01-01
10293 752     4       381     9       \N      1970-01-01
10294 753     3       381     9       \N      1970-01-01
10295 754     2       381     9       \N      1970-01-01
10296 755     1       381     9       \N      1970-01-01
10297 756     196     382     10      \N      1970-01-01
10298 757     152     382     10      \N      1970-01-01
10299 758     345     384     12      86      1970-01-01
10300 759     150     384     12      86      1970-01-01
10301 760     346     385     13      51      1970-01-01
10302 761     151     385     13      51      1970-01-01
10303 781     156     777     3       \N      2007-01-01
10304 789     168     777     3       \N      2007-01-01
10305 802     1       778     9       \N      2007-01-01
10306 803     2       778     9       \N      2007-01-01
10307 804     3       778     9       \N      2007-01-01
10308 805     4       778     9       \N      2007-01-01
10309 806     5       778     9       \N      2007-01-01
10310 807     6       778     9       \N      2007-01-01
10311 808     7       778     9       \N      2007-01-01
10312 809     8       778     9       \N      2007-01-01
10313 810     9       778     9       \N      2007-01-01
10314 811     10      778     9       \N      2007-01-01
10315 812     11      778     9       \N      2007-01-01
10316 813     35      778     9       \N      2007-01-01
10317 814     37      778     9       \N      2007-01-01
10318 815     43      778     9       \N      2007-01-01
10319 816     45      778     9       \N      2007-01-01
10320 817     47      778     9       \N      2007-01-01
10321 818     68      778     9       \N      2007-01-01
10322 819     69      778     9       \N      2007-01-01
10323 820     71      778     9       \N      2007-01-01
10324 821     72      778     9       \N      2007-01-01
10325 822     73      778     9       \N      2007-01-01
10326 823     74      778     9       \N      2007-01-01
10327 824     75      778     9       \N      2007-01-01
10328 825     85      778     9       \N      2007-01-01
10329 826     89      778     9       \N      2007-01-01
10330 827     92      778     9       \N      2007-01-01
10331 828     93      778     9       \N      2007-01-01
10332 829     94      778     9       \N      2007-01-01
10333 830     95      778     9       \N      2007-01-01
10334 831     96      778     9       \N      2007-01-01
10335 832     97      778     9       \N      2007-01-01
10336 833     98      778     9       \N      2007-01-01
10337 834     100     778     9       \N      2007-01-01
10338 835     105     778     9       \N      2007-01-01
10339 836     116     778     9       \N      2007-01-01
10340 837     117     778     9       \N      2007-01-01
10341 838     118     778     9       \N      2007-01-01
10342 839     126     778     9       \N      2007-01-01
10343 840     127     778     9       \N      2007-01-01
10344 841     130     778     9       \N      2007-01-01
10345 842     131     778     9       \N      2007-01-01
10346 843     132     778     9       \N      2007-01-01
10347 844     134     778     9       \N      2007-01-01
10348 845     136     778     9       \N      2007-01-01
10349 846     137     778     9       \N      2007-01-01
10350 847     138     778     9       \N      2007-01-01
10351 848     139     778     9       \N      2007-01-01
10352 849     140     778     9       \N      2007-01-01
10353 850     142     778     9       \N      2007-01-01
10354 851     143     778     9       \N      2007-01-01
10355 852     247     778     9       \N      2007-01-01
10356 853     269     778     9       \N      2007-01-01
10357 854     270     778     9       \N      2007-01-01
10358 855     281     778     9       0       2007-01-01
10359 856     292     778     9       \N      2007-01-01
10360 857     294     778     9       \N      2007-01-01
10361 858     335     778     9       \N      2007-01-01
10362 388     375     0       0       \N      1970-01-01
10363 779     153     777     3       81      2007-01-01
10364 780     155     777     3       81      2007-01-01
10365 782     157     777     3       81      2007-01-01
10366 783     159     777     3       81      2007-01-01
10367 784     160     777     3       81      2007-01-01
10368 785     162     777     3       81      2007-01-01
10369 786     164     777     3       81      2007-01-01
10370 787     166     777     3       81      2007-01-01
10371 788     167     777     3       81      2007-01-01
10372 790     171     777     3       81      2007-01-01
10373 791     175     777     3       81      2007-01-01
10374 792     177     777     3       81      2007-01-01
10375 793     184     777     3       81      2007-01-01
10376 794     185     777     3       81      2007-01-01
10377 795     276     777     3       81      2007-01-01
10378 796     300     777     3       81      2007-01-01
10379 797     302     777     3       81      2007-01-01
10380 798     320     777     3       81      2007-01-01
10381 799     344     777     3       81      2007-01-01
10382 800     353     777     3       81      2007-01-01
10383 801     362     777     3       81      2007-01-01
10384 482     262     0       0       \N      1970-01-01
10385 481     263     0       0       36      1970-01-01
10386 389     374     0       0       \N      1970-01-01
10387 390     373     0       0       \N      1970-01-01
10388 391     372     0       0       \N      1970-01-01
10389 392     371     0       0       \N      1970-01-01
10390 393     370     0       0       \N      1970-01-01
10391 394     369     0       0       \N      1970-01-01
10392 395     368     0       0       \N      1970-01-01
10393 396     367     0       0       \N      1970-01-01
10394 397     366     0       0       \N      1970-01-01
10395 398     365     0       0       \N      1970-01-01
10396 399     364     0       0       \N      1970-01-01
10397 400     363     0       0       \N      1970-01-01
10398 401     361     0       0       \N      1970-01-01
10399 402     360     0       0       \N      1970-01-01
10400 403     359     0       0       \N      1970-01-01
10401 404     358     0       0       \N      1970-01-01
10402 405     357     0       0       \N      1970-01-01
10403 406     356     0       0       \N      1970-01-01
10404 407     355     0       0       \N      1970-01-01
10405 408     354     0       0       \N      1970-01-01
10406 409     352     0       0       \N      1970-01-01
10407 410     351     0       0       \N      1970-01-01
10408 411     350     0       0       \N      1970-01-01
10409 412     349     0       0       \N      1970-01-01
10410 413     348     0       0       \N      1970-01-01
10411 414     347     0       0       \N      1970-01-01
10412 415     342     0       0       \N      1970-01-01
10413 416     341     0       0       \N      1970-01-01
10414 417     340     0       0       \N      1970-01-01
10415 418     339     0       0       \N      1970-01-01
10416 419     338     0       0       \N      1970-01-01
10417 420     337     0       0       \N      1970-01-01
10418 421     336     0       0       \N      1970-01-01
10419 422     334     0       0       \N      1970-01-01
10420 423     333     0       0       \N      1970-01-01
10421 424     332     0       0       \N      1970-01-01
10422 425     331     0       0       \N      1970-01-01
10423 426     330     0       0       \N      1970-01-01
10424 427     329     0       0       \N      1970-01-01
10425 428     328     0       0       \N      1970-01-01
10426 429     327     0       0       \N      1970-01-01
10427 430     326     0       0       \N      1970-01-01
10428 431     325     0       0       \N      1970-01-01
10429 432     324     0       0       \N      1970-01-01
10430 433     323     0       0       \N      1970-01-01
10431 434     322     0       0       \N      1970-01-01
10432 435     321     0       0       \N      1970-01-01
10433 436     318     0       0       \N      1970-01-01
10434 437     317     0       0       \N      1970-01-01
10435 438     316     0       0       \N      1970-01-01
10436 439     315     0       0       \N      1970-01-01
10437 440     314     0       0       \N      1970-01-01
10438 441     313     0       0       \N      1970-01-01
10439 442     312     0       0       \N      1970-01-01
10440 443     311     0       0       \N      1970-01-01
10441 444     310     0       0       \N      1970-01-01
10442 445     309     0       0       \N      1970-01-01
10443 446     308     0       0       \N      1970-01-01
10444 447     307     0       0       \N      1970-01-01
10445 448     306     0       0       \N      1970-01-01
10446 449     305     0       0       \N      1970-01-01
10447 450     304     0       0       \N      1970-01-01
10448 451     301     0       0       \N      1970-01-01
10449 452     299     0       0       0       1970-01-01
10450 453     298     0       0       \N      1970-01-01
10451 454     297     0       0       \N      1970-01-01
10452 455     296     0       0       \N      1970-01-01
10453 456     295     0       0       \N      1970-01-01
10454 457     291     0       0       \N      1970-01-01
10455 458     290     0       0       62      1970-01-01
10456 459     289     0       0       \N      1970-01-01
10457 460     288     0       0       \N      1970-01-01
10458 461     287     0       0       \N      1970-01-01
10459 462     286     0       0       \N      1970-01-01
10460 465     283     0       0       \N      1970-01-01
10461 466     282     0       0       \N      1970-01-01
10462 467     280     0       0       0       1970-01-01
10463 468     279     0       0       0       1970-01-01
10464 469     278     0       0       0       1970-01-01
10465 470     277     0       0       0       1970-01-01
10466 471     275     0       0       \N      1970-01-01
10467 472     274     0       0       \N      1970-01-01
10468 473     273     0       0       \N      1970-01-01
10469 474     272     0       0       \N      1970-01-01
10470 475     271     0       0       \N      1970-01-01
10471 476     268     0       0       \N      1970-01-01
10472 477     267     0       0       \N      1970-01-01
10473 478     266     0       0       0       1970-01-01
10474 479     265     0       0       \N      1970-01-01
10475 480     264     0       0       \N      1970-01-01
10476 483     261     0       0       66      1970-01-01
10477 484     260     0       0       61      1970-01-01
10478 485     259     0       0       66      1970-01-01
10479 486     258     0       0       61      1970-01-01
10480 487     257     0       0       \N      1970-01-01
10481 488     256     0       0       0       1970-01-01
10482 464     284     0       0       63      1970-01-01
10483 463     285     0       0       67      1970-01-01
10484 489     255     0       0       0       1970-01-01
10485 490     254     0       0       \N      1970-01-01
10486 491     253     0       0       \N      1970-01-01
10487 492     252     0       0       \N      1970-01-01
10488 493     251     0       0       0       1970-01-01
10489 494     250     0       0       0       1970-01-01
10490 495     249     0       0       0       1970-01-01
10491 496     248     0       0       \N      1970-01-01
10492 497     246     0       0       \N      1970-01-01
10493 498     245     0       0       \N      1970-01-01
10494 499     244     0       0       \N      1970-01-01
10495 500     243     0       0       \N      1970-01-01
10496 501     242     0       0       \N      1970-01-01
10497 502     241     0       0       \N      1970-01-01
10498 503     240     0       0       \N      1970-01-01
10499 504     239     0       0       \N      1970-01-01
10500 505     238     0       0       \N      1970-01-01
10501 506     237     0       0       \N      1970-01-01
10502 507     236     0       0       \N      1970-01-01
10503 508     235     0       0       \N      1970-01-01
10504 509     234     0       0       \N      1970-01-01
10505 510     233     0       0       \N      1970-01-01
10506 511     232     0       0       0       1970-01-01
10507 512     231     0       0       \N      1970-01-01
10508 513     230     0       0       \N      1970-01-01
10509 514     229     0       0       \N      1970-01-01
10510 515     228     0       0       \N      1970-01-01
10511 516     227     0       0       \N      1970-01-01
10512 517     226     0       0       \N      1970-01-01
10513 518     225     0       0       \N      1970-01-01
10514 519     224     0       0       0       1970-01-01
10515 520     223     0       0       \N      1970-01-01
10516 521     222     0       0       \N      1970-01-01
10517 522     221     0       0       \N      1970-01-01
10518 523     220     0       0       \N      1970-01-01
10519 524     218     0       0       0       1970-01-01
10520 525     217     0       0       0       1970-01-01
10521 526     216     0       0       91      1970-01-01
10522 527     215     0       0       \N      1970-01-01
10523 528     214     0       0       \N      1970-01-01
10524 529     213     0       0       \N      1970-01-01
10525 530     212     0       0       \N      1970-01-01
10526 531     211     0       0       \N      1970-01-01
10527 532     210     0       0       \N      1970-01-01
10528 533     209     0       0       \N      1970-01-01
10529 534     208     0       0       \N      1970-01-01
10530 535     207     0       0       \N      1970-01-01
10531 536     206     0       0       \N      1970-01-01
10532 537     205     0       0       \N      1970-01-01
10533 538     204     0       0       \N      1970-01-01
10534 539     203     0       0       \N      1970-01-01
10535 540     202     0       0       \N      1970-01-01
10536 541     201     0       0       \N      1970-01-01
10537 542     200     0       0       \N      1970-01-01
10538 543     199     0       0       \N      1970-01-01
10539 544     198     0       0       \N      1970-01-01
10540 545     197     0       0       \N      1970-01-01
10541 547     194     0       0       861     1970-01-01
10542 548     193     0       0       \N      1970-01-01
10543 549     192     0       0       \N      1970-01-01
10544 550     191     0       0       \N      1970-01-01
10545 551     190     0       0       \N      1970-01-01
10546 552     189     0       0       \N      1970-01-01
10547 553     188     0       0       \N      1970-01-01
10548 554     187     0       0       \N      1970-01-01
10549 555     186     0       0       \N      1970-01-01
10550 556     183     0       0       \N      1970-01-01
10551 557     182     0       0       \N      1970-01-01
10552 558     181     0       0       \N      1970-01-01
10553 559     180     0       0       \N      1970-01-01
10554 560     179     0       0       \N      1970-01-01
10555 561     178     0       0       \N      1970-01-01
10556 562     174     0       0       \N      1970-01-01
10557 563     173     0       0       \N      1970-01-01
10558 564     170     0       0       \N      1970-01-01
10559 565     169     0       0       \N      1970-01-01
10560 566     219     0       0       0       1970-01-01
10561 567     149     0       0       \N      1970-01-01
10562 568     148     0       0       \N      1970-01-01
10563 569     147     0       0       \N      1970-01-01
10564 570     146     0       0       \N      1970-01-01
10565 571     145     0       0       41      1970-01-01
10566 572     144     0       0       48      1970-01-01
10567 573     141     0       0       \N      1970-01-01
10568 574     135     0       0       \N      1970-01-01
10569 575     129     0       0       \N      1970-01-01
10570 576     128     0       0       \N      1970-01-01
10571 577     125     0       0       \N      1970-01-01
10572 578     124     0       0       \N      1970-01-01
10573 579     123     0       0       \N      1970-01-01
10574 580     122     0       0       \N      1970-01-01
10575 581     121     0       0       \N      1970-01-01
10576 582     120     0       0       \N      1970-01-01
10577 583     119     0       0       \N      1970-01-01
10578 584     115     0       0       \N      1970-01-01
10579 585     114     0       0       \N      1970-01-01
10580 586     113     0       0       \N      1970-01-01
10581 587     112     0       0       \N      1970-01-01
10582 588     111     0       0       \N      1970-01-01
10583 589     110     0       0       \N      1970-01-01
10584 590     109     0       0       \N      1970-01-01
10585 591     108     0       0       \N      1970-01-01
10586 592     107     0       0       \N      1970-01-01
10587 593     104     0       0       \N      1970-01-01
10588 594     103     0       0       \N      1970-01-01
10589 595     102     0       0       \N      1970-01-01
10590 596     99      0       0       \N      1970-01-01
10591 597     91      0       0       \N      1970-01-01
10592 598     90      0       0       \N      1970-01-01
10593 599     87      0       0       \N      1970-01-01
10594 600     86      0       0       0       1970-01-01
10595 601     84      0       0       \N      1970-01-01
10596 602     83      0       0       \N      1970-01-01
10597 603     82      0       0       \N      1970-01-01
10598 604     81      0       0       \N      1970-01-01
10599 605     80      0       0       \N      1970-01-01
10600 606     79      0       0       \N      1970-01-01
10601 607     78      0       0       \N      1970-01-01
10602 608     77      0       0       \N      1970-01-01
10603 609     76      0       0       \N      1970-01-01
10604 610     70      0       0       \N      1970-01-01
10605 611     67      0       0       \N      1970-01-01
10606 612     66      0       0       \N      1970-01-01
10607 613     65      0       0       \N      1970-01-01
10608 614     64      0       0       \N      1970-01-01
10609 615     63      0       0       \N      1970-01-01
10610 616     62      0       0       \N      1970-01-01
10611 617     61      0       0       \N      1970-01-01
10612 618     60      0       0       \N      1970-01-01
10613 619     59      0       0       \N      1970-01-01
10614 620     58      0       0       \N      1970-01-01
10615 621     57      0       0       \N      1970-01-01
10616 622     56      0       0       \N      1970-01-01
10617 623     55      0       0       \N      1970-01-01
10618 624     54      0       0       \N      1970-01-01
10619 625     53      0       0       \N      1970-01-01
10620 626     52      0       0       \N      1970-01-01
10621 627     51      0       0       \N      1970-01-01
10622 628     50      0       0       \N      1970-01-01
10623 629     49      0       0       \N      1970-01-01
10624 630     48      0       0       \N      1970-01-01
10625 631     41      0       0       91      1970-01-01
10626 632     39      0       0       97      1970-01-01
10627 633     38      0       0       93      1970-01-01
10628 634     34      0       0       \N      1970-01-01
10629 635     33      0       0       \N      1970-01-01
10630 636     32      0       0       \N      1970-01-01
10631 637     31      0       0       \N      1970-01-01
10632 638     30      0       0       \N      1970-01-01
10633 639     29      0       0       \N      1970-01-01
10634 640     28      0       0       \N      1970-01-01
10635 641     27      0       0       \N      1970-01-01
10636 642     26      0       0       \N      1970-01-01
10637 643     25      0       0       \N      1970-01-01
10638 644     24      0       0       \N      1970-01-01
10639 645     23      0       0       \N      1970-01-01
10640 646     22      0       0       \N      1970-01-01
10641 647     21      0       0       \N      1970-01-01
10642 648     20      0       0       \N      1970-01-01
10643 649     19      0       0       \N      1970-01-01
10644 650     18      0       0       \N      1970-01-01
10645 651     17      0       0       \N      1970-01-01
10646 652     16      0       0       \N      1970-01-01
10647 653     15      0       0       \N      1970-01-01
10648 654     14      0       0       \N      1970-01-01
10649 655     13      0       0       \N      1970-01-01
10650 656     12      0       0       \N      1970-01-01
10651 867     776     778     9       66      1970-01-01
10652 871     862     0       0       66      1970-01-01
10653 546     195     0       0       511     1970-01-01
10654 861     775     0       0       811     2007-01-01
10655 869     864     0       0       891     2007-01-01
10656 872     775     0       0       36      1970-01-01
10657 873     195     0       0       36      2007-01-01
10658 1109    1108    0       0       \N      1970-01-01
10659 1111    1110    0       0       \N      1970-01-01
10660 1113    1112    0       0       \N      1970-01-01
10661 1116    1114    0       0       \N      1970-01-01
10662 1119    863     0       0       \N      1970-01-01
10663 \.
10664
10665
10666 --
10667 -- Data for Name: taxzone_charts; Type: TABLE DATA; Schema: public; Owner: kivitendo
10668 --
10669
10670 COPY public.taxzone_charts (id, taxzone_id, buchungsgruppen_id, income_accno_id, expense_accno_id, itime) FROM stdin;
10671 3       1       860     145     41      2018-11-30 19:56:01.945692
10672 4       1       859     152     41      2018-11-30 19:56:01.945692
10673 5       2       860     150     38      2018-11-30 19:56:01.945692
10674 6       2       859     151     39      2018-11-30 19:56:01.945692
10675 7       3       860     144     216     2018-11-30 19:56:01.945692
10676 8       3       859     144     216     2018-11-30 19:56:01.945692
10677 1       4       860     88      36      2018-11-30 19:56:01.945692
10678 2       4       859     184     37      2018-11-30 19:56:01.945692
10679 \.
10680
10681
10682 --
10683 -- Data for Name: time_recording_articles; Type: TABLE DATA; Schema: public; Owner: kivitendo
10684 --
10685
10686 COPY public.time_recording_articles (id, part_id, "position") FROM stdin;
10687 \.
10688
10689
10690 --
10691 -- Data for Name: time_recordings; Type: TABLE DATA; Schema: public; Owner: kivitendo
10692 --
10693
10694 COPY public.time_recordings (id, customer_id, project_id, start_time, end_time, description, staff_member_id, employee_id, itime, mtime, booked, payroll, part_id, date, duration, order_id) FROM stdin;
10695 \.
10696
10697
10698 --
10699 -- Data for Name: todo_user_config; Type: TABLE DATA; Schema: public; Owner: kivitendo
10700 --
10701
10702 COPY public.todo_user_config (employee_id, show_after_login, show_follow_ups, show_follow_ups_login, show_overdue_sales_quotations, show_overdue_sales_quotations_login, id) FROM stdin;
10703 \.
10704
10705
10706 --
10707 -- Data for Name: transfer_type; Type: TABLE DATA; Schema: public; Owner: kivitendo
10708 --
10709
10710 COPY public.transfer_type (id, direction, description, sortkey, itime, mtime) FROM stdin;
10711 879     in      stock   1       2018-11-30 19:55:47.68458       \N
10712 880     in      found   2       2018-11-30 19:55:47.68458       \N
10713 881     in      correction      3       2018-11-30 19:55:47.68458       \N
10714 882     out     used    4       2018-11-30 19:55:47.68458       \N
10715 883     out     disposed        5       2018-11-30 19:55:47.68458       \N
10716 884     out     back    6       2018-11-30 19:55:47.68458       \N
10717 885     out     missing 7       2018-11-30 19:55:47.68458       \N
10718 886     out     correction      9       2018-11-30 19:55:47.68458       \N
10719 887     transfer        transfer        10      2018-11-30 19:55:47.68458       \N
10720 888     transfer        correction      11      2018-11-30 19:55:47.68458       \N
10721 889     out     shipped 12      2018-11-30 19:55:48.001091      \N
10722 890     in      assembled       13      2018-11-30 19:56:05.265398      \N
10723 891     in      stocktaking     14      2021-01-16 23:40:31.412921      \N
10724 892     out     stocktaking     15      2021-01-16 23:40:31.412921      \N
10725 \.
10726
10727
10728 --
10729 -- Data for Name: translation; Type: TABLE DATA; Schema: public; Owner: kivitendo
10730 --
10731
10732 COPY public.translation (parts_id, language_id, translation, itime, mtime, longdescription, id) FROM stdin;
10733 \.
10734
10735
10736 --
10737 -- Data for Name: trigger_information; Type: TABLE DATA; Schema: public; Owner: kivitendo
10738 --
10739
10740 COPY public.trigger_information (id, key, value) FROM stdin;
10741 \.
10742
10743
10744 --
10745 -- Data for Name: units; Type: TABLE DATA; Schema: public; Owner: kivitendo
10746 --
10747
10748 COPY public.units (name, base_unit, factor, type, sortkey, id) FROM stdin;
10749 Stck    \N      \N      dimension       1       1
10750 psch    \N      0.00000 service 2       2
10751 Tag     Std     8.00000 service 3       3
10752 Std     min     60.00000        service 4       4
10753 min     \N      0.00000 service 5       5
10754 t       kg      1000.00000      dimension       6       6
10755 kg      g       1000.00000      dimension       7       7
10756 g       mg      1000.00000      dimension       8       8
10757 mg      \N      \N      dimension       9       9
10758 L       ml      1000.00000      dimension       10      10
10759 ml      \N      \N      dimension       11      11
10760 \.
10761
10762
10763 --
10764 -- Data for Name: units_language; Type: TABLE DATA; Schema: public; Owner: kivitendo
10765 --
10766
10767 COPY public.units_language (unit, language_id, localized, localized_plural, id) FROM stdin;
10768 \.
10769
10770
10771 --
10772 -- Data for Name: user_preferences; Type: TABLE DATA; Schema: public; Owner: kivitendo
10773 --
10774
10775 COPY public.user_preferences (id, login, namespace, version, key, value) FROM stdin;
10776 1       #default#       DisplayableName 0.00000 SL::DB::Customer        <%customernumber%> <%name%>
10777 2       #default#       DisplayableName 0.00000 SL::DB::Vendor  <%vendornumber%> <%name%>
10778 3       #default#       DisplayableName 0.00000 SL::DB::Part    <%partnumber%> <%description%>
10779 \.
10780
10781
10782 --
10783 -- Data for Name: validity_tokens; Type: TABLE DATA; Schema: public; Owner: kivitendo
10784 --
10785
10786 COPY public.validity_tokens (id, scope, token, itime, valid_until) FROM stdin;
10787 \.
10788
10789
10790 --
10791 -- Data for Name: vendor; Type: TABLE DATA; Schema: public; Owner: kivitendo
10792 --
10793
10794 COPY public.vendor (id, name, department_1, department_2, street, zipcode, city, country, contact, phone, fax, homepage, email, notes, taxincluded, vendornumber, cc, bcc, business_id, taxnumber, discount, creditlimit, account_number, bank_code, bank, language, itime, mtime, obsolete, username, user_password, salesman_id, v_customer_id, language_id, payment_id, taxzone_id, greeting, ustid, iban, bic, direct_debit, depositor, delivery_term_id, currency_id, gln, natural_person) FROM stdin;
10795 \.
10796
10797
10798 --
10799 -- Data for Name: warehouse; Type: TABLE DATA; Schema: public; Owner: kivitendo
10800 --
10801
10802 COPY public.warehouse (id, description, itime, mtime, sortkey, invalid) FROM stdin;
10803 \.
10804
10805
10806 --
10807 -- Data for Name: report_categories; Type: TABLE DATA; Schema: tax; Owner: kivitendo
10808 --
10809
10810 COPY tax.report_categories (id, description, subdescription) FROM stdin;
10811 0               
10812 1       Lieferungen und sonstige Leistungen     (einschließlich unentgeltlicher Wertabgaben)
10813 2       Innergemeinschaftliche Erwerbe  
10814 3       Ergänzende Angaben zu Umsätzen        
10815 99      Summe   
10816 \.
10817
10818
10819 --
10820 -- Data for Name: report_headings; Type: TABLE DATA; Schema: tax; Owner: kivitendo
10821 --
10822
10823 COPY tax.report_headings (id, category_id, type, description, subdescription) FROM stdin;
10824 0       0                       
10825 1       1       received        Steuerfreie Umsätze mit Vorsteuerabzug 
10826 2       1       recieved        Steuerfreie Umsätze ohne Vorsteuerabzug        
10827 3       1       recieved        Steuerpflichtige Umsätze       (Lieferungen und sonstige Leistungen einschl. unentgeltlicher Wertabgaben)
10828 4       2       recieved        Steuerfreie innergemeinschaftliche Erwerbe      
10829 5       2       recieved        Steuerpflichtige innergemeinschaftliche Erwerbe 
10830 6       3       recieved        Umsätze, für die als Leistungsempfänger die Steuer nach Â§ 13b Abs. 2 UStG geschuldet wird   
10831 66      3       recieved                
10832 7       3       paied   Abziehbare Vorsteuerbeträge    
10833 8       3       paied   Andere Steuerbeträge   
10834 99      99              Summe   
10835 \.
10836
10837
10838 --
10839 -- Data for Name: report_variables; Type: TABLE DATA; Schema: tax; Owner: kivitendo
10840 --
10841
10842 COPY tax.report_variables (id, "position", heading_id, description, taxbase, dec_places, valid_from) FROM stdin;
10843 0       keine   0       < < < keine UStVa Position > > >                        1970-01-01
10844 1       41      1       Innergemeinschaftliche Lieferungen (§ 4 Nr. 1 Buchst. b UStG) an Abnehmer mit USt-IdNr.        0       0       1970-01-01
10845 2       44      1       neuer Fahrzeuge an Abnehmer ohne USt-IdNr.      0       0       1970-01-01
10846 3       49      1       neuer Fahrzeuge außerhalb eines Unternehmens (§ 2a UStG)      0       0       1970-01-01
10847 4       43      1       Weitere steuerfreie Umsätze mit Vorsteuerabzug 0       0       1970-01-01
10848 5       48      2       Umsätze nach Â§ 4 Nr. 8 bis 28 UStG    0       0       1970-01-01
10849 6       51      3       zum Steuersatz von 16 % 0       0       1970-01-01
10850 7       511     3               6       2       1970-01-01
10851 8       81      3       zum Steuersatz von 19 % 0       0       1970-01-01
10852 9       811     3               8       2       1970-01-01
10853 10      86      3       zum Steuersatz von 7 %  0       0       1970-01-01
10854 11      861     3               10      2       1970-01-01
10855 12      35      3       Umsätze, die anderen Steuersätzen unterliegen 0       0       1970-01-01
10856 13      36      3               12      2       1970-01-01
10857 14      77      3       Lieferungen in das Ã¼brige Gemeinschaftsgebiet an Abnehmer mit USt-IdNr.        0       0       1970-01-01
10858 15      76      3       Umsätze, für die eine Steuer nach Â§ 24 UStG zu entrichten ist        0       0       1970-01-01
10859 16      80      3               15      2       1970-01-01
10860 17      91      4       Erwerbe nach Â§ 4b UStG 0       0       1970-01-01
10861 18      97      5       zum Steuersatz von 16 % 0       0       1970-01-01
10862 19      971     5               18      2       1970-01-01
10863 20      89      5       zum Steuersatz von 19 % 0       0       1970-01-01
10864 21      891     5               20      2       1970-01-01
10865 22      93      5       zum Steuersatz von 7 %  0       0       1970-01-01
10866 23      931     5               22      2       1970-01-01
10867 24      95      5       zu anderen Steuersätzen        0       0       1970-01-01
10868 25      98      5               24      2       1970-01-01
10869 26      94      5       neuer Fahrzeuge von Lieferern ohne USt-IdNr. zum allgemeinen Steuersatz 0       0       1970-01-01
10870 27      96      5               26      2       1970-01-01
10871 28      42      66      Lieferungen des ersten Abnehmers bei innergemeinschaftlichen Dreiecksgeschäften (§ 25b Abs. 2 UStG)   0       0       1970-01-01
10872 29      60      66      Steuerpflichtige Umsätze im Sinne des Â§ 13b Abs. 1 Satz 1 Nr. 1 bis 5 UStG, für die der Leistungsempfänger die Steuer schuldet      0       0       1970-01-01
10873 30      45      66      Nicht steuerbare Umsätze (Leistungsort nicht im Inland)        0       0       1970-01-01
10874 31      52      6       Leistungen eines im Ausland ansässigen Unternehmers (§ 13b Abs. 1 Satz 1 Nr. 1 und 5 UStG)    0       0       1970-01-01
10875 32      53      6               31      2       1970-01-01
10876 33      73      6       Lieferungen sicherungsübereigneter Gegenstände und Umsätze, die unter das GrEStG fallen (§ 13b Abs. 1 Satz 1 Nr. 2 und 3 UStG)      0       0       1970-01-01
10877 34      74      6               33      2       1970-01-01
10878 35      84      6       Bauleistungen eines im Inland ansässigen Unternehmers (§ 13b Abs. 1 Satz 1 Nr. 4 UStG)        0       0       1970-01-01
10879 36      85      6               35      2       1970-01-01
10880 37      65      6       Steuer infolge Wechsels der Besteuerungsform sowie Nachsteuer auf versteuerte Anzahlungen u. Ã¤. wegen Steuersatzänderung              2       1970-01-01
10881 38      66      7       Vorsteuerbeträge aus Rechnungen von anderen Unternehmern (§ 15 Abs. 1 Satz 1 Nr. 1 UStG), aus Leistungen im Sinne des Â§ 13a Abs. 1 Nr. 6 UStG (§ 15 Abs. 1 Satz 1 Nr. 5 UStG) und aus innergemeinschaftlichen Dreiecksgeschäften (§ 25b Abs. 5 UStG)              2       1970-01-01
10882 39      61      7       Vorsteuerbeträge aus dem innergemeinschaftlichen Erwerb von Gegenständen (§ 15 Abs. 1 Satz 1 Nr. 3 UStG)             2       1970-01-01
10883 40      62      7       Entrichtete Einfuhrumsatzsteuer (§ 15 Abs. 1 Satz 1 Nr. 2 UStG)                2       1970-01-01
10884 41      67      7       Vorsteuerbeträge aus Leistungen im Sinne des Â§ 13b Abs. 1 UStG (§ 15 Abs. 1 Satz 1 Nr. 4 UStG)               2       1970-01-01
10885 42      63      7       Vorsteuerbeträge, die nach allgemeinen Durchschnittssätzen berechnet sind (§§ 23 und 23a UStG)              2       1970-01-01
10886 43      64      7       Berichtigung des Vorsteuerabzugs (§ 15a UStG)          2       1970-01-01
10887 44      59      7       Vorsteuerabzug für innergemeinschaftliche Lieferungen neuer Fahrzeuge außerhalb eines Unternehmens (§ 2a UStG) sowie von Kleinunternehmern im Sinne des Â§ 19 Abs. 1 UStG (§ 15 Abs. 4a UStG)               2       1970-01-01
10888 45      69      8       in Rechnungen unrichtig oder unberechtigt ausgewiesene Steuerbeträge (§ 14c UStG) sowie Steuerbeträge, die nach Â§ 4 Nr. 4a Satz 1 Buchst. a Satz 2, Â§ 6a Abs. 4 Satz 2, Â§ 17 Abs. 1 Satz 6 oder Â§ 25b Abs. 2 UStG geschuldet werden              2       1970-01-01
10889 46      39      8       Anrechnung (Abzug) der festgesetzten Sondervorauszahlung für Dauerfristverlängerung (nur auszufüllen in der letzten Voranmeldung des Besteuerungszeitraums, in der Regel Dezember)           2       1970-01-01
10890 47      21      66      Nicht steuerbare sonstige Leistungen gem. Â§ 18b Satz 1 Nr. 2 UStG      0       0       2010-01-01
10891 48      46      6       Im Inland steuerpflichtige sonstige Leistungen von im Ã¼brigen Gemeinschaftsgebiet ansässigen Unternehmen (§13b Abs. 1 UStG)  0       0       2010-01-01
10892 49      47      6               49      2       2010-01-01
10893 50      83      8       Verbleibender Ãœberschuss - bitte dem Betrag ein Minuszeichen voranstellen -    0       2       2010-01-01
10894 \.
10895
10896
10897 --
10898 -- Name: acc_trans_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10899 --
10900
10901 SELECT pg_catalog.setval('public.acc_trans_id_seq', 1, true);
10902
10903
10904 --
10905 -- Name: additional_billing_addresses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10906 --
10907
10908 SELECT pg_catalog.setval('public.additional_billing_addresses_id_seq', 1, false);
10909
10910
10911 --
10912 -- Name: assembly_assembly_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10913 --
10914
10915 SELECT pg_catalog.setval('public.assembly_assembly_id_seq', 1, false);
10916
10917
10918 --
10919 -- Name: background_job_histories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10920 --
10921
10922 SELECT pg_catalog.setval('public.background_job_histories_id_seq', 1, false);
10923
10924
10925 --
10926 -- Name: background_jobs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10927 --
10928
10929 SELECT pg_catalog.setval('public.background_jobs_id_seq', 8, true);
10930
10931
10932 --
10933 -- Name: bank_transaction_acc_trans_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10934 --
10935
10936 SELECT pg_catalog.setval('public.bank_transaction_acc_trans_id_seq', 1, false);
10937
10938
10939 --
10940 -- Name: bank_transactions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10941 --
10942
10943 SELECT pg_catalog.setval('public.bank_transactions_id_seq', 1, false);
10944
10945
10946 --
10947 -- Name: contact_departments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10948 --
10949
10950 SELECT pg_catalog.setval('public.contact_departments_id_seq', 1, false);
10951
10952
10953 --
10954 -- Name: contact_titles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10955 --
10956
10957 SELECT pg_catalog.setval('public.contact_titles_id_seq', 1, false);
10958
10959
10960 --
10961 -- Name: csv_import_profile_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10962 --
10963
10964 SELECT pg_catalog.setval('public.csv_import_profile_settings_id_seq', 10, true);
10965
10966
10967 --
10968 -- Name: csv_import_profiles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10969 --
10970
10971 SELECT pg_catalog.setval('public.csv_import_profiles_id_seq', 1, true);
10972
10973
10974 --
10975 -- Name: csv_import_report_rows_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10976 --
10977
10978 SELECT pg_catalog.setval('public.csv_import_report_rows_id_seq', 1, false);
10979
10980
10981 --
10982 -- Name: csv_import_report_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10983 --
10984
10985 SELECT pg_catalog.setval('public.csv_import_report_status_id_seq', 1, false);
10986
10987
10988 --
10989 -- Name: csv_import_reports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10990 --
10991
10992 SELECT pg_catalog.setval('public.csv_import_reports_id_seq', 1, false);
10993
10994
10995 --
10996 -- Name: currencies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
10997 --
10998
10999 SELECT pg_catalog.setval('public.currencies_id_seq', 2, true);
11000
11001
11002 --
11003 -- Name: custom_data_export_queries_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11004 --
11005
11006 SELECT pg_catalog.setval('public.custom_data_export_queries_id_seq', 1, false);
11007
11008
11009 --
11010 -- Name: custom_data_export_query_parameters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11011 --
11012
11013 SELECT pg_catalog.setval('public.custom_data_export_query_parameters_id_seq', 1, false);
11014
11015
11016 --
11017 -- Name: custom_variable_configs_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11018 --
11019
11020 SELECT pg_catalog.setval('public.custom_variable_configs_id', 1, false);
11021
11022
11023 --
11024 -- Name: custom_variables_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11025 --
11026
11027 SELECT pg_catalog.setval('public.custom_variables_id', 1, false);
11028
11029
11030 --
11031 -- Name: datev_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11032 --
11033
11034 SELECT pg_catalog.setval('public.datev_id_seq', 1, false);
11035
11036
11037 --
11038 -- Name: defaults_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11039 --
11040
11041 SELECT pg_catalog.setval('public.defaults_id_seq', 1, true);
11042
11043
11044 --
11045 -- Name: delivery_order_items_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11046 --
11047
11048 SELECT pg_catalog.setval('public.delivery_order_items_id', 1, false);
11049
11050
11051 --
11052 -- Name: email_imports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11053 --
11054
11055 SELECT pg_catalog.setval('public.email_imports_id_seq', 1, false);
11056
11057
11058 --
11059 -- Name: email_journal_attachments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11060 --
11061
11062 SELECT pg_catalog.setval('public.email_journal_attachments_id_seq', 1, false);
11063
11064
11065 --
11066 -- Name: email_journal_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11067 --
11068
11069 SELECT pg_catalog.setval('public.email_journal_id_seq', 1, false);
11070
11071
11072 --
11073 -- Name: exchangerate_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11074 --
11075
11076 SELECT pg_catalog.setval('public.exchangerate_id_seq', 1, false);
11077
11078
11079 --
11080 -- Name: file_full_texts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11081 --
11082
11083 SELECT pg_catalog.setval('public.file_full_texts_id_seq', 1, false);
11084
11085
11086 --
11087 -- Name: files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11088 --
11089
11090 SELECT pg_catalog.setval('public.files_id_seq', 1, false);
11091
11092
11093 --
11094 -- Name: finanzamt_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11095 --
11096
11097 SELECT pg_catalog.setval('public.finanzamt_id_seq', 686, true);
11098
11099
11100 --
11101 -- Name: follow_up_access_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11102 --
11103
11104 SELECT pg_catalog.setval('public.follow_up_access_id_seq', 1, false);
11105
11106
11107 --
11108 -- Name: follow_up_created_for_employees_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11109 --
11110
11111 SELECT pg_catalog.setval('public.follow_up_created_for_employees_id_seq', 1, false);
11112
11113
11114 --
11115 -- Name: follow_up_done_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11116 --
11117
11118 SELECT pg_catalog.setval('public.follow_up_done_id_seq', 1, false);
11119
11120
11121 --
11122 -- Name: follow_up_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11123 --
11124
11125 SELECT pg_catalog.setval('public.follow_up_id', 1, false);
11126
11127
11128 --
11129 -- Name: follow_up_link_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11130 --
11131
11132 SELECT pg_catalog.setval('public.follow_up_link_id', 1, false);
11133
11134
11135 --
11136 -- Name: generic_translations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11137 --
11138
11139 SELECT pg_catalog.setval('public.generic_translations_id_seq', 1, false);
11140
11141
11142 --
11143 -- Name: glid; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11144 --
11145
11146 SELECT pg_catalog.setval('public.glid', 1, false);
11147
11148
11149 --
11150 -- Name: greetings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11151 --
11152
11153 SELECT pg_catalog.setval('public.greetings_id_seq', 1, false);
11154
11155
11156 --
11157 -- Name: id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11158 --
11159
11160 SELECT pg_catalog.setval('public.id', 1119, true);
11161
11162
11163 --
11164 -- Name: inventory_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11165 --
11166
11167 SELECT pg_catalog.setval('public.inventory_id_seq', 1, false);
11168
11169
11170 --
11171 -- Name: invoiceid; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11172 --
11173
11174 SELECT pg_catalog.setval('public.invoiceid', 1, false);
11175
11176
11177 --
11178 -- Name: makemodel_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11179 --
11180
11181 SELECT pg_catalog.setval('public.makemodel_id_seq', 1, false);
11182
11183
11184 --
11185 -- Name: note_id; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11186 --
11187
11188 SELECT pg_catalog.setval('public.note_id', 1, false);
11189
11190
11191 --
11192 -- Name: order_statuses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11193 --
11194
11195 SELECT pg_catalog.setval('public.order_statuses_id_seq', 1, true);
11196
11197
11198 --
11199 -- Name: orderitemsid; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11200 --
11201
11202 SELECT pg_catalog.setval('public.orderitemsid', 1, false);
11203
11204
11205 --
11206 -- Name: part_classifications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11207 --
11208
11209 SELECT pg_catalog.setval('public.part_classifications_id_seq', 4, true);
11210
11211
11212 --
11213 -- Name: part_customer_prices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11214 --
11215
11216 SELECT pg_catalog.setval('public.part_customer_prices_id_seq', 1, false);
11217
11218
11219 --
11220 -- Name: parts_price_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11221 --
11222
11223 SELECT pg_catalog.setval('public.parts_price_history_id_seq', 1, false);
11224
11225
11226 --
11227 -- Name: price_rule_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11228 --
11229
11230 SELECT pg_catalog.setval('public.price_rule_items_id_seq', 1, false);
11231
11232
11233 --
11234 -- Name: price_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11235 --
11236
11237 SELECT pg_catalog.setval('public.price_rules_id_seq', 1, false);
11238
11239
11240 --
11241 -- Name: prices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11242 --
11243
11244 SELECT pg_catalog.setval('public.prices_id_seq', 1, false);
11245
11246
11247 --
11248 -- Name: project_participants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11249 --
11250
11251 SELECT pg_catalog.setval('public.project_participants_id_seq', 1, false);
11252
11253
11254 --
11255 -- Name: project_phase_participants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11256 --
11257
11258 SELECT pg_catalog.setval('public.project_phase_participants_id_seq', 1, false);
11259
11260
11261 --
11262 -- Name: project_phases_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11263 --
11264
11265 SELECT pg_catalog.setval('public.project_phases_id_seq', 1, false);
11266
11267
11268 --
11269 -- Name: project_roles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11270 --
11271
11272 SELECT pg_catalog.setval('public.project_roles_id_seq', 1, false);
11273
11274
11275 --
11276 -- Name: project_status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11277 --
11278
11279 SELECT pg_catalog.setval('public.project_status_id_seq', 4, true);
11280
11281
11282 --
11283 -- Name: project_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11284 --
11285
11286 SELECT pg_catalog.setval('public.project_types_id_seq', 3, true);
11287
11288
11289 --
11290 -- Name: purchase_basket_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11291 --
11292
11293 SELECT pg_catalog.setval('public.purchase_basket_items_id_seq', 1, false);
11294
11295
11296 --
11297 -- Name: reclamation_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11298 --
11299
11300 SELECT pg_catalog.setval('public.reclamation_items_id_seq', 1, false);
11301
11302
11303 --
11304 -- Name: reclamation_reasons_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11305 --
11306
11307 SELECT pg_catalog.setval('public.reclamation_reasons_id_seq', 1, false);
11308
11309
11310 --
11311 -- Name: record_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11312 --
11313
11314 SELECT pg_catalog.setval('public.record_links_id_seq', 1, false);
11315
11316
11317 --
11318 -- Name: record_template_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11319 --
11320
11321 SELECT pg_catalog.setval('public.record_template_items_id_seq', 1, false);
11322
11323
11324 --
11325 -- Name: record_templates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11326 --
11327
11328 SELECT pg_catalog.setval('public.record_templates_id_seq', 1, false);
11329
11330
11331 --
11332 -- Name: requirement_spec_acceptance_statuses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11333 --
11334
11335 SELECT pg_catalog.setval('public.requirement_spec_acceptance_statuses_id_seq', 4, true);
11336
11337
11338 --
11339 -- Name: requirement_spec_complexities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11340 --
11341
11342 SELECT pg_catalog.setval('public.requirement_spec_complexities_id_seq', 5, true);
11343
11344
11345 --
11346 -- Name: requirement_spec_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11347 --
11348
11349 SELECT pg_catalog.setval('public.requirement_spec_items_id_seq', 1, false);
11350
11351
11352 --
11353 -- Name: requirement_spec_orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11354 --
11355
11356 SELECT pg_catalog.setval('public.requirement_spec_orders_id_seq', 1, false);
11357
11358
11359 --
11360 -- Name: requirement_spec_parts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11361 --
11362
11363 SELECT pg_catalog.setval('public.requirement_spec_parts_id_seq', 1, false);
11364
11365
11366 --
11367 -- Name: requirement_spec_pictures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11368 --
11369
11370 SELECT pg_catalog.setval('public.requirement_spec_pictures_id_seq', 1, false);
11371
11372
11373 --
11374 -- Name: requirement_spec_predefined_texts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11375 --
11376
11377 SELECT pg_catalog.setval('public.requirement_spec_predefined_texts_id_seq', 1, false);
11378
11379
11380 --
11381 -- Name: requirement_spec_risks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11382 --
11383
11384 SELECT pg_catalog.setval('public.requirement_spec_risks_id_seq', 5, true);
11385
11386
11387 --
11388 -- Name: requirement_spec_statuses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11389 --
11390
11391 SELECT pg_catalog.setval('public.requirement_spec_statuses_id_seq', 3, true);
11392
11393
11394 --
11395 -- Name: requirement_spec_text_blocks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11396 --
11397
11398 SELECT pg_catalog.setval('public.requirement_spec_text_blocks_id_seq', 1, false);
11399
11400
11401 --
11402 -- Name: requirement_spec_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11403 --
11404
11405 SELECT pg_catalog.setval('public.requirement_spec_types_id_seq', 2, true);
11406
11407
11408 --
11409 -- Name: requirement_spec_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11410 --
11411
11412 SELECT pg_catalog.setval('public.requirement_spec_versions_id_seq', 1, false);
11413
11414
11415 --
11416 -- Name: requirement_specs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11417 --
11418
11419 SELECT pg_catalog.setval('public.requirement_specs_id_seq', 1, false);
11420
11421
11422 --
11423 -- Name: sepa_export_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11424 --
11425
11426 SELECT pg_catalog.setval('public.sepa_export_id_seq', 1, false);
11427
11428
11429 --
11430 -- Name: sepa_export_message_ids_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11431 --
11432
11433 SELECT pg_catalog.setval('public.sepa_export_message_ids_id_seq', 1, false);
11434
11435
11436 --
11437 -- Name: shop_images_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11438 --
11439
11440 SELECT pg_catalog.setval('public.shop_images_id_seq', 1, false);
11441
11442
11443 --
11444 -- Name: shop_order_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11445 --
11446
11447 SELECT pg_catalog.setval('public.shop_order_items_id_seq', 1, false);
11448
11449
11450 --
11451 -- Name: shop_orders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11452 --
11453
11454 SELECT pg_catalog.setval('public.shop_orders_id_seq', 1, false);
11455
11456
11457 --
11458 -- Name: shop_parts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11459 --
11460
11461 SELECT pg_catalog.setval('public.shop_parts_id_seq', 1, false);
11462
11463
11464 --
11465 -- Name: shops_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11466 --
11467
11468 SELECT pg_catalog.setval('public.shops_id_seq', 1, false);
11469
11470
11471 --
11472 -- Name: status_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11473 --
11474
11475 SELECT pg_catalog.setval('public.status_id_seq', 1, false);
11476
11477
11478 --
11479 -- Name: taxzone_charts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11480 --
11481
11482 SELECT pg_catalog.setval('public.taxzone_charts_id_seq', 8, true);
11483
11484
11485 --
11486 -- Name: time_recording_articles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11487 --
11488
11489 SELECT pg_catalog.setval('public.time_recording_articles_id_seq', 1, false);
11490
11491
11492 --
11493 -- Name: time_recordings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11494 --
11495
11496 SELECT pg_catalog.setval('public.time_recordings_id_seq', 1, false);
11497
11498
11499 --
11500 -- Name: todo_user_config_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11501 --
11502
11503 SELECT pg_catalog.setval('public.todo_user_config_id_seq', 1, false);
11504
11505
11506 --
11507 -- Name: translation_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11508 --
11509
11510 SELECT pg_catalog.setval('public.translation_id_seq', 1, false);
11511
11512
11513 --
11514 -- Name: trigger_information_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11515 --
11516
11517 SELECT pg_catalog.setval('public.trigger_information_id_seq', 1, false);
11518
11519
11520 --
11521 -- Name: units_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11522 --
11523
11524 SELECT pg_catalog.setval('public.units_id_seq', 11, true);
11525
11526
11527 --
11528 -- Name: units_language_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11529 --
11530
11531 SELECT pg_catalog.setval('public.units_language_id_seq', 1, false);
11532
11533
11534 --
11535 -- Name: user_preferences_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11536 --
11537
11538 SELECT pg_catalog.setval('public.user_preferences_id_seq', 3, true);
11539
11540
11541 --
11542 -- Name: validity_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: kivitendo
11543 --
11544
11545 SELECT pg_catalog.setval('public.validity_tokens_id_seq', 1, false);
11546
11547
11548 --
11549 -- Name: acc_trans acc_trans_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11550 --
11551
11552 ALTER TABLE ONLY public.acc_trans
11553     ADD CONSTRAINT acc_trans_pkey PRIMARY KEY (acc_trans_id);
11554
11555
11556 --
11557 -- Name: additional_billing_addresses additional_billing_addresses_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11558 --
11559
11560 ALTER TABLE ONLY public.additional_billing_addresses
11561     ADD CONSTRAINT additional_billing_addresses_pkey PRIMARY KEY (id);
11562
11563
11564 --
11565 -- Name: ap_gl ap_gl_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11566 --
11567
11568 ALTER TABLE ONLY public.ap_gl
11569     ADD CONSTRAINT ap_gl_pkey PRIMARY KEY (ap_id, gl_id);
11570
11571
11572 --
11573 -- Name: ap ap_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11574 --
11575
11576 ALTER TABLE ONLY public.ap
11577     ADD CONSTRAINT ap_pkey PRIMARY KEY (id);
11578
11579
11580 --
11581 -- Name: ar ar_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11582 --
11583
11584 ALTER TABLE ONLY public.ar
11585     ADD CONSTRAINT ar_pkey PRIMARY KEY (id);
11586
11587
11588 --
11589 -- Name: assembly assembly_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11590 --
11591
11592 ALTER TABLE ONLY public.assembly
11593     ADD CONSTRAINT assembly_pkey PRIMARY KEY (assembly_id);
11594
11595
11596 --
11597 -- Name: assortment_items assortment_part_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11598 --
11599
11600 ALTER TABLE ONLY public.assortment_items
11601     ADD CONSTRAINT assortment_part_pkey PRIMARY KEY (assortment_id, parts_id);
11602
11603
11604 --
11605 -- Name: background_job_histories background_job_histories_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11606 --
11607
11608 ALTER TABLE ONLY public.background_job_histories
11609     ADD CONSTRAINT background_job_histories_pkey PRIMARY KEY (id);
11610
11611
11612 --
11613 -- Name: background_jobs background_jobs_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11614 --
11615
11616 ALTER TABLE ONLY public.background_jobs
11617     ADD CONSTRAINT background_jobs_pkey PRIMARY KEY (id);
11618
11619
11620 --
11621 -- Name: bank_accounts bank_accounts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11622 --
11623
11624 ALTER TABLE ONLY public.bank_accounts
11625     ADD CONSTRAINT bank_accounts_pkey PRIMARY KEY (id);
11626
11627
11628 --
11629 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11630 --
11631
11632 ALTER TABLE ONLY public.bank_transaction_acc_trans
11633     ADD CONSTRAINT bank_transaction_acc_trans_pkey PRIMARY KEY (bank_transaction_id, acc_trans_id);
11634
11635
11636 --
11637 -- Name: bank_transactions bank_transactions_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11638 --
11639
11640 ALTER TABLE ONLY public.bank_transactions
11641     ADD CONSTRAINT bank_transactions_pkey PRIMARY KEY (id);
11642
11643
11644 --
11645 -- Name: bin bin_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11646 --
11647
11648 ALTER TABLE ONLY public.bin
11649     ADD CONSTRAINT bin_pkey PRIMARY KEY (id);
11650
11651
11652 --
11653 -- Name: buchungsgruppen buchungsgruppen_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11654 --
11655
11656 ALTER TABLE ONLY public.buchungsgruppen
11657     ADD CONSTRAINT buchungsgruppen_pkey PRIMARY KEY (id);
11658
11659
11660 --
11661 -- Name: business_models business_models_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11662 --
11663
11664 ALTER TABLE ONLY public.business_models
11665     ADD CONSTRAINT business_models_pkey PRIMARY KEY (parts_id, business_id);
11666
11667
11668 --
11669 -- Name: business business_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11670 --
11671
11672 ALTER TABLE ONLY public.business
11673     ADD CONSTRAINT business_pkey PRIMARY KEY (id);
11674
11675
11676 --
11677 -- Name: bank_accounts chart_id_unique; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11678 --
11679
11680 ALTER TABLE ONLY public.bank_accounts
11681     ADD CONSTRAINT chart_id_unique UNIQUE (chart_id);
11682
11683
11684 --
11685 -- Name: chart chart_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11686 --
11687
11688 ALTER TABLE ONLY public.chart
11689     ADD CONSTRAINT chart_pkey PRIMARY KEY (id);
11690
11691
11692 --
11693 -- Name: contact_departments contact_departments_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11694 --
11695
11696 ALTER TABLE ONLY public.contact_departments
11697     ADD CONSTRAINT contact_departments_description_key UNIQUE (description);
11698
11699
11700 --
11701 -- Name: contact_departments contact_departments_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11702 --
11703
11704 ALTER TABLE ONLY public.contact_departments
11705     ADD CONSTRAINT contact_departments_pkey PRIMARY KEY (id);
11706
11707
11708 --
11709 -- Name: contact_titles contact_titles_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11710 --
11711
11712 ALTER TABLE ONLY public.contact_titles
11713     ADD CONSTRAINT contact_titles_description_key UNIQUE (description);
11714
11715
11716 --
11717 -- Name: contact_titles contact_titles_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11718 --
11719
11720 ALTER TABLE ONLY public.contact_titles
11721     ADD CONSTRAINT contact_titles_pkey PRIMARY KEY (id);
11722
11723
11724 --
11725 -- Name: contacts contacts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11726 --
11727
11728 ALTER TABLE ONLY public.contacts
11729     ADD CONSTRAINT contacts_pkey PRIMARY KEY (cp_id);
11730
11731
11732 --
11733 -- Name: csv_import_profile_settings csv_import_profile_settings_csv_import_profile_id_key_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11734 --
11735
11736 ALTER TABLE ONLY public.csv_import_profile_settings
11737     ADD CONSTRAINT csv_import_profile_settings_csv_import_profile_id_key_key UNIQUE (csv_import_profile_id, key);
11738
11739
11740 --
11741 -- Name: csv_import_profile_settings csv_import_profile_settings_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11742 --
11743
11744 ALTER TABLE ONLY public.csv_import_profile_settings
11745     ADD CONSTRAINT csv_import_profile_settings_pkey PRIMARY KEY (id);
11746
11747
11748 --
11749 -- Name: csv_import_profiles csv_import_profiles_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11750 --
11751
11752 ALTER TABLE ONLY public.csv_import_profiles
11753     ADD CONSTRAINT csv_import_profiles_pkey PRIMARY KEY (id);
11754
11755
11756 --
11757 -- Name: csv_import_report_rows csv_import_report_rows_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11758 --
11759
11760 ALTER TABLE ONLY public.csv_import_report_rows
11761     ADD CONSTRAINT csv_import_report_rows_pkey PRIMARY KEY (id);
11762
11763
11764 --
11765 -- Name: csv_import_report_status csv_import_report_status_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11766 --
11767
11768 ALTER TABLE ONLY public.csv_import_report_status
11769     ADD CONSTRAINT csv_import_report_status_pkey PRIMARY KEY (id);
11770
11771
11772 --
11773 -- Name: csv_import_reports csv_import_reports_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11774 --
11775
11776 ALTER TABLE ONLY public.csv_import_reports
11777     ADD CONSTRAINT csv_import_reports_pkey PRIMARY KEY (id);
11778
11779
11780 --
11781 -- Name: currencies currencies_name_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11782 --
11783
11784 ALTER TABLE ONLY public.currencies
11785     ADD CONSTRAINT currencies_name_key UNIQUE (name);
11786
11787
11788 --
11789 -- Name: currencies currencies_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11790 --
11791
11792 ALTER TABLE ONLY public.currencies
11793     ADD CONSTRAINT currencies_pkey PRIMARY KEY (id);
11794
11795
11796 --
11797 -- Name: custom_data_export_queries custom_data_export_queries_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11798 --
11799
11800 ALTER TABLE ONLY public.custom_data_export_queries
11801     ADD CONSTRAINT custom_data_export_queries_pkey PRIMARY KEY (id);
11802
11803
11804 --
11805 -- Name: custom_data_export_query_parameters custom_data_export_query_parameters_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11806 --
11807
11808 ALTER TABLE ONLY public.custom_data_export_query_parameters
11809     ADD CONSTRAINT custom_data_export_query_parameters_pkey PRIMARY KEY (id);
11810
11811
11812 --
11813 -- Name: custom_variable_config_partsgroups custom_variable_config_partsgroups_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11814 --
11815
11816 ALTER TABLE ONLY public.custom_variable_config_partsgroups
11817     ADD CONSTRAINT custom_variable_config_partsgroups_pkey PRIMARY KEY (custom_variable_config_id, partsgroup_id);
11818
11819
11820 --
11821 -- Name: custom_variable_configs custom_variable_configs_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11822 --
11823
11824 ALTER TABLE ONLY public.custom_variable_configs
11825     ADD CONSTRAINT custom_variable_configs_pkey PRIMARY KEY (id);
11826
11827
11828 --
11829 -- Name: custom_variables custom_variables_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11830 --
11831
11832 ALTER TABLE ONLY public.custom_variables
11833     ADD CONSTRAINT custom_variables_pkey PRIMARY KEY (id);
11834
11835
11836 --
11837 -- Name: custom_variables_validity custom_variables_validity_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11838 --
11839
11840 ALTER TABLE ONLY public.custom_variables_validity
11841     ADD CONSTRAINT custom_variables_validity_pkey PRIMARY KEY (id);
11842
11843
11844 --
11845 -- Name: customer customer_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11846 --
11847
11848 ALTER TABLE ONLY public.customer
11849     ADD CONSTRAINT customer_pkey PRIMARY KEY (id);
11850
11851
11852 --
11853 -- Name: datev datev_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11854 --
11855
11856 ALTER TABLE ONLY public.datev
11857     ADD CONSTRAINT datev_pkey PRIMARY KEY (id);
11858
11859
11860 --
11861 -- Name: defaults defaults_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11862 --
11863
11864 ALTER TABLE ONLY public.defaults
11865     ADD CONSTRAINT defaults_pkey PRIMARY KEY (id);
11866
11867
11868 --
11869 -- Name: delivery_order_items delivery_order_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11870 --
11871
11872 ALTER TABLE ONLY public.delivery_order_items
11873     ADD CONSTRAINT delivery_order_items_pkey PRIMARY KEY (id);
11874
11875
11876 --
11877 -- Name: delivery_order_items_stock delivery_order_items_stock_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11878 --
11879
11880 ALTER TABLE ONLY public.delivery_order_items_stock
11881     ADD CONSTRAINT delivery_order_items_stock_pkey PRIMARY KEY (id);
11882
11883
11884 --
11885 -- Name: delivery_orders delivery_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11886 --
11887
11888 ALTER TABLE ONLY public.delivery_orders
11889     ADD CONSTRAINT delivery_orders_pkey PRIMARY KEY (id);
11890
11891
11892 --
11893 -- Name: delivery_terms delivery_terms_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11894 --
11895
11896 ALTER TABLE ONLY public.delivery_terms
11897     ADD CONSTRAINT delivery_terms_pkey PRIMARY KEY (id);
11898
11899
11900 --
11901 -- Name: department department_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11902 --
11903
11904 ALTER TABLE ONLY public.department
11905     ADD CONSTRAINT department_pkey PRIMARY KEY (id);
11906
11907
11908 --
11909 -- Name: drafts drafts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11910 --
11911
11912 ALTER TABLE ONLY public.drafts
11913     ADD CONSTRAINT drafts_pkey PRIMARY KEY (id);
11914
11915
11916 --
11917 -- Name: dunning_config dunning_config_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11918 --
11919
11920 ALTER TABLE ONLY public.dunning_config
11921     ADD CONSTRAINT dunning_config_pkey PRIMARY KEY (id);
11922
11923
11924 --
11925 -- Name: dunning dunning_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11926 --
11927
11928 ALTER TABLE ONLY public.dunning
11929     ADD CONSTRAINT dunning_pkey PRIMARY KEY (id);
11930
11931
11932 --
11933 -- Name: email_imports email_imports_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11934 --
11935
11936 ALTER TABLE ONLY public.email_imports
11937     ADD CONSTRAINT email_imports_pkey PRIMARY KEY (id);
11938
11939
11940 --
11941 -- Name: email_journal_attachments email_journal_attachments_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11942 --
11943
11944 ALTER TABLE ONLY public.email_journal_attachments
11945     ADD CONSTRAINT email_journal_attachments_pkey PRIMARY KEY (id);
11946
11947
11948 --
11949 -- Name: email_journal email_journal_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11950 --
11951
11952 ALTER TABLE ONLY public.email_journal
11953     ADD CONSTRAINT email_journal_pkey PRIMARY KEY (id);
11954
11955
11956 --
11957 -- Name: employee employee_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11958 --
11959
11960 ALTER TABLE ONLY public.employee
11961     ADD CONSTRAINT employee_pkey PRIMARY KEY (id);
11962
11963
11964 --
11965 -- Name: employee_project_invoices employee_project_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11966 --
11967
11968 ALTER TABLE ONLY public.employee_project_invoices
11969     ADD CONSTRAINT employee_project_invoices_pkey PRIMARY KEY (employee_id, project_id);
11970
11971
11972 --
11973 -- Name: exchangerate exchangerate_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11974 --
11975
11976 ALTER TABLE ONLY public.exchangerate
11977     ADD CONSTRAINT exchangerate_pkey PRIMARY KEY (id);
11978
11979
11980 --
11981 -- Name: file_full_texts file_full_texts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11982 --
11983
11984 ALTER TABLE ONLY public.file_full_texts
11985     ADD CONSTRAINT file_full_texts_pkey PRIMARY KEY (id);
11986
11987
11988 --
11989 -- Name: file_versions file_versions_guid_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11990 --
11991
11992 ALTER TABLE ONLY public.file_versions
11993     ADD CONSTRAINT file_versions_guid_key UNIQUE (guid);
11994
11995
11996 --
11997 -- Name: file_versions file_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
11998 --
11999
12000 ALTER TABLE ONLY public.file_versions
12001     ADD CONSTRAINT file_versions_pkey PRIMARY KEY (guid);
12002
12003
12004 --
12005 -- Name: files files_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12006 --
12007
12008 ALTER TABLE ONLY public.files
12009     ADD CONSTRAINT files_pkey PRIMARY KEY (id);
12010
12011
12012 --
12013 -- Name: finanzamt finanzamt_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12014 --
12015
12016 ALTER TABLE ONLY public.finanzamt
12017     ADD CONSTRAINT finanzamt_pkey PRIMARY KEY (id);
12018
12019
12020 --
12021 -- Name: follow_up_access follow_up_access_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12022 --
12023
12024 ALTER TABLE ONLY public.follow_up_access
12025     ADD CONSTRAINT follow_up_access_pkey PRIMARY KEY (id);
12026
12027
12028 --
12029 -- Name: follow_up_created_for_employees follow_up_created_for_employees_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12030 --
12031
12032 ALTER TABLE ONLY public.follow_up_created_for_employees
12033     ADD CONSTRAINT follow_up_created_for_employees_pkey PRIMARY KEY (id);
12034
12035
12036 --
12037 -- Name: follow_up_done follow_up_done_follow_up_id_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12038 --
12039
12040 ALTER TABLE ONLY public.follow_up_done
12041     ADD CONSTRAINT follow_up_done_follow_up_id_key UNIQUE (follow_up_id);
12042
12043
12044 --
12045 -- Name: follow_up_done follow_up_done_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12046 --
12047
12048 ALTER TABLE ONLY public.follow_up_done
12049     ADD CONSTRAINT follow_up_done_pkey PRIMARY KEY (id);
12050
12051
12052 --
12053 -- Name: follow_up_links follow_up_links_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12054 --
12055
12056 ALTER TABLE ONLY public.follow_up_links
12057     ADD CONSTRAINT follow_up_links_pkey PRIMARY KEY (id);
12058
12059
12060 --
12061 -- Name: follow_ups follow_ups_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12062 --
12063
12064 ALTER TABLE ONLY public.follow_ups
12065     ADD CONSTRAINT follow_ups_pkey PRIMARY KEY (id);
12066
12067
12068 --
12069 -- Name: generic_translations generic_translations_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12070 --
12071
12072 ALTER TABLE ONLY public.generic_translations
12073     ADD CONSTRAINT generic_translations_pkey PRIMARY KEY (id);
12074
12075
12076 --
12077 -- Name: gl gl_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12078 --
12079
12080 ALTER TABLE ONLY public.gl
12081     ADD CONSTRAINT gl_pkey PRIMARY KEY (id);
12082
12083
12084 --
12085 -- Name: greetings greetings_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12086 --
12087
12088 ALTER TABLE ONLY public.greetings
12089     ADD CONSTRAINT greetings_description_key UNIQUE (description);
12090
12091
12092 --
12093 -- Name: greetings greetings_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12094 --
12095
12096 ALTER TABLE ONLY public.greetings
12097     ADD CONSTRAINT greetings_pkey PRIMARY KEY (id);
12098
12099
12100 --
12101 -- Name: history_erp history_erp_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12102 --
12103
12104 ALTER TABLE ONLY public.history_erp
12105     ADD CONSTRAINT history_erp_pkey PRIMARY KEY (id);
12106
12107
12108 --
12109 -- Name: inventory inventory_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12110 --
12111
12112 ALTER TABLE ONLY public.inventory
12113     ADD CONSTRAINT inventory_pkey PRIMARY KEY (id);
12114
12115
12116 --
12117 -- Name: invoice invoice_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12118 --
12119
12120 ALTER TABLE ONLY public.invoice
12121     ADD CONSTRAINT invoice_pkey PRIMARY KEY (id);
12122
12123
12124 --
12125 -- Name: language language_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12126 --
12127
12128 ALTER TABLE ONLY public.language
12129     ADD CONSTRAINT language_pkey PRIMARY KEY (id);
12130
12131
12132 --
12133 -- Name: letter_draft letter_draft_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12134 --
12135
12136 ALTER TABLE ONLY public.letter_draft
12137     ADD CONSTRAINT letter_draft_pkey PRIMARY KEY (id);
12138
12139
12140 --
12141 -- Name: letter letter_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12142 --
12143
12144 ALTER TABLE ONLY public.letter
12145     ADD CONSTRAINT letter_pkey PRIMARY KEY (id);
12146
12147
12148 --
12149 -- Name: makemodel makemodel_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12150 --
12151
12152 ALTER TABLE ONLY public.makemodel
12153     ADD CONSTRAINT makemodel_pkey PRIMARY KEY (id);
12154
12155
12156 --
12157 -- Name: notes notes_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12158 --
12159
12160 ALTER TABLE ONLY public.notes
12161     ADD CONSTRAINT notes_pkey PRIMARY KEY (id);
12162
12163
12164 --
12165 -- Name: oe oe_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12166 --
12167
12168 ALTER TABLE ONLY public.oe
12169     ADD CONSTRAINT oe_pkey PRIMARY KEY (id);
12170
12171
12172 --
12173 -- Name: oe_version oe_version_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12174 --
12175
12176 ALTER TABLE ONLY public.oe_version
12177     ADD CONSTRAINT oe_version_pkey PRIMARY KEY (oe_id, version);
12178
12179
12180 --
12181 -- Name: order_statuses order_statuses_name_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12182 --
12183
12184 ALTER TABLE ONLY public.order_statuses
12185     ADD CONSTRAINT order_statuses_name_key UNIQUE (name);
12186
12187
12188 --
12189 -- Name: order_statuses order_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12190 --
12191
12192 ALTER TABLE ONLY public.order_statuses
12193     ADD CONSTRAINT order_statuses_pkey PRIMARY KEY (id);
12194
12195
12196 --
12197 -- Name: orderitems orderitems_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12198 --
12199
12200 ALTER TABLE ONLY public.orderitems
12201     ADD CONSTRAINT orderitems_pkey PRIMARY KEY (id);
12202
12203
12204 --
12205 -- Name: part_classifications part_classifications_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12206 --
12207
12208 ALTER TABLE ONLY public.part_classifications
12209     ADD CONSTRAINT part_classifications_pkey PRIMARY KEY (id);
12210
12211
12212 --
12213 -- Name: part_customer_prices part_customer_prices_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12214 --
12215
12216 ALTER TABLE ONLY public.part_customer_prices
12217     ADD CONSTRAINT part_customer_prices_pkey PRIMARY KEY (id);
12218
12219
12220 --
12221 -- Name: prices parts_id_pricegroup_id_unique; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12222 --
12223
12224 ALTER TABLE ONLY public.prices
12225     ADD CONSTRAINT parts_id_pricegroup_id_unique UNIQUE (parts_id, pricegroup_id);
12226
12227
12228 --
12229 -- Name: parts parts_partnumber_key1; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12230 --
12231
12232 ALTER TABLE ONLY public.parts
12233     ADD CONSTRAINT parts_partnumber_key1 UNIQUE (partnumber);
12234
12235
12236 --
12237 -- Name: parts parts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12238 --
12239
12240 ALTER TABLE ONLY public.parts
12241     ADD CONSTRAINT parts_pkey PRIMARY KEY (id);
12242
12243
12244 --
12245 -- Name: parts_price_history parts_price_history_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12246 --
12247
12248 ALTER TABLE ONLY public.parts_price_history
12249     ADD CONSTRAINT parts_price_history_pkey PRIMARY KEY (id);
12250
12251
12252 --
12253 -- Name: partsgroup partsgroup_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12254 --
12255
12256 ALTER TABLE ONLY public.partsgroup
12257     ADD CONSTRAINT partsgroup_pkey PRIMARY KEY (id);
12258
12259
12260 --
12261 -- Name: payment_terms payment_terms_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12262 --
12263
12264 ALTER TABLE ONLY public.payment_terms
12265     ADD CONSTRAINT payment_terms_pkey PRIMARY KEY (id);
12266
12267
12268 --
12269 -- Name: periodic_invoices_configs periodic_invoices_configs_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12270 --
12271
12272 ALTER TABLE ONLY public.periodic_invoices_configs
12273     ADD CONSTRAINT periodic_invoices_configs_pkey PRIMARY KEY (id);
12274
12275
12276 --
12277 -- Name: periodic_invoices periodic_invoices_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12278 --
12279
12280 ALTER TABLE ONLY public.periodic_invoices
12281     ADD CONSTRAINT periodic_invoices_pkey PRIMARY KEY (id);
12282
12283
12284 --
12285 -- Name: price_factors price_factors_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12286 --
12287
12288 ALTER TABLE ONLY public.price_factors
12289     ADD CONSTRAINT price_factors_pkey PRIMARY KEY (id);
12290
12291
12292 --
12293 -- Name: price_rule_items price_rule_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12294 --
12295
12296 ALTER TABLE ONLY public.price_rule_items
12297     ADD CONSTRAINT price_rule_items_pkey PRIMARY KEY (id);
12298
12299
12300 --
12301 -- Name: price_rules price_rules_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12302 --
12303
12304 ALTER TABLE ONLY public.price_rules
12305     ADD CONSTRAINT price_rules_pkey PRIMARY KEY (id);
12306
12307
12308 --
12309 -- Name: pricegroup pricegroup_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12310 --
12311
12312 ALTER TABLE ONLY public.pricegroup
12313     ADD CONSTRAINT pricegroup_pkey PRIMARY KEY (id);
12314
12315
12316 --
12317 -- Name: prices prices_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12318 --
12319
12320 ALTER TABLE ONLY public.prices
12321     ADD CONSTRAINT prices_pkey PRIMARY KEY (id);
12322
12323
12324 --
12325 -- Name: printers printers_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12326 --
12327
12328 ALTER TABLE ONLY public.printers
12329     ADD CONSTRAINT printers_pkey PRIMARY KEY (id);
12330
12331
12332 --
12333 -- Name: project_participants project_participants_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12334 --
12335
12336 ALTER TABLE ONLY public.project_participants
12337     ADD CONSTRAINT project_participants_pkey PRIMARY KEY (id);
12338
12339
12340 --
12341 -- Name: project_phase_participants project_phase_participants_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12342 --
12343
12344 ALTER TABLE ONLY public.project_phase_participants
12345     ADD CONSTRAINT project_phase_participants_pkey PRIMARY KEY (id);
12346
12347
12348 --
12349 -- Name: project_phases project_phases_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12350 --
12351
12352 ALTER TABLE ONLY public.project_phases
12353     ADD CONSTRAINT project_phases_pkey PRIMARY KEY (id);
12354
12355
12356 --
12357 -- Name: project project_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12358 --
12359
12360 ALTER TABLE ONLY public.project
12361     ADD CONSTRAINT project_pkey PRIMARY KEY (id);
12362
12363
12364 --
12365 -- Name: project project_projectnumber_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12366 --
12367
12368 ALTER TABLE ONLY public.project
12369     ADD CONSTRAINT project_projectnumber_key UNIQUE (projectnumber);
12370
12371
12372 --
12373 -- Name: project_roles project_roles_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12374 --
12375
12376 ALTER TABLE ONLY public.project_roles
12377     ADD CONSTRAINT project_roles_pkey PRIMARY KEY (id);
12378
12379
12380 --
12381 -- Name: project_statuses project_status_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12382 --
12383
12384 ALTER TABLE ONLY public.project_statuses
12385     ADD CONSTRAINT project_status_pkey PRIMARY KEY (id);
12386
12387
12388 --
12389 -- Name: project_types project_types_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12390 --
12391
12392 ALTER TABLE ONLY public.project_types
12393     ADD CONSTRAINT project_types_pkey PRIMARY KEY (id);
12394
12395
12396 --
12397 -- Name: purchase_basket_items purchase_basket_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12398 --
12399
12400 ALTER TABLE ONLY public.purchase_basket_items
12401     ADD CONSTRAINT purchase_basket_items_pkey PRIMARY KEY (id);
12402
12403
12404 --
12405 -- Name: reclamation_items reclamation_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12406 --
12407
12408 ALTER TABLE ONLY public.reclamation_items
12409     ADD CONSTRAINT reclamation_items_pkey PRIMARY KEY (id);
12410
12411
12412 --
12413 -- Name: reclamation_reasons reclamation_reasons_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12414 --
12415
12416 ALTER TABLE ONLY public.reclamation_reasons
12417     ADD CONSTRAINT reclamation_reasons_pkey PRIMARY KEY (id);
12418
12419
12420 --
12421 -- Name: reclamations reclamations_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12422 --
12423
12424 ALTER TABLE ONLY public.reclamations
12425     ADD CONSTRAINT reclamations_pkey PRIMARY KEY (id);
12426
12427
12428 --
12429 -- Name: reconciliation_links reconciliation_links_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12430 --
12431
12432 ALTER TABLE ONLY public.reconciliation_links
12433     ADD CONSTRAINT reconciliation_links_pkey PRIMARY KEY (id);
12434
12435
12436 --
12437 -- Name: record_links record_links_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12438 --
12439
12440 ALTER TABLE ONLY public.record_links
12441     ADD CONSTRAINT record_links_pkey PRIMARY KEY (id);
12442
12443
12444 --
12445 -- Name: record_template_items record_template_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12446 --
12447
12448 ALTER TABLE ONLY public.record_template_items
12449     ADD CONSTRAINT record_template_items_pkey PRIMARY KEY (id);
12450
12451
12452 --
12453 -- Name: record_templates record_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12454 --
12455
12456 ALTER TABLE ONLY public.record_templates
12457     ADD CONSTRAINT record_templates_pkey PRIMARY KEY (id);
12458
12459
12460 --
12461 -- Name: requirement_spec_acceptance_statuses requirement_spec_acceptance_statuses_name_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12462 --
12463
12464 ALTER TABLE ONLY public.requirement_spec_acceptance_statuses
12465     ADD CONSTRAINT requirement_spec_acceptance_statuses_name_description_key UNIQUE (name, description);
12466
12467
12468 --
12469 -- Name: requirement_spec_acceptance_statuses requirement_spec_acceptance_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12470 --
12471
12472 ALTER TABLE ONLY public.requirement_spec_acceptance_statuses
12473     ADD CONSTRAINT requirement_spec_acceptance_statuses_pkey PRIMARY KEY (id);
12474
12475
12476 --
12477 -- Name: requirement_spec_complexities requirement_spec_complexities_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12478 --
12479
12480 ALTER TABLE ONLY public.requirement_spec_complexities
12481     ADD CONSTRAINT requirement_spec_complexities_description_key UNIQUE (description);
12482
12483
12484 --
12485 -- Name: requirement_spec_complexities requirement_spec_complexities_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12486 --
12487
12488 ALTER TABLE ONLY public.requirement_spec_complexities
12489     ADD CONSTRAINT requirement_spec_complexities_pkey PRIMARY KEY (id);
12490
12491
12492 --
12493 -- Name: requirement_spec_orders requirement_spec_id_order_id_unique; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12494 --
12495
12496 ALTER TABLE ONLY public.requirement_spec_orders
12497     ADD CONSTRAINT requirement_spec_id_order_id_unique UNIQUE (requirement_spec_id, order_id);
12498
12499
12500 --
12501 -- Name: requirement_spec_item_dependencies requirement_spec_item_dependencies_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12502 --
12503
12504 ALTER TABLE ONLY public.requirement_spec_item_dependencies
12505     ADD CONSTRAINT requirement_spec_item_dependencies_pkey PRIMARY KEY (depending_item_id, depended_item_id);
12506
12507
12508 --
12509 -- Name: requirement_spec_items requirement_spec_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12510 --
12511
12512 ALTER TABLE ONLY public.requirement_spec_items
12513     ADD CONSTRAINT requirement_spec_items_pkey PRIMARY KEY (id);
12514
12515
12516 --
12517 -- Name: requirement_spec_orders requirement_spec_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12518 --
12519
12520 ALTER TABLE ONLY public.requirement_spec_orders
12521     ADD CONSTRAINT requirement_spec_orders_pkey PRIMARY KEY (id);
12522
12523
12524 --
12525 -- Name: requirement_spec_parts requirement_spec_parts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12526 --
12527
12528 ALTER TABLE ONLY public.requirement_spec_parts
12529     ADD CONSTRAINT requirement_spec_parts_pkey PRIMARY KEY (id);
12530
12531
12532 --
12533 -- Name: requirement_spec_pictures requirement_spec_pictures_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12534 --
12535
12536 ALTER TABLE ONLY public.requirement_spec_pictures
12537     ADD CONSTRAINT requirement_spec_pictures_pkey PRIMARY KEY (id);
12538
12539
12540 --
12541 -- Name: requirement_spec_predefined_texts requirement_spec_predefined_texts_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12542 --
12543
12544 ALTER TABLE ONLY public.requirement_spec_predefined_texts
12545     ADD CONSTRAINT requirement_spec_predefined_texts_description_key UNIQUE (description);
12546
12547
12548 --
12549 -- Name: requirement_spec_predefined_texts requirement_spec_predefined_texts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12550 --
12551
12552 ALTER TABLE ONLY public.requirement_spec_predefined_texts
12553     ADD CONSTRAINT requirement_spec_predefined_texts_pkey PRIMARY KEY (id);
12554
12555
12556 --
12557 -- Name: requirement_spec_risks requirement_spec_risks_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12558 --
12559
12560 ALTER TABLE ONLY public.requirement_spec_risks
12561     ADD CONSTRAINT requirement_spec_risks_description_key UNIQUE (description);
12562
12563
12564 --
12565 -- Name: requirement_spec_risks requirement_spec_risks_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12566 --
12567
12568 ALTER TABLE ONLY public.requirement_spec_risks
12569     ADD CONSTRAINT requirement_spec_risks_pkey PRIMARY KEY (id);
12570
12571
12572 --
12573 -- Name: requirement_spec_statuses requirement_spec_statuses_name_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12574 --
12575
12576 ALTER TABLE ONLY public.requirement_spec_statuses
12577     ADD CONSTRAINT requirement_spec_statuses_name_description_key UNIQUE (name, description);
12578
12579
12580 --
12581 -- Name: requirement_spec_statuses requirement_spec_statuses_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12582 --
12583
12584 ALTER TABLE ONLY public.requirement_spec_statuses
12585     ADD CONSTRAINT requirement_spec_statuses_pkey PRIMARY KEY (id);
12586
12587
12588 --
12589 -- Name: requirement_spec_text_blocks requirement_spec_text_blocks_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12590 --
12591
12592 ALTER TABLE ONLY public.requirement_spec_text_blocks
12593     ADD CONSTRAINT requirement_spec_text_blocks_pkey PRIMARY KEY (id);
12594
12595
12596 --
12597 -- Name: requirement_spec_types requirement_spec_types_description_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12598 --
12599
12600 ALTER TABLE ONLY public.requirement_spec_types
12601     ADD CONSTRAINT requirement_spec_types_description_key UNIQUE (description);
12602
12603
12604 --
12605 -- Name: requirement_spec_types requirement_spec_types_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12606 --
12607
12608 ALTER TABLE ONLY public.requirement_spec_types
12609     ADD CONSTRAINT requirement_spec_types_pkey PRIMARY KEY (id);
12610
12611
12612 --
12613 -- Name: requirement_spec_versions requirement_spec_versions_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12614 --
12615
12616 ALTER TABLE ONLY public.requirement_spec_versions
12617     ADD CONSTRAINT requirement_spec_versions_pkey PRIMARY KEY (id);
12618
12619
12620 --
12621 -- Name: requirement_specs requirement_specs_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12622 --
12623
12624 ALTER TABLE ONLY public.requirement_specs
12625     ADD CONSTRAINT requirement_specs_pkey PRIMARY KEY (id);
12626
12627
12628 --
12629 -- Name: schema_info schema_info_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12630 --
12631
12632 ALTER TABLE ONLY public.schema_info
12633     ADD CONSTRAINT schema_info_pkey PRIMARY KEY (tag);
12634
12635
12636 --
12637 -- Name: sepa_export_items sepa_export_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12638 --
12639
12640 ALTER TABLE ONLY public.sepa_export_items
12641     ADD CONSTRAINT sepa_export_items_pkey PRIMARY KEY (id);
12642
12643
12644 --
12645 -- Name: sepa_export_message_ids sepa_export_message_ids_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12646 --
12647
12648 ALTER TABLE ONLY public.sepa_export_message_ids
12649     ADD CONSTRAINT sepa_export_message_ids_pkey PRIMARY KEY (id);
12650
12651
12652 --
12653 -- Name: sepa_export sepa_export_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12654 --
12655
12656 ALTER TABLE ONLY public.sepa_export
12657     ADD CONSTRAINT sepa_export_pkey PRIMARY KEY (id);
12658
12659
12660 --
12661 -- Name: shipto shipto_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12662 --
12663
12664 ALTER TABLE ONLY public.shipto
12665     ADD CONSTRAINT shipto_pkey PRIMARY KEY (shipto_id);
12666
12667
12668 --
12669 -- Name: shop_images shop_images_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12670 --
12671
12672 ALTER TABLE ONLY public.shop_images
12673     ADD CONSTRAINT shop_images_pkey PRIMARY KEY (id);
12674
12675
12676 --
12677 -- Name: shop_order_items shop_order_items_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12678 --
12679
12680 ALTER TABLE ONLY public.shop_order_items
12681     ADD CONSTRAINT shop_order_items_pkey PRIMARY KEY (id);
12682
12683
12684 --
12685 -- Name: shop_orders shop_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12686 --
12687
12688 ALTER TABLE ONLY public.shop_orders
12689     ADD CONSTRAINT shop_orders_pkey PRIMARY KEY (id);
12690
12691
12692 --
12693 -- Name: shop_parts shop_parts_part_id_shop_id_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12694 --
12695
12696 ALTER TABLE ONLY public.shop_parts
12697     ADD CONSTRAINT shop_parts_part_id_shop_id_key UNIQUE (part_id, shop_id);
12698
12699
12700 --
12701 -- Name: shop_parts shop_parts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12702 --
12703
12704 ALTER TABLE ONLY public.shop_parts
12705     ADD CONSTRAINT shop_parts_pkey PRIMARY KEY (id);
12706
12707
12708 --
12709 -- Name: shops shops_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12710 --
12711
12712 ALTER TABLE ONLY public.shops
12713     ADD CONSTRAINT shops_pkey PRIMARY KEY (id);
12714
12715
12716 --
12717 -- Name: status status_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12718 --
12719
12720 ALTER TABLE ONLY public.status
12721     ADD CONSTRAINT status_pkey PRIMARY KEY (id);
12722
12723
12724 --
12725 -- Name: stocktakings stocktakings_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12726 --
12727
12728 ALTER TABLE ONLY public.stocktakings
12729     ADD CONSTRAINT stocktakings_pkey PRIMARY KEY (id);
12730
12731
12732 --
12733 -- Name: tax tax_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12734 --
12735
12736 ALTER TABLE ONLY public.tax
12737     ADD CONSTRAINT tax_pkey PRIMARY KEY (id);
12738
12739
12740 --
12741 -- Name: tax_zones tax_zones_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12742 --
12743
12744 ALTER TABLE ONLY public.tax_zones
12745     ADD CONSTRAINT tax_zones_pkey PRIMARY KEY (id);
12746
12747
12748 --
12749 -- Name: taxkeys taxkeys_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12750 --
12751
12752 ALTER TABLE ONLY public.taxkeys
12753     ADD CONSTRAINT taxkeys_pkey PRIMARY KEY (id);
12754
12755
12756 --
12757 -- Name: taxzone_charts taxzone_charts_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12758 --
12759
12760 ALTER TABLE ONLY public.taxzone_charts
12761     ADD CONSTRAINT taxzone_charts_pkey PRIMARY KEY (id);
12762
12763
12764 --
12765 -- Name: time_recording_articles time_recording_articles_part_id_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12766 --
12767
12768 ALTER TABLE ONLY public.time_recording_articles
12769     ADD CONSTRAINT time_recording_articles_part_id_key UNIQUE (part_id);
12770
12771
12772 --
12773 -- Name: time_recording_articles time_recording_articles_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12774 --
12775
12776 ALTER TABLE ONLY public.time_recording_articles
12777     ADD CONSTRAINT time_recording_articles_pkey PRIMARY KEY (id);
12778
12779
12780 --
12781 -- Name: time_recordings time_recordings_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12782 --
12783
12784 ALTER TABLE ONLY public.time_recordings
12785     ADD CONSTRAINT time_recordings_pkey PRIMARY KEY (id);
12786
12787
12788 --
12789 -- Name: todo_user_config todo_user_config_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12790 --
12791
12792 ALTER TABLE ONLY public.todo_user_config
12793     ADD CONSTRAINT todo_user_config_pkey PRIMARY KEY (id);
12794
12795
12796 --
12797 -- Name: transfer_type transfer_type_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12798 --
12799
12800 ALTER TABLE ONLY public.transfer_type
12801     ADD CONSTRAINT transfer_type_pkey PRIMARY KEY (id);
12802
12803
12804 --
12805 -- Name: translation translation_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12806 --
12807
12808 ALTER TABLE ONLY public.translation
12809     ADD CONSTRAINT translation_pkey PRIMARY KEY (id);
12810
12811
12812 --
12813 -- Name: trigger_information trigger_information_key_value_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12814 --
12815
12816 ALTER TABLE ONLY public.trigger_information
12817     ADD CONSTRAINT trigger_information_key_value_key UNIQUE (key, value);
12818
12819
12820 --
12821 -- Name: trigger_information trigger_information_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12822 --
12823
12824 ALTER TABLE ONLY public.trigger_information
12825     ADD CONSTRAINT trigger_information_pkey PRIMARY KEY (id);
12826
12827
12828 --
12829 -- Name: units units_id_unique; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12830 --
12831
12832 ALTER TABLE ONLY public.units
12833     ADD CONSTRAINT units_id_unique UNIQUE (id);
12834
12835
12836 --
12837 -- Name: units_language units_language_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12838 --
12839
12840 ALTER TABLE ONLY public.units_language
12841     ADD CONSTRAINT units_language_pkey PRIMARY KEY (id);
12842
12843
12844 --
12845 -- Name: units units_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12846 --
12847
12848 ALTER TABLE ONLY public.units
12849     ADD CONSTRAINT units_pkey PRIMARY KEY (name);
12850
12851
12852 --
12853 -- Name: user_preferences user_preferences_login_namespace_version_key_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12854 --
12855
12856 ALTER TABLE ONLY public.user_preferences
12857     ADD CONSTRAINT user_preferences_login_namespace_version_key_key UNIQUE (login, namespace, version, key);
12858
12859
12860 --
12861 -- Name: user_preferences user_preferences_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12862 --
12863
12864 ALTER TABLE ONLY public.user_preferences
12865     ADD CONSTRAINT user_preferences_pkey PRIMARY KEY (id);
12866
12867
12868 --
12869 -- Name: validity_tokens validity_tokens_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12870 --
12871
12872 ALTER TABLE ONLY public.validity_tokens
12873     ADD CONSTRAINT validity_tokens_pkey PRIMARY KEY (id);
12874
12875
12876 --
12877 -- Name: validity_tokens validity_tokens_scope_token_key; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12878 --
12879
12880 ALTER TABLE ONLY public.validity_tokens
12881     ADD CONSTRAINT validity_tokens_scope_token_key UNIQUE (scope, token);
12882
12883
12884 --
12885 -- Name: vendor vendor_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12886 --
12887
12888 ALTER TABLE ONLY public.vendor
12889     ADD CONSTRAINT vendor_pkey PRIMARY KEY (id);
12890
12891
12892 --
12893 -- Name: warehouse warehouse_pkey; Type: CONSTRAINT; Schema: public; Owner: kivitendo
12894 --
12895
12896 ALTER TABLE ONLY public.warehouse
12897     ADD CONSTRAINT warehouse_pkey PRIMARY KEY (id);
12898
12899
12900 --
12901 -- Name: report_categories report_categorys_pkey; Type: CONSTRAINT; Schema: tax; Owner: kivitendo
12902 --
12903
12904 ALTER TABLE ONLY tax.report_categories
12905     ADD CONSTRAINT report_categorys_pkey PRIMARY KEY (id);
12906
12907
12908 --
12909 -- Name: report_headings report_headings_pkey; Type: CONSTRAINT; Schema: tax; Owner: kivitendo
12910 --
12911
12912 ALTER TABLE ONLY tax.report_headings
12913     ADD CONSTRAINT report_headings_pkey PRIMARY KEY (id);
12914
12915
12916 --
12917 -- Name: report_variables report_variables_pkey; Type: CONSTRAINT; Schema: tax; Owner: kivitendo
12918 --
12919
12920 ALTER TABLE ONLY tax.report_variables
12921     ADD CONSTRAINT report_variables_pkey PRIMARY KEY (id);
12922
12923
12924 --
12925 -- Name: acc_trans_chart_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12926 --
12927
12928 CREATE INDEX acc_trans_chart_id_key ON public.acc_trans USING btree (chart_id);
12929
12930
12931 --
12932 -- Name: acc_trans_source_key; Type: INDEX; Schema: public; Owner: kivitendo
12933 --
12934
12935 CREATE INDEX acc_trans_source_key ON public.acc_trans USING btree (lower(source));
12936
12937
12938 --
12939 -- Name: acc_trans_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12940 --
12941
12942 CREATE INDEX acc_trans_trans_id_key ON public.acc_trans USING btree (trans_id);
12943
12944
12945 --
12946 -- Name: acc_trans_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
12947 --
12948
12949 CREATE INDEX acc_trans_transdate_key ON public.acc_trans USING btree (transdate);
12950
12951
12952 --
12953 -- Name: ap_employee_id_key; Type: INDEX; Schema: public; Owner: kivitendo
12954 --
12955
12956 CREATE INDEX ap_employee_id_key ON public.ap USING btree (employee_id);
12957
12958
12959 --
12960 -- Name: ap_invnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12961 --
12962
12963 CREATE INDEX ap_invnumber_gin_trgm_idx ON public.ap USING gin (invnumber public.gin_trgm_ops);
12964
12965
12966 --
12967 -- Name: ap_invnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
12968 --
12969
12970 CREATE INDEX ap_invnumber_key ON public.ap USING btree (lower(invnumber));
12971
12972
12973 --
12974 -- Name: ap_ordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12975 --
12976
12977 CREATE INDEX ap_ordnumber_gin_trgm_idx ON public.ap USING gin (ordnumber public.gin_trgm_ops);
12978
12979
12980 --
12981 -- Name: ap_ordnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
12982 --
12983
12984 CREATE INDEX ap_ordnumber_key ON public.ap USING btree (lower(ordnumber));
12985
12986
12987 --
12988 -- Name: ap_quonumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
12989 --
12990
12991 CREATE INDEX ap_quonumber_gin_trgm_idx ON public.ap USING gin (quonumber public.gin_trgm_ops);
12992
12993
12994 --
12995 -- Name: ap_quonumber_key; Type: INDEX; Schema: public; Owner: kivitendo
12996 --
12997
12998 CREATE INDEX ap_quonumber_key ON public.ap USING btree (lower(quonumber));
12999
13000
13001 --
13002 -- Name: ap_transaction_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13003 --
13004
13005 CREATE INDEX ap_transaction_description_gin_trgm_idx ON public.ap USING gin (transaction_description public.gin_trgm_ops);
13006
13007
13008 --
13009 -- Name: ap_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
13010 --
13011
13012 CREATE INDEX ap_transdate_key ON public.ap USING btree (transdate);
13013
13014
13015 --
13016 -- Name: ap_vendor_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13017 --
13018
13019 CREATE INDEX ap_vendor_id_key ON public.ap USING btree (vendor_id);
13020
13021
13022 --
13023 -- Name: ar_cusordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13024 --
13025
13026 CREATE INDEX ar_cusordnumber_gin_trgm_idx ON public.ar USING gin (cusordnumber public.gin_trgm_ops);
13027
13028
13029 --
13030 -- Name: ar_customer_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13031 --
13032
13033 CREATE INDEX ar_customer_id_key ON public.ar USING btree (customer_id);
13034
13035
13036 --
13037 -- Name: ar_employee_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13038 --
13039
13040 CREATE INDEX ar_employee_id_key ON public.ar USING btree (employee_id);
13041
13042
13043 --
13044 -- Name: ar_invnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13045 --
13046
13047 CREATE INDEX ar_invnumber_gin_trgm_idx ON public.ar USING gin (invnumber public.gin_trgm_ops);
13048
13049
13050 --
13051 -- Name: ar_invnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
13052 --
13053
13054 CREATE INDEX ar_invnumber_key ON public.ar USING btree (lower(invnumber));
13055
13056
13057 --
13058 -- Name: ar_ordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13059 --
13060
13061 CREATE INDEX ar_ordnumber_gin_trgm_idx ON public.ar USING gin (ordnumber public.gin_trgm_ops);
13062
13063
13064 --
13065 -- Name: ar_ordnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
13066 --
13067
13068 CREATE INDEX ar_ordnumber_key ON public.ar USING btree (lower(ordnumber));
13069
13070
13071 --
13072 -- Name: ar_quonumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13073 --
13074
13075 CREATE INDEX ar_quonumber_gin_trgm_idx ON public.ar USING gin (quonumber public.gin_trgm_ops);
13076
13077
13078 --
13079 -- Name: ar_quonumber_key; Type: INDEX; Schema: public; Owner: kivitendo
13080 --
13081
13082 CREATE INDEX ar_quonumber_key ON public.ar USING btree (lower(quonumber));
13083
13084
13085 --
13086 -- Name: ar_transaction_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13087 --
13088
13089 CREATE INDEX ar_transaction_description_gin_trgm_idx ON public.ar USING gin (transaction_description public.gin_trgm_ops);
13090
13091
13092 --
13093 -- Name: ar_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
13094 --
13095
13096 CREATE INDEX ar_transdate_key ON public.ar USING btree (transdate);
13097
13098
13099 --
13100 -- Name: assembly_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13101 --
13102
13103 CREATE INDEX assembly_id_key ON public.assembly USING btree (id);
13104
13105
13106 --
13107 -- Name: chart_accno_key; Type: INDEX; Schema: public; Owner: kivitendo
13108 --
13109
13110 CREATE UNIQUE INDEX chart_accno_key ON public.chart USING btree (accno);
13111
13112
13113 --
13114 -- Name: chart_category_key; Type: INDEX; Schema: public; Owner: kivitendo
13115 --
13116
13117 CREATE INDEX chart_category_key ON public.chart USING btree (category);
13118
13119
13120 --
13121 -- Name: chart_link_key; Type: INDEX; Schema: public; Owner: kivitendo
13122 --
13123
13124 CREATE INDEX chart_link_key ON public.chart USING btree (link);
13125
13126
13127 --
13128 -- Name: csv_import_report_rows_index_row; Type: INDEX; Schema: public; Owner: kivitendo
13129 --
13130
13131 CREATE INDEX csv_import_report_rows_index_row ON public.csv_import_report_rows USING btree ("row");
13132
13133
13134 --
13135 -- Name: custom_variables_config_id_idx; Type: INDEX; Schema: public; Owner: kivitendo
13136 --
13137
13138 CREATE INDEX custom_variables_config_id_idx ON public.custom_variables USING btree (config_id);
13139
13140
13141 --
13142 -- Name: custom_variables_sub_module_idx; Type: INDEX; Schema: public; Owner: kivitendo
13143 --
13144
13145 CREATE INDEX custom_variables_sub_module_idx ON public.custom_variables USING btree (sub_module);
13146
13147
13148 --
13149 -- Name: custom_variables_trans_config_module_idx; Type: INDEX; Schema: public; Owner: kivitendo
13150 --
13151
13152 CREATE INDEX custom_variables_trans_config_module_idx ON public.custom_variables USING btree (config_id, trans_id, sub_module);
13153
13154
13155 --
13156 -- Name: customer_contact_key; Type: INDEX; Schema: public; Owner: kivitendo
13157 --
13158
13159 CREATE INDEX customer_contact_key ON public.customer USING btree (contact);
13160
13161
13162 --
13163 -- Name: customer_customernumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13164 --
13165
13166 CREATE INDEX customer_customernumber_gin_trgm_idx ON public.customer USING gin (customernumber public.gin_trgm_ops);
13167
13168
13169 --
13170 -- Name: customer_customernumber_key; Type: INDEX; Schema: public; Owner: kivitendo
13171 --
13172
13173 CREATE INDEX customer_customernumber_key ON public.customer USING btree (customernumber);
13174
13175
13176 --
13177 -- Name: customer_name_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13178 --
13179
13180 CREATE INDEX customer_name_gin_trgm_idx ON public.customer USING gin (name public.gin_trgm_ops);
13181
13182
13183 --
13184 -- Name: customer_name_key; Type: INDEX; Schema: public; Owner: kivitendo
13185 --
13186
13187 CREATE INDEX customer_name_key ON public.customer USING btree (name);
13188
13189
13190 --
13191 -- Name: customer_street_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13192 --
13193
13194 CREATE INDEX customer_street_gin_trgm_idx ON public.customer USING gin (street public.gin_trgm_ops);
13195
13196
13197 --
13198 -- Name: delivery_orders_record_type_key; Type: INDEX; Schema: public; Owner: kivitendo
13199 --
13200
13201 CREATE INDEX delivery_orders_record_type_key ON public.delivery_orders USING btree (record_type);
13202
13203
13204 --
13205 -- Name: do_cusordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13206 --
13207
13208 CREATE INDEX do_cusordnumber_gin_trgm_idx ON public.delivery_orders USING gin (cusordnumber public.gin_trgm_ops);
13209
13210
13211 --
13212 -- Name: do_donumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13213 --
13214
13215 CREATE INDEX do_donumber_gin_trgm_idx ON public.delivery_orders USING gin (donumber public.gin_trgm_ops);
13216
13217
13218 --
13219 -- Name: do_ordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13220 --
13221
13222 CREATE INDEX do_ordnumber_gin_trgm_idx ON public.delivery_orders USING gin (ordnumber public.gin_trgm_ops);
13223
13224
13225 --
13226 -- Name: do_transaction_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13227 --
13228
13229 CREATE INDEX do_transaction_description_gin_trgm_idx ON public.delivery_orders USING gin (transaction_description public.gin_trgm_ops);
13230
13231
13232 --
13233 -- Name: doi_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13234 --
13235
13236 CREATE INDEX doi_description_gin_trgm_idx ON public.delivery_order_items USING gin (description public.gin_trgm_ops);
13237
13238
13239 --
13240 -- Name: email_journal_folder_uid_idx; Type: INDEX; Schema: public; Owner: kivitendo
13241 --
13242
13243 CREATE INDEX email_journal_folder_uid_idx ON public.email_journal USING btree (folder, uid);
13244
13245
13246 --
13247 -- Name: employee_login_key; Type: INDEX; Schema: public; Owner: kivitendo
13248 --
13249
13250 CREATE UNIQUE INDEX employee_login_key ON public.employee USING btree (login);
13251
13252
13253 --
13254 -- Name: employee_name_key; Type: INDEX; Schema: public; Owner: kivitendo
13255 --
13256
13257 CREATE INDEX employee_name_key ON public.employee USING btree (name);
13258
13259
13260 --
13261 -- Name: generic_translations_type_id_idx; Type: INDEX; Schema: public; Owner: kivitendo
13262 --
13263
13264 CREATE INDEX generic_translations_type_id_idx ON public.generic_translations USING btree (language_id, translation_type, translation_id);
13265
13266
13267 --
13268 -- Name: gl_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13269 --
13270
13271 CREATE INDEX gl_description_gin_trgm_idx ON public.gl USING gin (description public.gin_trgm_ops);
13272
13273
13274 --
13275 -- Name: gl_description_key; Type: INDEX; Schema: public; Owner: kivitendo
13276 --
13277
13278 CREATE INDEX gl_description_key ON public.gl USING btree (lower(description));
13279
13280
13281 --
13282 -- Name: gl_employee_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13283 --
13284
13285 CREATE INDEX gl_employee_id_key ON public.gl USING btree (employee_id);
13286
13287
13288 --
13289 -- Name: gl_reference_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13290 --
13291
13292 CREATE INDEX gl_reference_gin_trgm_idx ON public.gl USING gin (reference public.gin_trgm_ops);
13293
13294
13295 --
13296 -- Name: gl_reference_key; Type: INDEX; Schema: public; Owner: kivitendo
13297 --
13298
13299 CREATE INDEX gl_reference_key ON public.gl USING btree (lower(reference));
13300
13301
13302 --
13303 -- Name: gl_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
13304 --
13305
13306 CREATE INDEX gl_transdate_key ON public.gl USING btree (transdate);
13307
13308
13309 --
13310 -- Name: idx_custom_variables_validity_config_id_trans_id; Type: INDEX; Schema: public; Owner: kivitendo
13311 --
13312
13313 CREATE INDEX idx_custom_variables_validity_config_id_trans_id ON public.custom_variables_validity USING btree (config_id, trans_id);
13314
13315
13316 --
13317 -- Name: idx_custom_variables_validity_trans_id; Type: INDEX; Schema: public; Owner: kivitendo
13318 --
13319
13320 CREATE INDEX idx_custom_variables_validity_trans_id ON public.custom_variables_validity USING btree (trans_id);
13321
13322
13323 --
13324 -- Name: idx_record_links_from_id; Type: INDEX; Schema: public; Owner: kivitendo
13325 --
13326
13327 CREATE INDEX idx_record_links_from_id ON public.record_links USING btree (from_id);
13328
13329
13330 --
13331 -- Name: idx_record_links_from_table; Type: INDEX; Schema: public; Owner: kivitendo
13332 --
13333
13334 CREATE INDEX idx_record_links_from_table ON public.record_links USING btree (from_table);
13335
13336
13337 --
13338 -- Name: idx_record_links_to_id; Type: INDEX; Schema: public; Owner: kivitendo
13339 --
13340
13341 CREATE INDEX idx_record_links_to_id ON public.record_links USING btree (to_id);
13342
13343
13344 --
13345 -- Name: idx_record_links_to_table; Type: INDEX; Schema: public; Owner: kivitendo
13346 --
13347
13348 CREATE INDEX idx_record_links_to_table ON public.record_links USING btree (to_table);
13349
13350
13351 --
13352 -- Name: inventory_itime_parts_id_idx; Type: INDEX; Schema: public; Owner: kivitendo
13353 --
13354
13355 CREATE INDEX inventory_itime_parts_id_idx ON public.inventory USING btree (itime, parts_id);
13356
13357
13358 --
13359 -- Name: inventory_parts_id_idx; Type: INDEX; Schema: public; Owner: kivitendo
13360 --
13361
13362 CREATE INDEX inventory_parts_id_idx ON public.inventory USING btree (parts_id);
13363
13364
13365 --
13366 -- Name: invoice_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13367 --
13368
13369 CREATE INDEX invoice_description_gin_trgm_idx ON public.invoice USING gin (description public.gin_trgm_ops);
13370
13371
13372 --
13373 -- Name: invoice_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13374 --
13375
13376 CREATE INDEX invoice_trans_id_key ON public.invoice USING btree (trans_id);
13377
13378
13379 --
13380 -- Name: makemodel_model_key; Type: INDEX; Schema: public; Owner: kivitendo
13381 --
13382
13383 CREATE INDEX makemodel_model_key ON public.makemodel USING btree (lower(model));
13384
13385
13386 --
13387 -- Name: makemodel_parts_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13388 --
13389
13390 CREATE INDEX makemodel_parts_id_key ON public.makemodel USING btree (parts_id);
13391
13392
13393 --
13394 -- Name: oe_cusordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13395 --
13396
13397 CREATE INDEX oe_cusordnumber_gin_trgm_idx ON public.oe USING gin (cusordnumber public.gin_trgm_ops);
13398
13399
13400 --
13401 -- Name: oe_employee_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13402 --
13403
13404 CREATE INDEX oe_employee_id_key ON public.oe USING btree (employee_id);
13405
13406
13407 --
13408 -- Name: oe_ordnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13409 --
13410
13411 CREATE INDEX oe_ordnumber_gin_trgm_idx ON public.oe USING gin (ordnumber public.gin_trgm_ops);
13412
13413
13414 --
13415 -- Name: oe_ordnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
13416 --
13417
13418 CREATE INDEX oe_ordnumber_key ON public.oe USING btree (lower(ordnumber));
13419
13420
13421 --
13422 -- Name: oe_quonumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13423 --
13424
13425 CREATE INDEX oe_quonumber_gin_trgm_idx ON public.oe USING gin (quonumber public.gin_trgm_ops);
13426
13427
13428 --
13429 -- Name: oe_record_type_key; Type: INDEX; Schema: public; Owner: kivitendo
13430 --
13431
13432 CREATE INDEX oe_record_type_key ON public.oe USING btree (record_type);
13433
13434
13435 --
13436 -- Name: oe_transaction_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13437 --
13438
13439 CREATE INDEX oe_transaction_description_gin_trgm_idx ON public.oe USING gin (transaction_description public.gin_trgm_ops);
13440
13441
13442 --
13443 -- Name: oe_transdate_key; Type: INDEX; Schema: public; Owner: kivitendo
13444 --
13445
13446 CREATE INDEX oe_transdate_key ON public.oe USING btree (transdate);
13447
13448
13449 --
13450 -- Name: orderitems_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13451 --
13452
13453 CREATE INDEX orderitems_description_gin_trgm_idx ON public.orderitems USING gin (description public.gin_trgm_ops);
13454
13455
13456 --
13457 -- Name: orderitems_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13458 --
13459
13460 CREATE INDEX orderitems_trans_id_key ON public.orderitems USING btree (trans_id);
13461
13462
13463 --
13464 -- Name: part_customer_prices_customer_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13465 --
13466
13467 CREATE INDEX part_customer_prices_customer_id_key ON public.part_customer_prices USING btree (customer_id);
13468
13469
13470 --
13471 -- Name: part_customer_prices_parts_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13472 --
13473
13474 CREATE INDEX part_customer_prices_parts_id_key ON public.part_customer_prices USING btree (parts_id);
13475
13476
13477 --
13478 -- Name: parts_description_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13479 --
13480
13481 CREATE INDEX parts_description_gin_trgm_idx ON public.parts USING gin (description public.gin_trgm_ops);
13482
13483
13484 --
13485 -- Name: parts_description_key; Type: INDEX; Schema: public; Owner: kivitendo
13486 --
13487
13488 CREATE INDEX parts_description_key ON public.parts USING btree (lower(description));
13489
13490
13491 --
13492 -- Name: parts_partnumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13493 --
13494
13495 CREATE INDEX parts_partnumber_gin_trgm_idx ON public.parts USING gin (partnumber public.gin_trgm_ops);
13496
13497
13498 --
13499 -- Name: parts_partnumber_key; Type: INDEX; Schema: public; Owner: kivitendo
13500 --
13501
13502 CREATE INDEX parts_partnumber_key ON public.parts USING btree (lower(partnumber));
13503
13504
13505 --
13506 -- Name: reclamations_customer_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13507 --
13508
13509 CREATE INDEX reclamations_customer_id_key ON public.reclamations USING btree (customer_id);
13510
13511
13512 --
13513 -- Name: reclamations_record_number_key; Type: INDEX; Schema: public; Owner: kivitendo
13514 --
13515
13516 CREATE INDEX reclamations_record_number_key ON public.reclamations USING btree (record_number);
13517
13518
13519 --
13520 -- Name: reclamations_record_type_key; Type: INDEX; Schema: public; Owner: kivitendo
13521 --
13522
13523 CREATE INDEX reclamations_record_type_key ON public.reclamations USING btree (record_type);
13524
13525
13526 --
13527 -- Name: reclamations_vendor_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13528 --
13529
13530 CREATE INDEX reclamations_vendor_id_key ON public.reclamations USING btree (vendor_id);
13531
13532
13533 --
13534 -- Name: requirement_spec_items_item_type_key; Type: INDEX; Schema: public; Owner: kivitendo
13535 --
13536
13537 CREATE INDEX requirement_spec_items_item_type_key ON public.requirement_spec_items USING btree (item_type);
13538
13539
13540 --
13541 -- Name: shipto_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13542 --
13543
13544 CREATE INDEX shipto_trans_id_key ON public.shipto USING btree (trans_id);
13545
13546
13547 --
13548 -- Name: status_trans_id_key; Type: INDEX; Schema: public; Owner: kivitendo
13549 --
13550
13551 CREATE INDEX status_trans_id_key ON public.status USING btree (trans_id);
13552
13553
13554 --
13555 -- Name: taxkeys_chartid_startdate; Type: INDEX; Schema: public; Owner: kivitendo
13556 --
13557
13558 CREATE UNIQUE INDEX taxkeys_chartid_startdate ON public.taxkeys USING btree (chart_id, startdate);
13559
13560
13561 --
13562 -- Name: units_language_unit_idx; Type: INDEX; Schema: public; Owner: kivitendo
13563 --
13564
13565 CREATE INDEX units_language_unit_idx ON public.units_language USING btree (unit);
13566
13567
13568 --
13569 -- Name: vendor_contact_key; Type: INDEX; Schema: public; Owner: kivitendo
13570 --
13571
13572 CREATE INDEX vendor_contact_key ON public.vendor USING btree (contact);
13573
13574
13575 --
13576 -- Name: vendor_name_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13577 --
13578
13579 CREATE INDEX vendor_name_gin_trgm_idx ON public.vendor USING gin (name public.gin_trgm_ops);
13580
13581
13582 --
13583 -- Name: vendor_name_key; Type: INDEX; Schema: public; Owner: kivitendo
13584 --
13585
13586 CREATE INDEX vendor_name_key ON public.vendor USING btree (name);
13587
13588
13589 --
13590 -- Name: vendor_vendornumber_gin_trgm_idx; Type: INDEX; Schema: public; Owner: kivitendo
13591 --
13592
13593 CREATE INDEX vendor_vendornumber_gin_trgm_idx ON public.vendor USING gin (vendornumber public.gin_trgm_ops);
13594
13595
13596 --
13597 -- Name: vendor_vendornumber_key; Type: INDEX; Schema: public; Owner: kivitendo
13598 --
13599
13600 CREATE INDEX vendor_vendornumber_key ON public.vendor USING btree (vendornumber);
13601
13602
13603 --
13604 -- Name: parts add_parts_price_history_entry_after_changes_on_parts; Type: TRIGGER; Schema: public; Owner: kivitendo
13605 --
13606
13607 CREATE TRIGGER add_parts_price_history_entry_after_changes_on_parts AFTER INSERT OR UPDATE ON public.parts FOR EACH ROW EXECUTE FUNCTION public.add_parts_price_history_entry();
13608
13609
13610 --
13611 -- Name: ap after_delete_ap_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13612 --
13613
13614 CREATE TRIGGER after_delete_ap_trigger AFTER DELETE ON public.ap FOR EACH ROW EXECUTE FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete();
13615
13616
13617 --
13618 -- Name: ar after_delete_ar_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13619 --
13620
13621 CREATE TRIGGER after_delete_ar_trigger AFTER DELETE ON public.ar FOR EACH ROW EXECUTE FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete();
13622
13623
13624 --
13625 -- Name: customer after_delete_customer_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13626 --
13627
13628 CREATE TRIGGER after_delete_customer_trigger AFTER DELETE ON public.customer FOR EACH ROW EXECUTE FUNCTION public.clean_up_after_customer_vendor_delete();
13629
13630
13631 --
13632 -- Name: delivery_terms after_delete_delivery_term_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13633 --
13634
13635 CREATE TRIGGER after_delete_delivery_term_trigger AFTER DELETE ON public.delivery_terms FOR EACH ROW EXECUTE FUNCTION public.generic_translations_delete_on_delivery_terms_delete_trigger();
13636
13637
13638 --
13639 -- Name: gl after_delete_gl_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13640 --
13641
13642 CREATE TRIGGER after_delete_gl_trigger AFTER DELETE ON public.gl FOR EACH ROW EXECUTE FUNCTION public.clean_up_acc_trans_after_ar_ap_gl_delete();
13643
13644
13645 --
13646 -- Name: payment_terms after_delete_payment_term_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13647 --
13648
13649 CREATE TRIGGER after_delete_payment_term_trigger AFTER DELETE ON public.payment_terms FOR EACH ROW EXECUTE FUNCTION public.generic_translations_delete_on_payment_terms_delete_trigger();
13650
13651
13652 --
13653 -- Name: requirement_specs after_delete_requirement_spec_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
13654 --
13655
13656 CREATE TRIGGER after_delete_requirement_spec_dependencies AFTER DELETE ON public.requirement_specs FOR EACH ROW EXECUTE FUNCTION public.requirement_spec_delete_trigger();
13657
13658
13659 --
13660 -- Name: shop_images after_delete_shop_images_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13661 --
13662
13663 CREATE TRIGGER after_delete_shop_images_trigger AFTER DELETE ON public.shop_images FOR EACH ROW EXECUTE FUNCTION public.shop_images_reorder_position();
13664
13665
13666 --
13667 -- Name: tax after_delete_tax_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13668 --
13669
13670 CREATE TRIGGER after_delete_tax_trigger AFTER DELETE ON public.tax FOR EACH ROW EXECUTE FUNCTION public.generic_translations_delete_on_tax_delete_trigger();
13671
13672
13673 --
13674 -- Name: vendor after_delete_vendor_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13675 --
13676
13677 CREATE TRIGGER after_delete_vendor_trigger AFTER DELETE ON public.vendor FOR EACH ROW EXECUTE FUNCTION public.clean_up_after_customer_vendor_delete();
13678
13679
13680 --
13681 -- Name: ap before_delete_ap_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13682 --
13683
13684 CREATE TRIGGER before_delete_ap_trigger BEFORE DELETE ON public.ap FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_ap_delete();
13685
13686
13687 --
13688 -- Name: ar before_delete_ar_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13689 --
13690
13691 CREATE TRIGGER before_delete_ar_trigger BEFORE DELETE ON public.ar FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_ar_delete();
13692
13693
13694 --
13695 -- Name: delivery_order_items before_delete_delivery_order_items_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13696 --
13697
13698 CREATE TRIGGER before_delete_delivery_order_items_trigger BEFORE DELETE ON public.delivery_order_items FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_delivery_order_items_delete();
13699
13700
13701 --
13702 -- Name: delivery_orders before_delete_delivery_orders_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13703 --
13704
13705 CREATE TRIGGER before_delete_delivery_orders_trigger BEFORE DELETE ON public.delivery_orders FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_delivery_orders_delete();
13706
13707
13708 --
13709 -- Name: dunning before_delete_dunning_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13710 --
13711
13712 CREATE TRIGGER before_delete_dunning_trigger BEFORE DELETE ON public.dunning FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_dunning_delete();
13713
13714
13715 --
13716 -- Name: gl before_delete_gl_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13717 --
13718
13719 CREATE TRIGGER before_delete_gl_trigger BEFORE DELETE ON public.gl FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_gl_delete();
13720
13721
13722 --
13723 -- Name: invoice before_delete_invoice_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13724 --
13725
13726 CREATE TRIGGER before_delete_invoice_trigger BEFORE DELETE ON public.invoice FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_invoice_delete();
13727
13728
13729 --
13730 -- Name: letter before_delete_letter_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13731 --
13732
13733 CREATE TRIGGER before_delete_letter_trigger BEFORE DELETE ON public.letter FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_letter_delete();
13734
13735
13736 --
13737 -- Name: oe before_delete_oe_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13738 --
13739
13740 CREATE TRIGGER before_delete_oe_trigger BEFORE DELETE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_oe_delete();
13741
13742
13743 --
13744 -- Name: orderitems before_delete_orderitems_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13745 --
13746
13747 CREATE TRIGGER before_delete_orderitems_trigger BEFORE DELETE ON public.orderitems FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_orderitems_delete();
13748
13749
13750 --
13751 -- Name: reclamation_items before_delete_reclamation_items_clean_up_record_linkes_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13752 --
13753
13754 CREATE TRIGGER before_delete_reclamation_items_clean_up_record_linkes_trigger BEFORE DELETE ON public.reclamation_items FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_delete();
13755
13756
13757 --
13758 -- Name: reclamations before_delete_reclamations_clean_up_record_linkes_trigger; Type: TRIGGER; Schema: public; Owner: kivitendo
13759 --
13760
13761 CREATE TRIGGER before_delete_reclamations_clean_up_record_linkes_trigger BEFORE DELETE ON public.reclamations FOR EACH ROW EXECUTE FUNCTION public.clean_up_record_links_before_delete();
13762
13763
13764 --
13765 -- Name: delivery_order_items_stock check_bin_wh_delivery_order_items_stock; Type: TRIGGER; Schema: public; Owner: kivitendo
13766 --
13767
13768 CREATE TRIGGER check_bin_wh_delivery_order_items_stock BEFORE INSERT OR UPDATE ON public.delivery_order_items_stock FOR EACH ROW EXECUTE FUNCTION public.check_bin_belongs_to_wh();
13769
13770
13771 --
13772 -- Name: inventory check_bin_wh_inventory; Type: TRIGGER; Schema: public; Owner: kivitendo
13773 --
13774
13775 CREATE TRIGGER check_bin_wh_inventory BEFORE INSERT OR UPDATE ON public.inventory FOR EACH ROW EXECUTE FUNCTION public.check_bin_belongs_to_wh();
13776
13777
13778 --
13779 -- Name: parts check_bin_wh_parts; Type: TRIGGER; Schema: public; Owner: kivitendo
13780 --
13781
13782 CREATE TRIGGER check_bin_wh_parts BEFORE INSERT OR UPDATE ON public.parts FOR EACH ROW EXECUTE FUNCTION public.check_bin_belongs_to_wh();
13783
13784
13785 --
13786 -- Name: contacts contacts_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
13787 --
13788
13789 CREATE TRIGGER contacts_delete_custom_variables_after_deletion AFTER DELETE ON public.contacts FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
13790
13791
13792 --
13793 -- Name: customer customer_before_delete_clear_follow_ups; Type: TRIGGER; Schema: public; Owner: kivitendo
13794 --
13795
13796 CREATE TRIGGER customer_before_delete_clear_follow_ups AFTER DELETE ON public.customer FOR EACH ROW EXECUTE FUNCTION public.follow_up_delete_when_customer_vendor_is_deleted_trigger();
13797
13798
13799 --
13800 -- Name: customer customer_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
13801 --
13802
13803 CREATE TRIGGER customer_delete_custom_variables_after_deletion AFTER DELETE ON public.customer FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
13804
13805
13806 --
13807 -- Name: delivery_orders delete_delivery_orders_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
13808 --
13809
13810 CREATE TRIGGER delete_delivery_orders_dependencies BEFORE DELETE ON public.delivery_orders FOR EACH ROW EXECUTE FUNCTION public.delivery_orders_before_delete_trigger();
13811
13812
13813 --
13814 -- Name: oe delete_oe_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
13815 --
13816
13817 CREATE TRIGGER delete_oe_dependencies BEFORE DELETE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.oe_before_delete_trigger();
13818
13819
13820 --
13821 -- Name: requirement_specs delete_requirement_spec_custom_variables; Type: TRIGGER; Schema: public; Owner: kivitendo
13822 --
13823
13824 CREATE TRIGGER delete_requirement_spec_custom_variables BEFORE DELETE ON public.requirement_specs FOR EACH ROW EXECUTE FUNCTION public.delete_requirement_spec_custom_variables_trigger();
13825
13826
13827 --
13828 -- Name: requirement_specs delete_requirement_spec_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
13829 --
13830
13831 CREATE TRIGGER delete_requirement_spec_dependencies BEFORE DELETE ON public.requirement_specs FOR EACH ROW EXECUTE FUNCTION public.requirement_spec_delete_trigger();
13832
13833
13834 --
13835 -- Name: requirement_spec_items delete_requirement_spec_item_dependencies; Type: TRIGGER; Schema: public; Owner: kivitendo
13836 --
13837
13838 CREATE TRIGGER delete_requirement_spec_item_dependencies BEFORE DELETE ON public.requirement_spec_items FOR EACH ROW EXECUTE FUNCTION public.requirement_spec_item_before_delete_trigger();
13839
13840
13841 --
13842 -- Name: delivery_order_items delivery_order_items_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
13843 --
13844
13845 CREATE TRIGGER delivery_order_items_delete_custom_variables_after_deletion AFTER DELETE ON public.delivery_order_items FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
13846
13847
13848 --
13849 -- Name: delivery_orders delivery_orders_on_update_close_follow_up; Type: TRIGGER; Schema: public; Owner: kivitendo
13850 --
13851
13852 CREATE TRIGGER delivery_orders_on_update_close_follow_up AFTER UPDATE ON public.delivery_orders FOR EACH ROW EXECUTE FUNCTION public.follow_up_close_when_oe_closed_trigger();
13853
13854
13855 --
13856 -- Name: follow_ups follow_up_delete_notes; Type: TRIGGER; Schema: public; Owner: kivitendo
13857 --
13858
13859 CREATE TRIGGER follow_up_delete_notes AFTER DELETE ON public.follow_ups FOR EACH ROW EXECUTE FUNCTION public.follow_up_delete_notes_trigger();
13860
13861
13862 --
13863 -- Name: invoice invoice_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
13864 --
13865
13866 CREATE TRIGGER invoice_delete_custom_variables_after_deletion AFTER DELETE ON public.invoice FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
13867
13868
13869 --
13870 -- Name: acc_trans mtime_acc_trans; Type: TRIGGER; Schema: public; Owner: kivitendo
13871 --
13872
13873 CREATE TRIGGER mtime_acc_trans BEFORE UPDATE ON public.acc_trans FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13874
13875
13876 --
13877 -- Name: additional_billing_addresses mtime_additional_billing_addresses; Type: TRIGGER; Schema: public; Owner: kivitendo
13878 --
13879
13880 CREATE TRIGGER mtime_additional_billing_addresses BEFORE UPDATE ON public.additional_billing_addresses FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13881
13882
13883 --
13884 -- Name: ap mtime_ap; Type: TRIGGER; Schema: public; Owner: kivitendo
13885 --
13886
13887 CREATE TRIGGER mtime_ap BEFORE UPDATE ON public.ap FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13888
13889
13890 --
13891 -- Name: ar mtime_ar; Type: TRIGGER; Schema: public; Owner: kivitendo
13892 --
13893
13894 CREATE TRIGGER mtime_ar BEFORE UPDATE ON public.ar FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13895
13896
13897 --
13898 -- Name: bin mtime_bin; Type: TRIGGER; Schema: public; Owner: kivitendo
13899 --
13900
13901 CREATE TRIGGER mtime_bin BEFORE UPDATE ON public.bin FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13902
13903
13904 --
13905 -- Name: business_models mtime_business_models; Type: TRIGGER; Schema: public; Owner: kivitendo
13906 --
13907
13908 CREATE TRIGGER mtime_business_models BEFORE UPDATE ON public.business_models FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13909
13910
13911 --
13912 -- Name: chart mtime_chart; Type: TRIGGER; Schema: public; Owner: kivitendo
13913 --
13914
13915 CREATE TRIGGER mtime_chart BEFORE UPDATE ON public.chart FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13916
13917
13918 --
13919 -- Name: contacts mtime_contacts; Type: TRIGGER; Schema: public; Owner: kivitendo
13920 --
13921
13922 CREATE TRIGGER mtime_contacts BEFORE UPDATE ON public.contacts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13923
13924
13925 --
13926 -- Name: custom_data_export_queries mtime_custom_data_export_queries; Type: TRIGGER; Schema: public; Owner: kivitendo
13927 --
13928
13929 CREATE TRIGGER mtime_custom_data_export_queries BEFORE UPDATE ON public.custom_data_export_queries FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13930
13931
13932 --
13933 -- Name: custom_data_export_query_parameters mtime_custom_data_export_query_parameters; Type: TRIGGER; Schema: public; Owner: kivitendo
13934 --
13935
13936 CREATE TRIGGER mtime_custom_data_export_query_parameters BEFORE UPDATE ON public.custom_data_export_query_parameters FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13937
13938
13939 --
13940 -- Name: custom_variable_config_partsgroups mtime_custom_variable_config_partsgroups; Type: TRIGGER; Schema: public; Owner: kivitendo
13941 --
13942
13943 CREATE TRIGGER mtime_custom_variable_config_partsgroups BEFORE UPDATE ON public.custom_variable_config_partsgroups FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13944
13945
13946 --
13947 -- Name: custom_variable_configs mtime_custom_variable_configs; Type: TRIGGER; Schema: public; Owner: kivitendo
13948 --
13949
13950 CREATE TRIGGER mtime_custom_variable_configs BEFORE UPDATE ON public.custom_variable_configs FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13951
13952
13953 --
13954 -- Name: custom_variables mtime_custom_variables; Type: TRIGGER; Schema: public; Owner: kivitendo
13955 --
13956
13957 CREATE TRIGGER mtime_custom_variables BEFORE UPDATE ON public.custom_variables FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13958
13959
13960 --
13961 -- Name: customer mtime_customer; Type: TRIGGER; Schema: public; Owner: kivitendo
13962 --
13963
13964 CREATE TRIGGER mtime_customer BEFORE UPDATE ON public.customer FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13965
13966
13967 --
13968 -- Name: delivery_order_items mtime_delivery_order_items_id; Type: TRIGGER; Schema: public; Owner: kivitendo
13969 --
13970
13971 CREATE TRIGGER mtime_delivery_order_items_id BEFORE UPDATE ON public.delivery_order_items FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13972
13973
13974 --
13975 -- Name: delivery_order_items_stock mtime_delivery_order_items_stock; Type: TRIGGER; Schema: public; Owner: kivitendo
13976 --
13977
13978 CREATE TRIGGER mtime_delivery_order_items_stock BEFORE UPDATE ON public.delivery_order_items_stock FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13979
13980
13981 --
13982 -- Name: delivery_orders mtime_delivery_orders; Type: TRIGGER; Schema: public; Owner: kivitendo
13983 --
13984
13985 CREATE TRIGGER mtime_delivery_orders BEFORE UPDATE ON public.delivery_orders FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13986
13987
13988 --
13989 -- Name: delivery_terms mtime_delivery_terms; Type: TRIGGER; Schema: public; Owner: kivitendo
13990 --
13991
13992 CREATE TRIGGER mtime_delivery_terms BEFORE UPDATE ON public.delivery_terms FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
13993
13994
13995 --
13996 -- Name: department mtime_department; Type: TRIGGER; Schema: public; Owner: kivitendo
13997 --
13998
13999 CREATE TRIGGER mtime_department BEFORE UPDATE ON public.department FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14000
14001
14002 --
14003 -- Name: dunning mtime_dunning; Type: TRIGGER; Schema: public; Owner: kivitendo
14004 --
14005
14006 CREATE TRIGGER mtime_dunning BEFORE UPDATE ON public.dunning FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14007
14008
14009 --
14010 -- Name: email_journal mtime_email_journal; Type: TRIGGER; Schema: public; Owner: kivitendo
14011 --
14012
14013 CREATE TRIGGER mtime_email_journal BEFORE UPDATE ON public.email_journal FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14014
14015
14016 --
14017 -- Name: email_journal_attachments mtime_email_journal_attachments; Type: TRIGGER; Schema: public; Owner: kivitendo
14018 --
14019
14020 CREATE TRIGGER mtime_email_journal_attachments BEFORE UPDATE ON public.email_journal_attachments FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14021
14022
14023 --
14024 -- Name: file_full_texts mtime_file_full_texts; Type: TRIGGER; Schema: public; Owner: kivitendo
14025 --
14026
14027 CREATE TRIGGER mtime_file_full_texts BEFORE UPDATE ON public.file_full_texts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14028
14029
14030 --
14031 -- Name: file_versions mtime_file_version; Type: TRIGGER; Schema: public; Owner: kivitendo
14032 --
14033
14034 CREATE TRIGGER mtime_file_version BEFORE UPDATE ON public.file_versions FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14035
14036
14037 --
14038 -- Name: follow_up_links mtime_follow_up_links; Type: TRIGGER; Schema: public; Owner: kivitendo
14039 --
14040
14041 CREATE TRIGGER mtime_follow_up_links BEFORE UPDATE ON public.follow_up_links FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14042
14043
14044 --
14045 -- Name: follow_ups mtime_follow_ups; Type: TRIGGER; Schema: public; Owner: kivitendo
14046 --
14047
14048 CREATE TRIGGER mtime_follow_ups BEFORE UPDATE ON public.follow_ups FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14049
14050
14051 --
14052 -- Name: gl mtime_gl; Type: TRIGGER; Schema: public; Owner: kivitendo
14053 --
14054
14055 CREATE TRIGGER mtime_gl BEFORE UPDATE ON public.gl FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14056
14057
14058 --
14059 -- Name: inventory mtime_inventory; Type: TRIGGER; Schema: public; Owner: kivitendo
14060 --
14061
14062 CREATE TRIGGER mtime_inventory BEFORE UPDATE ON public.inventory FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14063
14064
14065 --
14066 -- Name: invoice mtime_invoice; Type: TRIGGER; Schema: public; Owner: kivitendo
14067 --
14068
14069 CREATE TRIGGER mtime_invoice BEFORE UPDATE ON public.invoice FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14070
14071
14072 --
14073 -- Name: notes mtime_notes; Type: TRIGGER; Schema: public; Owner: kivitendo
14074 --
14075
14076 CREATE TRIGGER mtime_notes BEFORE UPDATE ON public.notes FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14077
14078
14079 --
14080 -- Name: oe mtime_oe; Type: TRIGGER; Schema: public; Owner: kivitendo
14081 --
14082
14083 CREATE TRIGGER mtime_oe BEFORE UPDATE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14084
14085
14086 --
14087 -- Name: oe_version mtime_oe_version; Type: TRIGGER; Schema: public; Owner: kivitendo
14088 --
14089
14090 CREATE TRIGGER mtime_oe_version BEFORE UPDATE ON public.oe_version FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14091
14092
14093 --
14094 -- Name: order_statuses mtime_order_statuses; Type: TRIGGER; Schema: public; Owner: kivitendo
14095 --
14096
14097 CREATE TRIGGER mtime_order_statuses BEFORE UPDATE ON public.order_statuses FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14098
14099
14100 --
14101 -- Name: orderitems mtime_orderitems; Type: TRIGGER; Schema: public; Owner: kivitendo
14102 --
14103
14104 CREATE TRIGGER mtime_orderitems BEFORE UPDATE ON public.orderitems FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14105
14106
14107 --
14108 -- Name: parts mtime_parts; Type: TRIGGER; Schema: public; Owner: kivitendo
14109 --
14110
14111 CREATE TRIGGER mtime_parts BEFORE UPDATE ON public.parts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14112
14113
14114 --
14115 -- Name: partsgroup mtime_partsgroup; Type: TRIGGER; Schema: public; Owner: kivitendo
14116 --
14117
14118 CREATE TRIGGER mtime_partsgroup BEFORE UPDATE ON public.partsgroup FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14119
14120
14121 --
14122 -- Name: price_rule_items mtime_price_rule_items; Type: TRIGGER; Schema: public; Owner: kivitendo
14123 --
14124
14125 CREATE TRIGGER mtime_price_rule_items BEFORE UPDATE ON public.price_rule_items FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14126
14127
14128 --
14129 -- Name: price_rules mtime_price_rules; Type: TRIGGER; Schema: public; Owner: kivitendo
14130 --
14131
14132 CREATE TRIGGER mtime_price_rules BEFORE UPDATE ON public.price_rules FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14133
14134
14135 --
14136 -- Name: project mtime_project; Type: TRIGGER; Schema: public; Owner: kivitendo
14137 --
14138
14139 CREATE TRIGGER mtime_project BEFORE UPDATE ON public.project FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14140
14141
14142 --
14143 -- Name: project_participants mtime_project_participants; Type: TRIGGER; Schema: public; Owner: kivitendo
14144 --
14145
14146 CREATE TRIGGER mtime_project_participants BEFORE UPDATE ON public.project_participants FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14147
14148
14149 --
14150 -- Name: project_phase_participants mtime_project_phase_paticipants; Type: TRIGGER; Schema: public; Owner: kivitendo
14151 --
14152
14153 CREATE TRIGGER mtime_project_phase_paticipants BEFORE UPDATE ON public.project_phase_participants FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14154
14155
14156 --
14157 -- Name: project_phases mtime_project_phases; Type: TRIGGER; Schema: public; Owner: kivitendo
14158 --
14159
14160 CREATE TRIGGER mtime_project_phases BEFORE UPDATE ON public.project_phases FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14161
14162
14163 --
14164 -- Name: project_roles mtime_project_roles; Type: TRIGGER; Schema: public; Owner: kivitendo
14165 --
14166
14167 CREATE TRIGGER mtime_project_roles BEFORE UPDATE ON public.project_roles FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14168
14169
14170 --
14171 -- Name: project_statuses mtime_project_status; Type: TRIGGER; Schema: public; Owner: kivitendo
14172 --
14173
14174 CREATE TRIGGER mtime_project_status BEFORE UPDATE ON public.project_statuses FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14175
14176
14177 --
14178 -- Name: purchase_basket_items mtime_purchase_basket_items; Type: TRIGGER; Schema: public; Owner: kivitendo
14179 --
14180
14181 CREATE TRIGGER mtime_purchase_basket_items BEFORE UPDATE ON public.purchase_basket_items FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14182
14183
14184 --
14185 -- Name: reclamation_items mtime_reclamation_items; Type: TRIGGER; Schema: public; Owner: kivitendo
14186 --
14187
14188 CREATE TRIGGER mtime_reclamation_items BEFORE UPDATE ON public.reclamation_items FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14189
14190
14191 --
14192 -- Name: reclamation_reasons mtime_reclamation_reasons; Type: TRIGGER; Schema: public; Owner: kivitendo
14193 --
14194
14195 CREATE TRIGGER mtime_reclamation_reasons BEFORE UPDATE ON public.reclamation_reasons FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14196
14197
14198 --
14199 -- Name: reclamations mtime_reclamations; Type: TRIGGER; Schema: public; Owner: kivitendo
14200 --
14201
14202 CREATE TRIGGER mtime_reclamations BEFORE UPDATE ON public.reclamations FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14203
14204
14205 --
14206 -- Name: record_templates mtime_record_templates; Type: TRIGGER; Schema: public; Owner: kivitendo
14207 --
14208
14209 CREATE TRIGGER mtime_record_templates BEFORE UPDATE ON public.record_templates FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14210
14211
14212 --
14213 -- Name: requirement_spec_acceptance_statuses mtime_requirement_spec_acceptance_statuses; Type: TRIGGER; Schema: public; Owner: kivitendo
14214 --
14215
14216 CREATE TRIGGER mtime_requirement_spec_acceptance_statuses BEFORE UPDATE ON public.requirement_spec_acceptance_statuses FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14217
14218
14219 --
14220 -- Name: requirement_spec_complexities mtime_requirement_spec_complexities; Type: TRIGGER; Schema: public; Owner: kivitendo
14221 --
14222
14223 CREATE TRIGGER mtime_requirement_spec_complexities BEFORE UPDATE ON public.requirement_spec_complexities FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14224
14225
14226 --
14227 -- Name: requirement_spec_items mtime_requirement_spec_items; Type: TRIGGER; Schema: public; Owner: kivitendo
14228 --
14229
14230 CREATE TRIGGER mtime_requirement_spec_items BEFORE UPDATE ON public.requirement_spec_items FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14231
14232
14233 --
14234 -- Name: requirement_spec_orders mtime_requirement_spec_orders; Type: TRIGGER; Schema: public; Owner: kivitendo
14235 --
14236
14237 CREATE TRIGGER mtime_requirement_spec_orders BEFORE UPDATE ON public.requirement_spec_orders FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14238
14239
14240 --
14241 -- Name: requirement_spec_pictures mtime_requirement_spec_pictures; Type: TRIGGER; Schema: public; Owner: kivitendo
14242 --
14243
14244 CREATE TRIGGER mtime_requirement_spec_pictures BEFORE UPDATE ON public.requirement_spec_pictures FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14245
14246
14247 --
14248 -- Name: requirement_spec_predefined_texts mtime_requirement_spec_predefined_texts; Type: TRIGGER; Schema: public; Owner: kivitendo
14249 --
14250
14251 CREATE TRIGGER mtime_requirement_spec_predefined_texts BEFORE UPDATE ON public.requirement_spec_predefined_texts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14252
14253
14254 --
14255 -- Name: requirement_spec_risks mtime_requirement_spec_risks; Type: TRIGGER; Schema: public; Owner: kivitendo
14256 --
14257
14258 CREATE TRIGGER mtime_requirement_spec_risks BEFORE UPDATE ON public.requirement_spec_risks FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14259
14260
14261 --
14262 -- Name: requirement_spec_statuses mtime_requirement_spec_statuses; Type: TRIGGER; Schema: public; Owner: kivitendo
14263 --
14264
14265 CREATE TRIGGER mtime_requirement_spec_statuses BEFORE UPDATE ON public.requirement_spec_statuses FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14266
14267
14268 --
14269 -- Name: requirement_spec_text_blocks mtime_requirement_spec_text_blocks; Type: TRIGGER; Schema: public; Owner: kivitendo
14270 --
14271
14272 CREATE TRIGGER mtime_requirement_spec_text_blocks BEFORE UPDATE ON public.requirement_spec_text_blocks FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14273
14274
14275 --
14276 -- Name: requirement_spec_types mtime_requirement_spec_types; Type: TRIGGER; Schema: public; Owner: kivitendo
14277 --
14278
14279 CREATE TRIGGER mtime_requirement_spec_types BEFORE UPDATE ON public.requirement_spec_types FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14280
14281
14282 --
14283 -- Name: requirement_spec_versions mtime_requirement_spec_versions; Type: TRIGGER; Schema: public; Owner: kivitendo
14284 --
14285
14286 CREATE TRIGGER mtime_requirement_spec_versions BEFORE UPDATE ON public.requirement_spec_versions FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14287
14288
14289 --
14290 -- Name: requirement_specs mtime_requirement_specs; Type: TRIGGER; Schema: public; Owner: kivitendo
14291 --
14292
14293 CREATE TRIGGER mtime_requirement_specs BEFORE UPDATE ON public.requirement_specs FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14294
14295
14296 --
14297 -- Name: shop_images mtime_shop_images; Type: TRIGGER; Schema: public; Owner: kivitendo
14298 --
14299
14300 CREATE TRIGGER mtime_shop_images BEFORE UPDATE ON public.shop_images FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14301
14302
14303 --
14304 -- Name: shop_parts mtime_shop_parts; Type: TRIGGER; Schema: public; Owner: kivitendo
14305 --
14306
14307 CREATE TRIGGER mtime_shop_parts BEFORE UPDATE ON public.shop_parts FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14308
14309
14310 --
14311 -- Name: shops mtime_shops; Type: TRIGGER; Schema: public; Owner: kivitendo
14312 --
14313
14314 CREATE TRIGGER mtime_shops BEFORE UPDATE ON public.shops FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14315
14316
14317 --
14318 -- Name: status mtime_status; Type: TRIGGER; Schema: public; Owner: kivitendo
14319 --
14320
14321 CREATE TRIGGER mtime_status BEFORE UPDATE ON public.status FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14322
14323
14324 --
14325 -- Name: stocktakings mtime_stocktakings; Type: TRIGGER; Schema: public; Owner: kivitendo
14326 --
14327
14328 CREATE TRIGGER mtime_stocktakings BEFORE UPDATE ON public.stocktakings FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14329
14330
14331 --
14332 -- Name: tax mtime_tax; Type: TRIGGER; Schema: public; Owner: kivitendo
14333 --
14334
14335 CREATE TRIGGER mtime_tax BEFORE UPDATE ON public.tax FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14336
14337
14338 --
14339 -- Name: time_recordings mtime_time_recordings; Type: TRIGGER; Schema: public; Owner: kivitendo
14340 --
14341
14342 CREATE TRIGGER mtime_time_recordings BEFORE UPDATE ON public.time_recordings FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14343
14344
14345 --
14346 -- Name: transfer_type mtime_transfer_type; Type: TRIGGER; Schema: public; Owner: kivitendo
14347 --
14348
14349 CREATE TRIGGER mtime_transfer_type BEFORE UPDATE ON public.transfer_type FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14350
14351
14352 --
14353 -- Name: vendor mtime_vendor; Type: TRIGGER; Schema: public; Owner: kivitendo
14354 --
14355
14356 CREATE TRIGGER mtime_vendor BEFORE UPDATE ON public.vendor FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14357
14358
14359 --
14360 -- Name: warehouse mtime_warehouse; Type: TRIGGER; Schema: public; Owner: kivitendo
14361 --
14362
14363 CREATE TRIGGER mtime_warehouse BEFORE UPDATE ON public.warehouse FOR EACH ROW EXECUTE FUNCTION public.set_mtime();
14364
14365
14366 --
14367 -- Name: oe oe_before_delete_clear_follow_ups; Type: TRIGGER; Schema: public; Owner: kivitendo
14368 --
14369
14370 CREATE TRIGGER oe_before_delete_clear_follow_ups BEFORE DELETE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.follow_up_delete_when_oe_is_deleted_trigger();
14371
14372
14373 --
14374 -- Name: oe oe_on_update_close_follow_up; Type: TRIGGER; Schema: public; Owner: kivitendo
14375 --
14376
14377 CREATE TRIGGER oe_on_update_close_follow_up AFTER UPDATE ON public.oe FOR EACH ROW EXECUTE FUNCTION public.follow_up_close_when_oe_closed_trigger();
14378
14379
14380 --
14381 -- Name: orderitems orderitems_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
14382 --
14383
14384 CREATE TRIGGER orderitems_delete_custom_variables_after_deletion AFTER DELETE ON public.orderitems FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
14385
14386
14387 --
14388 -- Name: parts parts_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
14389 --
14390
14391 CREATE TRIGGER parts_delete_custom_variables_after_deletion AFTER DELETE ON public.parts FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
14392
14393
14394 --
14395 -- Name: project project_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
14396 --
14397
14398 CREATE TRIGGER project_delete_custom_variables_after_deletion AFTER DELETE ON public.project FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
14399
14400
14401 --
14402 -- Name: reclamation_items reclamation_items_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
14403 --
14404
14405 CREATE TRIGGER reclamation_items_delete_custom_variables_after_deletion AFTER DELETE ON public.reclamation_items FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
14406
14407
14408 --
14409 -- Name: shipto shipto_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
14410 --
14411
14412 CREATE TRIGGER shipto_delete_custom_variables_after_deletion AFTER DELETE ON public.shipto FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
14413
14414
14415 --
14416 -- Name: time_recordings time_recordings_set_date; Type: TRIGGER; Schema: public; Owner: kivitendo
14417 --
14418
14419 CREATE TRIGGER time_recordings_set_date BEFORE INSERT OR UPDATE ON public.time_recordings FOR EACH ROW EXECUTE FUNCTION public.time_recordings_set_date_trigger();
14420
14421
14422 --
14423 -- Name: time_recordings time_recordings_set_duration; Type: TRIGGER; Schema: public; Owner: kivitendo
14424 --
14425
14426 CREATE TRIGGER time_recordings_set_duration BEFORE INSERT OR UPDATE ON public.time_recordings FOR EACH ROW EXECUTE FUNCTION public.time_recordings_set_duration_trigger();
14427
14428
14429 --
14430 -- Name: inventory trig_update_onhand; Type: TRIGGER; Schema: public; Owner: kivitendo
14431 --
14432
14433 CREATE TRIGGER trig_update_onhand AFTER INSERT OR DELETE OR UPDATE ON public.inventory FOR EACH ROW EXECUTE FUNCTION public.update_onhand();
14434
14435
14436 --
14437 -- Name: requirement_spec_items update_requirement_spec_item_time_estimation; Type: TRIGGER; Schema: public; Owner: kivitendo
14438 --
14439
14440 CREATE TRIGGER update_requirement_spec_item_time_estimation AFTER INSERT OR DELETE OR UPDATE ON public.requirement_spec_items FOR EACH ROW EXECUTE FUNCTION public.requirement_spec_item_time_estimation_updater_trigger();
14441
14442
14443 --
14444 -- Name: vendor vendor_before_delete_clear_follow_ups; Type: TRIGGER; Schema: public; Owner: kivitendo
14445 --
14446
14447 CREATE TRIGGER vendor_before_delete_clear_follow_ups AFTER DELETE ON public.vendor FOR EACH ROW EXECUTE FUNCTION public.follow_up_delete_when_customer_vendor_is_deleted_trigger();
14448
14449
14450 --
14451 -- Name: vendor vendor_delete_custom_variables_after_deletion; Type: TRIGGER; Schema: public; Owner: kivitendo
14452 --
14453
14454 CREATE TRIGGER vendor_delete_custom_variables_after_deletion AFTER DELETE ON public.vendor FOR EACH ROW EXECUTE FUNCTION public.delete_custom_variables_trigger();
14455
14456
14457 --
14458 -- Name: acc_trans $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14459 --
14460
14461 ALTER TABLE ONLY public.acc_trans
14462     ADD CONSTRAINT "$1" FOREIGN KEY (chart_id) REFERENCES public.chart(id);
14463
14464
14465 --
14466 -- Name: ap $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14467 --
14468
14469 ALTER TABLE ONLY public.ap
14470     ADD CONSTRAINT "$1" FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
14471
14472
14473 --
14474 -- Name: ar $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14475 --
14476
14477 ALTER TABLE ONLY public.ar
14478     ADD CONSTRAINT "$1" FOREIGN KEY (customer_id) REFERENCES public.customer(id);
14479
14480
14481 --
14482 -- Name: invoice $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14483 --
14484
14485 ALTER TABLE ONLY public.invoice
14486     ADD CONSTRAINT "$1" FOREIGN KEY (parts_id) REFERENCES public.parts(id);
14487
14488
14489 --
14490 -- Name: parts $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14491 --
14492
14493 ALTER TABLE ONLY public.parts
14494     ADD CONSTRAINT "$1" FOREIGN KEY (buchungsgruppen_id) REFERENCES public.buchungsgruppen(id);
14495
14496
14497 --
14498 -- Name: units $1; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14499 --
14500
14501 ALTER TABLE ONLY public.units
14502     ADD CONSTRAINT "$1" FOREIGN KEY (base_unit) REFERENCES public.units(name);
14503
14504
14505 --
14506 -- Name: acc_trans acc_trans_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14507 --
14508
14509 ALTER TABLE ONLY public.acc_trans
14510     ADD CONSTRAINT acc_trans_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
14511
14512
14513 --
14514 -- Name: acc_trans acc_trans_tax_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14515 --
14516
14517 ALTER TABLE ONLY public.acc_trans
14518     ADD CONSTRAINT acc_trans_tax_id_fkey FOREIGN KEY (tax_id) REFERENCES public.tax(id);
14519
14520
14521 --
14522 -- Name: additional_billing_addresses additional_billing_addresses_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14523 --
14524
14525 ALTER TABLE ONLY public.additional_billing_addresses
14526     ADD CONSTRAINT additional_billing_addresses_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
14527
14528
14529 --
14530 -- Name: ap ap_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14531 --
14532
14533 ALTER TABLE ONLY public.ap
14534     ADD CONSTRAINT ap_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
14535
14536
14537 --
14538 -- Name: ap ap_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14539 --
14540
14541 ALTER TABLE ONLY public.ap
14542     ADD CONSTRAINT ap_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
14543
14544
14545 --
14546 -- Name: ap ap_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14547 --
14548
14549 ALTER TABLE ONLY public.ap
14550     ADD CONSTRAINT ap_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
14551
14552
14553 --
14554 -- Name: ap ap_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14555 --
14556
14557 ALTER TABLE ONLY public.ap
14558     ADD CONSTRAINT ap_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
14559
14560
14561 --
14562 -- Name: ap ap_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14563 --
14564
14565 ALTER TABLE ONLY public.ap
14566     ADD CONSTRAINT ap_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14567
14568
14569 --
14570 -- Name: ap_gl ap_gl_ap_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14571 --
14572
14573 ALTER TABLE ONLY public.ap_gl
14574     ADD CONSTRAINT ap_gl_ap_id_fkey FOREIGN KEY (ap_id) REFERENCES public.ap(id);
14575
14576
14577 --
14578 -- Name: ap_gl ap_gl_gl_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14579 --
14580
14581 ALTER TABLE ONLY public.ap_gl
14582     ADD CONSTRAINT ap_gl_gl_id_fkey FOREIGN KEY (gl_id) REFERENCES public.gl(id) ON DELETE CASCADE;
14583
14584
14585 --
14586 -- Name: ap ap_globalproject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14587 --
14588
14589 ALTER TABLE ONLY public.ap
14590     ADD CONSTRAINT ap_globalproject_id_fkey FOREIGN KEY (globalproject_id) REFERENCES public.project(id);
14591
14592
14593 --
14594 -- Name: ap ap_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14595 --
14596
14597 ALTER TABLE ONLY public.ap
14598     ADD CONSTRAINT ap_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
14599
14600
14601 --
14602 -- Name: ap ap_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14603 --
14604
14605 ALTER TABLE ONLY public.ap
14606     ADD CONSTRAINT ap_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
14607
14608
14609 --
14610 -- Name: ap ap_storno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14611 --
14612
14613 ALTER TABLE ONLY public.ap
14614     ADD CONSTRAINT ap_storno_id_fkey FOREIGN KEY (storno_id) REFERENCES public.ap(id);
14615
14616
14617 --
14618 -- Name: ap ap_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14619 --
14620
14621 ALTER TABLE ONLY public.ap
14622     ADD CONSTRAINT ap_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
14623
14624
14625 --
14626 -- Name: ar ar_billing_address_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14627 --
14628
14629 ALTER TABLE ONLY public.ar
14630     ADD CONSTRAINT ar_billing_address_id_fkey FOREIGN KEY (billing_address_id) REFERENCES public.additional_billing_addresses(id);
14631
14632
14633 --
14634 -- Name: ar ar_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14635 --
14636
14637 ALTER TABLE ONLY public.ar
14638     ADD CONSTRAINT ar_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
14639
14640
14641 --
14642 -- Name: ar ar_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14643 --
14644
14645 ALTER TABLE ONLY public.ar
14646     ADD CONSTRAINT ar_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
14647
14648
14649 --
14650 -- Name: ar ar_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14651 --
14652
14653 ALTER TABLE ONLY public.ar
14654     ADD CONSTRAINT ar_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
14655
14656
14657 --
14658 -- Name: ar ar_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14659 --
14660
14661 ALTER TABLE ONLY public.ar
14662     ADD CONSTRAINT ar_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
14663
14664
14665 --
14666 -- Name: ar ar_dunning_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14667 --
14668
14669 ALTER TABLE ONLY public.ar
14670     ADD CONSTRAINT ar_dunning_config_id_fkey FOREIGN KEY (dunning_config_id) REFERENCES public.dunning_config(id);
14671
14672
14673 --
14674 -- Name: ar ar_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14675 --
14676
14677 ALTER TABLE ONLY public.ar
14678     ADD CONSTRAINT ar_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
14679
14680
14681 --
14682 -- Name: ar ar_globalproject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14683 --
14684
14685 ALTER TABLE ONLY public.ar
14686     ADD CONSTRAINT ar_globalproject_id_fkey FOREIGN KEY (globalproject_id) REFERENCES public.project(id);
14687
14688
14689 --
14690 -- Name: ar ar_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14691 --
14692
14693 ALTER TABLE ONLY public.ar
14694     ADD CONSTRAINT ar_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
14695
14696
14697 --
14698 -- Name: ar ar_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14699 --
14700
14701 ALTER TABLE ONLY public.ar
14702     ADD CONSTRAINT ar_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
14703
14704
14705 --
14706 -- Name: ar ar_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14707 --
14708
14709 ALTER TABLE ONLY public.ar
14710     ADD CONSTRAINT ar_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
14711
14712
14713 --
14714 -- Name: ar ar_shipto_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14715 --
14716
14717 ALTER TABLE ONLY public.ar
14718     ADD CONSTRAINT ar_shipto_id_fkey FOREIGN KEY (shipto_id) REFERENCES public.shipto(shipto_id);
14719
14720
14721 --
14722 -- Name: ar ar_storno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14723 --
14724
14725 ALTER TABLE ONLY public.ar
14726     ADD CONSTRAINT ar_storno_id_fkey FOREIGN KEY (storno_id) REFERENCES public.ar(id);
14727
14728
14729 --
14730 -- Name: ar ar_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14731 --
14732
14733 ALTER TABLE ONLY public.ar
14734     ADD CONSTRAINT ar_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
14735
14736
14737 --
14738 -- Name: assembly assembly_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14739 --
14740
14741 ALTER TABLE ONLY public.assembly
14742     ADD CONSTRAINT assembly_id_fkey FOREIGN KEY (id) REFERENCES public.parts(id);
14743
14744
14745 --
14746 -- Name: assembly assembly_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14747 --
14748
14749 ALTER TABLE ONLY public.assembly
14750     ADD CONSTRAINT assembly_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
14751
14752
14753 --
14754 -- Name: assortment_items assortment_items_assortment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14755 --
14756
14757 ALTER TABLE ONLY public.assortment_items
14758     ADD CONSTRAINT assortment_items_assortment_id_fkey FOREIGN KEY (assortment_id) REFERENCES public.parts(id) ON DELETE CASCADE;
14759
14760
14761 --
14762 -- Name: assortment_items assortment_items_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14763 --
14764
14765 ALTER TABLE ONLY public.assortment_items
14766     ADD CONSTRAINT assortment_items_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
14767
14768
14769 --
14770 -- Name: assortment_items assortment_items_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14771 --
14772
14773 ALTER TABLE ONLY public.assortment_items
14774     ADD CONSTRAINT assortment_items_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
14775
14776
14777 --
14778 -- Name: bank_accounts bank_accounts_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14779 --
14780
14781 ALTER TABLE ONLY public.bank_accounts
14782     ADD CONSTRAINT bank_accounts_chart_id_fkey FOREIGN KEY (chart_id) REFERENCES public.chart(id);
14783
14784
14785 --
14786 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_acc_trans_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14787 --
14788
14789 ALTER TABLE ONLY public.bank_transaction_acc_trans
14790     ADD CONSTRAINT bank_transaction_acc_trans_acc_trans_id_fkey FOREIGN KEY (acc_trans_id) REFERENCES public.acc_trans(acc_trans_id);
14791
14792
14793 --
14794 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_ap_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14795 --
14796
14797 ALTER TABLE ONLY public.bank_transaction_acc_trans
14798     ADD CONSTRAINT bank_transaction_acc_trans_ap_id_fkey FOREIGN KEY (ap_id) REFERENCES public.ap(id);
14799
14800
14801 --
14802 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_ar_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14803 --
14804
14805 ALTER TABLE ONLY public.bank_transaction_acc_trans
14806     ADD CONSTRAINT bank_transaction_acc_trans_ar_id_fkey FOREIGN KEY (ar_id) REFERENCES public.ar(id);
14807
14808
14809 --
14810 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_bank_transaction_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14811 --
14812
14813 ALTER TABLE ONLY public.bank_transaction_acc_trans
14814     ADD CONSTRAINT bank_transaction_acc_trans_bank_transaction_id_fkey FOREIGN KEY (bank_transaction_id) REFERENCES public.bank_transactions(id);
14815
14816
14817 --
14818 -- Name: bank_transaction_acc_trans bank_transaction_acc_trans_gl_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14819 --
14820
14821 ALTER TABLE ONLY public.bank_transaction_acc_trans
14822     ADD CONSTRAINT bank_transaction_acc_trans_gl_id_fkey FOREIGN KEY (gl_id) REFERENCES public.gl(id);
14823
14824
14825 --
14826 -- Name: bank_transactions bank_transactions_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14827 --
14828
14829 ALTER TABLE ONLY public.bank_transactions
14830     ADD CONSTRAINT bank_transactions_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
14831
14832
14833 --
14834 -- Name: bank_transactions bank_transactions_local_bank_account_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14835 --
14836
14837 ALTER TABLE ONLY public.bank_transactions
14838     ADD CONSTRAINT bank_transactions_local_bank_account_id_fkey FOREIGN KEY (local_bank_account_id) REFERENCES public.bank_accounts(id);
14839
14840
14841 --
14842 -- Name: bin bin_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14843 --
14844
14845 ALTER TABLE ONLY public.bin
14846     ADD CONSTRAINT bin_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
14847
14848
14849 --
14850 -- Name: buchungsgruppen buchungsgruppen_inventory_accno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14851 --
14852
14853 ALTER TABLE ONLY public.buchungsgruppen
14854     ADD CONSTRAINT buchungsgruppen_inventory_accno_id_fkey FOREIGN KEY (inventory_accno_id) REFERENCES public.chart(id);
14855
14856
14857 --
14858 -- Name: business_models business_models_business_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14859 --
14860
14861 ALTER TABLE ONLY public.business_models
14862     ADD CONSTRAINT business_models_business_id_fkey FOREIGN KEY (business_id) REFERENCES public.business(id);
14863
14864
14865 --
14866 -- Name: business_models business_models_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14867 --
14868
14869 ALTER TABLE ONLY public.business_models
14870     ADD CONSTRAINT business_models_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
14871
14872
14873 --
14874 -- Name: csv_import_profile_settings csv_import_profile_settings_csv_import_profile_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14875 --
14876
14877 ALTER TABLE ONLY public.csv_import_profile_settings
14878     ADD CONSTRAINT csv_import_profile_settings_csv_import_profile_id_fkey FOREIGN KEY (csv_import_profile_id) REFERENCES public.csv_import_profiles(id);
14879
14880
14881 --
14882 -- Name: csv_import_report_rows csv_import_report_rows_csv_import_report_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14883 --
14884
14885 ALTER TABLE ONLY public.csv_import_report_rows
14886     ADD CONSTRAINT csv_import_report_rows_csv_import_report_id_fkey FOREIGN KEY (csv_import_report_id) REFERENCES public.csv_import_reports(id);
14887
14888
14889 --
14890 -- Name: csv_import_report_status csv_import_report_status_csv_import_report_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14891 --
14892
14893 ALTER TABLE ONLY public.csv_import_report_status
14894     ADD CONSTRAINT csv_import_report_status_csv_import_report_id_fkey FOREIGN KEY (csv_import_report_id) REFERENCES public.csv_import_reports(id);
14895
14896
14897 --
14898 -- Name: csv_import_reports csv_import_reports_profile_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14899 --
14900
14901 ALTER TABLE ONLY public.csv_import_reports
14902     ADD CONSTRAINT csv_import_reports_profile_id_fkey FOREIGN KEY (profile_id) REFERENCES public.csv_import_profiles(id);
14903
14904
14905 --
14906 -- Name: custom_data_export_query_parameters custom_data_export_query_parameters_query_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14907 --
14908
14909 ALTER TABLE ONLY public.custom_data_export_query_parameters
14910     ADD CONSTRAINT custom_data_export_query_parameters_query_id_fkey FOREIGN KEY (query_id) REFERENCES public.custom_data_export_queries(id) ON DELETE CASCADE;
14911
14912
14913 --
14914 -- Name: custom_variable_config_partsgroups custom_variable_config_partsgrou_custom_variable_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14915 --
14916
14917 ALTER TABLE ONLY public.custom_variable_config_partsgroups
14918     ADD CONSTRAINT custom_variable_config_partsgrou_custom_variable_config_id_fkey FOREIGN KEY (custom_variable_config_id) REFERENCES public.custom_variable_configs(id);
14919
14920
14921 --
14922 -- Name: custom_variable_config_partsgroups custom_variable_config_partsgroups_partsgroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14923 --
14924
14925 ALTER TABLE ONLY public.custom_variable_config_partsgroups
14926     ADD CONSTRAINT custom_variable_config_partsgroups_partsgroup_id_fkey FOREIGN KEY (partsgroup_id) REFERENCES public.partsgroup(id);
14927
14928
14929 --
14930 -- Name: custom_variables custom_variables_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14931 --
14932
14933 ALTER TABLE ONLY public.custom_variables
14934     ADD CONSTRAINT custom_variables_config_id_fkey FOREIGN KEY (config_id) REFERENCES public.custom_variable_configs(id);
14935
14936
14937 --
14938 -- Name: custom_variables_validity custom_variables_validity_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14939 --
14940
14941 ALTER TABLE ONLY public.custom_variables_validity
14942     ADD CONSTRAINT custom_variables_validity_config_id_fkey FOREIGN KEY (config_id) REFERENCES public.custom_variable_configs(id);
14943
14944
14945 --
14946 -- Name: customer customer_business_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14947 --
14948
14949 ALTER TABLE ONLY public.customer
14950     ADD CONSTRAINT customer_business_id_fkey FOREIGN KEY (business_id) REFERENCES public.business(id);
14951
14952
14953 --
14954 -- Name: customer customer_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14955 --
14956
14957 ALTER TABLE ONLY public.customer
14958     ADD CONSTRAINT customer_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
14959
14960
14961 --
14962 -- Name: customer customer_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14963 --
14964
14965 ALTER TABLE ONLY public.customer
14966     ADD CONSTRAINT customer_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
14967
14968
14969 --
14970 -- Name: customer customer_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14971 --
14972
14973 ALTER TABLE ONLY public.customer
14974     ADD CONSTRAINT customer_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
14975
14976
14977 --
14978 -- Name: customer customer_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14979 --
14980
14981 ALTER TABLE ONLY public.customer
14982     ADD CONSTRAINT customer_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
14983
14984
14985 --
14986 -- Name: customer customer_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14987 --
14988
14989 ALTER TABLE ONLY public.customer
14990     ADD CONSTRAINT customer_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id);
14991
14992
14993 --
14994 -- Name: customer customer_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
14995 --
14996
14997 ALTER TABLE ONLY public.customer
14998     ADD CONSTRAINT customer_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
14999
15000
15001 --
15002 -- Name: defaults defaults_ap_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15003 --
15004
15005 ALTER TABLE ONLY public.defaults
15006     ADD CONSTRAINT defaults_ap_chart_id_fkey FOREIGN KEY (ap_chart_id) REFERENCES public.chart(id);
15007
15008
15009 --
15010 -- Name: defaults defaults_ar_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15011 --
15012
15013 ALTER TABLE ONLY public.defaults
15014     ADD CONSTRAINT defaults_ar_chart_id_fkey FOREIGN KEY (ar_chart_id) REFERENCES public.chart(id);
15015
15016
15017 --
15018 -- Name: defaults defaults_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15019 --
15020
15021 ALTER TABLE ONLY public.defaults
15022     ADD CONSTRAINT defaults_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id);
15023
15024
15025 --
15026 -- Name: defaults defaults_bin_id_ignore_onhand_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15027 --
15028
15029 ALTER TABLE ONLY public.defaults
15030     ADD CONSTRAINT defaults_bin_id_ignore_onhand_fkey FOREIGN KEY (bin_id_ignore_onhand) REFERENCES public.bin(id);
15031
15032
15033 --
15034 -- Name: defaults defaults_carry_over_account_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15035 --
15036
15037 ALTER TABLE ONLY public.defaults
15038     ADD CONSTRAINT defaults_carry_over_account_chart_id_fkey FOREIGN KEY (carry_over_account_chart_id) REFERENCES public.chart(id);
15039
15040
15041 --
15042 -- Name: defaults defaults_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15043 --
15044
15045 ALTER TABLE ONLY public.defaults
15046     ADD CONSTRAINT defaults_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
15047
15048
15049 --
15050 -- Name: defaults defaults_loss_carried_forward_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15051 --
15052
15053 ALTER TABLE ONLY public.defaults
15054     ADD CONSTRAINT defaults_loss_carried_forward_chart_id_fkey FOREIGN KEY (loss_carried_forward_chart_id) REFERENCES public.chart(id);
15055
15056
15057 --
15058 -- Name: defaults defaults_profit_carried_forward_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15059 --
15060
15061 ALTER TABLE ONLY public.defaults
15062     ADD CONSTRAINT defaults_profit_carried_forward_chart_id_fkey FOREIGN KEY (profit_carried_forward_chart_id) REFERENCES public.chart(id);
15063
15064
15065 --
15066 -- Name: defaults defaults_project_status_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15067 --
15068
15069 ALTER TABLE ONLY public.defaults
15070     ADD CONSTRAINT defaults_project_status_id_fkey FOREIGN KEY (project_status_id) REFERENCES public.project_statuses(id);
15071
15072
15073 --
15074 -- Name: defaults defaults_project_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15075 --
15076
15077 ALTER TABLE ONLY public.defaults
15078     ADD CONSTRAINT defaults_project_type_id_fkey FOREIGN KEY (project_type_id) REFERENCES public.project_types(id);
15079
15080
15081 --
15082 -- Name: defaults defaults_requirement_spec_section_order_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15083 --
15084
15085 ALTER TABLE ONLY public.defaults
15086     ADD CONSTRAINT defaults_requirement_spec_section_order_part_id_fkey FOREIGN KEY (requirement_spec_section_order_part_id) REFERENCES public.parts(id) ON DELETE SET NULL;
15087
15088
15089 --
15090 -- Name: defaults defaults_stocktaking_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15091 --
15092
15093 ALTER TABLE ONLY public.defaults
15094     ADD CONSTRAINT defaults_stocktaking_bin_id_fkey FOREIGN KEY (stocktaking_bin_id) REFERENCES public.bin(id);
15095
15096
15097 --
15098 -- Name: defaults defaults_stocktaking_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15099 --
15100
15101 ALTER TABLE ONLY public.defaults
15102     ADD CONSTRAINT defaults_stocktaking_warehouse_id_fkey FOREIGN KEY (stocktaking_warehouse_id) REFERENCES public.warehouse(id);
15103
15104
15105 --
15106 -- Name: defaults defaults_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15107 --
15108
15109 ALTER TABLE ONLY public.defaults
15110     ADD CONSTRAINT defaults_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
15111
15112
15113 --
15114 -- Name: defaults defaults_warehouse_id_ignore_onhand_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15115 --
15116
15117 ALTER TABLE ONLY public.defaults
15118     ADD CONSTRAINT defaults_warehouse_id_ignore_onhand_fkey FOREIGN KEY (warehouse_id_ignore_onhand) REFERENCES public.warehouse(id);
15119
15120
15121 --
15122 -- Name: delivery_order_items delivery_order_items_delivery_order_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15123 --
15124
15125 ALTER TABLE ONLY public.delivery_order_items
15126     ADD CONSTRAINT delivery_order_items_delivery_order_id_fkey FOREIGN KEY (delivery_order_id) REFERENCES public.delivery_orders(id) ON DELETE CASCADE;
15127
15128
15129 --
15130 -- Name: delivery_order_items delivery_order_items_orderer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15131 --
15132
15133 ALTER TABLE ONLY public.delivery_order_items
15134     ADD CONSTRAINT delivery_order_items_orderer_id_fkey FOREIGN KEY (orderer_id) REFERENCES public.employee(id);
15135
15136
15137 --
15138 -- Name: delivery_order_items delivery_order_items_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15139 --
15140
15141 ALTER TABLE ONLY public.delivery_order_items
15142     ADD CONSTRAINT delivery_order_items_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id) ON DELETE RESTRICT;
15143
15144
15145 --
15146 -- Name: delivery_order_items delivery_order_items_price_factor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15147 --
15148
15149 ALTER TABLE ONLY public.delivery_order_items
15150     ADD CONSTRAINT delivery_order_items_price_factor_id_fkey FOREIGN KEY (price_factor_id) REFERENCES public.price_factors(id) ON DELETE RESTRICT;
15151
15152
15153 --
15154 -- Name: delivery_order_items delivery_order_items_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15155 --
15156
15157 ALTER TABLE ONLY public.delivery_order_items
15158     ADD CONSTRAINT delivery_order_items_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id) ON DELETE RESTRICT;
15159
15160
15161 --
15162 -- Name: delivery_order_items delivery_order_items_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15163 --
15164
15165 ALTER TABLE ONLY public.delivery_order_items
15166     ADD CONSTRAINT delivery_order_items_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE SET NULL;
15167
15168
15169 --
15170 -- Name: delivery_order_items_stock delivery_order_items_stock_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15171 --
15172
15173 ALTER TABLE ONLY public.delivery_order_items_stock
15174     ADD CONSTRAINT delivery_order_items_stock_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id) ON DELETE RESTRICT;
15175
15176
15177 --
15178 -- Name: delivery_order_items_stock delivery_order_items_stock_delivery_order_item_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15179 --
15180
15181 ALTER TABLE ONLY public.delivery_order_items_stock
15182     ADD CONSTRAINT delivery_order_items_stock_delivery_order_item_id_fkey FOREIGN KEY (delivery_order_item_id) REFERENCES public.delivery_order_items(id) ON DELETE CASCADE;
15183
15184
15185 --
15186 -- Name: inventory delivery_order_items_stock_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15187 --
15188
15189 ALTER TABLE ONLY public.inventory
15190     ADD CONSTRAINT delivery_order_items_stock_id_fkey FOREIGN KEY (delivery_order_items_stock_id) REFERENCES public.delivery_order_items_stock(id);
15191
15192
15193 --
15194 -- Name: delivery_order_items_stock delivery_order_items_stock_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15195 --
15196
15197 ALTER TABLE ONLY public.delivery_order_items_stock
15198     ADD CONSTRAINT delivery_order_items_stock_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id) ON DELETE RESTRICT;
15199
15200
15201 --
15202 -- Name: delivery_order_items delivery_order_items_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15203 --
15204
15205 ALTER TABLE ONLY public.delivery_order_items
15206     ADD CONSTRAINT delivery_order_items_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
15207
15208
15209 --
15210 -- Name: delivery_orders delivery_orders_billing_address_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15211 --
15212
15213 ALTER TABLE ONLY public.delivery_orders
15214     ADD CONSTRAINT delivery_orders_billing_address_id_fkey FOREIGN KEY (billing_address_id) REFERENCES public.additional_billing_addresses(id);
15215
15216
15217 --
15218 -- Name: delivery_orders delivery_orders_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15219 --
15220
15221 ALTER TABLE ONLY public.delivery_orders
15222     ADD CONSTRAINT delivery_orders_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
15223
15224
15225 --
15226 -- Name: delivery_orders delivery_orders_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15227 --
15228
15229 ALTER TABLE ONLY public.delivery_orders
15230     ADD CONSTRAINT delivery_orders_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
15231
15232
15233 --
15234 -- Name: delivery_orders delivery_orders_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15235 --
15236
15237 ALTER TABLE ONLY public.delivery_orders
15238     ADD CONSTRAINT delivery_orders_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
15239
15240
15241 --
15242 -- Name: delivery_orders delivery_orders_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15243 --
15244
15245 ALTER TABLE ONLY public.delivery_orders
15246     ADD CONSTRAINT delivery_orders_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
15247
15248
15249 --
15250 -- Name: delivery_orders delivery_orders_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15251 --
15252
15253 ALTER TABLE ONLY public.delivery_orders
15254     ADD CONSTRAINT delivery_orders_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
15255
15256
15257 --
15258 -- Name: delivery_orders delivery_orders_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15259 --
15260
15261 ALTER TABLE ONLY public.delivery_orders
15262     ADD CONSTRAINT delivery_orders_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15263
15264
15265 --
15266 -- Name: delivery_orders delivery_orders_globalproject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15267 --
15268
15269 ALTER TABLE ONLY public.delivery_orders
15270     ADD CONSTRAINT delivery_orders_globalproject_id_fkey FOREIGN KEY (globalproject_id) REFERENCES public.project(id);
15271
15272
15273 --
15274 -- Name: delivery_orders delivery_orders_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15275 --
15276
15277 ALTER TABLE ONLY public.delivery_orders
15278     ADD CONSTRAINT delivery_orders_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
15279
15280
15281 --
15282 -- Name: delivery_orders delivery_orders_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15283 --
15284
15285 ALTER TABLE ONLY public.delivery_orders
15286     ADD CONSTRAINT delivery_orders_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
15287
15288
15289 --
15290 -- Name: delivery_orders delivery_orders_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15291 --
15292
15293 ALTER TABLE ONLY public.delivery_orders
15294     ADD CONSTRAINT delivery_orders_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
15295
15296
15297 --
15298 -- Name: delivery_orders delivery_orders_shipto_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15299 --
15300
15301 ALTER TABLE ONLY public.delivery_orders
15302     ADD CONSTRAINT delivery_orders_shipto_id_fkey FOREIGN KEY (shipto_id) REFERENCES public.shipto(shipto_id);
15303
15304
15305 --
15306 -- Name: delivery_orders delivery_orders_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15307 --
15308
15309 ALTER TABLE ONLY public.delivery_orders
15310     ADD CONSTRAINT delivery_orders_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
15311
15312
15313 --
15314 -- Name: delivery_orders delivery_orders_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15315 --
15316
15317 ALTER TABLE ONLY public.delivery_orders
15318     ADD CONSTRAINT delivery_orders_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
15319
15320
15321 --
15322 -- Name: drafts drafts_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15323 --
15324
15325 ALTER TABLE ONLY public.drafts
15326     ADD CONSTRAINT drafts_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15327
15328
15329 --
15330 -- Name: dunning dunning_dunning_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15331 --
15332
15333 ALTER TABLE ONLY public.dunning
15334     ADD CONSTRAINT dunning_dunning_config_id_fkey FOREIGN KEY (dunning_config_id) REFERENCES public.dunning_config(id);
15335
15336
15337 --
15338 -- Name: dunning dunning_fee_interest_ar_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15339 --
15340
15341 ALTER TABLE ONLY public.dunning
15342     ADD CONSTRAINT dunning_fee_interest_ar_id_fkey FOREIGN KEY (fee_interest_ar_id) REFERENCES public.ar(id);
15343
15344
15345 --
15346 -- Name: dunning dunning_trans_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15347 --
15348
15349 ALTER TABLE ONLY public.dunning
15350     ADD CONSTRAINT dunning_trans_id_fkey FOREIGN KEY (trans_id) REFERENCES public.ar(id) ON DELETE CASCADE;
15351
15352
15353 --
15354 -- Name: email_journal_attachments email_journal_attachments_email_journal_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15355 --
15356
15357 ALTER TABLE ONLY public.email_journal_attachments
15358     ADD CONSTRAINT email_journal_attachments_email_journal_id_fkey FOREIGN KEY (email_journal_id) REFERENCES public.email_journal(id) ON DELETE CASCADE;
15359
15360
15361 --
15362 -- Name: email_journal email_journal_email_import_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15363 --
15364
15365 ALTER TABLE ONLY public.email_journal
15366     ADD CONSTRAINT email_journal_email_import_id_fkey FOREIGN KEY (email_import_id) REFERENCES public.email_imports(id);
15367
15368
15369 --
15370 -- Name: email_journal email_journal_sender_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15371 --
15372
15373 ALTER TABLE ONLY public.email_journal
15374     ADD CONSTRAINT email_journal_sender_id_fkey FOREIGN KEY (sender_id) REFERENCES public.employee(id);
15375
15376
15377 --
15378 -- Name: employee_project_invoices employee_project_invoices_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15379 --
15380
15381 ALTER TABLE ONLY public.employee_project_invoices
15382     ADD CONSTRAINT employee_project_invoices_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id) ON DELETE CASCADE;
15383
15384
15385 --
15386 -- Name: employee_project_invoices employee_project_invoices_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15387 --
15388
15389 ALTER TABLE ONLY public.employee_project_invoices
15390     ADD CONSTRAINT employee_project_invoices_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE CASCADE;
15391
15392
15393 --
15394 -- Name: exchangerate exchangerate_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15395 --
15396
15397 ALTER TABLE ONLY public.exchangerate
15398     ADD CONSTRAINT exchangerate_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
15399
15400
15401 --
15402 -- Name: file_full_texts file_full_texts_file_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15403 --
15404
15405 ALTER TABLE ONLY public.file_full_texts
15406     ADD CONSTRAINT file_full_texts_file_id_fkey FOREIGN KEY (file_id) REFERENCES public.files(id) ON DELETE CASCADE;
15407
15408
15409 --
15410 -- Name: file_versions file_versions_file_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15411 --
15412
15413 ALTER TABLE ONLY public.file_versions
15414     ADD CONSTRAINT file_versions_file_id_fkey FOREIGN KEY (file_id) REFERENCES public.files(id) ON DELETE CASCADE;
15415
15416
15417 --
15418 -- Name: follow_up_access follow_up_access_what_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15419 --
15420
15421 ALTER TABLE ONLY public.follow_up_access
15422     ADD CONSTRAINT follow_up_access_what_fkey FOREIGN KEY (what) REFERENCES public.employee(id);
15423
15424
15425 --
15426 -- Name: follow_up_access follow_up_access_who_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15427 --
15428
15429 ALTER TABLE ONLY public.follow_up_access
15430     ADD CONSTRAINT follow_up_access_who_fkey FOREIGN KEY (who) REFERENCES public.employee(id);
15431
15432
15433 --
15434 -- Name: follow_up_created_for_employees follow_up_created_for_employees_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15435 --
15436
15437 ALTER TABLE ONLY public.follow_up_created_for_employees
15438     ADD CONSTRAINT follow_up_created_for_employees_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15439
15440
15441 --
15442 -- Name: follow_up_created_for_employees follow_up_created_for_employees_follow_up_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15443 --
15444
15445 ALTER TABLE ONLY public.follow_up_created_for_employees
15446     ADD CONSTRAINT follow_up_created_for_employees_follow_up_id_fkey FOREIGN KEY (follow_up_id) REFERENCES public.follow_ups(id) ON DELETE CASCADE;
15447
15448
15449 --
15450 -- Name: follow_up_done follow_up_done_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15451 --
15452
15453 ALTER TABLE ONLY public.follow_up_done
15454     ADD CONSTRAINT follow_up_done_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15455
15456
15457 --
15458 -- Name: follow_up_done follow_up_done_follow_up_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15459 --
15460
15461 ALTER TABLE ONLY public.follow_up_done
15462     ADD CONSTRAINT follow_up_done_follow_up_id_fkey FOREIGN KEY (follow_up_id) REFERENCES public.follow_ups(id) ON DELETE CASCADE;
15463
15464
15465 --
15466 -- Name: follow_up_links follow_up_links_follow_up_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15467 --
15468
15469 ALTER TABLE ONLY public.follow_up_links
15470     ADD CONSTRAINT follow_up_links_follow_up_id_fkey FOREIGN KEY (follow_up_id) REFERENCES public.follow_ups(id) ON DELETE CASCADE;
15471
15472
15473 --
15474 -- Name: follow_ups follow_ups_created_by_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15475 --
15476
15477 ALTER TABLE ONLY public.follow_ups
15478     ADD CONSTRAINT follow_ups_created_by_fkey FOREIGN KEY (created_by) REFERENCES public.employee(id);
15479
15480
15481 --
15482 -- Name: follow_ups follow_ups_note_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15483 --
15484
15485 ALTER TABLE ONLY public.follow_ups
15486     ADD CONSTRAINT follow_ups_note_id_fkey FOREIGN KEY (note_id) REFERENCES public.notes(id);
15487
15488
15489 --
15490 -- Name: generic_translations generic_translations_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15491 --
15492
15493 ALTER TABLE ONLY public.generic_translations
15494     ADD CONSTRAINT generic_translations_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id) ON DELETE CASCADE;
15495
15496
15497 --
15498 -- Name: gl gl_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15499 --
15500
15501 ALTER TABLE ONLY public.gl
15502     ADD CONSTRAINT gl_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
15503
15504
15505 --
15506 -- Name: gl gl_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15507 --
15508
15509 ALTER TABLE ONLY public.gl
15510     ADD CONSTRAINT gl_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15511
15512
15513 --
15514 -- Name: gl gl_storno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15515 --
15516
15517 ALTER TABLE ONLY public.gl
15518     ADD CONSTRAINT gl_storno_id_fkey FOREIGN KEY (storno_id) REFERENCES public.gl(id);
15519
15520
15521 --
15522 -- Name: history_erp history_erp_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15523 --
15524
15525 ALTER TABLE ONLY public.history_erp
15526     ADD CONSTRAINT history_erp_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15527
15528
15529 --
15530 -- Name: inventory inventory_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15531 --
15532
15533 ALTER TABLE ONLY public.inventory
15534     ADD CONSTRAINT inventory_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id);
15535
15536
15537 --
15538 -- Name: inventory inventory_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15539 --
15540
15541 ALTER TABLE ONLY public.inventory
15542     ADD CONSTRAINT inventory_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15543
15544
15545 --
15546 -- Name: inventory inventory_invoice_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15547 --
15548
15549 ALTER TABLE ONLY public.inventory
15550     ADD CONSTRAINT inventory_invoice_id_fkey FOREIGN KEY (invoice_id) REFERENCES public.invoice(id);
15551
15552
15553 --
15554 -- Name: inventory inventory_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15555 --
15556
15557 ALTER TABLE ONLY public.inventory
15558     ADD CONSTRAINT inventory_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
15559
15560
15561 --
15562 -- Name: inventory inventory_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15563 --
15564
15565 ALTER TABLE ONLY public.inventory
15566     ADD CONSTRAINT inventory_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
15567
15568
15569 --
15570 -- Name: inventory inventory_trans_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15571 --
15572
15573 ALTER TABLE ONLY public.inventory
15574     ADD CONSTRAINT inventory_trans_type_id_fkey FOREIGN KEY (trans_type_id) REFERENCES public.transfer_type(id);
15575
15576
15577 --
15578 -- Name: inventory inventory_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15579 --
15580
15581 ALTER TABLE ONLY public.inventory
15582     ADD CONSTRAINT inventory_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
15583
15584
15585 --
15586 -- Name: invoice invoice_expense_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15587 --
15588
15589 ALTER TABLE ONLY public.invoice
15590     ADD CONSTRAINT invoice_expense_chart_id_fkey FOREIGN KEY (expense_chart_id) REFERENCES public.chart(id);
15591
15592
15593 --
15594 -- Name: invoice invoice_inventory_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15595 --
15596
15597 ALTER TABLE ONLY public.invoice
15598     ADD CONSTRAINT invoice_inventory_chart_id_fkey FOREIGN KEY (inventory_chart_id) REFERENCES public.chart(id);
15599
15600
15601 --
15602 -- Name: invoice invoice_price_factor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15603 --
15604
15605 ALTER TABLE ONLY public.invoice
15606     ADD CONSTRAINT invoice_price_factor_id_fkey FOREIGN KEY (price_factor_id) REFERENCES public.price_factors(id);
15607
15608
15609 --
15610 -- Name: invoice invoice_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15611 --
15612
15613 ALTER TABLE ONLY public.invoice
15614     ADD CONSTRAINT invoice_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id);
15615
15616
15617 --
15618 -- Name: invoice invoice_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15619 --
15620
15621 ALTER TABLE ONLY public.invoice
15622     ADD CONSTRAINT invoice_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
15623
15624
15625 --
15626 -- Name: invoice invoice_tax_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15627 --
15628
15629 ALTER TABLE ONLY public.invoice
15630     ADD CONSTRAINT invoice_tax_id_fkey FOREIGN KEY (tax_id) REFERENCES public.tax(id);
15631
15632
15633 --
15634 -- Name: invoice invoice_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15635 --
15636
15637 ALTER TABLE ONLY public.invoice
15638     ADD CONSTRAINT invoice_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
15639
15640
15641 --
15642 -- Name: letter letter_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15643 --
15644
15645 ALTER TABLE ONLY public.letter
15646     ADD CONSTRAINT letter_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
15647
15648
15649 --
15650 -- Name: letter letter_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15651 --
15652
15653 ALTER TABLE ONLY public.letter
15654     ADD CONSTRAINT letter_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
15655
15656
15657 --
15658 -- Name: letter_draft letter_draft_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15659 --
15660
15661 ALTER TABLE ONLY public.letter_draft
15662     ADD CONSTRAINT letter_draft_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
15663
15664
15665 --
15666 -- Name: letter_draft letter_draft_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15667 --
15668
15669 ALTER TABLE ONLY public.letter_draft
15670     ADD CONSTRAINT letter_draft_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
15671
15672
15673 --
15674 -- Name: letter_draft letter_draft_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15675 --
15676
15677 ALTER TABLE ONLY public.letter_draft
15678     ADD CONSTRAINT letter_draft_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15679
15680
15681 --
15682 -- Name: letter_draft letter_draft_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15683 --
15684
15685 ALTER TABLE ONLY public.letter_draft
15686     ADD CONSTRAINT letter_draft_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
15687
15688
15689 --
15690 -- Name: letter_draft letter_draft_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15691 --
15692
15693 ALTER TABLE ONLY public.letter_draft
15694     ADD CONSTRAINT letter_draft_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
15695
15696
15697 --
15698 -- Name: letter letter_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15699 --
15700
15701 ALTER TABLE ONLY public.letter
15702     ADD CONSTRAINT letter_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15703
15704
15705 --
15706 -- Name: letter letter_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15707 --
15708
15709 ALTER TABLE ONLY public.letter
15710     ADD CONSTRAINT letter_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
15711
15712
15713 --
15714 -- Name: letter letter_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15715 --
15716
15717 ALTER TABLE ONLY public.letter
15718     ADD CONSTRAINT letter_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
15719
15720
15721 --
15722 -- Name: makemodel makemodel_make_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15723 --
15724
15725 ALTER TABLE ONLY public.makemodel
15726     ADD CONSTRAINT makemodel_make_fkey FOREIGN KEY (make) REFERENCES public.vendor(id);
15727
15728
15729 --
15730 -- Name: notes notes_created_by_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15731 --
15732
15733 ALTER TABLE ONLY public.notes
15734     ADD CONSTRAINT notes_created_by_fkey FOREIGN KEY (created_by) REFERENCES public.employee(id);
15735
15736
15737 --
15738 -- Name: oe oe_billing_address_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15739 --
15740
15741 ALTER TABLE ONLY public.oe
15742     ADD CONSTRAINT oe_billing_address_id_fkey FOREIGN KEY (billing_address_id) REFERENCES public.additional_billing_addresses(id);
15743
15744
15745 --
15746 -- Name: oe oe_cp_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15747 --
15748
15749 ALTER TABLE ONLY public.oe
15750     ADD CONSTRAINT oe_cp_id_fkey FOREIGN KEY (cp_id) REFERENCES public.contacts(cp_id);
15751
15752
15753 --
15754 -- Name: oe oe_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15755 --
15756
15757 ALTER TABLE ONLY public.oe
15758     ADD CONSTRAINT oe_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
15759
15760
15761 --
15762 -- Name: oe oe_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15763 --
15764
15765 ALTER TABLE ONLY public.oe
15766     ADD CONSTRAINT oe_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
15767
15768
15769 --
15770 -- Name: oe oe_delivery_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15771 --
15772
15773 ALTER TABLE ONLY public.oe
15774     ADD CONSTRAINT oe_delivery_customer_id_fkey FOREIGN KEY (delivery_customer_id) REFERENCES public.customer(id);
15775
15776
15777 --
15778 -- Name: oe oe_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15779 --
15780
15781 ALTER TABLE ONLY public.oe
15782     ADD CONSTRAINT oe_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
15783
15784
15785 --
15786 -- Name: oe oe_delivery_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15787 --
15788
15789 ALTER TABLE ONLY public.oe
15790     ADD CONSTRAINT oe_delivery_vendor_id_fkey FOREIGN KEY (delivery_vendor_id) REFERENCES public.vendor(id);
15791
15792
15793 --
15794 -- Name: oe oe_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15795 --
15796
15797 ALTER TABLE ONLY public.oe
15798     ADD CONSTRAINT oe_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
15799
15800
15801 --
15802 -- Name: oe oe_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15803 --
15804
15805 ALTER TABLE ONLY public.oe
15806     ADD CONSTRAINT oe_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
15807
15808
15809 --
15810 -- Name: oe oe_globalproject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15811 --
15812
15813 ALTER TABLE ONLY public.oe
15814     ADD CONSTRAINT oe_globalproject_id_fkey FOREIGN KEY (globalproject_id) REFERENCES public.project(id);
15815
15816
15817 --
15818 -- Name: inventory oe_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15819 --
15820
15821 ALTER TABLE ONLY public.inventory
15822     ADD CONSTRAINT oe_id_fkey FOREIGN KEY (oe_id) REFERENCES public.delivery_orders(id);
15823
15824
15825 --
15826 -- Name: oe oe_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15827 --
15828
15829 ALTER TABLE ONLY public.oe
15830     ADD CONSTRAINT oe_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
15831
15832
15833 --
15834 -- Name: oe oe_order_status_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15835 --
15836
15837 ALTER TABLE ONLY public.oe
15838     ADD CONSTRAINT oe_order_status_id_fkey FOREIGN KEY (order_status_id) REFERENCES public.order_statuses(id);
15839
15840
15841 --
15842 -- Name: oe oe_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15843 --
15844
15845 ALTER TABLE ONLY public.oe
15846     ADD CONSTRAINT oe_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
15847
15848
15849 --
15850 -- Name: oe oe_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15851 --
15852
15853 ALTER TABLE ONLY public.oe
15854     ADD CONSTRAINT oe_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
15855
15856
15857 --
15858 -- Name: oe oe_shipto_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15859 --
15860
15861 ALTER TABLE ONLY public.oe
15862     ADD CONSTRAINT oe_shipto_id_fkey FOREIGN KEY (shipto_id) REFERENCES public.shipto(shipto_id);
15863
15864
15865 --
15866 -- Name: oe oe_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15867 --
15868
15869 ALTER TABLE ONLY public.oe
15870     ADD CONSTRAINT oe_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
15871
15872
15873 --
15874 -- Name: oe oe_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15875 --
15876
15877 ALTER TABLE ONLY public.oe
15878     ADD CONSTRAINT oe_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
15879
15880
15881 --
15882 -- Name: oe_version oe_version_email_journal_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15883 --
15884
15885 ALTER TABLE ONLY public.oe_version
15886     ADD CONSTRAINT oe_version_email_journal_id_fkey FOREIGN KEY (email_journal_id) REFERENCES public.email_journal(id);
15887
15888
15889 --
15890 -- Name: oe_version oe_version_file_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15891 --
15892
15893 ALTER TABLE ONLY public.oe_version
15894     ADD CONSTRAINT oe_version_file_id_fkey FOREIGN KEY (file_id) REFERENCES public.files(id);
15895
15896
15897 --
15898 -- Name: oe_version oe_version_oe_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15899 --
15900
15901 ALTER TABLE ONLY public.oe_version
15902     ADD CONSTRAINT oe_version_oe_id_fkey FOREIGN KEY (oe_id) REFERENCES public.oe(id) ON DELETE CASCADE;
15903
15904
15905 --
15906 -- Name: orderitems orderitems_orderer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15907 --
15908
15909 ALTER TABLE ONLY public.orderitems
15910     ADD CONSTRAINT orderitems_orderer_id_fkey FOREIGN KEY (orderer_id) REFERENCES public.employee(id);
15911
15912
15913 --
15914 -- Name: orderitems orderitems_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15915 --
15916
15917 ALTER TABLE ONLY public.orderitems
15918     ADD CONSTRAINT orderitems_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id) ON DELETE RESTRICT;
15919
15920
15921 --
15922 -- Name: orderitems orderitems_price_factor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15923 --
15924
15925 ALTER TABLE ONLY public.orderitems
15926     ADD CONSTRAINT orderitems_price_factor_id_fkey FOREIGN KEY (price_factor_id) REFERENCES public.price_factors(id) ON DELETE RESTRICT;
15927
15928
15929 --
15930 -- Name: orderitems orderitems_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15931 --
15932
15933 ALTER TABLE ONLY public.orderitems
15934     ADD CONSTRAINT orderitems_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id) ON DELETE RESTRICT;
15935
15936
15937 --
15938 -- Name: orderitems orderitems_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15939 --
15940
15941 ALTER TABLE ONLY public.orderitems
15942     ADD CONSTRAINT orderitems_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE SET NULL;
15943
15944
15945 --
15946 -- Name: orderitems orderitems_recurring_billing_invoice_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15947 --
15948
15949 ALTER TABLE ONLY public.orderitems
15950     ADD CONSTRAINT orderitems_recurring_billing_invoice_id_fkey FOREIGN KEY (recurring_billing_invoice_id) REFERENCES public.ar(id) ON DELETE SET NULL;
15951
15952
15953 --
15954 -- Name: orderitems orderitems_trans_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15955 --
15956
15957 ALTER TABLE ONLY public.orderitems
15958     ADD CONSTRAINT orderitems_trans_id_fkey FOREIGN KEY (trans_id) REFERENCES public.oe(id) ON DELETE CASCADE;
15959
15960
15961 --
15962 -- Name: orderitems orderitems_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15963 --
15964
15965 ALTER TABLE ONLY public.orderitems
15966     ADD CONSTRAINT orderitems_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
15967
15968
15969 --
15970 -- Name: parts part_classification_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15971 --
15972
15973 ALTER TABLE ONLY public.parts
15974     ADD CONSTRAINT part_classification_id_fkey FOREIGN KEY (classification_id) REFERENCES public.part_classifications(id);
15975
15976
15977 --
15978 -- Name: part_customer_prices part_customer_prices_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15979 --
15980
15981 ALTER TABLE ONLY public.part_customer_prices
15982     ADD CONSTRAINT part_customer_prices_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
15983
15984
15985 --
15986 -- Name: part_customer_prices part_customer_prices_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15987 --
15988
15989 ALTER TABLE ONLY public.part_customer_prices
15990     ADD CONSTRAINT part_customer_prices_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
15991
15992
15993 --
15994 -- Name: parts parts_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
15995 --
15996
15997 ALTER TABLE ONLY public.parts
15998     ADD CONSTRAINT parts_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id);
15999
16000
16001 --
16002 -- Name: parts parts_partsgroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16003 --
16004
16005 ALTER TABLE ONLY public.parts
16006     ADD CONSTRAINT parts_partsgroup_id_fkey FOREIGN KEY (partsgroup_id) REFERENCES public.partsgroup(id);
16007
16008
16009 --
16010 -- Name: parts parts_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16011 --
16012
16013 ALTER TABLE ONLY public.parts
16014     ADD CONSTRAINT parts_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
16015
16016
16017 --
16018 -- Name: parts parts_price_factor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16019 --
16020
16021 ALTER TABLE ONLY public.parts
16022     ADD CONSTRAINT parts_price_factor_id_fkey FOREIGN KEY (price_factor_id) REFERENCES public.price_factors(id);
16023
16024
16025 --
16026 -- Name: parts_price_history parts_price_history_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16027 --
16028
16029 ALTER TABLE ONLY public.parts_price_history
16030     ADD CONSTRAINT parts_price_history_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id) ON DELETE CASCADE;
16031
16032
16033 --
16034 -- Name: parts parts_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16035 --
16036
16037 ALTER TABLE ONLY public.parts
16038     ADD CONSTRAINT parts_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
16039
16040
16041 --
16042 -- Name: parts parts_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16043 --
16044
16045 ALTER TABLE ONLY public.parts
16046     ADD CONSTRAINT parts_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
16047
16048
16049 --
16050 -- Name: periodic_invoices periodic_invoices_ar_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16051 --
16052
16053 ALTER TABLE ONLY public.periodic_invoices
16054     ADD CONSTRAINT periodic_invoices_ar_id_fkey FOREIGN KEY (ar_id) REFERENCES public.ar(id) ON DELETE CASCADE;
16055
16056
16057 --
16058 -- Name: periodic_invoices periodic_invoices_config_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16059 --
16060
16061 ALTER TABLE ONLY public.periodic_invoices
16062     ADD CONSTRAINT periodic_invoices_config_id_fkey FOREIGN KEY (config_id) REFERENCES public.periodic_invoices_configs(id) ON DELETE CASCADE;
16063
16064
16065 --
16066 -- Name: periodic_invoices_configs periodic_invoices_configs_ar_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16067 --
16068
16069 ALTER TABLE ONLY public.periodic_invoices_configs
16070     ADD CONSTRAINT periodic_invoices_configs_ar_chart_id_fkey FOREIGN KEY (ar_chart_id) REFERENCES public.chart(id) ON DELETE RESTRICT;
16071
16072
16073 --
16074 -- Name: periodic_invoices_configs periodic_invoices_configs_email_recipient_contact_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16075 --
16076
16077 ALTER TABLE ONLY public.periodic_invoices_configs
16078     ADD CONSTRAINT periodic_invoices_configs_email_recipient_contact_id_fkey FOREIGN KEY (email_recipient_contact_id) REFERENCES public.contacts(cp_id) ON DELETE SET NULL;
16079
16080
16081 --
16082 -- Name: periodic_invoices_configs periodic_invoices_configs_oe_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16083 --
16084
16085 ALTER TABLE ONLY public.periodic_invoices_configs
16086     ADD CONSTRAINT periodic_invoices_configs_oe_id_fkey FOREIGN KEY (oe_id) REFERENCES public.oe(id) ON DELETE CASCADE;
16087
16088
16089 --
16090 -- Name: periodic_invoices_configs periodic_invoices_configs_printer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16091 --
16092
16093 ALTER TABLE ONLY public.periodic_invoices_configs
16094     ADD CONSTRAINT periodic_invoices_configs_printer_id_fkey FOREIGN KEY (printer_id) REFERENCES public.printers(id) ON DELETE SET NULL;
16095
16096
16097 --
16098 -- Name: price_rule_items price_rule_items_custom_variable_configs_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16099 --
16100
16101 ALTER TABLE ONLY public.price_rule_items
16102     ADD CONSTRAINT price_rule_items_custom_variable_configs_id_fkey FOREIGN KEY (custom_variable_configs_id) REFERENCES public.custom_variable_configs(id);
16103
16104
16105 --
16106 -- Name: price_rule_items price_rule_items_price_rules_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16107 --
16108
16109 ALTER TABLE ONLY public.price_rule_items
16110     ADD CONSTRAINT price_rule_items_price_rules_id_fkey FOREIGN KEY (price_rules_id) REFERENCES public.price_rules(id) ON DELETE CASCADE;
16111
16112
16113 --
16114 -- Name: prices prices_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16115 --
16116
16117 ALTER TABLE ONLY public.prices
16118     ADD CONSTRAINT prices_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id) ON DELETE CASCADE;
16119
16120
16121 --
16122 -- Name: prices prices_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16123 --
16124
16125 ALTER TABLE ONLY public.prices
16126     ADD CONSTRAINT prices_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id) ON DELETE CASCADE;
16127
16128
16129 --
16130 -- Name: project project_billable_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16131 --
16132
16133 ALTER TABLE ONLY public.project
16134     ADD CONSTRAINT project_billable_customer_id_fkey FOREIGN KEY (billable_customer_id) REFERENCES public.customer(id);
16135
16136
16137 --
16138 -- Name: project project_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16139 --
16140
16141 ALTER TABLE ONLY public.project
16142     ADD CONSTRAINT project_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
16143
16144
16145 --
16146 -- Name: project_participants project_participants_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16147 --
16148
16149 ALTER TABLE ONLY public.project_participants
16150     ADD CONSTRAINT project_participants_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
16151
16152
16153 --
16154 -- Name: project_participants project_participants_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16155 --
16156
16157 ALTER TABLE ONLY public.project_participants
16158     ADD CONSTRAINT project_participants_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
16159
16160
16161 --
16162 -- Name: project_participants project_participants_project_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16163 --
16164
16165 ALTER TABLE ONLY public.project_participants
16166     ADD CONSTRAINT project_participants_project_role_id_fkey FOREIGN KEY (project_role_id) REFERENCES public.project_roles(id);
16167
16168
16169 --
16170 -- Name: project_phase_participants project_phase_participants_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16171 --
16172
16173 ALTER TABLE ONLY public.project_phase_participants
16174     ADD CONSTRAINT project_phase_participants_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
16175
16176
16177 --
16178 -- Name: project_phase_participants project_phase_participants_project_phase_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16179 --
16180
16181 ALTER TABLE ONLY public.project_phase_participants
16182     ADD CONSTRAINT project_phase_participants_project_phase_id_fkey FOREIGN KEY (project_phase_id) REFERENCES public.project_phases(id);
16183
16184
16185 --
16186 -- Name: project_phase_participants project_phase_participants_project_role_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16187 --
16188
16189 ALTER TABLE ONLY public.project_phase_participants
16190     ADD CONSTRAINT project_phase_participants_project_role_id_fkey FOREIGN KEY (project_role_id) REFERENCES public.project_roles(id);
16191
16192
16193 --
16194 -- Name: project_phases project_phases_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16195 --
16196
16197 ALTER TABLE ONLY public.project_phases
16198     ADD CONSTRAINT project_phases_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
16199
16200
16201 --
16202 -- Name: project project_project_status_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16203 --
16204
16205 ALTER TABLE ONLY public.project
16206     ADD CONSTRAINT project_project_status_id_fkey FOREIGN KEY (project_status_id) REFERENCES public.project_statuses(id);
16207
16208
16209 --
16210 -- Name: project project_project_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16211 --
16212
16213 ALTER TABLE ONLY public.project
16214     ADD CONSTRAINT project_project_type_id_fkey FOREIGN KEY (project_type_id) REFERENCES public.project_types(id);
16215
16216
16217 --
16218 -- Name: purchase_basket_items purchase_basket_items_orderer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16219 --
16220
16221 ALTER TABLE ONLY public.purchase_basket_items
16222     ADD CONSTRAINT purchase_basket_items_orderer_id_fkey FOREIGN KEY (orderer_id) REFERENCES public.employee(id);
16223
16224
16225 --
16226 -- Name: purchase_basket_items purchase_basket_items_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16227 --
16228
16229 ALTER TABLE ONLY public.purchase_basket_items
16230     ADD CONSTRAINT purchase_basket_items_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id);
16231
16232
16233 --
16234 -- Name: reclamation_items reclamation_items_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16235 --
16236
16237 ALTER TABLE ONLY public.reclamation_items
16238     ADD CONSTRAINT reclamation_items_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
16239
16240
16241 --
16242 -- Name: reclamation_items reclamation_items_price_factor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16243 --
16244
16245 ALTER TABLE ONLY public.reclamation_items
16246     ADD CONSTRAINT reclamation_items_price_factor_id_fkey FOREIGN KEY (price_factor_id) REFERENCES public.price_factors(id);
16247
16248
16249 --
16250 -- Name: reclamation_items reclamation_items_pricegroup_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16251 --
16252
16253 ALTER TABLE ONLY public.reclamation_items
16254     ADD CONSTRAINT reclamation_items_pricegroup_id_fkey FOREIGN KEY (pricegroup_id) REFERENCES public.pricegroup(id);
16255
16256
16257 --
16258 -- Name: reclamation_items reclamation_items_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16259 --
16260
16261 ALTER TABLE ONLY public.reclamation_items
16262     ADD CONSTRAINT reclamation_items_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE SET NULL;
16263
16264
16265 --
16266 -- Name: reclamation_items reclamation_items_reason_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16267 --
16268
16269 ALTER TABLE ONLY public.reclamation_items
16270     ADD CONSTRAINT reclamation_items_reason_id_fkey FOREIGN KEY (reason_id) REFERENCES public.reclamation_reasons(id);
16271
16272
16273 --
16274 -- Name: reclamation_items reclamation_items_reclamation_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16275 --
16276
16277 ALTER TABLE ONLY public.reclamation_items
16278     ADD CONSTRAINT reclamation_items_reclamation_id_fkey FOREIGN KEY (reclamation_id) REFERENCES public.reclamations(id) ON DELETE CASCADE;
16279
16280
16281 --
16282 -- Name: reclamation_items reclamation_items_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16283 --
16284
16285 ALTER TABLE ONLY public.reclamation_items
16286     ADD CONSTRAINT reclamation_items_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
16287
16288
16289 --
16290 -- Name: reclamations reclamations_billing_address_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16291 --
16292
16293 ALTER TABLE ONLY public.reclamations
16294     ADD CONSTRAINT reclamations_billing_address_id_fkey FOREIGN KEY (billing_address_id) REFERENCES public.additional_billing_addresses(id);
16295
16296
16297 --
16298 -- Name: reclamations reclamations_contact_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16299 --
16300
16301 ALTER TABLE ONLY public.reclamations
16302     ADD CONSTRAINT reclamations_contact_id_fkey FOREIGN KEY (contact_id) REFERENCES public.contacts(cp_id);
16303
16304
16305 --
16306 -- Name: reclamations reclamations_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16307 --
16308
16309 ALTER TABLE ONLY public.reclamations
16310     ADD CONSTRAINT reclamations_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
16311
16312
16313 --
16314 -- Name: reclamations reclamations_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16315 --
16316
16317 ALTER TABLE ONLY public.reclamations
16318     ADD CONSTRAINT reclamations_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
16319
16320
16321 --
16322 -- Name: reclamations reclamations_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16323 --
16324
16325 ALTER TABLE ONLY public.reclamations
16326     ADD CONSTRAINT reclamations_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
16327
16328
16329 --
16330 -- Name: reclamations reclamations_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16331 --
16332
16333 ALTER TABLE ONLY public.reclamations
16334     ADD CONSTRAINT reclamations_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id);
16335
16336
16337 --
16338 -- Name: reclamations reclamations_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16339 --
16340
16341 ALTER TABLE ONLY public.reclamations
16342     ADD CONSTRAINT reclamations_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
16343
16344
16345 --
16346 -- Name: reclamations reclamations_globalproject_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16347 --
16348
16349 ALTER TABLE ONLY public.reclamations
16350     ADD CONSTRAINT reclamations_globalproject_id_fkey FOREIGN KEY (globalproject_id) REFERENCES public.project(id);
16351
16352
16353 --
16354 -- Name: reclamations reclamations_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16355 --
16356
16357 ALTER TABLE ONLY public.reclamations
16358     ADD CONSTRAINT reclamations_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
16359
16360
16361 --
16362 -- Name: reclamations reclamations_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16363 --
16364
16365 ALTER TABLE ONLY public.reclamations
16366     ADD CONSTRAINT reclamations_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
16367
16368
16369 --
16370 -- Name: reclamations reclamations_salesman_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16371 --
16372
16373 ALTER TABLE ONLY public.reclamations
16374     ADD CONSTRAINT reclamations_salesman_id_fkey FOREIGN KEY (salesman_id) REFERENCES public.employee(id);
16375
16376
16377 --
16378 -- Name: reclamations reclamations_shipto_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16379 --
16380
16381 ALTER TABLE ONLY public.reclamations
16382     ADD CONSTRAINT reclamations_shipto_id_fkey FOREIGN KEY (shipto_id) REFERENCES public.shipto(shipto_id);
16383
16384
16385 --
16386 -- Name: reclamations reclamations_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16387 --
16388
16389 ALTER TABLE ONLY public.reclamations
16390     ADD CONSTRAINT reclamations_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
16391
16392
16393 --
16394 -- Name: reclamations reclamations_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16395 --
16396
16397 ALTER TABLE ONLY public.reclamations
16398     ADD CONSTRAINT reclamations_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id);
16399
16400
16401 --
16402 -- Name: reconciliation_links reconciliation_links_acc_trans_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16403 --
16404
16405 ALTER TABLE ONLY public.reconciliation_links
16406     ADD CONSTRAINT reconciliation_links_acc_trans_id_fkey FOREIGN KEY (acc_trans_id) REFERENCES public.acc_trans(acc_trans_id) ON DELETE CASCADE;
16407
16408
16409 --
16410 -- Name: reconciliation_links reconciliation_links_bank_transaction_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16411 --
16412
16413 ALTER TABLE ONLY public.reconciliation_links
16414     ADD CONSTRAINT reconciliation_links_bank_transaction_id FOREIGN KEY (bank_transaction_id) REFERENCES public.bank_transactions(id) ON DELETE CASCADE;
16415
16416
16417 --
16418 -- Name: record_template_items record_template_items_chart_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16419 --
16420
16421 ALTER TABLE ONLY public.record_template_items
16422     ADD CONSTRAINT record_template_items_chart_id FOREIGN KEY (chart_id) REFERENCES public.chart(id) ON DELETE CASCADE;
16423
16424
16425 --
16426 -- Name: record_template_items record_template_items_project_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16427 --
16428
16429 ALTER TABLE ONLY public.record_template_items
16430     ADD CONSTRAINT record_template_items_project_id FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE SET NULL;
16431
16432
16433 --
16434 -- Name: record_template_items record_template_items_record_template_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16435 --
16436
16437 ALTER TABLE ONLY public.record_template_items
16438     ADD CONSTRAINT record_template_items_record_template_id FOREIGN KEY (record_template_id) REFERENCES public.record_templates(id) ON DELETE CASCADE;
16439
16440
16441 --
16442 -- Name: record_template_items record_template_items_tax_id; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16443 --
16444
16445 ALTER TABLE ONLY public.record_template_items
16446     ADD CONSTRAINT record_template_items_tax_id FOREIGN KEY (tax_id) REFERENCES public.tax(id) ON DELETE CASCADE;
16447
16448
16449 --
16450 -- Name: record_templates record_templates_ar_ap_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16451 --
16452
16453 ALTER TABLE ONLY public.record_templates
16454     ADD CONSTRAINT record_templates_ar_ap_chart_id_fkey FOREIGN KEY (ar_ap_chart_id) REFERENCES public.chart(id) ON DELETE SET NULL;
16455
16456
16457 --
16458 -- Name: record_templates record_templates_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16459 --
16460
16461 ALTER TABLE ONLY public.record_templates
16462     ADD CONSTRAINT record_templates_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id) ON DELETE CASCADE;
16463
16464
16465 --
16466 -- Name: record_templates record_templates_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16467 --
16468
16469 ALTER TABLE ONLY public.record_templates
16470     ADD CONSTRAINT record_templates_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id) ON DELETE SET NULL;
16471
16472
16473 --
16474 -- Name: record_templates record_templates_department_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16475 --
16476
16477 ALTER TABLE ONLY public.record_templates
16478     ADD CONSTRAINT record_templates_department_id_fkey FOREIGN KEY (department_id) REFERENCES public.department(id) ON DELETE SET NULL;
16479
16480
16481 --
16482 -- Name: record_templates record_templates_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16483 --
16484
16485 ALTER TABLE ONLY public.record_templates
16486     ADD CONSTRAINT record_templates_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id) ON DELETE SET NULL;
16487
16488
16489 --
16490 -- Name: record_templates record_templates_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16491 --
16492
16493 ALTER TABLE ONLY public.record_templates
16494     ADD CONSTRAINT record_templates_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
16495
16496
16497 --
16498 -- Name: record_templates record_templates_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16499 --
16500
16501 ALTER TABLE ONLY public.record_templates
16502     ADD CONSTRAINT record_templates_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id) ON DELETE SET NULL;
16503
16504
16505 --
16506 -- Name: record_templates record_templates_vendor_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16507 --
16508
16509 ALTER TABLE ONLY public.record_templates
16510     ADD CONSTRAINT record_templates_vendor_id_fkey FOREIGN KEY (vendor_id) REFERENCES public.vendor(id) ON DELETE SET NULL;
16511
16512
16513 --
16514 -- Name: requirement_spec_item_dependencies requirement_spec_item_dependencies_depended_item_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16515 --
16516
16517 ALTER TABLE ONLY public.requirement_spec_item_dependencies
16518     ADD CONSTRAINT requirement_spec_item_dependencies_depended_item_id_fkey FOREIGN KEY (depended_item_id) REFERENCES public.requirement_spec_items(id) ON DELETE CASCADE;
16519
16520
16521 --
16522 -- Name: requirement_spec_item_dependencies requirement_spec_item_dependencies_depending_item_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16523 --
16524
16525 ALTER TABLE ONLY public.requirement_spec_item_dependencies
16526     ADD CONSTRAINT requirement_spec_item_dependencies_depending_item_id_fkey FOREIGN KEY (depending_item_id) REFERENCES public.requirement_spec_items(id) ON DELETE CASCADE;
16527
16528
16529 --
16530 -- Name: requirement_spec_items requirement_spec_items_acceptance_status_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16531 --
16532
16533 ALTER TABLE ONLY public.requirement_spec_items
16534     ADD CONSTRAINT requirement_spec_items_acceptance_status_id_fkey FOREIGN KEY (acceptance_status_id) REFERENCES public.requirement_spec_acceptance_statuses(id);
16535
16536
16537 --
16538 -- Name: requirement_spec_items requirement_spec_items_complexity_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16539 --
16540
16541 ALTER TABLE ONLY public.requirement_spec_items
16542     ADD CONSTRAINT requirement_spec_items_complexity_id_fkey FOREIGN KEY (complexity_id) REFERENCES public.requirement_spec_complexities(id);
16543
16544
16545 --
16546 -- Name: requirement_spec_items requirement_spec_items_order_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16547 --
16548
16549 ALTER TABLE ONLY public.requirement_spec_items
16550     ADD CONSTRAINT requirement_spec_items_order_part_id_fkey FOREIGN KEY (order_part_id) REFERENCES public.parts(id) ON DELETE SET NULL;
16551
16552
16553 --
16554 -- Name: requirement_spec_items requirement_spec_items_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16555 --
16556
16557 ALTER TABLE ONLY public.requirement_spec_items
16558     ADD CONSTRAINT requirement_spec_items_parent_id_fkey FOREIGN KEY (parent_id) REFERENCES public.requirement_spec_items(id);
16559
16560
16561 --
16562 -- Name: requirement_spec_items requirement_spec_items_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16563 --
16564
16565 ALTER TABLE ONLY public.requirement_spec_items
16566     ADD CONSTRAINT requirement_spec_items_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
16567
16568
16569 --
16570 -- Name: requirement_spec_items requirement_spec_items_risk_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16571 --
16572
16573 ALTER TABLE ONLY public.requirement_spec_items
16574     ADD CONSTRAINT requirement_spec_items_risk_id_fkey FOREIGN KEY (risk_id) REFERENCES public.requirement_spec_risks(id);
16575
16576
16577 --
16578 -- Name: requirement_spec_orders requirement_spec_orders_order_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16579 --
16580
16581 ALTER TABLE ONLY public.requirement_spec_orders
16582     ADD CONSTRAINT requirement_spec_orders_order_id_fkey FOREIGN KEY (order_id) REFERENCES public.oe(id) ON DELETE CASCADE;
16583
16584
16585 --
16586 -- Name: requirement_spec_orders requirement_spec_orders_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16587 --
16588
16589 ALTER TABLE ONLY public.requirement_spec_orders
16590     ADD CONSTRAINT requirement_spec_orders_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
16591
16592
16593 --
16594 -- Name: requirement_spec_orders requirement_spec_orders_version_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16595 --
16596
16597 ALTER TABLE ONLY public.requirement_spec_orders
16598     ADD CONSTRAINT requirement_spec_orders_version_id_fkey FOREIGN KEY (version_id) REFERENCES public.requirement_spec_versions(id) ON DELETE SET NULL;
16599
16600
16601 --
16602 -- Name: requirement_spec_parts requirement_spec_parts_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16603 --
16604
16605 ALTER TABLE ONLY public.requirement_spec_parts
16606     ADD CONSTRAINT requirement_spec_parts_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id);
16607
16608
16609 --
16610 -- Name: requirement_spec_parts requirement_spec_parts_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16611 --
16612
16613 ALTER TABLE ONLY public.requirement_spec_parts
16614     ADD CONSTRAINT requirement_spec_parts_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
16615
16616
16617 --
16618 -- Name: requirement_spec_parts requirement_spec_parts_unit_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16619 --
16620
16621 ALTER TABLE ONLY public.requirement_spec_parts
16622     ADD CONSTRAINT requirement_spec_parts_unit_id_fkey FOREIGN KEY (unit_id) REFERENCES public.units(id);
16623
16624
16625 --
16626 -- Name: requirement_spec_pictures requirement_spec_pictures_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16627 --
16628
16629 ALTER TABLE ONLY public.requirement_spec_pictures
16630     ADD CONSTRAINT requirement_spec_pictures_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
16631
16632
16633 --
16634 -- Name: requirement_spec_pictures requirement_spec_pictures_text_block_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16635 --
16636
16637 ALTER TABLE ONLY public.requirement_spec_pictures
16638     ADD CONSTRAINT requirement_spec_pictures_text_block_id_fkey FOREIGN KEY (text_block_id) REFERENCES public.requirement_spec_text_blocks(id) ON DELETE CASCADE;
16639
16640
16641 --
16642 -- Name: requirement_spec_text_blocks requirement_spec_text_blocks_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16643 --
16644
16645 ALTER TABLE ONLY public.requirement_spec_text_blocks
16646     ADD CONSTRAINT requirement_spec_text_blocks_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
16647
16648
16649 --
16650 -- Name: requirement_spec_versions requirement_spec_versions_requirement_spec_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16651 --
16652
16653 ALTER TABLE ONLY public.requirement_spec_versions
16654     ADD CONSTRAINT requirement_spec_versions_requirement_spec_id_fkey FOREIGN KEY (requirement_spec_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
16655
16656
16657 --
16658 -- Name: requirement_spec_versions requirement_spec_versions_working_copy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16659 --
16660
16661 ALTER TABLE ONLY public.requirement_spec_versions
16662     ADD CONSTRAINT requirement_spec_versions_working_copy_id_fkey FOREIGN KEY (working_copy_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
16663
16664
16665 --
16666 -- Name: requirement_specs requirement_specs_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16667 --
16668
16669 ALTER TABLE ONLY public.requirement_specs
16670     ADD CONSTRAINT requirement_specs_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
16671
16672
16673 --
16674 -- Name: requirement_specs requirement_specs_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16675 --
16676
16677 ALTER TABLE ONLY public.requirement_specs
16678     ADD CONSTRAINT requirement_specs_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
16679
16680
16681 --
16682 -- Name: requirement_specs requirement_specs_status_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16683 --
16684
16685 ALTER TABLE ONLY public.requirement_specs
16686     ADD CONSTRAINT requirement_specs_status_id_fkey FOREIGN KEY (status_id) REFERENCES public.requirement_spec_statuses(id);
16687
16688
16689 --
16690 -- Name: requirement_specs requirement_specs_type_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16691 --
16692
16693 ALTER TABLE ONLY public.requirement_specs
16694     ADD CONSTRAINT requirement_specs_type_id_fkey FOREIGN KEY (type_id) REFERENCES public.requirement_spec_types(id);
16695
16696
16697 --
16698 -- Name: requirement_specs requirement_specs_working_copy_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16699 --
16700
16701 ALTER TABLE ONLY public.requirement_specs
16702     ADD CONSTRAINT requirement_specs_working_copy_id_fkey FOREIGN KEY (working_copy_id) REFERENCES public.requirement_specs(id) ON DELETE CASCADE;
16703
16704
16705 --
16706 -- Name: sepa_export sepa_export_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16707 --
16708
16709 ALTER TABLE ONLY public.sepa_export
16710     ADD CONSTRAINT sepa_export_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
16711
16712
16713 --
16714 -- Name: sepa_export_items sepa_export_items_ap_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16715 --
16716
16717 ALTER TABLE ONLY public.sepa_export_items
16718     ADD CONSTRAINT sepa_export_items_ap_id_fkey FOREIGN KEY (ap_id) REFERENCES public.ap(id) ON DELETE CASCADE;
16719
16720
16721 --
16722 -- Name: sepa_export_items sepa_export_items_ar_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16723 --
16724
16725 ALTER TABLE ONLY public.sepa_export_items
16726     ADD CONSTRAINT sepa_export_items_ar_id_fkey FOREIGN KEY (ar_id) REFERENCES public.ar(id) ON DELETE CASCADE;
16727
16728
16729 --
16730 -- Name: sepa_export_items sepa_export_items_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16731 --
16732
16733 ALTER TABLE ONLY public.sepa_export_items
16734     ADD CONSTRAINT sepa_export_items_chart_id_fkey FOREIGN KEY (chart_id) REFERENCES public.chart(id);
16735
16736
16737 --
16738 -- Name: sepa_export_items sepa_export_items_sepa_export_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16739 --
16740
16741 ALTER TABLE ONLY public.sepa_export_items
16742     ADD CONSTRAINT sepa_export_items_sepa_export_id_fkey FOREIGN KEY (sepa_export_id) REFERENCES public.sepa_export(id) ON DELETE CASCADE;
16743
16744
16745 --
16746 -- Name: sepa_export_message_ids sepa_export_message_ids_sepa_export_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16747 --
16748
16749 ALTER TABLE ONLY public.sepa_export_message_ids
16750     ADD CONSTRAINT sepa_export_message_ids_sepa_export_id_fkey FOREIGN KEY (sepa_export_id) REFERENCES public.sepa_export(id) ON DELETE CASCADE;
16751
16752
16753 --
16754 -- Name: shop_images shop_images_file_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16755 --
16756
16757 ALTER TABLE ONLY public.shop_images
16758     ADD CONSTRAINT shop_images_file_id_fkey FOREIGN KEY (file_id) REFERENCES public.files(id) ON DELETE CASCADE;
16759
16760
16761 --
16762 -- Name: shop_order_items shop_order_items_shop_order_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16763 --
16764
16765 ALTER TABLE ONLY public.shop_order_items
16766     ADD CONSTRAINT shop_order_items_shop_order_id_fkey FOREIGN KEY (shop_order_id) REFERENCES public.shop_orders(id) ON DELETE CASCADE;
16767
16768
16769 --
16770 -- Name: shop_orders shop_orders_kivi_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16771 --
16772
16773 ALTER TABLE ONLY public.shop_orders
16774     ADD CONSTRAINT shop_orders_kivi_customer_id_fkey FOREIGN KEY (kivi_customer_id) REFERENCES public.customer(id);
16775
16776
16777 --
16778 -- Name: shop_orders shop_orders_shop_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16779 --
16780
16781 ALTER TABLE ONLY public.shop_orders
16782     ADD CONSTRAINT shop_orders_shop_id_fkey FOREIGN KEY (shop_id) REFERENCES public.shops(id);
16783
16784
16785 --
16786 -- Name: shop_parts shop_parts_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16787 --
16788
16789 ALTER TABLE ONLY public.shop_parts
16790     ADD CONSTRAINT shop_parts_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id);
16791
16792
16793 --
16794 -- Name: shop_parts shop_parts_shop_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16795 --
16796
16797 ALTER TABLE ONLY public.shop_parts
16798     ADD CONSTRAINT shop_parts_shop_id_fkey FOREIGN KEY (shop_id) REFERENCES public.shops(id);
16799
16800
16801 --
16802 -- Name: stocktakings stocktakings_bin_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16803 --
16804
16805 ALTER TABLE ONLY public.stocktakings
16806     ADD CONSTRAINT stocktakings_bin_id_fkey FOREIGN KEY (bin_id) REFERENCES public.bin(id);
16807
16808
16809 --
16810 -- Name: stocktakings stocktakings_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16811 --
16812
16813 ALTER TABLE ONLY public.stocktakings
16814     ADD CONSTRAINT stocktakings_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
16815
16816
16817 --
16818 -- Name: stocktakings stocktakings_inventory_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16819 --
16820
16821 ALTER TABLE ONLY public.stocktakings
16822     ADD CONSTRAINT stocktakings_inventory_id_fkey FOREIGN KEY (inventory_id) REFERENCES public.inventory(id);
16823
16824
16825 --
16826 -- Name: stocktakings stocktakings_parts_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16827 --
16828
16829 ALTER TABLE ONLY public.stocktakings
16830     ADD CONSTRAINT stocktakings_parts_id_fkey FOREIGN KEY (parts_id) REFERENCES public.parts(id);
16831
16832
16833 --
16834 -- Name: stocktakings stocktakings_warehouse_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16835 --
16836
16837 ALTER TABLE ONLY public.stocktakings
16838     ADD CONSTRAINT stocktakings_warehouse_id_fkey FOREIGN KEY (warehouse_id) REFERENCES public.warehouse(id);
16839
16840
16841 --
16842 -- Name: tax tax_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16843 --
16844
16845 ALTER TABLE ONLY public.tax
16846     ADD CONSTRAINT tax_chart_id_fkey FOREIGN KEY (chart_id) REFERENCES public.chart(id);
16847
16848
16849 --
16850 -- Name: tax tax_skonto_purchase_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16851 --
16852
16853 ALTER TABLE ONLY public.tax
16854     ADD CONSTRAINT tax_skonto_purchase_chart_id_fkey FOREIGN KEY (skonto_purchase_chart_id) REFERENCES public.chart(id);
16855
16856
16857 --
16858 -- Name: tax tax_skonto_sales_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16859 --
16860
16861 ALTER TABLE ONLY public.tax
16862     ADD CONSTRAINT tax_skonto_sales_chart_id_fkey FOREIGN KEY (skonto_sales_chart_id) REFERENCES public.chart(id);
16863
16864
16865 --
16866 -- Name: taxkeys taxkeys_chart_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16867 --
16868
16869 ALTER TABLE ONLY public.taxkeys
16870     ADD CONSTRAINT taxkeys_chart_id_fkey FOREIGN KEY (chart_id) REFERENCES public.chart(id);
16871
16872
16873 --
16874 -- Name: taxkeys taxkeys_tax_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16875 --
16876
16877 ALTER TABLE ONLY public.taxkeys
16878     ADD CONSTRAINT taxkeys_tax_id_fkey FOREIGN KEY (tax_id) REFERENCES public.tax(id);
16879
16880
16881 --
16882 -- Name: taxzone_charts taxzone_charts_buchungsgruppen_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16883 --
16884
16885 ALTER TABLE ONLY public.taxzone_charts
16886     ADD CONSTRAINT taxzone_charts_buchungsgruppen_id_fkey FOREIGN KEY (buchungsgruppen_id) REFERENCES public.buchungsgruppen(id);
16887
16888
16889 --
16890 -- Name: taxzone_charts taxzone_charts_expense_accno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16891 --
16892
16893 ALTER TABLE ONLY public.taxzone_charts
16894     ADD CONSTRAINT taxzone_charts_expense_accno_id_fkey FOREIGN KEY (expense_accno_id) REFERENCES public.chart(id);
16895
16896
16897 --
16898 -- Name: taxzone_charts taxzone_charts_income_accno_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16899 --
16900
16901 ALTER TABLE ONLY public.taxzone_charts
16902     ADD CONSTRAINT taxzone_charts_income_accno_id_fkey FOREIGN KEY (income_accno_id) REFERENCES public.chart(id);
16903
16904
16905 --
16906 -- Name: taxzone_charts taxzone_charts_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16907 --
16908
16909 ALTER TABLE ONLY public.taxzone_charts
16910     ADD CONSTRAINT taxzone_charts_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
16911
16912
16913 --
16914 -- Name: time_recording_articles time_recording_articles_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16915 --
16916
16917 ALTER TABLE ONLY public.time_recording_articles
16918     ADD CONSTRAINT time_recording_articles_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id);
16919
16920
16921 --
16922 -- Name: time_recordings time_recordings_customer_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16923 --
16924
16925 ALTER TABLE ONLY public.time_recordings
16926     ADD CONSTRAINT time_recordings_customer_id_fkey FOREIGN KEY (customer_id) REFERENCES public.customer(id);
16927
16928
16929 --
16930 -- Name: time_recordings time_recordings_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16931 --
16932
16933 ALTER TABLE ONLY public.time_recordings
16934     ADD CONSTRAINT time_recordings_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
16935
16936
16937 --
16938 -- Name: time_recordings time_recordings_order_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16939 --
16940
16941 ALTER TABLE ONLY public.time_recordings
16942     ADD CONSTRAINT time_recordings_order_id_fkey FOREIGN KEY (order_id) REFERENCES public.oe(id);
16943
16944
16945 --
16946 -- Name: time_recordings time_recordings_part_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16947 --
16948
16949 ALTER TABLE ONLY public.time_recordings
16950     ADD CONSTRAINT time_recordings_part_id_fkey FOREIGN KEY (part_id) REFERENCES public.parts(id);
16951
16952
16953 --
16954 -- Name: time_recordings time_recordings_project_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16955 --
16956
16957 ALTER TABLE ONLY public.time_recordings
16958     ADD CONSTRAINT time_recordings_project_id_fkey FOREIGN KEY (project_id) REFERENCES public.project(id);
16959
16960
16961 --
16962 -- Name: time_recordings time_recordings_staff_member_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16963 --
16964
16965 ALTER TABLE ONLY public.time_recordings
16966     ADD CONSTRAINT time_recordings_staff_member_id_fkey FOREIGN KEY (staff_member_id) REFERENCES public.employee(id);
16967
16968
16969 --
16970 -- Name: todo_user_config todo_user_config_employee_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16971 --
16972
16973 ALTER TABLE ONLY public.todo_user_config
16974     ADD CONSTRAINT todo_user_config_employee_id_fkey FOREIGN KEY (employee_id) REFERENCES public.employee(id);
16975
16976
16977 --
16978 -- Name: translation translation_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16979 --
16980
16981 ALTER TABLE ONLY public.translation
16982     ADD CONSTRAINT translation_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
16983
16984
16985 --
16986 -- Name: units_language units_language_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16987 --
16988
16989 ALTER TABLE ONLY public.units_language
16990     ADD CONSTRAINT units_language_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
16991
16992
16993 --
16994 -- Name: units_language units_language_unit_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
16995 --
16996
16997 ALTER TABLE ONLY public.units_language
16998     ADD CONSTRAINT units_language_unit_fkey FOREIGN KEY (unit) REFERENCES public.units(name);
16999
17000
17001 --
17002 -- Name: vendor vendor_business_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
17003 --
17004
17005 ALTER TABLE ONLY public.vendor
17006     ADD CONSTRAINT vendor_business_id_fkey FOREIGN KEY (business_id) REFERENCES public.business(id);
17007
17008
17009 --
17010 -- Name: vendor vendor_currency_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
17011 --
17012
17013 ALTER TABLE ONLY public.vendor
17014     ADD CONSTRAINT vendor_currency_id_fkey FOREIGN KEY (currency_id) REFERENCES public.currencies(id);
17015
17016
17017 --
17018 -- Name: vendor vendor_delivery_term_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
17019 --
17020
17021 ALTER TABLE ONLY public.vendor
17022     ADD CONSTRAINT vendor_delivery_term_id_fkey FOREIGN KEY (delivery_term_id) REFERENCES public.delivery_terms(id);
17023
17024
17025 --
17026 -- Name: vendor vendor_language_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
17027 --
17028
17029 ALTER TABLE ONLY public.vendor
17030     ADD CONSTRAINT vendor_language_id_fkey FOREIGN KEY (language_id) REFERENCES public.language(id);
17031
17032
17033 --
17034 -- Name: vendor vendor_payment_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
17035 --
17036
17037 ALTER TABLE ONLY public.vendor
17038     ADD CONSTRAINT vendor_payment_id_fkey FOREIGN KEY (payment_id) REFERENCES public.payment_terms(id);
17039
17040
17041 --
17042 -- Name: vendor vendor_taxzone_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: kivitendo
17043 --
17044
17045 ALTER TABLE ONLY public.vendor
17046     ADD CONSTRAINT vendor_taxzone_id_fkey FOREIGN KEY (taxzone_id) REFERENCES public.tax_zones(id);
17047
17048
17049 --
17050 -- Name: report_headings report_headings_category_id_fkey; Type: FK CONSTRAINT; Schema: tax; Owner: kivitendo
17051 --
17052
17053 ALTER TABLE ONLY tax.report_headings
17054     ADD CONSTRAINT report_headings_category_id_fkey FOREIGN KEY (category_id) REFERENCES tax.report_categories(id);
17055
17056
17057 --
17058 -- Name: report_variables report_variables_heading_id_fkey; Type: FK CONSTRAINT; Schema: tax; Owner: kivitendo
17059 --
17060
17061 ALTER TABLE ONLY tax.report_variables
17062     ADD CONSTRAINT report_variables_heading_id_fkey FOREIGN KEY (heading_id) REFERENCES tax.report_headings(id);
17063
17064
17065 --
17066 -- PostgreSQL database dump complete
17067 --
17068
17069 \unrestrict udx77cffGFXywKFftV0c2RVJe11A5uBWmVHFObbmFi2ktDIoGnYu7nKcwi6FgOa
17070