X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/fdfd7f203f3ff64a86e232a8fe30b865d5a8d9bb..55e9890a:/SL/IS.pm diff --git a/SL/IS.pm b/SL/IS.pm index 7c923b0dd..3b0e15666 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -1954,6 +1954,38 @@ 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 = <disconnect; + + $main::lxdebug->leave_sub(); + + return $result; +} + ########################## # get pricegroups from database # build up selected pricegroup