docs: public final void retLines(final Map<String, Object> pRqVs,
      final OnlineBuyer pBur, final List<CustOrder> pOrds,
        final List<CuOrSe> pSords) throws Exception {
      StringBuffer ordIds = null;
      for (CustOrder co : pOrds) {
        co.setGoods(new ArrayList<CustOrderGdLn>());
        co.setServs(new ArrayList<CustOrderSrvLn>());
        if (ordIds == null) {
          ordIds = new StringBuffer();
          ordIds.append(co.getItsId().toString());
        } else {
          ordIds.append("," + co.getItsId());
        }
      }
      Set<String> ndFlNm = new HashSet<String>();
      ndFlNm.add("itsId");
      ndFlNm.add("itsName");
      Set<String> ndFl = new HashSet<String>();
      ndFl.add("itsId");
      ndFl.add("itsOwner");
      ndFl.add("itsName");
      ndFl.add("uom");
      ndFl.add("quant");
      ndFl.add("price");
      ndFl.add("tot");
      ndFl.add("totTx");
      String tbn;
      if (ordIds != null) {
        tbn = CustOrderGdLn.class.getSimpleName();
        pRqVs.put(tbn + "neededFields", ndFl);
        pRqVs.put(tbn + "itsOwnerdeepLevel", 1);
        pRqVs.put("UnitOfMeasureneededFields", ndFlNm);
        List<CustOrderGdLn> allGds = this.srvOrm.retrieveListWithConditions(pRqVs,
          CustOrderGdLn.class, "where ITSOWNER in (" + ordIds + ")");
        pRqVs.remove(tbn + "neededFields");
        pRqVs.remove(tbn + "itsOwnerdeepLevel");
        pRqVs.remove("UnitOfMeasureneededFields");
        for (CustOrderGdLn il : allGds) {
          for (CustOrder co : pOrds) {
            if (co.getItsId().equals(il.getItsOwner().getItsId())) {
              co.getGoods().add(il);
              break;
            }
          }
        }
        tbn = CustOrderSrvLn.class.getSimpleName();
        pRqVs.put(tbn + "neededFields", ndFl);
        pRqVs.put(tbn + "itsOwnerdeepLevel", 1);
        pRqVs.put("UnitOfMeasureneededFields", ndFlNm);
        List<CustOrderSrvLn> allSrs = this.srvOrm.retrieveListWithConditions(
          pRqVs, CustOrderSrvLn.class, "where ITSOWNER in (" + ordIds + ")");
        pRqVs.remove(tbn + "neededFields");
        pRqVs.remove(tbn + "itsOwnerdeepLevel");
        pRqVs.remove("UnitOfMeasureneededFields");
        for (CustOrderSrvLn il : allSrs) {
          for (CustOrder co : pOrds) {
            if (co.getItsId().equals(il.getItsOwner().getItsId())) {
              co.getServs().add(il);
              break;
            }
          }
        }
      }
      ordIds = null;
      for (CuOrSe co : pSords) {
        co.setGoods(new ArrayList<CuOrSeGdLn>());
        co.setServs(new ArrayList<CuOrSeSrLn>());
        if (ordIds == null) {
          ordIds = new StringBuffer();
          ordIds.append(co.getItsId().toString());
        } else {
          ordIds.append("," + co.getItsId());
        }
      }
      if (ordIds != null) {
        tbn = CuOrSeGdLn.class.getSimpleName();
        pRqVs.put(tbn + "neededFields", ndFl);
        pRqVs.put(tbn + "itsOwnerdeepLevel", 1);
        pRqVs.put("UnitOfMeasureneededFields", ndFlNm);
        List<CuOrSeGdLn> allGds = this.srvOrm.retrieveListWithConditions(pRqVs,
          CuOrSeGdLn.class, "where ITSOWNER in (" + ordIds + ")");
        pRqVs.remove(tbn + "neededFields");
        pRqVs.remove(tbn + "itsOwnerdeepLevel");
        pRqVs.remove("UnitOfMeasureneededFields");
        for (CuOrSeGdLn il : allGds) {
          for (CuOrSe co : pSords) {
            if (co.getItsId().equals(il.getItsOwner().getItsId())) {
              co.getGoods().add(il);
              break;
            }
          }
        }
        tbn = CuOrSeSrLn.class.getSimpleName();
        pRqVs.put(tbn + "neededFields", ndFl);
        pRqVs.put(tbn + "itsOwnerdeepLevel", 1);
        pRqVs.put("UnitOfMeasureneededFields", ndFlNm);
        List<CuOrSeSrLn> allSrs = this.srvOrm.retrieveListWithConditions(
          pRqVs, CuOrSeSrLn.class, "where ITSOWNER in (" + ordIds + ")");
        pRqVs.remove(tbn + "neededFields");
        pRqVs.remove(tbn + "itsOwnerdeepLevel");
        pRqVs.remove("UnitOfMeasureneededFields");
        for (CuOrSeSrLn il : allSrs) {
          for (CuOrSe co : pSords) {
            if (co.getItsId().equals(il.getItsOwner().getItsId())) {
              co.getServs().add(il);
              break;
            }
          }
        }
      }
    }