Ejemplo n.º 1
0
 public void doSetNoteAttachment(string sSession, string sFilePathName, string sFileName, string sID)
 {
     SugarCRM.note_attachment oSugarNoteAttachment = new SugarCRM.note_attachment();
     oSugarNoteAttachment.file     = sFilePathName;
     oSugarNoteAttachment.filename = sFileName;
     oSugarNoteAttachment.id       = sID;
     SugarCRM.set_entry_result oSugarSetEntryResult = oSugarCRM.set_note_attachment(sSession, oSugarNoteAttachment);
 }
Ejemplo n.º 2
0
        public string[] doGetNoteAttachment(string sSession, string sID)
        {
            SugarCRM.return_note_attachment oSugarReturnNoteAttach = oSugarCRM.get_note_attachment(sSession, sID);
            SugarCRM.note_attachment        oSugarNoteAttach       = oSugarReturnNoteAttach.note_attachment;

            string[] saResults = new string[2];
            saResults[0] = oSugarNoteAttach.file;
            saResults[1] = oSugarNoteAttach.filename;

            return(saResults);
        }
Ejemplo n.º 3
0
 public void doSetNoteAttachment(string sSession, string sFilePathName, string sFileName, string sID)
 {
     SugarCRM.note_attachment oSugarNoteAttachment = new SugarCRM.note_attachment();
     oSugarNoteAttachment.file = sFilePathName;
     oSugarNoteAttachment.filename = sFileName;
     oSugarNoteAttachment.id = sID;
     SugarCRM.set_entry_result oSugarSetEntryResult = oSugarCRM.set_note_attachment(sSession, oSugarNoteAttachment);
 }