Revision 2a267805
Von Bernd Bleßmann vor mehr als 4 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
121 | 121 |
qq| o.closed, o.delivered, o.quonumber, o.cusordnumber, o.shippingpoint, o.shipvia, | . |
122 | 122 |
qq| o.transaction_description, | . |
123 | 123 |
qq| o.marge_total, o.marge_percent, | . |
124 |
qq| o.exchangerate, | . |
|
124 | 125 |
qq| o.itime::DATE AS insertdate, | . |
125 | 126 |
qq| department.description as department, | . |
126 |
qq| ex.$rate AS exchangerate, | . |
|
127 |
qq| ex.$rate AS daily_exchangerate, | .
|
|
127 | 128 |
qq| pt.description AS payment_terms, | . |
128 | 129 |
qq| pr.projectnumber AS globalprojectnumber, | . |
129 | 130 |
qq| e.name AS employee, s.name AS salesman, | . |
... | ... | |
384 | 385 |
$ref->{remaining_amount} = $ref->{amount} - $ref->{billed_amount}; |
385 | 386 |
$ref->{remaining_netamount} = $ref->{netamount} - $ref->{billed_netamount}; |
386 | 387 |
} |
387 |
$ref->{exchangerate} = 1 unless $ref->{exchangerate}; |
|
388 |
$ref->{exchangerate} ||= $ref->{daily_exchangerate}; |
|
389 |
$ref->{exchangerate} ||= 1; |
|
388 | 390 |
push @{ $form->{OE} }, $ref if $ref->{id} != $id{ $ref->{id} }; |
389 | 391 |
$id{ $ref->{id} } = $ref->{id}; |
390 | 392 |
} |
Auch abrufbar als: Unified diff
Wechselkurs pro Angebot/Auftrag: In Angebots-/Auftragsbericht berücksichtigen