APTranSearchAdapter

<!-- #ygrps-yiv-1971684418 _filtered #ygrps-yiv-1971684418 {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} _filtered #ygrps-yiv-1971684418 {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} _filtered #ygrps-yiv-1971684418 {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #ygrps-yiv-1971684418 {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #ygrps-yiv-1971684418 {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} #ygrps-yiv-1971684418 #ygrps-yiv-1971684418 p.ygrps-yiv-1971684418MsoNormal, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418MsoNormal, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman", "serif";} #ygrps-yiv-1971684418 a:link, #ygrps-yiv-1971684418 span.ygrps-yiv-1971684418MsoHyperlink { color:blue; text-decoration:underline;} #ygrps-yiv-1971684418 a:visited, #ygrps-yiv-1971684418 span.ygrps-yiv-1971684418MsoHyperlinkFollowed { color:purple; text-decoration:underline;} #ygrps-yiv-1971684418 p {

margin-right:0in;

margin-left:0in;
font-size:12.0pt;
font-family:“Times New Roman”, “serif”;}
#ygrps-yiv-1971684418 code
{
font-family:“Courier New”;}
#ygrps-yiv-1971684418 pre
{

margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:“Courier New”;}
#ygrps-yiv-1971684418 tt
{
font-family:“Courier New”;}
#ygrps-yiv-1971684418 span.ygrps-yiv-1971684418cat
{}
#ygrps-yiv-1971684418 span.ygrps-yiv-1971684418ct
{}
#ygrps-yiv-1971684418 span.ygrps-yiv-1971684418HTMLPreformattedChar
{

font-family:“Consolas”, “serif”;}
#ygrps-yiv-1971684418 p.ygrps-yiv-1971684418attach, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418attach, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418attach
{

margin-right:0in;

margin-left:0in;
font-size:9.0pt;
font-family:“Arial”, “sans-serif”;}
#ygrps-yiv-1971684418 p.ygrps-yiv-1971684418bold, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418bold, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418bold
{

margin-right:0in;

margin-left:0in;
font-size:10.0pt;
font-family:“Arial”, “sans-serif”;
font-weight:bold;}
#ygrps-yiv-1971684418 p.ygrps-yiv-1971684418green, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418green, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418green
{

margin-right:0in;

margin-left:0in;
font-size:12.0pt;
font-family:“Times New Roman”, “serif”;
color:#628C2A;}
#ygrps-yiv-1971684418 p.ygrps-yiv-1971684418replbq, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418replbq, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418replbq
{
margin:3.0pt;
font-size:12.0pt;
font-family:“Times New Roman”, “serif”;}
#ygrps-yiv-1971684418 p.ygrps-yiv-1971684418ad, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418ad, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418ad
{

margin-right:0in;

margin-left:0in;
font-size:12.0pt;
font-family:“Times New Roman”, “serif”;}
#ygrps-yiv-1971684418 p.ygrps-yiv-1971684418underline, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418underline, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418underline
{

margin-right:0in;

margin-left:0in;
font-size:12.0pt;
font-family:“Times New Roman”, “serif”;}
#ygrps-yiv-1971684418 span.ygrps-yiv-1971684418yshortcuts
{}
#ygrps-yiv-1971684418 p.ygrps-yiv-1971684418ad1, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418ad1, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418ad1
{

margin-right:0in;

margin-left:0in;
font-size:12.0pt;
font-family:“Times New Roman”, “serif”;}
#ygrps-yiv-1971684418 p.ygrps-yiv-1971684418ad2, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418ad2, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418ad2
{

margin-right:0in;
margin-bottom:7.5pt;
margin-left:0in;
font-size:12.0pt;
font-family:“Times New Roman”, “serif”;}
#ygrps-yiv-1971684418 p.ygrps-yiv-1971684418underline1, #ygrps-yiv-1971684418 li.ygrps-yiv-1971684418underline1, #ygrps-yiv-1971684418 div.ygrps-yiv-1971684418underline1
{

margin-right:0in;

margin-left:0in;
font-size:12.0pt;
font-family:“Times New Roman”, “serif”;
text-decoration:underline;}
#ygrps-yiv-1971684418 span.ygrps-yiv-1971684418yshortcuts1
{
font-family:“Verdana”, “sans-serif”;
font-weight:bold;}
#ygrps-yiv-1971684418 span.ygrps-yiv-1971684418yshortcuts2
{
font-family:“Verdana”, “sans-serif”;
font-weight:normal;}
#ygrps-yiv-1971684418 span.ygrps-yiv-1971684418EmailStyle36
{
font-family:“Calibri”, “sans-serif”;
color:#1F497D;}
#ygrps-yiv-1971684418 .ygrps-yiv-1971684418MsoChpDefault
{
font-size:10.0pt;}
_filtered #ygrps-yiv-1971684418 {
margin:1.0in 1.0in 1.0in 1.0in;}
#ygrps-yiv-1971684418 div.ygrps-yiv-1971684418WordSection1
{}
#ygrps-yiv-1971684418
_filtered #ygrps-yiv-1971684418 {
}
_filtered #ygrps-yiv-1971684418 {

font-family:Symbol;}
_filtered #ygrps-yiv-1971684418 {

font-family:“Courier New”;
}
_filtered #ygrps-yiv-1971684418 {

font-family:Wingdings;}
_filtered #ygrps-yiv-1971684418 {

font-family:Wingdings;}
_filtered #ygrps-yiv-1971684418 {

font-family:Wingdings;}
_filtered #ygrps-yiv-1971684418 {

font-family:Wingdings;}
_filtered #ygrps-yiv-1971684418 {

font-family:Wingdings;}
_filtered #ygrps-yiv-1971684418 {

font-family:Wingdings;}
_filtered #ygrps-yiv-1971684418 {

font-family:Wingdings;}
#ygrps-yiv-1971684418 ol
{margin-bottom:0in;}
#ygrps-yiv-1971684418 ul
{margin-bottom:0in;}
–>

The code below use to work in a previous version but is no longer working in 702. Is it possible that the system cannot search by VendorNum but by VendorID only that is causing our error?

 

vendorNum = Convert.ToInt32(apTRanSearchAdapter.APTranSearchData.APTranSearch[i][“VendorNum”].ToString());

vendorName = (apTRanSearchAdapter.APTranSearchData.APTranSearch[i][“VendorName”].ToString());