]> wagnertech.de Git - mfinanz.git/blobdiff - SL/IC.pm
Beim DATEV-Export Lieferdatum als entscheidenden Tag zur Bestimmung der Steuer berück...
[mfinanz.git] / SL / IC.pm
index d458862ea93af548ce46fe044f9137a723e3be77..7a52096a07e34d6c57d7f43af59f1bc115507771 100644 (file)
--- a/SL/IC.pm
+++ b/SL/IC.pm
@@ -157,7 +157,7 @@ SQL
   $trq->finish;
 
   # is it an orphan
-  my @referencing_tables = qw(invoice orderitems inventory rmaitems);
+  my @referencing_tables = qw(invoice orderitems inventory);
   my %column_map         = ( );
   my $parts_id           = conv_i($form->{id});
 
@@ -1497,6 +1497,8 @@ sub retrieve_accounts {
     # if credit_note has a deliverydate, use this instead of invdate
     # useful for credit_notes of invoices from an old period with different tax
     # if there is no deliverydate then invdate is used, old default (see next elsif)
+    # Falls hier der Stichtag für Steuern anders bestimmt wird,
+    # entsprechend auch bei Taxkeys.pm anpassen
     $transdate = $form->{deliverydate};
   } elsif (($form->{type} eq "credit_note") || ($form->{script} eq 'ir.pl')) {
     $transdate = $form->{invdate};