How many I'd columns are maintained in force.com database such 15 and 18 I'd digit columns columns are maintained or only 15 digit I'd column maintained ?
15 digit I'd salesforce case sensitive = 18 digit I'd salesforce case insensitive
Internally on record creation 15 digit gets generated
15 id is converted to 18 digit id //as salesforce written algorithm to convert 15 to 18 digit id
Generally we update the records after exporting the records
As we update the record based on the record IDs which we get on export operation
On export we get 18 digit
Now based on 18 digit I'd we update the 15 digit? This is possible with two cases
- there should be algorithm for converting 18 to 15 id
- separately 18 digit Id column should be maintained in the same table
How many Id columns are maintained in force.com database? Either only 15 digit id or both 15 and 18 digit id .
In my case if only 15 digit I'd is maintained? My first possible is correct but I don't find the algorithm to convert 18 to 15 convertion .
Is there any algorithm to convert 18 to 15 digit?
If you have the 18 digit Id and want to get the 15 digit Id, simply remove the final three characters.
I recommend you read through this Knowledge Article: