![]() When the opportunity status is updated to won, enter today's date in a "won date" field. I am trying to figure out an easy way to date stamp a change. Are there some other factors that you are considering that would cause you not to use this field? String logicalName = parentaccountid.Subject: Date stamp a field Mortick - When the Opportunity is closed as "Won", the "Modified Date" gets updated to the date/time of the status update. If (entLead.Contains("parentaccountid") & entLead != null)ĮntityReference parentaccountid = (EntityReference) entLead If (entLead.Contains("rejectiondate") & entLead != null)ĭateTime rejectiondate = (DateTime) entLead If (entLead.Contains("revenue") & entLead != null) If (entLead.Contains("exchangerate") & entLead != null)ĭecimal exchangerate = (decimal)entLead If (entLead.Contains("address1_longitude") & entLead != null)ĭouble address1_longitude = (double) entLead If (entLead.Contains("numberofemployees") & entLead != null) If (entLead.Contains("decisionmaker") & entLead != null)īool decisionmaker = (bool) entLead Int selectedOptionValue = businesstype.Value OptionSetValue businesstype = (OptionSetValue) entLead If (entLead.Contains("businesstype") & entLead != null) If (entColl != null & entColl.Entities != null & > 0) String fetchXmlString = entColl = crmService.RetrieveMultiple(new FetchExpression(fetchXmlString)) - Clear all notifications on form level setFormNotification("Showing an ERROR notification. setFormNotification("Showing a WARNING notification. setFormNotification("Showing an INFORMATION notification.", "INFORMATION") -Another way to show notifications on form without uniqueId setFormNotification(message, level, uniqueId) Var level = 'WARNING' //- It can also be "ERROR" or "INFO" Use this js function to display form level notifications. ("myFieldName").setNotification(message,uniqueId) Var message = 'Please enter valid data in the field' When this function is used, a red “X” icon appears next to the control. Show/Hide notification on form and fieldsĭisplay an error message for the control to indicate that data isn’t valid.("myfieldName").setVisible(true) //- pass true or false ![]() tabs.get("myTabName").sections.get("mySectionName").setVisible(true) //- pass true or false tabs.get("myTabName").setVisible(true) //- pass true or false
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |