Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b0414115

Von Werner Hahn vor etwa 2 Monaten hinzugefügt

  • ID b04141152ba6d665aaae2b2c0295923ab800f399
  • Vorgänger c1dc55d0

TransnumeberGenerator: falsche type variable verbessert

Unterschiede anzeigen:

SL/TransNumber.pm
70 70
    $filters{numberfield}   = "soinumber";
71 71
    $filters{table}         = "oe";
72 72
    $filters{where}         = "record_type = ?";
73
    $filters{values}        = $type;
73
    $filters{values}        = [ $::form->{type} ];
74 74

  
75 75
  } elsif ($type =~ /^purchase_order_confirmation$/) {
76 76
    $filters{trans_number}  = "ordnumber";
77 77
    $filters{numberfield}   = "pocnumber";
78 78
    $filters{table}         = "oe";
79 79
    $filters{where}         = 'record_type = ?';
80
    $filters{values}        = $type;
80
    $filters{values}        = [ $::form->{type} ];
81 81

  
82 82
  } elsif ($type =~ /_quotation$/) {
83 83
    $filters{trans_number}  = "quonumber";
84 84
    $filters{numberfield}   = $type eq 'sales_quotation' ? "sqnumber" : "rfqnumber";
85 85
    $filters{table}         = "oe";
86 86
    $filters{where}         = "record_type = ?";
87
    $filters{values}        = $type;
87
    $filters{values}        = [ $::form->{type} ];
88 88

  
89 89
  } elsif ($type =~ /^purchase_quotation_intake$/) {
90 90
    $filters{trans_number}  = "quonumber";
91 91
    $filters{numberfield}   = "pqinumber";
92 92
    $filters{table}         = "oe";
93 93
    $filters{where}         = "record_type = ?";
94
    $filters{values}        = $type;
94
    $filters{values}        = [ $::form->{type} ];
95 95

  
96 96
  } elsif ($type =~ /^(part|service|assembly|assortment)$/) {
97 97
    $filters{trans_number}  = "partnumber";

Auch abrufbar als: Unified diff