use of org.estatio.module.capex.imports.OrderInvoiceSheet in project estatio by estatio.
the class OrderInvoiceImportMenu method importOrdersAndInvoices.
@Action(semantics = SemanticsOf.SAFE)
@MemberOrder(sequence = "1")
public OrderInvoiceSheet importOrdersAndInvoices(final String sheetName, final Blob spreadSheet) {
final List<OrderInvoiceLine> lines = orderInvoiceImportService.createLines(sheetName, spreadSheet);
final OrderInvoiceSheet sheet = factoryService.instantiate(OrderInvoiceSheet.class);
sheet.setLines(lines);
return sheet;
}
Aggregations