I have an object with a sequence that is updated in the create() method. I ran into an odd problem today, when I was importing data:
To illustrate, my next number in the sequence was 50. And lets say I was importing 75 records.
- I ran the import wizard, clicked validate. Everything was good.
- Import the data. Success.
- Check the assigned sequence: They were 125-200 instead of the expected 50-125!
So clearly, the import validation button is actually running the create() method? Then deleting the results? If this is the case, is there a way I could check the context to make sure that If the import validation is running that I do NOT assign a sequence number? Anyone run into this problem before?