private void processLabelsPrintedFromOrderReport(QueryBuilderClient client,String urlReportServer, String repXml2, String templXml2,OrderSpecimenLiteVo specimen) { client.getSeeds().clear(); client.addSeed(new SeedValue("OrderSpecimen_id", specimen.getID_OrderSpecimen(), Integer.class)); try { client.printReport(repXml2, templXml2, urlReportServer, form.qmbPrinterLabels().getValue(), 1); } catch (QueryBuilderClientException e1) { engine.showMessage("Error building the report: " + e1.toString()); return; } }
public OrderSpecimenLiteVo getOrderSpecimen(OrderSpecimenRefVo specimenRef) { if(specimenRef == null) return null; return OrderSpecimenLiteVoAssembler.create((OrderSpecimen)getDomainFactory().getDomainObject(specimenRef)); }