Revision cff055a4
SL/DATEV.pm | ||
---|---|---|
1099 | 1099 |
left join files on files.object_id=trans_id |
1100 | 1100 |
where $fromto |
1101 | 1101 |
and object_id is null |
1102 |
and trans_id not in (select id from gl) |
|
1102 | 1103 |
LIMIT 1|; |
1103 | 1104 |
|
1104 | 1105 |
my ($booking_has_no_document) = selectrow_query($::form, SL::DB->client->dbh, $query); |
... | ... | |
1339 | 1340 |
|
1340 | 1341 |
=item check_all_bookings_have_documents |
1341 | 1342 |
|
1342 |
Returns 1 if all transactions for this period have a document entry in files. |
|
1343 |
Therefore all transactions may be exported (type is not checked and DATEV
|
|
1344 |
only accepts PDF).
|
|
1343 |
Returns 1 if all ar and ap transactions for this period have a document entry in files.
|
|
1344 |
Therefore all ar and ap transactions may be exported.
|
|
1345 |
Note: DATEV accepts only PDF and for some gl bookings a document makes no sense
|
|
1345 | 1346 |
|
1346 | 1347 |
|
1347 | 1348 |
=back |
Auch abrufbar als: Unified diff
check_all_bookings_have_documents: Prüfung zu strikt für GL
GL Buchungen können manchmal nur durchlaufende Posten oder
Geldtransfer sein, die Buchungen brauchen nicht zusätzlich mit
einem Beleg dokumentiert werden. POD korrigiert