<div dir="ltr">Yes I know it is supposed to have a LineItem. In this case I'm doing an update on an invoice that's already stored in Vtiger. That's why I'm confused. <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><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 16, 2021 at 3:12 AM Sukhdev Mohan <<a href="mailto:s.mohan@myti.it">s.mohan@myti.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi,<div><br></div><div>From your dump LineItem is empty and so is productid. The Api needs both of them, even if there is a single item… As per my understanding of the vtiger api they need all the data all the time… </div><div><br><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div>Best Regards,<br><b>Sukhdev Mohan</b> | <b>Software Developer</b></div></div><br></div><br></div><br></div><br></div><br><br>
</div>
<div><br><blockquote type="cite"><div>Il giorno 16 feb 2021, alle ore 03:31, Rubén A. Estrada Orozco <<a href="mailto:rulotec1@gmail.com" target="_blank">rulotec1@gmail.com</a>> ha scritto:</div><br><div><div dir="ltr">Hi guys,<div><br></div><div>I have an interface that changes the status of invoices using vtws_update.</div><div><br></div><div>From time to time I get "Excepcion WebServiceException: productid does not have a value" which is weird because the invoice already existed. The invoice array looks as if it had no line items:</div><div><br></div><div><span id="gmail-m_-62476639467416080cid:ii_kl7dz24i0"><image.png></span><br></div><div><br></div><div>If I look into the invoice record using Vtiger's UI I can see the invoice does have line items.</div><div><br></div><div>Do you have any idea why this might be happening? As I said, this is an intermittent problem.</div><div><br></div><div><div><div dir="ltr"><div dir="ltr">Saludos<div><br></div><div>Rubén</div></div></div></div></div></div>
_______________________________________________<br><a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></div></blockquote></div><br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>