$TXT Created by HOUTCHENS,THOMAS at MNTVBB.FO-ALBANY.MED.VA.GOV (KIDS) on Wednesday, 06/18/03 at 11:08 ============================================================================= Run Date: DEC 03, 2003 Designation: PSA*3*33 Package : PSA - DRUG ACCOUNTABILITY Priority: Mandatory Version : 3 SEQ #26 Status: Released Compliance Date: JAN 03, 2004 ============================================================================= Subject: CORRECT UNDEFINED LOCATION ERROR IN VERIFY INVOICES OPTION. Category: - Routine Description: ============ This patch corrects a problem that causes an undefined error when using the option PSA VERIFY INVOICES. The error occurs if there is no pharmacy location or an invalid location on the invoice. ASSOCIATED NOIS: ================ PHI-0603-20056 NYH-1003-11498 ASSOCIATED E3R: =============== N/A NOIS OVERVIEW: ============== Problem: -------- As reported in NOIS PHI-0603-20056, the Pharmacy Supervisor was using the Menu option 'Verify Invoices' [PSA VERIFY INVOICES] and chose an order to edit when an undefined variable error occurred. The undefined error occurred because the location variable was set to zero due to either no pharmacy location or an invalid location. The routine PSAVER1 failed to check the result for the site lookup. A check of the location variable is required after the lookup. If the site lookup returns a zero, then processing needs to terminate the lookup in the DRUG ACCOUNTABILITY STATS file (File 58.8). Resolution: ----------- Routine PSAVER1 was modified at line tag CORR+4. A check of the site variable PSALOC was inserted to prevent an undefined error in the DRUG ACCOUNTABILITY STATS file (File 58.8). PARTICIPATING TEST SITES: ========================= BOISE, ID MANCHESTER, NH NEW YORK HCS PHILADELPHIA, PA VAMC ROUTINE SUMMARY: ================ The following is a list of the routine(s) included in this patch. The second line of each of these routines(s) will look like: ;;3.0; DRUG ACCOUNTABILITY/INVENTORY INTERFACE;**[patchlist]**; 10/24/97 CHECK^XTSUMBLD results Routine name Before Patch After Patch Patch List ============ ============= =========== ========== PSAVER1 21158556 21304024 33 INSTALLATION INSTRUCTIONS ========================= This patch may be run with users on the system. Installation will take less than 5 minutes. 1. Use the INSTALL/CHECK MESSAGE option on the PackMan menu to unload the KIDS distribution included with this message. 2. Review your mapped set. If any of the routines listed in the ROUTINE SUMMARY section are mapped, they should be removed from the mapped set at this time. 3. From the Kernel Installation and Distribution System Menu, select the Installation menu. 4. From this menu, you may elect to use the following options (when prompted for INSTALL NAME, enter PSA*3.0*33): a. Compare Transport Global to Current System - this option will allow you to view all changes that will be made when the patch is installed. It compares all components of the patch (routines, DDs, templates, etc.). b. Verify Checksums in Transport Global - this option will allow you to ensure the integrity of the routines that are in the transport global. c. Print Transport Global - this option will allow you to view the components of the KIDS build. 5. Use the Install Package(s) option and select the package PSA*3.0*33. 6. When prompted ' Want KIDS to INHIBIT LOGONs during the install? YES//', respond NO. 7. When prompted 'Want to DISABLE Scheduled Options, Menu Options, and Protocols? YES//', respond YES. When prompted to select the options you would like to place out of order, enter the following: PSA DRUG ACCOUNTABILITY MENU Drug Accountability Menu 8. If routines were unmapped as part of step 2, they should be returned to the mapped set once the installation has run to completion. Routine Information: ==================== Routine Name: - PSAVER1 Routine Checksum: ============================================================================= User Information: Entered By : HOUTCHENS,THOMAS Date Entered : JUN 03, 2003 Completed By: PEREZ,CAROL Date Completed: DEC 03, 2003 Released By : LYTTLE,KIM M Date Released : DEC 03, 2003 ============================================================================= Packman Mail Message: ===================== $END TXT