-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
10Questions
-
9Replies
what is the process for milestone status field update on case.?
Could you please tell me.how the milestone field get update on case.?what is the precces ? i am new to service area please help me on this.Milestone status field wrongly updating some cases.even case completed before target date?
- GSP
- October 30, 2015
- Like
- 0
*** Skipped 56384631 bytes of detailed log
15:06:29.086 (86558006)|CODE_UNIT_STARTED|[EXTERNAL]|01q60000000LC6I|Contact_Trigger on Contact trigger event BeforeUpdate for [0036000001xloSF]
15:06:29.388 (388851449)|CODE_UNIT_FINISHED|Contact_Trigger on Contact trigger event BeforeUpdate for [0036000001xloSF]
15:06:29.392 (392966902)|CODE_UNIT_STARTED|[EXTERNAL]|Validation:Contact:0036000001xloSF
15:06:29.574 (574298386)|CODE_UNIT_FINISHED|Validation:Contact:0036000001xloSF
15:06:29.657 (657825702)|CODE_UNIT_STARTED|[EXTERNAL]|01q60000000LC6I|Contact_Trigger on Contact trigger event AfterUpdate for [0036000001xloSF]
*** Skipped 56384631 bytes of detailed log
5:07:01.126 (32126633457)|USER_DEBUG|[2216]|DEBUG|Contact : Contact:{Id=0036000001zanKWAAY, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}
15:07:01.128 (32128778475)|USER_DEBUG|[2215]|DEBUG|New Contact : Contact:{Id=0036000001xloSFAAY, IsDeleted=false, MasterRecordId=null, AccountId=0016000001BYIL2AAP, Salutation=null, FirstName=mitsuhiko, LastName=matsumura, MiddleName=null, InformalName=null, Suffix=null, RecordTypeId=01260000000DZ7YAAW, OtherStreet=null, OtherCity=null, OtherState=null, OtherPostalCode=null, OtherCountry=null, OtherLatitude=null, OtherLongitude=null, OtherGeocodeAccuracy=null, MailingStreet=ooaza-tabara 789-2, MailingCity=kawasaki-cho, MailingState=Fukuoka-ken, MailingPostalCode=827-8501, MailingCountry=Japan, MailingLatitude=null, MailingLongitude=null, MailingGeocodeAccuracy=null, Phone=(0947)723000, Fax=null, MobilePhone=null, HomePhone=null, OtherPhone=null, AssistantPhone=null, ReportsToId=null, Email=jpnsubcadv@citrix.com, Title=null, Department=null, AssistantName=null, LeadSource=null, Birthdate=null, Description=null, OwnerId=00560000001JKuLAAW, HasOptedOutOfEmail=false, HasOptedOutOfFax=false, DoNotCall=false, CanAllowPortalSelfReg=false, CreatedDate=2015-07-07 01:50:39, CreatedById=00560000000vQF6AAM, LastModifiedDate=2015-10-28 06:06:30, LastModifiedById=00560000001tt41AAA, SystemModstamp=2015-10-28 06:06:30, LastActivityDate=null, LastCURequestDate=null, LastCUUpdateDate=null, MayEdit=false, IsLocked=false, LastViewedDate=null, EmailBouncedReason=null, EmailBouncedDate=null, Jigsaw=null, JigsawContactId=null, Other_Address_Department__c=null, Contact_OK__c=No, Contact_Status__c=Current, Employee_Flag__c=false, Generation__c=null, Locale__c=Japanese, Preferred_Language__c=null, Secondary_Email__c=juuminhoken@town.fukuoka-kawasaki.jg.jp, Vantive_Person_ID__c=13652108, Vantive_Entered_On__c=2015-07-06 21:43:09.897, Vantive_Entered_By__c=WebREGISTR:0, Web_Login__c=juuminnenkin, Contact_Type__c=EASY LICENSE CONTACT;RENEWAL CONTACT, Other_Address_Department_Localized__c=null, Mailing_Address_Department__c=ooaza-tabara 789-2, Vantive_Mailing_Address_ID__c=28916845, Vantive_Other_Address_ID__c=0, OK_to_Call__c=No, Migration_Run_Number__c=null, Migration_Data_Source__c=null, formula_Vantive_Person_ID__c=13652108, Job_Title__c=null, Dept__c=null, Email_Blast_OK__c=No, OtherStreet_Localized__c=null, OtherCountry_Localized__c=null, OtherCity_Localized__c=null, OtherState_Localized__c=null, FirstName_Localized__c=null, Job_Title_Localized__c=null, Dept_Localized__c=null, LastName_Localized__c=null, MailingStreet_Localized__c=null, MailingCountry_Localized__c=null, MailingCity_Localized__c=null, Mailing_Address_Department_Localized__c=null, MailingState_Localized__c=null, Clientele_Title__c=null, Job_Level_Text__c=null, Partner_Contact_Priority_Order__c=100, Academic_Title__c=null, Direct_Mail_OK__c=No, GTC_Last_Check_Date__c=1900-01-01 00:00:00.000, GTC_Status__c=Compliant, Last_Login_Date__c=2015-07-16T22:08:05, Lead_Contact_Role__c=null, M2L_Contact_Id__c=null, Phone_Extension_C__c=null, Survey_OK__c=No, Vantive_Modification_Date__c=2015-07-06 21:51:08.067, Vantive_Modified_By__c=WebPROFILE:13652108, MailingPostal_Localized_C__c=null, Account_Record_Type_ID__c=01260000000DZ7W, Vantive_Org_ID__c=51030070, Sync_Integration_Change__c=false, Contact_Full_Name__c=, , Contact_Error__c=null, CreatedBy_Name__c=Integration Integration, External_Created_By__c=null, External_Created_Date__c=null, External_Modified_By__c=MDM Integration, External_Modified_Date__c=2015-09-20 17:13:04, MAS_Rating__c=null, MAS_Score__c=null, Marketo_Person_ID__c=12276559, ModifiedBy_Name__c=Tatsuya Hirano, Trigger_touched__c=null, frmVantive_Person_ID__c=13652108, Employee_Number__c=null, Five9C2CCampaignName__c=C2C, Manager_Number__c=null, iv__InsideView_Created__c=false, iv__InsideView_Date_Last_Updated__c=null, iv__InsideView_User_Last_Updated__c=null, Contact_Access__c=Not Restricted, IsValidMailingAddress__c=true, frmFax_Area__c=null, frmFax_Country__c=null, frmFax__c=null, frmMobilePhone_Area__c=null, frmMobilePhone_Country__c=null, frmMobilePhone__c=null, frmOtherPhone_Area__c=null, frmOtherPhone_Country__c=null, frmOtherPhone__c=null, frmPhone_Area__c=0947, frmPhone_Country__c=null, frmPhone__c=723000, CallbackTime__c=null, DedicatedAgent__c=null, Email_Format_Preference__c=null, Entitlement_Date__c=null, Apttus_Config2__Languages__c=null, HighValuedContact__c=false, IsTechnical__c=false, Notification_Data__c=null, Notification_Type__c=null, PreferredAvailabilityEndTime__c=null, PreferredAvailabilityStartTime__c=null, PreferredTimeZone__c=null, TECH_EntitlementSuspendedFlag__c=false, TECH_RenewalContact__c=true, mkto2__Acquisition_Date__c=null, mkto2__Acquisition_Program_Id__c=null, mkto2__Acquisition_Program__c=null, mkto2__Inferred_City__c=null, mkto2__Inferred_Company__c=null, mkto2__Inferred_Country__c=null, mkto2__Inferred_Metropolitan_Area__c=null, mkto2__Inferred_Phone_Area_Code__c=null, mkto2__Inferred_Postal_Code__c=null, mkto2__Inferred_State_Region__c=null, mkto2__Lead_Score__c=null, mkto2__Original_Referrer__c=null, mkto2__Original_Search_Engine__c=null, mkto2__Original_Search_Phrase__c=null, mkto2__Original_Source_Info__c=Web service API, mkto2__Original_Source_Type__c=Web service API, Email_Invalid__c=true, mkto_si__HideDate__c=null, mkto_si__Last_Interesting_Moment_Date__c=null, mkto_si__Last_Interesting_Moment_Desc__c=null, mkto_si__Last_Interesting_Moment_Source__c=null, mkto_si__Last_Interesting_Moment_Type__c=null, mkto_si__Last_Interesting_Moment__c=null, mkto_si__Priority__c=null, mkto_si__Relative_Score_Value__c=null, mkto_si__Relative_Score__c=_IM1_https://app.marketo.com/images/icons/star0.png_IM2_0_IM3_, mkto_si__Sales_Insight__c=_HL_ENCODED_/apex/Contact_Full_List?id=0036000001xloSF_HL__IM1_https://www.marketo.com/salesforce/images/applicationLink.png_IM2_Sales Insight_IM3__HL__blank_HL_, mkto_si__Urgency_Value__c=null, mkto_si__Urgency__c=_IM1_https://app.marketo.com/images/icons/fire0.png_IM2_0_IM3_, mkto_si__View_in_Marketo__c=_HL_ENCODED_/apex/mkto_si__Marketo_Lead_Detail?objType=Contact&objId=0036000001xloSF_HL__IM1_https://app.marketo.com/images/icons16/marketo16.png_IM2_View in Marketo_IM3__HL__blank_HL_, Entitlement_Name__c=null, Suppress_Reason__c=null, Suppress__c=No, User__c=null, Apttus_Config2__Level__c=null, Force_Synch_to_Marketo__c=null}
15:07:01.128 (32128894947)|USER_DEBUG|[2216]|DEBUG|Contact : Contact:{Id=0036000001zcByeAAE, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}
15:07:01.131 (32131041925)|USER_DEBUG|[2215]|DEBUG|New Contact : Contact:{Id=0036000001xloSFAAY, IsDeleted=false, MasterRecordId=null, AccountId=0016000001BYIL2AAP, Salutation=null, FirstName=mitsuhiko, LastName=matsumura, MiddleName=null, InformalName=null, Suffix=null, RecordTypeId=01260000000DZ7YAAW, OtherStreet=null, OtherCity=null, OtherState=null, OtherPostalCode=null, OtherCountry=null, OtherLatitude=null, OtherLongitude=null, OtherGeocodeAccuracy=null, MailingStreet=ooaza-tabara 789-2, MailingCity=kawasaki-cho, MailingState=Fukuoka-ken, MailingPostalCode=827-8501, MailingCountry=Japan, MailingLatitude=null, MailingLongitude=null, MailingGeocodeAccuracy=null, Phone=(0947)723000, Fax=null, MobilePhone=null, HomePhone=null, OtherPhone=null, AssistantPhone=null, ReportsToId=null, Email=jpnsubcadv@citrix.com, Title=null, Department=null, AssistantName=null, LeadSource=null, Birthdate=null, Description=null, OwnerId=00560000001JKuLAAW, HasOptedOutOfEmail=false, HasOptedOutOfFax=false, DoNotCall=false, CanAllowPortalSelfReg=false, CreatedDate=2015-07-07 01:50:39, CreatedById=00560000000vQF6AAM, LastModifiedDate=2015-10-28 06:06:30, LastModifiedById=00560000001tt41AAA, SystemModstamp=2015-10-28 06:06:30, LastActivityDate=null, LastCURequestDate=null, LastCUUpdateDate=null, MayEdit=false, IsLocked=false, LastViewedDate=null, EmailBouncedReason=null, EmailBouncedDate=null, Jigsaw=null, JigsawContactId=null, Other_Address_Department__c=null, Contact_OK__c=No, Contact_Status__c=Current, Employee_Flag__c=false, Generation__c=null, Locale__c=Japanese, Preferred_Language__c=null, Secondary_Email__c=juuminhoken@town.fukuoka-kawasaki.jg.jp, Vantive_Person_ID__c=13652108, Vantive_Entered_On__c=2015-07-06 21:43:09.897, Vantive_Entered_By__c=WebREGISTR:0, Web_Login__c=juuminnenkin, Contact_Type__c=EASY LICENSE CONTACT;RENEWAL CONTACT, Other_Address_Department_Localized__c=null, Mailing_Address_Department__c=ooaza-tabara 789-2, Vantive_Mailing_Address_ID__c=28916845, Vantive_Other_Address_ID__c=0, OK_to_Call__c=No, Migration_Run_Number__c=null, Migration_Data_Source__c=null, formula_Vantive_Person_ID__c=13652108, Job_Title__c=null, Dept__c=null, Email_Blast_OK__c=No, OtherStreet_Localized__c=null, OtherCountry_Localized__c=null, OtherCity_Localized__c=null, OtherState_Localized__c=null, FirstName_Localized__c=null, Job_Title_Localized__c=null, Dept_Localized__c=null, LastName_Localized__c=null, MailingStreet_Localized__c=null, MailingCountry_Localized__c=null, MailingCity_Localized__c=null, Mailing_Address_Department_Localized__c=null, MailingState_Localized__c=null, Clientele_Title__c=null, Job_Level_Text__c=null, Partner_Contact_Priority_Order__c=100, Academic_Title__c=null, Direct_Mail_OK__c=No, GTC_Last_Check_Date__c=1900-01-01 00:00:00.000, GTC_Status__c=Compliant, Last_Login_Date__c=2015-07-16T22:08:05, Lead_Contact_Role__c=null, M2L_Contact_Id__c=null, Phone_Extension_C__c=null, Survey_OK__c=No, Vantive_Modification_Date__c=2015-07-06 21:51:08.067, Vantive_Modified_By__c=WebPROFILE:13652108, MailingPostal_Localized_C__c=null, Account_Record_Type_ID__c=01260000000DZ7W, Vantive_Org_ID__c=51030070, Sync_Integration_Change__c=false, Contact_Full_Name__c=, , Contact_Error__c=null, CreatedBy_Name__c=Integration Integration, External_Created_By__c=null, External_Created_Date__c=null, External_Modified_By__c=MDM Integration, External_Modified_Date__c=2015-09-20 17:13:04, MAS_Rating__c=null, MAS_Score__c=null, Marketo_Person_ID__c=12276559, ModifiedBy_Name__c=Tatsuya Hirano, Trigger_touched__c=null, frmVantive_Person_ID__c=13652108, Employee_Number__c=null, Five9C2CCampaignName__c=C2C, Manager_Number__c=null, iv__InsideView_Created__c=false, iv__InsideView_Date_Last_Updated__c=null, iv__InsideView_User_Last_Updated__c=null, Contact_Access__c=Not Restricted, IsValidMailingAddress__c=true, frmFax_Area__c=null, frmFax_Country__c=null, frmFax__c=null, frmMobilePhone_Area__c=null, frmMobilePhone_Country__c=null, frmMobilePhone__c=null, frmOtherPhone_Area__c=null, frmOtherPhone_Country__c=null, frmOtherPhone__c=null, frmPhone_Area__c=0947, frmPhone_Country__c=null, frmPhone__c=723000, CallbackTime__c=null, DedicatedAgent__c=null, Email_Format_Preference__c=null, Entitlement_Date__c=null, Apttus_Config2__Languages__c=null, HighValuedContact__c=false, IsTechnical__c=false, Notification_Data__c=null, Notification_Type__c=null, PreferredAvailabilityEndTime__c=null, PreferredAvailabilityStartTime__c=null, PreferredTimeZone__c=null, TECH_EntitlementSuspendedFlag__c=false, TECH_RenewalContact__c=true, mkto2__Acquisition_Date__c=null, mkto2__Acquisition_Program_Id__c=null, mkto2__Acquisition_Program__c=null, mkto2__Inferred_City__c=null, mkto2__Inferred_Company__c=null, mkto2__Inferred_Country__c=null, mkto2__Inferred_Metropolitan_Area__c=null, mkto2__Inferred_Phone_Area_Code__c=null, mkto2__Inferred_Postal_Code__c=null, mkto2__Inferred_State_Region__c=null, mkto2__Lead_Score__c=null, mkto2__Original_Referrer__c=null, mkto2__Original_Search_Engine__c=null, mkto2__Original_Search_Phrase__c=null, mkto2__Original_Source_Info__c=Web service API, mkto2__Original_Source_Type__c=Web service API, Email_Invalid__c=true, mkto_si__HideDate__c=null, mkto_si__Last_Interesting_Moment_Date__c=null, mkto_si__Last_Interesting_Moment_Desc__c=null, mkto_si__Last_Interesting_Moment_Source__c=null, mkto_si__Last_Interesting_Moment_Type__c=null, mkto_si__Last_Interesting_Moment__c=null, mkto_si__Priority__c=null, mkto_si__Relative_Score_Value__c=null, mkto_si__Relative_Score__c=_IM1_https://app.marketo.com/images/icons/star0.png_IM2_0_IM3_, mkto_si__Sales_Insight__c=_HL_ENCODED_/apex/Contact_Full_List?id=0036000001xloSF_HL__IM1_https://www.marketo.com/salesforce/images/applicationLink.png_IM2_Sales Insight_IM3__HL__blank_HL_, mkto_si__Urgency_Value__c=null, mkto_si__Urgency__c=_IM1_https://app.marketo.com/images/icons/fire0.png_IM2_0_IM3_, mkto_si__View_in_Marketo__c=_HL_ENCODED_/apex/mkto_si__Marketo_Lead_Detail?objType=Contact&objId=0036000001xloSF_HL__IM1_https://app.marketo.com/images/icons16/marketo16.png_IM2_View in Marketo_IM3__HL__blank_HL_, Entitlement_Name__c=null, Suppress_Reason__c=null, Suppress__c=No, User__c=null, Apttus_Config2__Level__c=null, Force_Synch_to_Marketo__c=null}
15:07:01.131 (32131157447)|USER_DEBUG|[2216]|DEBUG|Contact : Contact:{Id=003600000202867AAA, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}
15:07:01.131 (32131376694)|USER_DEBUG|[177]|DEBUG|calling the PRM function after update
15:07:01.131 (32131584460)|USER_DEBUG|[1650]|DEBUG|Inside Fderation function $%%ravi
15:07:01.135 (32135752513)|USER_DEBUG|[1671]|DEBUG|PRM enabled partner account map {}
15:07:01.140 (32140473604)|USER_DEBUG|[1682]|DEBUG|PRM user contact map {}
15:07:01.140 (32140874066)|USER_DEBUG|[1692]|DEBUG|Old cont weblogin id juuminnenkin
15:07:01.140 (32140922795)|USER_DEBUG|[1693]|DEBUG|New cont weblogin id juuminnenkin
15:07:01.141 (32141047852)|USER_DEBUG|[1700]|DEBUG|newPRMContIdList is{}
15:07:01.141 (32141180830)|USER_DEBUG|[1708]|DEBUG|deactivatePRMContIdList is{}
15:07:01.504 (32504851448)|USER_DEBUG|[185]|DEBUG|called the PRM function after update
15:07:01.505 (32505038751)|USER_DEBUG|[186]|DEBUG|returned ErrorMAP after update: {}
15:07:01.542 (32542356284)|USER_DEBUG|[209]|DEBUG|sObjUpdLIST: (Contact:{Id=0036000000LzktKAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzAzqAAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LwJo0AAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000xEqnoAAC, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000M027BAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzdN1AAJ, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000Lw4IpAAJ, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LvTxSAAV, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000M1I1zAAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzyoHAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, ...)
15:07:01.542 (32542603384)|USER_DEBUG|[211]|DEBUG|sObjUpdLIST: (Contact:{Id=0036000000LzktKAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzAzqAAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LwJo0AAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000xEqnoAAC, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000M027BAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzdN1AAJ, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000Lw4IpAAJ, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LvTxSAAV, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000M1I1zAAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzyoHAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, ...)
15:07:01.542 (32542746463)|USER_DEBUG|[213]|DEBUG|###ravi what is the value in sObjUpdErrMAP {}
15:07:01.543 (32543350099)|EXCEPTION_THROWN|[214]|System.LimitException: Too many DML rows: 10001
15:07:01.543 (32543835307)|FATAL_ERROR|System.LimitException: Too many DML rows: 10001
Class.Contact_Dispatcher.Trigger_Handler: line 214, column 1
Trigger.Contact_Trigger: line 43, column 1
15:07:01.543 (32543854522)|FATAL_ERROR|System.LimitException: Too many DML rows: 10001
Class.Contact_Dispatcher.Trigger_Handler: line 214, column 1
Trigger.Contact_Trigger: line 43, column 1
15:07:01.543 (32543985946)|CUMULATIVE_LIMIT_USAGE
15:07:01.543 (32543985946)|LIMIT_USAGE_FOR_NS|(default)|
Number of SOQL queries: 13 out of 100
Number of query rows: 10030 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 1 out of 150
Number of DML rows: 10002 out of 10000 ******* CLOSE TO LIMIT
Maximum CPU time: 23359 out of 10000 ******* CLOSE TO LIMIT
Maximum heap size: 874409 out of 6000000
Number of callouts: 0 out of 100
Number of Email Invocations: 0 out of 10
Number of future calls: 2 out of 50
Number of queueable jobs added to the queue: 0 out of 50
Number of Mobile Apex push calls: 0 out of 10
15:07:01.543 (32543985946)|LIMIT_USAGE_FOR_NS|Five9|
Number of SOQL queries: 0 out of 100
Number of query rows: 0 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 0 out of 150
Number of DML rows: 0 out of 10000
Maximum CPU time: 0 out of 10000
Maximum heap size: 0 out of 6000000
Number of callouts: 0 out of 100
Number of Email Invocations: 0 out of 10
Number of future calls: 0 out of 50
Number of queueable jobs added to the queue: 0 out of 50
Number of Mobile Apex push calls: 0 out of 10
15:07:01.543 (32543985946)|LIMIT_USAGE_FOR_NS|mkto_si|
Number of SOQL queries: 0 out of 100
Number of query rows: 0 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 0 out of 150
Number of DML rows: 0 out of 10000
Maximum CPU time: 0 out of 10000
Maximum heap size: 0 out of 6000000
Number of callouts: 0 out of 100
Number of Email Invocations: 0 out of 10
Number of future calls: 0 out of 50
Number of queueable jobs added to the queue: 0 out of 50
Number of Mobile Apex push calls: 0 out of 10
15:07:01.543 (32543985946)|CUMULATIVE_LIMIT_USAGE_END
15:07:01.544 (32544136459)|CODE_UNIT_FINISHED|Contact_Trigger on Contact trigger event AfterUpdate for [0036000001xloSF]
- GSP
- October 29, 2015
- Like
- 0
how to pass parameters to apex from visual force using html ?
using @Remoteaction.give me some exaples.
- GSP
- January 21, 2014
- Like
- 0
custom list buttons
can we add custom list button in notes&attachments or not ...please help me
- GSP
- November 14, 2013
- Like
- 0
Outlook for SalesForce
SFDC Salesforce for Outlook will not start. This is the error message that I received: I have tried to reinstall and get the same error message.
- GSP
- November 12, 2013
- Like
- 0
Pressing Enter key then command button will execute
please help me...here is my code
<apex:page standardController="account" extensions="enterkeyclass">
<apex:form >
<script type='text/javascript'>
function noenter(ev) {
if (window.event && window.event.keyCode == 13 || ev.which == 13) {
doSearchAF();
return false;
} else {
return true;
}
}
</script>
<apex:pageBlock >
<apex:messages />
<apex:actionFunction name="doSearchAF" action="{!searchJobs}" />
<apex:pageBlockButtons location="bottom">
<apex:commandButton value="Search Jobs" action="{!searchJobs}" onkeypress="noenter(event);"/>
</apex:pageBlockButtons>
<apex:pageBlockSection >
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
---------------------
public class enterkeyclass {
Apexpages.Message mess;
public enterkeyclass(ApexPages.StandardController controller) {
}
public pagereference searchJobs(){
mess = new Apexpages.Message( Apexpages.Severity.ERROR,'No Results Found');
return null;
}
}
- GSP
- August 26, 2013
- Like
- 0
Email Service
i am creating Email Service class my requirement is when task status is completed then email will sent to assign contact persion emai id...so.....i am new to Email service concept.please help me...here is my code
global class emailservice implements Messaging.InboundEmailHandler {
global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email,
Messaging.InboundEnvelope env){
// Create an inboundEmailResult object for returning
// the result of the Force.com Email Service
Messaging.InboundEmailResult result = new Messaging.InboundEmailResult();
task te=[select id,status,whoid from task limit 1];
Contact c=[select id,lastname,Account.Name,email from contact where id=:te.whoid];
String myPlainText = 'I spoke with '+c.lastname+ 'today from '+ ' '+c.account.name +' '+'about the latest proposal.';
// Add the email plain text into the local variable
try
{
myPlainText = email.plainTextBody.substring(0, email.plainTextBody.indexOf('<stop>'));
}
catch (System.StringException e)
{
myPlainText = email.plainTextBody;
System.debug('No <stop> in email: ' + e);
}
// Set the result to true, no need to send an email back to the user
// with an error message
if(te.status=='completed')
result.success = true;
// Return the result for the Force.com Email Service
return result;
}
}
- GSP
- August 09, 2013
- Like
- 0
How to send multiple attachments
i am creating vf page with multiple attachments and i write code on singleemail ,but gives an error ,so please help me
- GSP
- October 03, 2012
- Like
- 0
what is the process for milestone status field update on case.?
Could you please tell me.how the milestone field get update on case.?what is the precces ? i am new to service area please help me on this.Milestone status field wrongly updating some cases.even case completed before target date?
- GSP
- October 30, 2015
- Like
- 0
*** Skipped 56384631 bytes of detailed log
15:06:29.086 (86558006)|CODE_UNIT_STARTED|[EXTERNAL]|01q60000000LC6I|Contact_Trigger on Contact trigger event BeforeUpdate for [0036000001xloSF]
15:06:29.388 (388851449)|CODE_UNIT_FINISHED|Contact_Trigger on Contact trigger event BeforeUpdate for [0036000001xloSF]
15:06:29.392 (392966902)|CODE_UNIT_STARTED|[EXTERNAL]|Validation:Contact:0036000001xloSF
15:06:29.574 (574298386)|CODE_UNIT_FINISHED|Validation:Contact:0036000001xloSF
15:06:29.657 (657825702)|CODE_UNIT_STARTED|[EXTERNAL]|01q60000000LC6I|Contact_Trigger on Contact trigger event AfterUpdate for [0036000001xloSF]
*** Skipped 56384631 bytes of detailed log
5:07:01.126 (32126633457)|USER_DEBUG|[2216]|DEBUG|Contact : Contact:{Id=0036000001zanKWAAY, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}
15:07:01.128 (32128778475)|USER_DEBUG|[2215]|DEBUG|New Contact : Contact:{Id=0036000001xloSFAAY, IsDeleted=false, MasterRecordId=null, AccountId=0016000001BYIL2AAP, Salutation=null, FirstName=mitsuhiko, LastName=matsumura, MiddleName=null, InformalName=null, Suffix=null, RecordTypeId=01260000000DZ7YAAW, OtherStreet=null, OtherCity=null, OtherState=null, OtherPostalCode=null, OtherCountry=null, OtherLatitude=null, OtherLongitude=null, OtherGeocodeAccuracy=null, MailingStreet=ooaza-tabara 789-2, MailingCity=kawasaki-cho, MailingState=Fukuoka-ken, MailingPostalCode=827-8501, MailingCountry=Japan, MailingLatitude=null, MailingLongitude=null, MailingGeocodeAccuracy=null, Phone=(0947)723000, Fax=null, MobilePhone=null, HomePhone=null, OtherPhone=null, AssistantPhone=null, ReportsToId=null, Email=jpnsubcadv@citrix.com, Title=null, Department=null, AssistantName=null, LeadSource=null, Birthdate=null, Description=null, OwnerId=00560000001JKuLAAW, HasOptedOutOfEmail=false, HasOptedOutOfFax=false, DoNotCall=false, CanAllowPortalSelfReg=false, CreatedDate=2015-07-07 01:50:39, CreatedById=00560000000vQF6AAM, LastModifiedDate=2015-10-28 06:06:30, LastModifiedById=00560000001tt41AAA, SystemModstamp=2015-10-28 06:06:30, LastActivityDate=null, LastCURequestDate=null, LastCUUpdateDate=null, MayEdit=false, IsLocked=false, LastViewedDate=null, EmailBouncedReason=null, EmailBouncedDate=null, Jigsaw=null, JigsawContactId=null, Other_Address_Department__c=null, Contact_OK__c=No, Contact_Status__c=Current, Employee_Flag__c=false, Generation__c=null, Locale__c=Japanese, Preferred_Language__c=null, Secondary_Email__c=juuminhoken@town.fukuoka-kawasaki.jg.jp, Vantive_Person_ID__c=13652108, Vantive_Entered_On__c=2015-07-06 21:43:09.897, Vantive_Entered_By__c=WebREGISTR:0, Web_Login__c=juuminnenkin, Contact_Type__c=EASY LICENSE CONTACT;RENEWAL CONTACT, Other_Address_Department_Localized__c=null, Mailing_Address_Department__c=ooaza-tabara 789-2, Vantive_Mailing_Address_ID__c=28916845, Vantive_Other_Address_ID__c=0, OK_to_Call__c=No, Migration_Run_Number__c=null, Migration_Data_Source__c=null, formula_Vantive_Person_ID__c=13652108, Job_Title__c=null, Dept__c=null, Email_Blast_OK__c=No, OtherStreet_Localized__c=null, OtherCountry_Localized__c=null, OtherCity_Localized__c=null, OtherState_Localized__c=null, FirstName_Localized__c=null, Job_Title_Localized__c=null, Dept_Localized__c=null, LastName_Localized__c=null, MailingStreet_Localized__c=null, MailingCountry_Localized__c=null, MailingCity_Localized__c=null, Mailing_Address_Department_Localized__c=null, MailingState_Localized__c=null, Clientele_Title__c=null, Job_Level_Text__c=null, Partner_Contact_Priority_Order__c=100, Academic_Title__c=null, Direct_Mail_OK__c=No, GTC_Last_Check_Date__c=1900-01-01 00:00:00.000, GTC_Status__c=Compliant, Last_Login_Date__c=2015-07-16T22:08:05, Lead_Contact_Role__c=null, M2L_Contact_Id__c=null, Phone_Extension_C__c=null, Survey_OK__c=No, Vantive_Modification_Date__c=2015-07-06 21:51:08.067, Vantive_Modified_By__c=WebPROFILE:13652108, MailingPostal_Localized_C__c=null, Account_Record_Type_ID__c=01260000000DZ7W, Vantive_Org_ID__c=51030070, Sync_Integration_Change__c=false, Contact_Full_Name__c=, , Contact_Error__c=null, CreatedBy_Name__c=Integration Integration, External_Created_By__c=null, External_Created_Date__c=null, External_Modified_By__c=MDM Integration, External_Modified_Date__c=2015-09-20 17:13:04, MAS_Rating__c=null, MAS_Score__c=null, Marketo_Person_ID__c=12276559, ModifiedBy_Name__c=Tatsuya Hirano, Trigger_touched__c=null, frmVantive_Person_ID__c=13652108, Employee_Number__c=null, Five9C2CCampaignName__c=C2C, Manager_Number__c=null, iv__InsideView_Created__c=false, iv__InsideView_Date_Last_Updated__c=null, iv__InsideView_User_Last_Updated__c=null, Contact_Access__c=Not Restricted, IsValidMailingAddress__c=true, frmFax_Area__c=null, frmFax_Country__c=null, frmFax__c=null, frmMobilePhone_Area__c=null, frmMobilePhone_Country__c=null, frmMobilePhone__c=null, frmOtherPhone_Area__c=null, frmOtherPhone_Country__c=null, frmOtherPhone__c=null, frmPhone_Area__c=0947, frmPhone_Country__c=null, frmPhone__c=723000, CallbackTime__c=null, DedicatedAgent__c=null, Email_Format_Preference__c=null, Entitlement_Date__c=null, Apttus_Config2__Languages__c=null, HighValuedContact__c=false, IsTechnical__c=false, Notification_Data__c=null, Notification_Type__c=null, PreferredAvailabilityEndTime__c=null, PreferredAvailabilityStartTime__c=null, PreferredTimeZone__c=null, TECH_EntitlementSuspendedFlag__c=false, TECH_RenewalContact__c=true, mkto2__Acquisition_Date__c=null, mkto2__Acquisition_Program_Id__c=null, mkto2__Acquisition_Program__c=null, mkto2__Inferred_City__c=null, mkto2__Inferred_Company__c=null, mkto2__Inferred_Country__c=null, mkto2__Inferred_Metropolitan_Area__c=null, mkto2__Inferred_Phone_Area_Code__c=null, mkto2__Inferred_Postal_Code__c=null, mkto2__Inferred_State_Region__c=null, mkto2__Lead_Score__c=null, mkto2__Original_Referrer__c=null, mkto2__Original_Search_Engine__c=null, mkto2__Original_Search_Phrase__c=null, mkto2__Original_Source_Info__c=Web service API, mkto2__Original_Source_Type__c=Web service API, Email_Invalid__c=true, mkto_si__HideDate__c=null, mkto_si__Last_Interesting_Moment_Date__c=null, mkto_si__Last_Interesting_Moment_Desc__c=null, mkto_si__Last_Interesting_Moment_Source__c=null, mkto_si__Last_Interesting_Moment_Type__c=null, mkto_si__Last_Interesting_Moment__c=null, mkto_si__Priority__c=null, mkto_si__Relative_Score_Value__c=null, mkto_si__Relative_Score__c=_IM1_https://app.marketo.com/images/icons/star0.png_IM2_0_IM3_, mkto_si__Sales_Insight__c=_HL_ENCODED_/apex/Contact_Full_List?id=0036000001xloSF_HL__IM1_https://www.marketo.com/salesforce/images/applicationLink.png_IM2_Sales Insight_IM3__HL__blank_HL_, mkto_si__Urgency_Value__c=null, mkto_si__Urgency__c=_IM1_https://app.marketo.com/images/icons/fire0.png_IM2_0_IM3_, mkto_si__View_in_Marketo__c=_HL_ENCODED_/apex/mkto_si__Marketo_Lead_Detail?objType=Contact&objId=0036000001xloSF_HL__IM1_https://app.marketo.com/images/icons16/marketo16.png_IM2_View in Marketo_IM3__HL__blank_HL_, Entitlement_Name__c=null, Suppress_Reason__c=null, Suppress__c=No, User__c=null, Apttus_Config2__Level__c=null, Force_Synch_to_Marketo__c=null}
15:07:01.128 (32128894947)|USER_DEBUG|[2216]|DEBUG|Contact : Contact:{Id=0036000001zcByeAAE, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}
15:07:01.131 (32131041925)|USER_DEBUG|[2215]|DEBUG|New Contact : Contact:{Id=0036000001xloSFAAY, IsDeleted=false, MasterRecordId=null, AccountId=0016000001BYIL2AAP, Salutation=null, FirstName=mitsuhiko, LastName=matsumura, MiddleName=null, InformalName=null, Suffix=null, RecordTypeId=01260000000DZ7YAAW, OtherStreet=null, OtherCity=null, OtherState=null, OtherPostalCode=null, OtherCountry=null, OtherLatitude=null, OtherLongitude=null, OtherGeocodeAccuracy=null, MailingStreet=ooaza-tabara 789-2, MailingCity=kawasaki-cho, MailingState=Fukuoka-ken, MailingPostalCode=827-8501, MailingCountry=Japan, MailingLatitude=null, MailingLongitude=null, MailingGeocodeAccuracy=null, Phone=(0947)723000, Fax=null, MobilePhone=null, HomePhone=null, OtherPhone=null, AssistantPhone=null, ReportsToId=null, Email=jpnsubcadv@citrix.com, Title=null, Department=null, AssistantName=null, LeadSource=null, Birthdate=null, Description=null, OwnerId=00560000001JKuLAAW, HasOptedOutOfEmail=false, HasOptedOutOfFax=false, DoNotCall=false, CanAllowPortalSelfReg=false, CreatedDate=2015-07-07 01:50:39, CreatedById=00560000000vQF6AAM, LastModifiedDate=2015-10-28 06:06:30, LastModifiedById=00560000001tt41AAA, SystemModstamp=2015-10-28 06:06:30, LastActivityDate=null, LastCURequestDate=null, LastCUUpdateDate=null, MayEdit=false, IsLocked=false, LastViewedDate=null, EmailBouncedReason=null, EmailBouncedDate=null, Jigsaw=null, JigsawContactId=null, Other_Address_Department__c=null, Contact_OK__c=No, Contact_Status__c=Current, Employee_Flag__c=false, Generation__c=null, Locale__c=Japanese, Preferred_Language__c=null, Secondary_Email__c=juuminhoken@town.fukuoka-kawasaki.jg.jp, Vantive_Person_ID__c=13652108, Vantive_Entered_On__c=2015-07-06 21:43:09.897, Vantive_Entered_By__c=WebREGISTR:0, Web_Login__c=juuminnenkin, Contact_Type__c=EASY LICENSE CONTACT;RENEWAL CONTACT, Other_Address_Department_Localized__c=null, Mailing_Address_Department__c=ooaza-tabara 789-2, Vantive_Mailing_Address_ID__c=28916845, Vantive_Other_Address_ID__c=0, OK_to_Call__c=No, Migration_Run_Number__c=null, Migration_Data_Source__c=null, formula_Vantive_Person_ID__c=13652108, Job_Title__c=null, Dept__c=null, Email_Blast_OK__c=No, OtherStreet_Localized__c=null, OtherCountry_Localized__c=null, OtherCity_Localized__c=null, OtherState_Localized__c=null, FirstName_Localized__c=null, Job_Title_Localized__c=null, Dept_Localized__c=null, LastName_Localized__c=null, MailingStreet_Localized__c=null, MailingCountry_Localized__c=null, MailingCity_Localized__c=null, Mailing_Address_Department_Localized__c=null, MailingState_Localized__c=null, Clientele_Title__c=null, Job_Level_Text__c=null, Partner_Contact_Priority_Order__c=100, Academic_Title__c=null, Direct_Mail_OK__c=No, GTC_Last_Check_Date__c=1900-01-01 00:00:00.000, GTC_Status__c=Compliant, Last_Login_Date__c=2015-07-16T22:08:05, Lead_Contact_Role__c=null, M2L_Contact_Id__c=null, Phone_Extension_C__c=null, Survey_OK__c=No, Vantive_Modification_Date__c=2015-07-06 21:51:08.067, Vantive_Modified_By__c=WebPROFILE:13652108, MailingPostal_Localized_C__c=null, Account_Record_Type_ID__c=01260000000DZ7W, Vantive_Org_ID__c=51030070, Sync_Integration_Change__c=false, Contact_Full_Name__c=, , Contact_Error__c=null, CreatedBy_Name__c=Integration Integration, External_Created_By__c=null, External_Created_Date__c=null, External_Modified_By__c=MDM Integration, External_Modified_Date__c=2015-09-20 17:13:04, MAS_Rating__c=null, MAS_Score__c=null, Marketo_Person_ID__c=12276559, ModifiedBy_Name__c=Tatsuya Hirano, Trigger_touched__c=null, frmVantive_Person_ID__c=13652108, Employee_Number__c=null, Five9C2CCampaignName__c=C2C, Manager_Number__c=null, iv__InsideView_Created__c=false, iv__InsideView_Date_Last_Updated__c=null, iv__InsideView_User_Last_Updated__c=null, Contact_Access__c=Not Restricted, IsValidMailingAddress__c=true, frmFax_Area__c=null, frmFax_Country__c=null, frmFax__c=null, frmMobilePhone_Area__c=null, frmMobilePhone_Country__c=null, frmMobilePhone__c=null, frmOtherPhone_Area__c=null, frmOtherPhone_Country__c=null, frmOtherPhone__c=null, frmPhone_Area__c=0947, frmPhone_Country__c=null, frmPhone__c=723000, CallbackTime__c=null, DedicatedAgent__c=null, Email_Format_Preference__c=null, Entitlement_Date__c=null, Apttus_Config2__Languages__c=null, HighValuedContact__c=false, IsTechnical__c=false, Notification_Data__c=null, Notification_Type__c=null, PreferredAvailabilityEndTime__c=null, PreferredAvailabilityStartTime__c=null, PreferredTimeZone__c=null, TECH_EntitlementSuspendedFlag__c=false, TECH_RenewalContact__c=true, mkto2__Acquisition_Date__c=null, mkto2__Acquisition_Program_Id__c=null, mkto2__Acquisition_Program__c=null, mkto2__Inferred_City__c=null, mkto2__Inferred_Company__c=null, mkto2__Inferred_Country__c=null, mkto2__Inferred_Metropolitan_Area__c=null, mkto2__Inferred_Phone_Area_Code__c=null, mkto2__Inferred_Postal_Code__c=null, mkto2__Inferred_State_Region__c=null, mkto2__Lead_Score__c=null, mkto2__Original_Referrer__c=null, mkto2__Original_Search_Engine__c=null, mkto2__Original_Search_Phrase__c=null, mkto2__Original_Source_Info__c=Web service API, mkto2__Original_Source_Type__c=Web service API, Email_Invalid__c=true, mkto_si__HideDate__c=null, mkto_si__Last_Interesting_Moment_Date__c=null, mkto_si__Last_Interesting_Moment_Desc__c=null, mkto_si__Last_Interesting_Moment_Source__c=null, mkto_si__Last_Interesting_Moment_Type__c=null, mkto_si__Last_Interesting_Moment__c=null, mkto_si__Priority__c=null, mkto_si__Relative_Score_Value__c=null, mkto_si__Relative_Score__c=_IM1_https://app.marketo.com/images/icons/star0.png_IM2_0_IM3_, mkto_si__Sales_Insight__c=_HL_ENCODED_/apex/Contact_Full_List?id=0036000001xloSF_HL__IM1_https://www.marketo.com/salesforce/images/applicationLink.png_IM2_Sales Insight_IM3__HL__blank_HL_, mkto_si__Urgency_Value__c=null, mkto_si__Urgency__c=_IM1_https://app.marketo.com/images/icons/fire0.png_IM2_0_IM3_, mkto_si__View_in_Marketo__c=_HL_ENCODED_/apex/mkto_si__Marketo_Lead_Detail?objType=Contact&objId=0036000001xloSF_HL__IM1_https://app.marketo.com/images/icons16/marketo16.png_IM2_View in Marketo_IM3__HL__blank_HL_, Entitlement_Name__c=null, Suppress_Reason__c=null, Suppress__c=No, User__c=null, Apttus_Config2__Level__c=null, Force_Synch_to_Marketo__c=null}
15:07:01.131 (32131157447)|USER_DEBUG|[2216]|DEBUG|Contact : Contact:{Id=003600000202867AAA, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}
15:07:01.131 (32131376694)|USER_DEBUG|[177]|DEBUG|calling the PRM function after update
15:07:01.131 (32131584460)|USER_DEBUG|[1650]|DEBUG|Inside Fderation function $%%ravi
15:07:01.135 (32135752513)|USER_DEBUG|[1671]|DEBUG|PRM enabled partner account map {}
15:07:01.140 (32140473604)|USER_DEBUG|[1682]|DEBUG|PRM user contact map {}
15:07:01.140 (32140874066)|USER_DEBUG|[1692]|DEBUG|Old cont weblogin id juuminnenkin
15:07:01.140 (32140922795)|USER_DEBUG|[1693]|DEBUG|New cont weblogin id juuminnenkin
15:07:01.141 (32141047852)|USER_DEBUG|[1700]|DEBUG|newPRMContIdList is{}
15:07:01.141 (32141180830)|USER_DEBUG|[1708]|DEBUG|deactivatePRMContIdList is{}
15:07:01.504 (32504851448)|USER_DEBUG|[185]|DEBUG|called the PRM function after update
15:07:01.505 (32505038751)|USER_DEBUG|[186]|DEBUG|returned ErrorMAP after update: {}
15:07:01.542 (32542356284)|USER_DEBUG|[209]|DEBUG|sObjUpdLIST: (Contact:{Id=0036000000LzktKAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzAzqAAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LwJo0AAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000xEqnoAAC, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000M027BAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzdN1AAJ, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000Lw4IpAAJ, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LvTxSAAV, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000M1I1zAAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzyoHAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, ...)
15:07:01.542 (32542603384)|USER_DEBUG|[211]|DEBUG|sObjUpdLIST: (Contact:{Id=0036000000LzktKAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzAzqAAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LwJo0AAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000xEqnoAAC, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000M027BAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzdN1AAJ, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000Lw4IpAAJ, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LvTxSAAV, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000M1I1zAAF, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, Contact:{Id=0036000000LzyoHAAR, Email_Invalid__c=true, Email=jpnsubcadv@citrix.com}, ...)
15:07:01.542 (32542746463)|USER_DEBUG|[213]|DEBUG|###ravi what is the value in sObjUpdErrMAP {}
15:07:01.543 (32543350099)|EXCEPTION_THROWN|[214]|System.LimitException: Too many DML rows: 10001
15:07:01.543 (32543835307)|FATAL_ERROR|System.LimitException: Too many DML rows: 10001
Class.Contact_Dispatcher.Trigger_Handler: line 214, column 1
Trigger.Contact_Trigger: line 43, column 1
15:07:01.543 (32543854522)|FATAL_ERROR|System.LimitException: Too many DML rows: 10001
Class.Contact_Dispatcher.Trigger_Handler: line 214, column 1
Trigger.Contact_Trigger: line 43, column 1
15:07:01.543 (32543985946)|CUMULATIVE_LIMIT_USAGE
15:07:01.543 (32543985946)|LIMIT_USAGE_FOR_NS|(default)|
Number of SOQL queries: 13 out of 100
Number of query rows: 10030 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 1 out of 150
Number of DML rows: 10002 out of 10000 ******* CLOSE TO LIMIT
Maximum CPU time: 23359 out of 10000 ******* CLOSE TO LIMIT
Maximum heap size: 874409 out of 6000000
Number of callouts: 0 out of 100
Number of Email Invocations: 0 out of 10
Number of future calls: 2 out of 50
Number of queueable jobs added to the queue: 0 out of 50
Number of Mobile Apex push calls: 0 out of 10
15:07:01.543 (32543985946)|LIMIT_USAGE_FOR_NS|Five9|
Number of SOQL queries: 0 out of 100
Number of query rows: 0 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 0 out of 150
Number of DML rows: 0 out of 10000
Maximum CPU time: 0 out of 10000
Maximum heap size: 0 out of 6000000
Number of callouts: 0 out of 100
Number of Email Invocations: 0 out of 10
Number of future calls: 0 out of 50
Number of queueable jobs added to the queue: 0 out of 50
Number of Mobile Apex push calls: 0 out of 10
15:07:01.543 (32543985946)|LIMIT_USAGE_FOR_NS|mkto_si|
Number of SOQL queries: 0 out of 100
Number of query rows: 0 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 0 out of 150
Number of DML rows: 0 out of 10000
Maximum CPU time: 0 out of 10000
Maximum heap size: 0 out of 6000000
Number of callouts: 0 out of 100
Number of Email Invocations: 0 out of 10
Number of future calls: 0 out of 50
Number of queueable jobs added to the queue: 0 out of 50
Number of Mobile Apex push calls: 0 out of 10
15:07:01.543 (32543985946)|CUMULATIVE_LIMIT_USAGE_END
15:07:01.544 (32544136459)|CODE_UNIT_FINISHED|Contact_Trigger on Contact trigger event AfterUpdate for [0036000001xloSF]
- GSP
- October 29, 2015
- Like
- 0
custom list buttons
can we add custom list button in notes&attachments or not ...please help me
- GSP
- November 14, 2013
- Like
- 0
Email Service
i am creating Email Service class my requirement is when task status is completed then email will sent to assign contact persion emai id...so.....i am new to Email service concept.please help me...here is my code
global class emailservice implements Messaging.InboundEmailHandler {
global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email,
Messaging.InboundEnvelope env){
// Create an inboundEmailResult object for returning
// the result of the Force.com Email Service
Messaging.InboundEmailResult result = new Messaging.InboundEmailResult();
task te=[select id,status,whoid from task limit 1];
Contact c=[select id,lastname,Account.Name,email from contact where id=:te.whoid];
String myPlainText = 'I spoke with '+c.lastname+ 'today from '+ ' '+c.account.name +' '+'about the latest proposal.';
// Add the email plain text into the local variable
try
{
myPlainText = email.plainTextBody.substring(0, email.plainTextBody.indexOf('<stop>'));
}
catch (System.StringException e)
{
myPlainText = email.plainTextBody;
System.debug('No <stop> in email: ' + e);
}
// Set the result to true, no need to send an email back to the user
// with an error message
if(te.status=='completed')
result.success = true;
// Return the result for the Force.com Email Service
return result;
}
}
- GSP
- August 09, 2013
- Like
- 0
How to stop InboundEmailHandler from sending a reply?
Does anyone know how to stop the InboundEmailHandler from sending a reply after it has finished its work? I thought you can do something to the InboundEmailResult but I can't seem to get it to work.
TIA!
- dho1
- December 07, 2012
- Like
- 0
Enter key on VF-Page
Hello everyone,
we have developed a small customer search in salesforce. If you click on the "search" button manually, everything is working fine, but by clicking on the enter key, nothing happens.
I know that problems like this are discussed here quite often, but I didn't find a solution for my problem.
<apex:page controller="SearchFirstController" tabStyle="Search_Create__tab"> <apex:sectionHeader title="{!$Label.sfTitle}" subtitle="{!$Label.sfSubTitle}" description="{!$Label.sfTitleDescription}"/> <apex:outputPanel id="errorPanel"> <apex:pageMessage strength="2" title="{!errorTitle}" summary="{!errorMessage}" severity="{!errorSeverity}" rendered="{!errorShow}" /> </apex:outputPanel> <apex:outputPanel id="searchPanel" styleClass="searchFilterFields"> <apex:form id="searchForm"> <div class="searchFilterFieldsHolder"> <table class="searchFilterFields" width="100%"> <tr> <td width="250px"> <table width="100%"> <tr> <td> <apex:outputLabel value="{!$Label.sfFirstName}" for="searchFirstName"/> </td> <td width="100%"> <apex:inputText value="{!searchFirstName}" id="searchFirstName" required="false"/> </td> </tr> <tr> <td> <apex:outputLabel value="{!$Label.sfLastName}" for="searchLastName"/> </td> <td width="100%"> <apex:inputText value="{!searchLastname}" id="searchLastName" required="false"/> </td> </tr> <tr> <td> <apex:outputLabel value="{!$Label.sfAccount}" for="searchCompany"/> </td> <td width="100%"> <apex:inputText value="{!searchCompany}" id="searchCompany" required="false"/> </td> </tr> <tr> <td> <apex:outputLabel value="{!$Label.sfPhone}" for="searchdPhone"/> </td> <td width="100%"> <apex:inputText value="{!searchPhone}" id="searchPhone" required="false"/> </td> </tr> <tr> <td> <apex:outputLabel value="{!$Label.sfEmail}" for="searchEmail"/> </td> <td width="100%"> <apex:inputText value="{!searchEmail}" id="searchEmail" required="false"/> </td> </tr> <tr> <td> </td> <td width="100%"> <apex:commandButton value="{!$Label.btnSearch}" action="{!search}" rerender="resultPanel,errorPanel" styleClass="searchFilterButton" status="processingStatus"/> <apex:commandButton value="{!$Label.btnReset}" action="{!reset}" rerender="searchPanel,resultPanel,errorPanel" styleClass="searchFilterButton"/> </td> </tr> </table> </td> <td align="center" valign="middle"><table style="font-size:80%;"><tr><td width="20%" align="right"><strong>{!$Label.sfAsterik}</strong></td><td width="80%">{!$Label.sfAsterikText}</td></tr><tr><td width="20%" align="right"><strong>{!$Label.sfQuestionmark}</strong></td><td width="80%">{!$Label.sfQuestionmarkText}</td></tr></table></td></tr></table> </div> </apex:form> <center><apex:actionStatus id="processingStatus" startText="{!$Label.sfProcessRequest}"/></center> </apex:outputPanel> <br/> <apex:outputPanel id="resultPanel"> <apex:form id="resultForm"> <apex:pageBlock id="leadresultPanel" title="{!$Label.sfLeads}{!If(numLeads > 0,' [' & text(numLeads) & ']',' [0]')}" tabStyle="Lead"> <apex:pageMessage strength="2" severity="info" summary="{!$Label.sfNoLeadResultWarning}" rendered="{!noLeadResult}" /> <apex:pageBlockSection title="{!$Label.sfMatchingLeads}" collapsible="true" columns="1" rendered="{!NOT(emptyLeadList)}"> <apex:pageBlockTable value="{!resultListLeads}" var="leadItem"> <apex:column > <apex:facet name="header">{!$Label.sfLeadName}</apex:facet> <apex:outputLink value="{!URLFOR($Action.Lead.View, leadItem.Id)}">{!leadItem.Firstname} {!leadItem.Lastname}</apex:outputLink> </apex:column> <apex:column > <apex:facet name="header">{!$Label.sfLeadCompany}</apex:facet> <apex:outputLink value="{!URLFOR($Action.Lead.View, leadItem.Id)}">{!leadItem.Company}</apex:outputLink> </apex:column> <apex:column value="{!leadItem.Phone}"/> <apex:column value="{!leadItem.Email}"/> <apex:column value="{!leadItem.Status}"/> </apex:pageBlockTable> </apex:pageBlockSection> <apex:commandButton id="createNewLead" value="{!$Label.btnNew}" action="{!createNewLead}"/> </apex:pageBlock> <apex:pageBlock id="contactresultPanel" title="{!$Label.sfContacts}{!If(numContacts > 0,' [' & text(numContacts) & ']',' [0]')}" tabStyle="Contact"> <apex:pageMessage strength="2" severity="info" summary="{!$Label.sfNoContactResultWarning}" rendered="{!noContactResult}" /> <apex:pageBlockSection title="{!$Label.sfMatchingContacts}" collapsible="true" columns="1" rendered="{!NOT(emptyContactList)}"> <apex:pageBlockTable value="{!resultListContacts}" var="contactItem"> <apex:column > <apex:facet name="header">{!$Label.sfContactName}</apex:facet> <apex:outputLink value="{!URLFOR($Action.Contact.View, contactItem.Id)}">{!contactItem.Firstname} {!contactItem.Lastname}</apex:outputLink> </apex:column> <!-- <apex:column value="{!contactItem.Company}"/>--> <apex:column value="{!contactItem.Phone}"/> <apex:column value="{!contactItem.Email}"/> </apex:pageBlockTable> </apex:pageBlockSection> <apex:commandButton id="createNewLead" value="{!$Label.btnNew}" action="{!createNewContact}"/> </apex:pageBlock> <apex:pageBlock id="accountresultPanel" title="{!$Label.sfAccounts}{!If(numAccounts > 0,' [' & text(numAccounts) & ']',' [0]')}" tabStyle="Account"> <apex:pageMessage strength="2" severity="info" summary="{!$Label.sfNoAccountResultWarning}" rendered="{!noAccountResult}" /> <apex:pageBlockSection title="{!$Label.sfMatchingAccounts}" collapsible="true" columns="1" rendered="{!NOT(emptyAccountList)}"> <apex:pageBlockTable value="{!resultListAccounts}" var="accountItem"> <apex:column > <apex:facet name="header">{!$Label.sfAccountName}</apex:facet> <apex:outputLink value="{!URLFOR($Action.Account.View, accountItem.Id)}">{!accountItem.Name}</apex:outputLink> </apex:column> <apex:column value="{!accountItem.Phone}"/> <apex:column value="{!accountItem.Type}"/> </apex:pageBlockTable> </apex:pageBlockSection> <apex:commandButton id="createNewAccount" value="{!$Label.btnNew}" action="{!createNewAccount}"/> </apex:pageBlock> </apex:form> </apex:outputPanel> </apex:page>
Thanks and regards
Markus
- HdW
- August 16, 2010
- Like
- 1