Package ch.tocco.nice2.optional.finance.impl.validator
package ch.tocco.nice2.optional.finance.impl.validator
-
ClassDescriptionValidator which ensures, that no default Vat_code, default donation Cost_center or default Cost_center can be set if the corresponding Business_unit flag is not checkedThis validator ensures that configured finance flags (cost_accounting, vat_obligatory) can not be removed as long as there is a corresponding default entity configuredchecks for one default on the related entitiesChecks if the entered "valid from" date is before the current "valid from" date If it is before a errormessage is displayed If the entity with the "valid from" date has a different category than the current "valid from" entity no errormessage is displayedchecks that a Voucher_type declared as standard cannot be set to inactive