![]() | |
#41
| |||
| |||
|
|
On 2011-04-07 08:36:16 -0400, Ross Ferris <ro... (AT) stamina (DOT) com.au> said: Of course, with "proper" dictionaries that actually documented all of those files as having a field that was validated against the product file (or ANY file for that matter), a little 30 line program can change all references to ANY file, so you get the best of both worlds ... meaningful ID's that can be changed as/when/if required Sounds good on paper, but you also have to consider: - Do you know all the files in which the ID needing changing can be found? - Do you know all of the programs that have logic based on the meaningful ID? (They may have to be re-coded) - Do other account BPs have to be updated because they reference the account/file(s) to be updated? - Your "fix-it" program will likely need to incorporate different logic for each file it needs to update. - Make a mistake adjusting or running your "fix-it" program against dozens of files and you risk data corruption. - What do you do about history? - Those accounts and files that have been archived. *You can't just restore the old "sales-report-file" and expect it to work if all the product IDs have changed and can no longer be found on the product-master. - Until you "fix/update" everything (files, program logic, changes in other accounts, etc), people are restricted from using the system because it's an all or nothing deal. *There can be no incremental migration. - You likely have to plan some "big day" migration where you "flip the switch" to using the newly updated IDs. Compare the above, and the inherent risk, to having a simple, sequential, "meaningless" ID that should really never change, regardless of how many times your actual Product Code does. -- Kevin Powick |
#42
| |||
| |||
|
|
It is certainly a strong point for establishing programming standards and enforcing them, which we have always done. |
#43
| |||
| |||
|
#44
| |||
| |||
|
|
On 2011-04-07 08:36:16 -0400, Ross Ferris <ro... (AT) stamina (DOT) com.au> said: Of course, with "proper" dictionaries that actually documented all of those files as having a field that was validated against the product file (or ANY file for that matter), a little 30 line program can change all references to ANY file, so you get the best of both worlds ... meaningful ID's that can be changed as/when/if required My previous reply may have been based upon a slightly incorrect interpretation of what you wrote, but I think that many of my points may still apply. -- Kevin Powick |
![]() |
| Thread Tools | |
| Display Modes | |
| |