RE: How to Rebuild GP with only a Company Database Backup no System Database?
For this, you could probably use the GL00100 table from one of the company databases, using this script:
sp_help GL00100
What we're looking for is the number of ACTNUMBR_# columns present, which would indicate the maximum number of segments allowed by the original Microsoft Dynamics GP configuration, then using the length of these columns, we can get close to the length allowed for each segment.
I say close, because Dynamics GP adds 1 to any even-numbered lengths, for these columns. So, for example, if I had 10 segments with a length of 6 each, which is the maximum allowed by GP, in the GL00100 and other tables, we'd see columns ACTNUMBR_1 through ACTNUMBR_10, but these columns would have a length of 7, again since GP adds 1 to it.
That being said, this would at least allow to get the maximum account framework, asked about when creating the GP system database, exact on the number of segments allowed and, worse case, within 1 of the segment lengths.
Let us know if you have any questions.
Thanks