Blogs
-
Illustration of Business Hours Computation
We have a need to dispatch an email alert to users following a span of 4 business hours from the Task Creation Date. Our designated business hours span from 7 am to 5 pm, Monday through Friday. For instance, if a Task is initiated at 4 pm on a Monday, we aim to send the…
-
Determine Object Type Based on Record ID Prefix
Summary Standard and Custom Objects in Salesforce have three character prefixes which form the first part of the Record ID. For example, a User record with ID 00561000000Mjya has the prefix 005, which is the prefix for the User Object. For a list of Standard Field Record ID prefixes, please see Standard Field Record ID Prefix Decoder. In…
-
sObjects Ineligible for DML Operations
These objects do not support Data Manipulation Language (DML) operations in Apex, but they do allow for SOQL querying. Here is the list of such objects: