I would like to check to see if the po number the user submitted is the same as the one in the case using if statement. If the po number is not the same, I want to throw an exception "PO Number does not match the one in the case"
The case is an xml document saved in objXmlCaseDoc.
Here is my vb code.
Public Class BcaPoRequests
Private Class MessageProcessor
Dim objXmlMessageDoc As XmlDocument
Dim objXmlMessageNode As XmlNode
Dim objNameTable As NameTable
Dim objXMLNameSpaceManager As XmlNamespaceManager
Dim objXMLSchemaException As Xml.Schema.XmlSchemaException
Dim strCaseNumber As String
Dim strPoNumber As String
Dim objXmlCaseDoc As XmlDocument
Dim objXMLOutputSoapEnvelopeDoc As XmlDocument
'Check if the PO on this case is the same as the one user submitted
'How do I use a if statement to see if the PO submitted is the same as the one in the case?