<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Workflows should be a good fit for your requirements? Just create a
custom workflow function and have your workflow run on every save to
an invoice.<br>
<br>
<div class="moz-cite-prefix">On 08/12/15 09:51, Lennart van
Ballegoij wrote:<br>
</div>
<blockquote
cite="mid:CACq25DubmWPpt9WZoxqce3ZP1dZeRa9w7oWO4eLsLym=PmOG+g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'm building a Vtiger module that needs to send the data of
a saved Invoice to a thirdparty API.</div>
<div>I've been googling all weekend to find out how to pickup
the data of a invoice after a invoice gets saved.</div>
<div><br>
</div>
<div>I tried some things i found online, but never actually got
it working.</div>
<div><br>
</div>
<div>Because i didn't find a solution i chose to write a JS file
and send all fields to a handler with ajax after the save
button got clicked.</div>
<div><br>
</div>
<div>But this can't be the best way of doing this.</div>
<div><br>
</div>
<div>Can someone push me in the right direction on how to
retrieve the invoice data after the data got saved?</div>
<div><br>
</div>
<div>Thanks in advance !</div>
<div><br>
</div>
<div>Lennart</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
<a class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>
<a class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a>
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061</pre>
</body>
</html>