Invalid key predicate when doing PUT operation
<p>Hi all I am having some trouble with my PUT function and getting Invalid key predicate. I have never seen this error before and don't really know what it means. Can anyone see what I am doing wrong here?</p>

<p>Here is my code:</p>

<pre><code>boxId = 1;
updateBox = {};

updateBox.x = 5;
updateBox.y = 10;

sap.ui.getCore().getModel("updateBoxModel").update("/Boxes(BoxId=" + boxId      + ")", updateBox,
        null, this.successMsg, this.errorMsg);

updateBoxLog = {};

updateBoxLog.x = 5;
updateBoxLog.y = 10;

sap.ui.getCore().getModel("updateBoxModel").update("/BoxLogs(BoxId=" + boxId  + ")", updateBoxLog,
        null, null, null);
</code></pre>

<p>The first update works as it should but the second doesn't work at all. Both tables are expecting a numeric value and not sure if this helps, but BoxLogs tables primary key isn't BoxId</p>