[Vtigercrm-developers] vtws_revise no errors returned...

Alan Lord alanslists at gmail.com
Thu Apr 23 07:58:15 GMT 2015


On 23/04/15 06:29, Vikas Jain wrote:
> Hi,
>
> The main difference between vtws_revise and vtws_update is that for
> revise you can send only those fields that needs to be changed, but for
> update api you need to send all the mandatory fields to update a record.
> If you send unknown fields then it will silently ignore them, the reason
> for this behavior is that the user may not have permission for few
> fields and the system may not know if these fields are not available in
> the system or the user does not have permission for these fields.

Thank you for the information Vikas. What you describe makes sense.

I'm not convinced it is the "right" thing to do though. An error in a 
fieldname in an Event Handler or Custom Workflow function will never be 
picked up under these rules... But at least I now know why.

Thanks :-)

Al





More information about the vtigercrm-developers mailing list