title: Adding a new row to another table using java in Maximo
body: <p>I have two tables that I'm working with: KINCIDENT and ASSISTANT. The main one is KINCIDENT and the two are linked using an ID. I'm able to add a new row from the application but I want to do this using Java. I tried the following code but did not work:</p>
  
  <pre><code>MboSetRemote assistSet = MXServer.getMXServer().getMboSet("ASSISTANT",userInfo);
  MboRemote newAssist = assistSet.add();
  newAssist.setValue("LOCATION",x);
  newAssist.setValue("INCNUM",y);
  assistSet.save();
  </code></pre>
  
  <p>I checked to see if the row was added but it wasn't and I also didn't find any new entries in the database either. Am I missing something?</p>