Questions tagged [increment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
54 views

Apex Class: Bulk Clone Records and Increment Field

I am working on an Invocable Apex Class to Clone Records based on a selected Objects. The base code I got from here is working well. Now I am trying to add logic to increment a field after the record ...
0 votes
1 answer
195 views

Best way to track an incrementing number in Salesforce

I'm trying to track an incrementing number in Salesforce with the following caveat: The number should only increment when a Lead or Contact meets certain criteria. This has been working ok with a ...
  • 1,236
0 votes
2 answers
145 views

incrementing a number followed by a letter. eg A1, A2, A3 only. Under process builder formula field [closed]

I'm using the process builder for a certain task. Which will check a field of a record, if it's value is A1, it will create a new record and set it to A2, if A2 then set it to A3, and if A3 then ...
1 vote
2 answers
765 views

Add records incrementing based on known Date

I expect this has been described before but have been unable to find it. I am entering OpportunityLineItemSchedule in Apex and would like wipe out the default ones, which are created based on Close ...
  • 1,268
3 votes
2 answers
538 views

Increment Array Position After Every Button Click

I have a tricky requirement that I am not sure is entirely possible. I have a custom "Skip" button on the Case page layout. This button allows you to skip to the next Case in an list, if the status ...
  • 3,245
0 votes
1 answer
35 views

Null object on incrementer trigger

I am trying to increment a field on a parent object Deal__c with every child object Deliverable__c created. My debug shows an id for theDeal but the theDeal.DeliverablesIncrementer__c+=1; is getting ...
  • 1,268