<div dir="ltr">I'm creating inventory records using vtws_create() in Vtiger 7.3. I randomly get the error:<div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif">Excepcion </span><b style="color:rgb(0,0,0);font-family:arial,sans-serif">WebServiceException</b><span style="color:rgb(0,0,0);font-family:arial,sans-serif">: Database error while performing requested operation</span><br></div><div><br></div></blockquote>The error occurs here:<br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="color:rgb(0,0,0);font-family:arial,sans-serif"><br></span></div></blockquote><img src="cid:ii_klv90z4l0" alt="image.png" width="542" height="494"><br><div><br></div><div>When I look into the invoice through the  UI, it has no line items.</div><div><br></div><div>The database is fairly large (I have 1.2 million invoices).</div><div><br></div><div>I feel Vtiger shouldn't allow this inconsistency. Upon such an error it should rollback and not leave half-created records.</div><div><br></div><div>Any tips on how to fix this?</div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Saludos<div><br></div><div>Rubén</div></div></div></div></div></div></div>