Fields

1. How many types of fields are there in salesfroce?
A: Fields are classified into three formats.
     1. System Fields, 2. Standard Fields, 3. Custom Fields

2. What are system fields?
A: System Fields: These are the fields which are created by the Salesforce and also updated by the salesforce whenever any operations occurs on the requirement. We can only perform read operation on this record.
Id, IsDeleted, CreatedById, ModifiedBy, CreatedDate, ModifiedId, SystemModStamp, LastModifiedDate

3.What type of operations we vcan perform on the system fields?
A:We can only perform read operation on the system fields.

4. What is the use of ID field?
A:Id: Whenever new record is created in the salesforce, this will create 18 character Id for the record. This is a Unique Identifier.

5. What is the difference between 15 characters Id and 18 Character Id?
A: In the 18 character Id first 3 Characters represents objects, last 4 characters represents record. We can also represent 18 character Id using 15 character Id. Which is a case –Sensitive.

6. What does the first three characters in the Id indicate?
A: In the 18 character Id first 3 characters indicates Objects.

7. What does the last four characters in the ID indicate?
A:  The last 4 characters indicates Record.

8. What are the system Audit Fields? 
A:System Audit Fields: 1. CreatedById
                                         2. LastModifiedById
                                          3. CreatedDate
                                          4. LastModifiedDate 
                                         5. SystemModStamp
If you raise the case in the salesforce they will enable system Audit Fields edit permission. If this permission is enable we can manipulated the data in the audit feild except systemModStamp.

9. What is the difference between SystemModStamp and LastModifiedDate?
A: LastModifiedDate: This will store the Date and Time when the record was modified  lastly by user manually.
    SystemModStamp: This will store the data and time when the record was modified lastly by user manually or           programatically.

10. What are Standard Fields?
A: Standard Fields:     1. Created By
                                     2. Owner
                                     3. Name
                                     4. LastModifiedBy
   These are the fields which are created by the Salesforce for every custom Object on standard fields we can only modify help and Label Name
Note: Every record by default has a owner. He is responsible for maintaining the record. 

11. What is the differnece between created by and owner?
FieldName FieldLabel         Datatype                        Help                         Modification
CreatedBy   CreatedBy               Lookup(user)                Standard                      no
Owner          Owner                 Lookup(user,Queue)      Standard, Custom      helptext

Note: Every record by default has a owner. He is responsible for maintaining the record

12. Whta are the different datatypes that are accepted by name field?
A: String

13. Can we change the data type from text to Auto Number for the Name when we already have records in the Object?
A: No

Comments

Popular posts from this blog

Page Layouts

SOQL Scenario-1