Wednesday, 16 December 2015

Schema objects in salesforce

Schema.DescribeSObjectResult [getKeyPrefix=001; getLabel=Account; getLabelPlural=Accounts; getName=Account; isAccessible=true; isCreateable=true; isCustom=false; isCustomSetting=false; isDeletable=true; isDeprecatedAndHidden=false; isFeedEnabled=true; isMergeable=true; isQueryable=true; isSearchable=true; isUndeletable=true; isUpdateable=true;] (Schema.ChildRelationship [getChildSObject=Account; getField=ParentId; getJunctionIdListName=null; getRelationshipName=ChildAccounts; isCascadeDelete=false; isDeprecatedAndHidden=false; isRestrictedDelete=false;] (Schema.RecordTypeInfo [getName=Master; getRecordTypeId=012000000000000AAA; isAvailable=true; isDefaultRecordTypeMapping=true; isMaster=true;])