{
HibiscusAddress ha = (HibiscusAddress) Settings.getDBService().createObject(HibiscusAddress.class,id);
String seqCode = StringUtils.trimToNull(MetaKey.SEPA_SEQUENCE_CODE.get(ha));
if (seqCode != null)
{
SepaLastSequenceType type = SepaLastSequenceType.valueOf(seqCode);
if (type == SepaLastSequenceType.FRST)
{
Logger.debug("auto-switching sequence-code for address-id" + id + " from FRST to RCUR");
MetaKey.SEPA_SEQUENCE_CODE.set(ha,SepaLastSequenceType.RCUR.name());
}