Timeline for Trouble in using Business hours methods to compare business hours with specific number of hours in apex trigger
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 7, 2015 at 10:57 | vote | accept | SFDC Wolf | ||
Sep 7, 2015 at 10:56 | history | edited | SFDC Wolf | CC BY-SA 3.0 |
deleted 1802 characters in body
|
S Sep 4, 2015 at 7:38 | history | suggested | martin | CC BY-SA 3.0 |
formatting
|
Sep 4, 2015 at 7:16 | review | Suggested edits | |||
S Sep 4, 2015 at 7:38 | |||||
Sep 4, 2015 at 7:11 | history | edited | SFDC Wolf | CC BY-SA 3.0 |
added 597 characters in body
|
S Sep 3, 2015 at 14:00 | history | suggested | martin | CC BY-SA 3.0 |
answer should have been part of the question
|
Sep 3, 2015 at 13:13 | review | Suggested edits | |||
S Sep 3, 2015 at 14:00 | |||||
Sep 3, 2015 at 6:31 | comment | added | SFDC Wolf | @EhsanMahmoudi, Its 34.0 its the latest one, BTW its a trigger and I got it working now ! :) | |
Sep 2, 2015 at 23:37 | comment | added | Ehsan Mahmoudi | What is the API version of the class that you are working on? It might be too old | |
Sep 2, 2015 at 12:49 | comment | added | SFDC Wolf | @EhsanMahmoudi I rectified that long back , I did create an instance via SOQL query and passed in diff() method. Thank you ! :) | |
Sep 2, 2015 at 8:29 | comment | added | Ehsan Mahmoudi | The error is expected because you are passing diff(BusinessHours.id, startdate, Datetime.now()) BusinessHours.Id is of type SObject.SObjectField. You should pass the id of instance of businesshour | |
Sep 1, 2015 at 13:10 | answer | added | martin | timeline score: 3 | |
Sep 1, 2015 at 13:05 | history | asked | SFDC Wolf | CC BY-SA 3.0 |