-# iterate all positions and match articlenumber
-sub check_transport_cost_reminder_article_number {
- $main::lxdebug->enter_sub();
-
- my $form = $main::form;
-
- check_oe_access();
-
- my $transport_article_id = $::instance_conf->get_transport_cost_reminder_article_number_id;
- for my $i (1 .. $form->{rowcount}) {
- return if $form->{"id_${i}"} eq $transport_article_id;
- }
-
- # simply return the name of the part
- return SL::DB::Part->new(id => $transport_article_id)->load()->partnumber;
-
- $main::lxdebug->leave_sub();
-}