17. Mai 2010 09:15
17. Mai 2010 10:44
17. Mai 2010 11:04
17. Mai 2010 12:32
17. Mai 2010 14:25
/* BESUCHSBERICHT A*/
/* Verstecken des Besuchsberichts nach Haken A */
if (crmForm.all.qurius_besuchsbericht.DataValue == false)
{
crmForm.all.description_c.parentElement.parentElement. parentElement.style.display = 'inline';
crmForm.all.tab1Tab.style.display = "none";
crmForm.all.tab2Tab.style.display = "inline";
crmForm.all.qurius_bpfirmaid.setAttribute("req", 1);
crmForm.all.qurius_bpfirmaid_c.className = "rec";
crmForm.all.qurius_bpfirmaid_c.parentElement.parentElement. parentElement.style.display = 'none';
crmForm.all.isalldayevent_d.style.visibility = '';
crmForm.all.isalldayevent_c.style.visibility = '';
crmForm.all.isalldayevent.DataValue = false;
crmForm.all.statuscode_d.style.visibility = '';
crmForm.all.statuscode_c.style.visibility = '';
crmForm.all.qurius_kundeangetroffenbit.setAttribute("req", 1);
}
if (crmForm.all.qurius_besuchsbericht.DataValue == true)
{
var SpeichernAlsErledigt = document.getElementById("_MBSaveAsCompleted");
if (SpeichernAlsErledigt != null) SpeichernAlsErledigt.style.display="none";
crmForm.all.description_c.parentElement.parentElement. parentElement.style.display = 'none';
crmForm.all.tab1Tab.style.display = "inline";
crmForm.all.tab2Tab.style.display = "none";
crmForm.all.isalldayevent_d.style.visibility = '';
crmForm.all.isalldayevent_c.style.visibility = '';
crmForm.all.isalldayevent.DataValue = true;
crmForm.all.statuscode_d.style.visibility = 'hidden';
crmForm.all.statuscode_c.style.visibility = 'hidden';
crmForm.all.qurius_bpfirmaid.setAttribute("req", 2);
crmForm.all.qurius_bpfirmaid_c.className = "rec";
crmForm.all.qurius_bpfirmaid_c.parentElement.parentElement. parentElement.style.display = 'inline';
crmForm.all.qurius_kundeangetroffenbit.setAttribute("req", 2);
if (crmForm.all.qurius_bpfirmaid.DataValue == null && crmForm.all.regardingobjectid.DataValue != null)
{
crmForm.all.qurius_bpfirmaid.DataValue=crmForm.all.regardingobjectid.DataValue;
//Aufnahme des Firmennamens in Betreff
var betreff = crmForm.all.subject.DataValue;
var lookupItemBPFirma = new Array;
lookupItemBPFirma = crmForm.all.qurius_bpfirmaid.DataValue;
var betreffBPFirma = lookupItemBPFirma[0].name;
betreff=betreff + ' ' + betreffBPFirma;
crmForm.all.subject.DataValue = betreff;
}
}
/* Verstecken des Besuchsberichts nach Haken E */
17. Mai 2010 16:59
17. Mai 2010 17:07