$TXT Created by SMITH,ROBERT at MNTVBB.FO-ALBANY.MED.VA.GOV (KIDS) on Friday, 06/02/06 at 11:37 ============================================================================= Run Date: JUL 12, 2006 Designation: PSA*3*50 Package : PSA - DRUG ACCOUNTABILITY Priority: Mandatory Version : 3 SEQ #42 Status: Released Compliance Date: AUG 12, 2006 ============================================================================= Associated patches: (v)PSA*3*34 <<= must be installed BEFORE `PSA*3*50' Subject: UNDEFINED ERROR IN PSAPROC1 AND FALSE PROCESSING MESSAGE Category: - Routine Description: ============ This patch addresses the following problems: 1. HD 68113 Invoice select prompt (1-0) The software is not properly detecting when all invoices being worked with have been processed. It is asking the user to make a selection when there are no invoices left to select from. The software errors out with an undefined if the user continues. 2. HD 93067 A faulty message 'The invoice has not been placed in a Processed status!' is presented. Processing invoices currently does not evaluate the status of the invoice being processed and displays an inaccurate message at the end of processing. 3. HD 91604 An undefined error occurs when the selection list of invoices to send on to verification has a missed node in the display numbering sequence of the invoices. The user is able to put in a range from the beginning of the list to the last number in the list and the processing tries to work on all numbers in between. It hits the number of the missing node and it breaks. ASSOCIATED NOIS/REMEDY: ======================= 68113 LEX-0704-40589 null subscript error when processing invoice Duplicate 68665 NJH-0105-20925 Experiencing Problems with Invoice Processing 126683 SUBSCRIPT ERROR 142448 Option PSA PROCESS PRIME VENDOR DATA aborts 142670 Process CS Invoice, errored out, no record of the invoice 93067 Faulty Message: ** The invoice has not been placed in a Processed status! 91604 INVSEL+1^PSAPROC1 Missing node in PSAOK array breaks the software. Duplicates 132934 INVSEL+1^PSAPROC1 137490 Error -- SETINV+3^PSAPROC2 135507 GETTING ERROR WHEN USING PSA PROCESS PRIME VENDOR DATA 143203 INVSEL+1^PSAPROC1 ASSOCIATED E3R(s): ================== N/A PARTICIPATING TEST SITES: ========================= PORTLAND OR HUNTINGTON WV MARYLAND HCS RENO FAYETTEVILLE NOIS/REMEDY OVERVIEW: ==================== 1. HD 68113 Invoice select prompt (1-0) PROBLEM: ======== The software is not properly detecting when all invoices being worked with have been processed. It is asking the user to make a selection when there are no invoices left to select from. The software errors out with an undefined if the user continues. RESOLUTION: =========== Two variables exists that do present the count of invoices left to be processed. Tests for both of those variables have been coded and the software will bypass the inappropriate prompts. TECHNICAL: ========== Routine PSAPROC2 has been modified to test for the variable that holds the count of invoices left to process. If there are none it skips the inappropriate prompts for further editing/processing and the subsequent prompt for selection of invoices. 2. HD 93607 A faulty message 'The invoice has not been placed in a Processed status!' is presented. PROBLEM: ======== Processing invoices currently does not evaluate the status of the invoice being processed and displays an inaccurate message at the end of processing. Resolution: =========== The processing application has been modified to correctly evaluate the status of the invoice before displaying the end of processing message. TECHNICAL: ========== The routine PSAPROC1 has added code that restores the processed condition logic state prior to testing for whether the 'not processed ' message needs to be printed. 3. HD 91604 An undefined error occurs when the selection list of invoices to send on to verification has a missed node in the display numbering sequence of the invoices. PROBLEM: ======== The user is able to put in a range from the beginning of the list to the last number in the list and the processing tries to work on all numbers in between. It hits the number of the missing node and it breaks. Resolution: =========== Protective code has been inserted to detect that a node in the array listing invoices is missing and it skips that number if it is not present. TECHNICAL: The routine PSAPROC1 has been modified with a 'I '$D(PSAOK(PSA)) Q' statement to skip any missing nodes in the listing of invoices ready for processing to verification. INSTALLATION INSTRUCTIONS ========================= This patch should be loaded with NO Drug Accountability users on the system. Installation time is less than one minute. 1. Choose the PackMan message containing this patch and invoke the INSTALL/CHECK MESSAGE PackMan option. 2. Start up the Kernel Installation and Distribution System Menu [XPD MAIN]: Edits and Distribution ... Utilities ... Installation ... Select Kernel Installation & Distribution System Option: Installation --- 1 Load a Distribution 2 Verify Checksums in Transport Global 3 Print Transport Global 4 Compare Transport Global to Current System 5 Backup a Transport Global 6 Install Package(s) Restart Install of Package(s) Unload a Distribution 3. From this menu, you may elect to use the following options (When prompted for the INSTALL NAME, enter PSA*3.0*50): a. Backup a Transport Global - This option will create a backup message of any routines exported with this patch. It will not backup any other changes such as DD's or templates. b. Compare Transport Global to Current System - This option will allow you to view all changes that will be made when patch (routines, DD's, templates, etc.). c. Verify Checksums in Transport Global - This option will allow you to ensure the integrity of the routines that are in the transport global. 4. Use the Install Package(s) option and select the package PSA*3.0*50. a. When prompted 'Want KIDS to INHIBIT LOGONs during the install? YES//', answer NO. b. When prompted 'Want to DISABLE Scheduled Options and Menu Options and Protocols? YES//', answer NO. INSTALLATION EXAMPLE: ===================== It consisted of the following Install(s): PSA*3.0*50 Checking Install for Package PSA*3.0*50 Install Questions for PSA*3.0*50 Want KIDS to INHIBIT LOGONs during the install? YES// NO Want to DISABLE Scheduled Options, Menu Options, and Protocols? YES// NO Install Started for PSA*3.0*50 : Jan 12, 2006@20:39:48 Build Distribution Date: Jan 12, 2006 Installing Routines: Updating Routine file... Updating KIDS files... PSA*3.0*50 Installed. Jan 12, 2006@20:39:48 PSA*3.0*50 Install Completed ROUTINE SUMMARY =============== The following is a list of the routines included in this patch. The second line of each of these routines now looks like: ;;3.0; DRUG ACCOUNTABILITY/INVENTORY INTERFACE;**[Patch List]**; 10/24/97 CHECK^XTSUMBLD results Routine name Before Patch After Patch Patch List ============ ============ =========== =========== PSAPROC1 21541873 21679292 **12,21,50** PSAPROC2 36375020 36119155 **34,50** PSAPROC6 29791842 30254006 **3,21,34,50** Routine Information: ==================== The checksums below are new checksums, and can be checked with CHECK1^XTSUMBLD. Routine Name: PSAPROC1 Before: B38965265 After: B40499741 **12,21,50** Routine Name: PSAPROC2 Before: B69077641 After: B70245487 **34,50** Routine Name: PSAPROC6 Before: B71811767 After: B76371787 **3,21,34,50** ============================================================================= User Information: Entered By : WESLEY,PAUL Date Entered : NOV 12, 2004 Completed By: HEFFERNAN,COREY Date Completed: JUL 12, 2006 Released By : VECE,VIRGINIA Date Released : JUL 12, 2006 ============================================================================= Packman Mail Message: ===================== $END TXT