]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/IS.pm
Änderungen zum vorherigen Commit, um die Funktionen rouster zu machen.
[kivitendo-erp.git] / SL / IS.pm
index 3b0e15666966670a384a1dd0a4175adc8724ca59..7c923b0dd4b7461e6559e26cbec3c45623e13b1b 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -1954,38 +1954,6 @@ sub retrieve_item {
   $main::lxdebug->leave_sub();
 }
 
-##########################
-# Get data for the submitted order id
-# from database
-#
-sub get_order_data {
-
-  $main::lxdebug->enter_sub();
-
-  my $self      = shift;
-  my $form     = $main::form;
-  my %myconfig = %main::myconfig;
-  my $dbh      = $form->get_standard_dbh();
-
-  my @values = (conv_i($form->{ordnumber}));
-
-  # We query the database for the fields we need using the submitted "ordnumber"
-  my $query = <<SQL;
-    SELECT o.payment_id, o.salesman_id, o.transdate AS orddate, o.taxzone_id, o.quonumber
-    FROM oe o
-    WHERE o.ordnumber = ?;
-SQL
-
-  # Do the actual query and return the results for later processing by our "frontend"
-  my ($result) = selectfirst_hashref_query($form, $dbh, $query, @values);
-
-  $dbh->disconnect;
-
-  $main::lxdebug->leave_sub();
-
-  return $result;
-}
-
 ##########################
 # get pricegroups from database
 # build up selected pricegroup