}
private String createHeadAndLines(List<OrderLine> orderLines)
throws ProTransException {
if (orderLines != null && orderLines.size() != 0) {
OrdchgrHeadV head = ordchgrManager.getHead(orderLines.get(0)
.getOrdNo());
List<OrdchgrLineV> lines = head != null ? ordchgrManager.getLines(
orderLines.get(0).getOrdNo(), getLnNos(orderLines)) : null;
return head != null ? createFile(head, lines, orderLines.get(0)
.getOrderNr(), ApplicationParamUtil