[Vtigercrm-developers] vtwsclib - Create Potential

Prasad prasad at vtiger.com
Thu Aug 23 23:28:43 PDT 2012


Peter,

Thanks for the pointer, I have covered it in the document now as an example.

Regards,
Prasad

On Thu, Aug 23, 2012 at 11:13 PM, Peter Dimov <phdimov at gmail.com> wrote:

> Prasad,
>
> I figured it out finaly and I think whats throwing everybody off is the
> related to and the way the related to ids work
>
> 12x22
> 11x22
>
> and so on
>
> a short explanation on that in your tutorial might help
>
> On Fri, Aug 3, 2012 at 2:37 AM, Prasad <prasad at vtiger.com> wrote:
>
>> Peter,
>>
>> Refer: http://forge.vtiger.com/frs/download.php/845/vtwsclib-1.4.pdf for
>> tips on catching the error.
>>
>> Regards,
>> Prasad
>>
>> *Connect with us on: *Twitter <http://twitter.com/#!/vtigercrm> *I*
>> Facebook <http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *
>> I* Blog <http://blog.vtiger.com/>* I* Wiki<http://wiki.vtiger.com/index.php/Main_Page>
>>  *I *Forums  <http://forums.vtiger.com/>*I* Website <http://vtiger.com/>
>>
>>
>> On Thu, Aug 2, 2012 at 11:43 PM, Peter Dimov <phdimov at gmail.com> wrote:
>>
>>> Hi Prasad,
>>>
>>> Thank you for your reply. I can't get the an error to show so can tell
>>> what I am missing. How do I do that?
>>>
>>> If you can send me one example of a potential being created that would
>>> be super!
>>>
>>> PD
>>>
>>> On Wed, Aug 1, 2012 at 11:45 PM, Prasad <prasad at vtiger.com> wrote:
>>>
>>>> Peter,
>>>>
>>>> Make sure to fill in valid data for mandatory fields of the Potentials
>>>> module. You can refer the Create/Edit form first before creating record.
>>>> Also check any error after the operations.
>>>>
>>>> Regards,
>>>> Prasad
>>>> vtiger Team
>>>>
>>>> On Thu, Aug 2, 2012 at 2:33 AM, Peter Dimov <phdimov at gmail.com> wrote:
>>>>
>>>>> Hello Vtiger Developers,
>>>>>
>>>>> I do have an issue with vtwsclib and was wondering if anyone has been
>>>>> able to create a potential with it.
>>>>>
>>>>> The code I am trying does not work
>>>>>
>>>>> $module = 'Potentials';
>>>>> $record = $client->doCreate($module, Array(
>>>>>              'potentialname'=>'test',
>>>>>      'closingdate'=>'',
>>>>>              'related_to'=>'',
>>>>>              'sales_stage'=>'',
>>>>>              'assigned_user_id'=>'1'
>>>>>          ));
>>>>>
>>>>> if($record) {
>>>>> $recordid = $client->getRecordId($record['id']);
>>>>> echo $recordid;
>>>>> }
>>>>>
>>>>> If anyone has a working example of what array should I send I would
>>>>> greatly appreciate it!
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>>
>>>>> Petar Dimov
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>>
>>> Petar Dimov
>>>
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
>
> --
> Best Regards,
>
> Petar Dimov
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120824/cb10ed49/attachment-0001.html 


More information about the vtigercrm-developers mailing list