code: @Override
    public final List<WarehouseEntry> retrieveEntriesForOwner(
      final Map<String, Object> pAddParam,
        final Integer pOwnerTypeCode, final Long pOwnerId) throws Exception {
      String tblNm = WarehouseEntry.class.getSimpleName().toUpperCase();
      String where = " where SOURCEOWNERTYPE=" + pOwnerTypeCode
          + " and " + tblNm + ".IDDATABASEBIRTH=" + getSrvOrm().getIdDatabase()
            + " and SOURCEOWNERID=" + pOwnerId;
      return getSrvOrm()
        .retrieveListWithConditions(pAddParam, WarehouseEntry.class, where);
    }
docs: <p>Retrieve entries for lines owner id/type.</p>
  @param pAddParam additional param
  @param pOwnerTypeCode Owner Type code
  @param pOwnerId Owner ID
  @return warehouse entries made by this document
  @throws Exception - an exception