[Vtigercrm-developers] Describe LineItems?
Alan Lord
alanslists at gmail.com
Wed Mar 22 09:41:27 GMT 2017
On 22/03/17 04:49, Satish Dvnk wrote:
> include_once 'include/Webservices/LineItem/VtigerLineItemOperation.php';
> $fields = vtws_describe('LineItem');
> echo '<pre>';
> print_r($fields);
Thanks - you were nearly there:
>> require_once('includes/main/WebUI.php');
>> $current_user = Users::getActiveAdminUser();
>> require_once('include/Webservices/DescribeObject.php');
>> $fields = vtws_describe('LineItem', $current_user);
>> print_r($fields);
Al
(I use the php command line mostly, hence the first include statement)
More information about the vtigercrm-developers
mailing list