Interface OrderCancellingService

All Known Implementing Classes:
OrderCancellingServiceImpl

public interface OrderCancellingService
this service contains all the order cancelling logic
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cancelOrder(Entity order, String comment, @Nullable org.joda.time.LocalDate manualDate)
    duplicates every voucher for the related debitor and inverts the debit and credit account without the relationship to Debitor_export the date of the new voucher is set to today
    void
    cancelOrders(EntityList orders, String comment, @Nullable org.joda.time.LocalDate manualDate)
    calls OrderCancellingService.cancelOrder for every entity in orders