Revision eacebf8a
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/GL.pm | ||
---|---|---|
124 | 124 |
qq|UPDATE gl SET |
125 | 125 |
reference = ?, description = ?, notes = ?, |
126 | 126 |
transdate = ?, deliverydate = ?, tax_point = ?, department_id = ?, taxincluded = ?, |
127 |
storno = ?, storno_id = ?, ob_transaction = ?, cb_transaction = ? |
|
127 |
storno = ?, storno_id = ?, ob_transaction = ?, cb_transaction = ?, |
|
128 |
transaction_description = ? |
|
128 | 129 |
WHERE id = ?|; |
129 | 130 |
|
130 | 131 |
@values = ($form->{reference}, $form->{description}, $form->{notes}, |
131 | 132 |
conv_date($form->{transdate}), conv_date($form->{deliverydate}), conv_date($form->{tax_point}), conv_i($form->{department_id}), $form->{taxincluded} ? 't' : 'f', |
132 | 133 |
$form->{storno} ? 't' : 'f', conv_i($form->{storno_id}), $form->{ob_transaction} ? 't' : 'f', $form->{cb_transaction} ? 't' : 'f', |
134 |
$form->{transaction_description}, |
|
133 | 135 |
conv_i($form->{id})); |
134 | 136 |
do_query($form, $dbh, $query, @values); |
135 | 137 |
|
... | ... | |
657 | 659 |
g.storno, g.storno_id, |
658 | 660 |
g.department_id, d.description AS department, |
659 | 661 |
e.name AS employee, g.taxincluded, g.gldate, |
660 |
g.ob_transaction, g.cb_transaction |
|
662 |
g.ob_transaction, g.cb_transaction, |
|
663 |
g.transaction_description |
|
661 | 664 |
FROM gl g |
662 | 665 |
LEFT JOIN department d ON (d.id = g.department_id) |
663 | 666 |
LEFT JOIN employee e ON (e.id = g.employee_id) |
Auch abrufbar als: Unified diff
Vorgangsbezeichnung in Dialogbuchung: Speichern und Laden