DB Maint.: Restoring
Deleted Lots
The following procedure applies to Bundle-Track versions 3.6 and
above.
You may be able to restore a deleted Lot. When you delete a Lot,
the records remain in the database in a hidden (but recoverable)
form until both of the following have occurred:
Procedure 1 (within Bundle-Track):
Use this method if your version of Bundle-Track offers it. Otherwise,
try Procedure 2.
- In Bundle-Track, menu select Activities / Purge and Recover
Lots / Recover Lots.
- Use this tool to recover the Lots you want.
Procedure 2 (within ISQL):
- Get ISQL ready to run your commands.
- Copy and Paste the following code into ISQL:
|
Select
* from LOTMAS where ACTIVEINFO = 'F';
|
- Click the Lightning Bolt icon to execute.
- Identify the Lot you want.
- The LOTMASLAB column lists Lot Codes.
- The LOTMASDES column lists Lot Descriptions.
- Note the Lot's LOTMASKEY.
- Copy and Paste the following code into ISQL:
|
Update
LOTMAS set ACTIVEINFO = 'T' where LOTMASKEY = ZZZZZ;
Commit;
|
- Edit that code, placing the LOTMASKEY you noted above in
place of ZZZZZ.
- Click the Lightning Bolt icon to execute.
- Exit ISQL and IBConsole.
- In Bundle-Track, confirm that the Lot has been restored.
We welcome your comments at support@bundle-track.com.
If you would like our live assistance, you may hire us at our professional
services rate.