- Local time
 - Today, 01:47
 
- Joined
 - Sep 12, 2006
 
- Messages
 - 16,096
 
well you need to think about the data structure I think, and therefore how the prefix/item number relates to the item.
if an item consists of a number of sub-structures, and each substructure has a separate prefix - then the item itself cannot have a single prefix against which you can establish a next DCN number. Maybe all you can have is a single sequential DCN.
If all the sub-structures have the same prefix - then simply hold the prefix in the ToItem table, as storing it within the substructure is duplicating data.
etc.
 if an item consists of a number of sub-structures, and each substructure has a separate prefix - then the item itself cannot have a single prefix against which you can establish a next DCN number. Maybe all you can have is a single sequential DCN.
If all the sub-structures have the same prefix - then simply hold the prefix in the ToItem table, as storing it within the substructure is duplicating data.
etc.