Package ch.tocco.nice2.optional.finance.impl.entitylistener
package ch.tocco.nice2.optional.finance.impl.entitylistener
-
ClassDescriptionresets the vat code when a vat rate is added directly sets the added vat rate when is valid, because vat rates can not be added for the pastgenerates/deletes debitor_informations in each businessUnitListens on incoming payment changes.generates a reference code for a order, when it is created uses
ReferenceCodeService
AfterCommitListener because it needs the order number, which is generated on commitupdates the reference code of a order every time the esr account or the addresses are changed usesReferenceCodeService
Listener that sets 'assigned' field on Incoming_payment to true if a relevant relation is set.This listener calls registered VoucherChangeHandler if a Voucher that is related to the contributed Entity Model is changed.