Interface CreateDebitorExportService

All Known Implementing Classes:
CreateDebitorExportServiceImpl

public interface CreateDebitorExportService
A selected voucher is exportable if it has no Debitor_export yet. The selection restricts a Voucher query to the selected vouchers, so that a large selection does not have to be resolved to its keys.
  • Method Details

    • countVouchers

      long countVouchers(Consumer<QueryBuilderBase<?,?>> selection)
    • countExportableVouchers

      long countExportableVouchers(Consumer<QueryBuilderBase<?,?>> selection)
    • createDebitorExport

      Entity createDebitorExport(Consumer<QueryBuilderBase<?,?>> selection)
      Creates a Debitor_export of the current user and assigns it with today's export_date to the exportable vouchers of the selection. The vouchers are updated privileged. The Debitor_export is also created if no voucher is exportable.