AnsweredAssumed Answered

sugarcrm code to add a pdf document to a note

Question asked by jlabuelo on Jul 10, 2015
Latest reply on Jul 12, 2015 by Shijin Krishna
Hi there

I have sugarcrm in an Ubuntu server. This server receives in the /opt/docs folder pdf documents with the name of contacts_id's "345654ret56.pdf". I need to run a task in a logic_hook after_save for contacts that checks if there is a pdf document with its ID and if so create a new Note with the document attached.

Any examples I can check?? thanks a lot in advance!!

Outcomes