We just enabled a workflow to create a record (cus...
# suitebuilder
c
We just enabled a workflow to create a record (custom) and it was working fine in sandbox, but the numbering is off in production. I check the record page and all the settings are the same. In sandbox the IDs were order 1....2....3.  In Prod I have 1....101....201
If the internalid means something to you, you're probably doing it wrong
c
I looked at the numbering tab in both production and sandbox and they are both disabled.
So I am not sure why in prod it wants to increment by 100 but in sandbox it increments by 1.
c
What I am saying is that you don't want to rely on internalid. It's only guaranteed to be unique, nothing more
I think @battk explained it well last time it came up
c
The internal ID / ID doesn't necessarily mean anything to me, but a record is created every time a sales order comes through and if it's increasing by 100 each time I feel like the numbering is going to get out of control.
c
No, it's normal. Wouldn't worry
Sorry, got the impression it was an issue. Bad of me for assuming, I apologise
b
worry about it you expect to get 2^31-1 orders
c
I am also just interested in the reason for it. Why is sandbox increasing by 1 and prod by 100. I don't believe we have made any changes to prod recently and sandbox is a month or so old. I reached out to Netsuite but they are going to have to test internally and get back to me.
b
it increases by 100 since whatever is generating ids is just reserving 100 instead of trying to make 100 single unique ids
c
Oracle sequences can be configured to behave like that on RAC, so i imagine that's what's underneath
c
ok. I'll see what Netsuite says. The number itself isn't needed so hopefully it won't cause any issues I just noticed it was different from sandbox and couldn't figure out why.
thank you
welp for some reason it just created another one by an increment of 1.
Doesn't seem like there is a reason for it.
b
doesnt really have to be a reason
nothing good comes from treating the internal id like a number
just imagine its a string
c
ok thank you. I think it's fine to just leave as is. My OCD was getting the best of me.
j
I’ve encountered this exact same thing and NetSuite was basically like
¯\_(ツ)_/¯
“Standard Behaviour”
I hate it. I’m used to a normal, non-stochastic auto-increment