code: public InputStream openSerialStream(FieldList record, String strLookupKey)
      {
          try
          {
              String strTableName = this.getFilename(strLookupKey, false);
              String strCommand = Params.TABLE_PATH;
              Map<String,Object> properties = new HashMap<String,Object>();
              properties.put(DATA_TYPE, "table");
              properties.put(RECORD_CLASS, record.getClass().getName());
              properties.put(TABLE_NAME, strTableName);
              if (record.getOwner() instanceof RecordOwnerParent)
                  if (((RecordOwnerParent)record.getOwner()).getTask() != null)
                      if (((RecordOwnerParent)record.getOwner()).getTask().getApplication() != null)
                          if (((RecordOwnerParent)record.getOwner()).getTask().getApplication().getLanguage(true) != null)
                          	properties.put(Params.LANGUAGE, ((RecordOwnerParent)record.getOwner()).getTask().getApplication().getLanguage(true));
              App app = null;
              if (this.getPDatabaseParent() != null)
                  app = (App)this.getPDatabaseParent().getProperty(PhysicalDatabaseParent.APP);
              RemoteTask remoteTask = null;
              if (app == null)
                  return super.openSerialStream(record, strLookupKey);	// Never
              else
              	remoteTask = (RemoteTask)app.getRemoteTask(null);
              Object data = remoteTask.doRemoteAction(strCommand, properties);
              ByteArrayInputStream istream = new ByteArrayInputStream((byte[])data);
              return istream;
          } catch (DBException ex) {
              ex.printStackTrace();
          } catch (RemoteException ex) {
              ex.printStackTrace();
          }
          return null;
      }
docs: Get the physical table that matches this BaseTable and return an Input
  stream to it if it exists.
  @param table The table to get the serial stream for (named ser/dbname/tablename.ser).
  @return The FileInputStream or null if it doesn't exist.