Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 03d3d025

Von Bernd Bleßmann vor fast 11 Jahren hinzugefügt

  • ID 03d3d025ea4c8bea085fc7cdf1fe7be0b513eb63
  • Vorgänger 228dfbdc
  • Nachfolger 002517b4

Lieferbedingungen analog zu Zahlungsbedingungen eingeführt.

Sie können angelegt werden, beim Benutzer voreingestellt werden
und in allen Ein- und Verkaufsmasken gesetzt werden.

Unterschiede anzeigen:

SL/OE.pm
518 518
         customer_id = ?, amount = ?, netamount = ?, reqdate = ?, taxincluded = ?,
519 519
         shippingpoint = ?, shipvia = ?, notes = ?, intnotes = ?, currency_id = (SELECT id FROM currencies WHERE name=?), closed = ?,
520 520
         delivered = ?, proforma = ?, quotation = ?, department_id = ?, language_id = ?,
521
         taxzone_id = ?, shipto_id = ?, payment_id = ?, delivery_vendor_id = ?, delivery_customer_id = ?,
521
         taxzone_id = ?, shipto_id = ?, payment_id = ?, delivery_vendor_id = ?, delivery_customer_id = ?,delivery_term_id = ?,
522 522
         globalproject_id = ?, employee_id = ?, salesman_id = ?, cp_id = ?, transaction_description = ?, marge_total = ?, marge_percent = ?
523 523
       WHERE id = ?|;
524 524

  
......
535 535
             conv_i($form->{shipto_id}), conv_i($form->{payment_id}),
536 536
             conv_i($form->{delivery_vendor_id}),
537 537
             conv_i($form->{delivery_customer_id}),
538
             conv_i($form->{delivery_term_id}),
538 539
             conv_i($form->{globalproject_id}), conv_i($form->{employee_id}),
539 540
             conv_i($form->{salesman_id}), conv_i($form->{cp_id}),
540 541
             $form->{transaction_description},
......
768 769
           o.closed, o.reqdate, o.quonumber, o.department_id, o.cusordnumber,
769 770
           d.description AS department, o.payment_id, o.language_id, o.taxzone_id,
770 771
           o.delivery_customer_id, o.delivery_vendor_id, o.proforma, o.shipto_id,
771
           o.globalproject_id, o.delivered, o.transaction_description
772
           o.globalproject_id, o.delivered, o.transaction_description, o.delivery_term_id
772 773
         FROM oe o
773 774
         JOIN ${vc} cv ON (o.${vc}_id = cv.id)
774 775
         LEFT JOIN employee e ON (o.employee_id = e.id)
......
1334 1335

  
1335 1336
  $dbh->disconnect;
1336 1337

  
1338
  $form->{delivery_term} = SL::DB::Manager::DeliveryTerm->find_by(id => $form->{delivery_term_id} || undef);
1339

  
1337 1340
  $main::lxdebug->leave_sub();
1338 1341
}
1339 1342

  

Auch abrufbar als: Unified diff