I have a custom record type. Just noticed that the...
# general
j
I have a custom record type. Just noticed that the internalids are incrementing by 100, and not by 1…..
🤔 1
p
Setup?
j
nothing special
message has been deleted
b
pretty normal, especially when the records are being created outside of the ui
j
why would it be “normal” to not increment by 1?
b
its something netsuite does
j
that doesn’t make it normal
usually the opposite 😉
b
my guess is that its reserves batches of ids
basics about internal ids is to only expect it to be a unique number
dont expect to sort by it, dont expect to count via it
be glad that it appears to have stopped doing annoying things like releasing previously reserved ids and having new internal ids with lower numbers than older internal ids
was a very bad day for sorting when that happened
j
I still get that with autonumbering
same autonumber will get reused
it’s a fucking nightmare
b
how are you getting duplicates with auto numbering?
j
delete the record. Number gets reused.
something to do with timing
if another record isn’t created before you delete the last one the number gets used again
I think
b
that sounds about right
j
it’s awful
was VERY problematic with the original Box-for-NetSuite system
which used record name to look up Box Folder
we ended up with files attached to the wrong records a fair bit
was ultra confusing every time
also if someone replied to an auto-email sent to them, referencing the number
but it had been merged into something (therefore deleted), and that number now referenced something else entirely
k
Is it a sublist? Those increment ids by 100
✔️ 1
j
oh really? Why?
k
I don't know entirely. My guess is the same logic behind the incrementing of line IDs on regular sublist IDs
What happens if you use the insert function to drop a line between two existing ones? does it still increment by 100? or does it put it in the gap between the two other records?