EAP: Vouchers loaded using Excel Voucher Upload Spreadsheet upload even if User ID is invalid (Doc ID 2109155.1)

Last updated on MARCH 18, 2016

Applies to:

PeopleSoft Enterprise FIN Payables - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

In the Excel Voucher Upload spreadsheet, the macro is customized to comment out the User ID and Password requirement. When the User clicks on Generate XML and Post on the Excel spreadsheet, able to enter an invalid User ID and invalid Password, and eventually receive the message “The process successfully finished.”
 
If the VCHR_HDR_STG, VCHR_LINE_STG, and VCHR_DIST_STG tables are checked, the data is populated into these tables from the spreadsheet, which is incorrect. The VCHR_HDR_STG, VCHR_LINE_STG, and VCHR_DIST_STG tables should not be populated if an invalid User ID and invalid Password is entered on the Excel spreadsheet.

STEPS
1. Use the delivered ExcelUploadforVoucher.xls
2. Comment out the lines as shown in the PostXLS Macro:

Sub PostXLS()

Dim sPassword As String
Dim bCancelled As Boolean

ShowLoginForm:
frmLogin.Show vbModal
sPassword = frmLogin.GetPassword
bCancelled = frmLogin.Cancelled
Unload frmLogin
│*│ If Not bCancelled Then
'If ValidateUserIDPassword(sPassword) = True Then                      ==> Comment out
If XLStoXML() = True Then
ResponseInfo = sendXML(Left(ThisWorkbook.FullName,
Len(ThisWorkbook.FullName) - Len(ThisWorkbook.Name)) & "//DEST.XML",
ResponseInfo, Sheets(1).Range("C2"))
If ResponseInfo <> 0 Then
MsgBox "An error occured during the upload. Please check
to make sure your settings are correct.", vbCritical, "Error"
End If
End If
'Else                                                                                           ==> Comment out
' MsgBox "Login was not successful. Please check your user ID or
password."                                                                                 ==> Comment out
' GoTo ShowLoginForm                                                                ==> Comment out
'End If                                                                                       ==> Comment out
End If
End Sub

3. Populate the Excel spreadsheet Data Sheet with Voucher information
4. Generate XML and Post
5. Enter an invalid User ID and invalid Password
6. Following message is eventually received -- The process successfully finished.
7. Check VCHR_HDR_STG, VCHR_LINE_STG, and VCHR_DIST_STG
8. Data is populated into these tables from the spreadsheet

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms