The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
104 views

How do I populate two auto-incrementing fields in same Object

I've a trigger on a custom object Object_A__c. Now, I need to populate a receipt number id in a field receipt_id__c. There are two types of receipts X and Y namely. I need to populate the ...
3
votes
2answers
137 views

Returning an Auto-Increment value

I'm just curious, is there a method to access an auto-increment number in a newly inserted record without making another SOQL call? Something similar to how MySQL can call up the last insert ID after ...
3
votes
1answer
205 views

How to populate a field, for existing records, which has been changed to auto-number?

I have changed a field from number to auto-number in an object which contains records. As expected, this field for the existing records lost their contents and are now blank. The business requires ...
2
votes
1answer
347 views

Maximum length of Autonumber name field

I know that if you create a custom object, with an Auto-number Name field with a format, e.g. MYC-{0000} you will be able to create records from MYC-0000 to MYC-9999. The moment you create 10,000 ...