Sent not confirmed - move data error.
Issue: Files were sent to DMS and not confirmed.
Resolution: Need to see if the confirmation file can be re-created or if they need to be resent to Galaxy
Types: 4000 is manage, 4001 is teller
Steps:
Determine if the files where imported into DMS.
- Look through existing log files for files still in the database.
- This method will work if the files are less than 3 weeks old.
- Galaxy holds logs for approximately 3 weeks.
- Log into the DMS SFTP backend and into the CU folder.
- Make note of the DateSend column in the log folder, or in the database.
- Navigate to the Logs folder.
- Log into SQL and expand the database that contains the files that need to be confirmed.
- For CDPManage
- Open the CDPManage4 database.
- Expand the tables
- Right click on the Document table and View All Rows.
- Run this query:
Select documentid, datesend, dateconfirm, remoteid
From Document
Where DateSend < ‘DATESEND’ and RemoteID is null
(NOTE: change ‘DATESEND’ to the actual DateSend +1 from the log)
Ex. DateSend is 10/10/2013, use 10/11/2013
- For CDPTeller
- Open the CDPTeller4 Database
- Expand the tables
- Right click on Trans_Head and View All Rows.
- Run this query:
Select Localid, datesend, dateconfirm, remoteid
From Trans_Head
Where DateSend < ‘DATESEND’ and RemoteID is null
(NOTE: change ‘DATESEND’ to the actual DateSend +1 from the log)
Ex. DateSend is 10/10/2013, use 10/11/2013
- View a few days’ worth of DMS Master logs and look for some of the missing
- You cannot view the .bak logs, because those are back-ups of logs that we downloaded, that did not contain confirmations.
- If you can find the documents in the files, download the files to a folder on your computer.
- Navigate to G:\CUFiles\Utils – CDP
- Copy MasterLogMuncher.cmd to the same folder you copied the log files to
- Run MasterLogMuncher.
- This will re-create an import log for CDPMoveData.
- Push the created log file to the server’s CDPMoveData\Input folder
- Launch CDPMoveData
- Run Confirmation.
- Re-run the above queries to ensure that all has been confirmed.
- If you cannot find files in any of the log files, look in the Aborted_Files folder in the DMS SFTP backend.
- Sometimes, if imports take a long time, they will get moved into the Aborted_Files folder so that other imports can take place.
- If files are there, the CU will need to contact Galaxy to get the files imported.
- They can contact Galaxy and let them know that there are files in the “Aborted_Files” folder that need to be moved for import.
- If the files are nowhere to be found in any of the DMS logs or folders, the files will need to be resent to DMS.
- Log into SQL and expand the database that contains the files that need to be confirmed.
- For CDPManage
- Open the CDPManage4 database.
- Expand the tables
- Right click on the Document table and View All Rows.
- Run this query:
Select documentid datesend, dateconfirm, remoteid
From Document
Where DateSend < ‘DATESEND’ and RemoteID is null
(NOTE: change ‘DATESEND’ to the actual DateSend +1 from the log)
Ex. DateSend is 10/10/2013, use 10/11/2013
Once you have the result set, run the following query:
Update Document
Set DateSend = NULL
Where DateSend < ‘DATESEND’ and RemoteID is null
- For CDPTeller
- Open the CDPTeller4 Database
- Expand the tables
- Right click on Trans_Head and View All Rows.
- Run this query:
Select Localid datesend, dateconfirm, remoteid
From Trans_Head
Where DateSend < ‘DATESEND’ and RemoteID is null
(NOTE: change ‘DATESEND’ to the actual DateSend +1 from the log)
Ex. DateSend is 10/10/2013, use 10/11/2013
Once you have the result set, run the following query:
Update Trans_Head
Set DateSend = NULL
Where DateSend < ‘DATESEND’ and RemoteID is null