@Override
protected void printLetters() {
try {
HierarchyCustomersRemote custManagement = (HierarchyCustomersRemote)ClientTools.getRemoteBean(HierarchyCustomersRemote.class);
List customers = null;
if (this.getParentCustomer()!=null)
customers=custManagement.getSubDatasets(this.getParentCustomer(), this.getFilter(), "a.name1, a.name2, a.name3", ClientGlobals.getUser(), ClientGlobals.getCompany(), 0, 0);
else
customers=custManagement.getDatasets(this.getFilter(), "a.name1, a.name2, a.name3", ClientGlobals.getUser(), ClientGlobals.getCompany(), 0, 0);
MassLetterWizard massLetterWizard = new MassLetterWizard();
massLetterWizard.setContacts(customers);
FmWizard fmWizard = new FmWizard(massLetterWizard, JbsL10N.getString("MassLetterWizard.title"));