12-20-2016, 08:27 AM
That line looks correct. Let me know how it goes.
To delete the field use the delete method
To delete the field use the delete method
PHP Code:
$field = Vtiger_Field::getInstance('your_field_name',$moduleInstance);
$field->delete();
Joe
TSolucio
TSolucio