[Vtigercrm-developers] Adding Inventory Records using API

Prasad prasad at vtiger.com
Fri Oct 10 14:12:13 GMT 2014


Please refer:
https://wiki.vtiger.com/index.php/ServerAPI_reference_manual#Inventory_Record_Create

*Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I* Facebook
<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I* Blog
<https://blogs.vtiger.com/>* I* Wiki
<http://wiki.vtiger.com/index.php/Main_Page> *I *Forums
<https://discussions.vtiger.com>*I* Website <https://www.vtiger.com/>

On Fri, Oct 10, 2014 at 7:22 PM, Conrado Maggi <comaggi at gmail.com> wrote:

> Hi,
>
> I'm working on a new module and I need to add a new order using the the
> API.
>
> I've used vtws_retrieve_inventory to retrieve the order now I'm trying to
> add a new one. Is the following the correct way to do it:
>
> vtws_create('SalesOrder',$array,$user)
>
> and for the lines items
>
> vtws_create('LineItem',$array,$user)
>
>
> Is there a way to add the entire order in just one call?
>
> Thanks,
>
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141010/67782299/attachment.html>


More information about the vtigercrm-developers mailing list