Queries for the specified entity or entities. A QuickBooks “entity” is a customer, vendor, employee, or person on the QuickBooks “other names” list. Special cases to note:
Request
Response
XMLOps
VB.NET
C#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 | <?xml version="1.0" encoding="utf-8"?> <?qbxml version="17.0"?> <QBXML> <QBXMLMsgsRq onError="stopOnError"> <EntityQueryRq metaData="ENUMTYPE" iterator="ENUMTYPE" iteratorID="UUIDTYPE"> <!-- BEGIN OR --> <ListID >IDTYPE</ListID> <!-- optional, may repeat --> <!-- OR --> <FullName >STRTYPE</FullName> <!-- optional, may repeat --> <!-- OR --> <MaxReturned >INTTYPE</MaxReturned> <!-- optional --> <!-- ActiveStatus may have one of the following values: ActiveOnly [DEFAULT], InactiveOnly, All --> <ActiveStatus >ENUMTYPE</ActiveStatus> <!-- optional --> <FromModifiedDate >DATETIMETYPE</FromModifiedDate> <!-- optional --> <ToModifiedDate >DATETIMETYPE</ToModifiedDate> <!-- optional --> <!-- BEGIN OR --> <NameFilter> <!-- optional --> <!-- MatchCriterion may have one of the following values: StartsWith, Contains, EndsWith --> <MatchCriterion >ENUMTYPE</MatchCriterion> <!-- required --> <Name >STRTYPE</Name> <!-- required --> </NameFilter> <!-- OR --> <NameRangeFilter> <!-- optional --> <FromName >STRTYPE</FromName> <!-- optional --> <ToName >STRTYPE</ToName> <!-- optional --> </NameRangeFilter> <!-- END OR --> <!-- END OR --> <IncludeRetElement >STRTYPE</IncludeRetElement> <!-- optional, may repeat --> </EntityQueryRq> <EntityQueryRs statusCode="INTTYPE" statusSeverity="STRTYPE" statusMessage="STRTYPE" retCount="INTTYPE" iteratorRemainingCount="INTTYPE" iteratorID="UUIDTYPE"> <!-- BEGIN OR --> <CustomerRet> <!-- optional --> <ListID >IDTYPE</ListID> <!-- required --> <TimeCreated >DATETIMETYPE</TimeCreated> <!-- required --> <TimeModified >DATETIMETYPE</TimeModified> <!-- required --> <EditSequence >STRTYPE</EditSequence> <!-- required --> <Name >STRTYPE</Name> <!-- required --> <FullName >STRTYPE</FullName> <!-- required --> <IsActive >BOOLTYPE</IsActive> <!-- optional --> <ClassRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ClassRef> <ParentRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ParentRef> <Sublevel >INTTYPE</Sublevel> <!-- required --> <CompanyName >STRTYPE</CompanyName> <!-- optional --> <Salutation >STRTYPE</Salutation> <!-- optional --> <FirstName >STRTYPE</FirstName> <!-- optional --> <MiddleName >STRTYPE</MiddleName> <!-- optional --> <LastName >STRTYPE</LastName> <!-- optional --> <JobTitle >STRTYPE</JobTitle> <!-- optional --> <BillAddress> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> <City >STRTYPE</City> <!-- optional --> <State >STRTYPE</State> <!-- optional --> <PostalCode >STRTYPE</PostalCode> <!-- optional --> <Country >STRTYPE</Country> <!-- optional --> <Note >STRTYPE</Note> <!-- optional --> </BillAddress> <BillAddressBlock> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> </BillAddressBlock> <ShipAddress> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> <City >STRTYPE</City> <!-- optional --> <State >STRTYPE</State> <!-- optional --> <PostalCode >STRTYPE</PostalCode> <!-- optional --> <Country >STRTYPE</Country> <!-- optional --> <Note >STRTYPE</Note> <!-- optional --> </ShipAddress> <ShipAddressBlock> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> </ShipAddressBlock> <ShipToAddress> <!-- must occur 0 - 50 times --> <Name >STRTYPE</Name> <!-- required --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> <City >STRTYPE</City> <!-- optional --> <State >STRTYPE</State> <!-- optional --> <PostalCode >STRTYPE</PostalCode> <!-- optional --> <Country >STRTYPE</Country> <!-- optional --> <Note >STRTYPE</Note> <!-- optional --> <DefaultShipTo >BOOLTYPE</DefaultShipTo> <!-- optional --> </ShipToAddress> <Phone >STRTYPE</Phone> <!-- optional --> <AltPhone >STRTYPE</AltPhone> <!-- optional --> <Fax >STRTYPE</Fax> <!-- optional --> <Email >STRTYPE</Email> <!-- optional --> <Cc >STRTYPE</Cc> <!-- optional --> <Contact >STRTYPE</Contact> <!-- optional --> <AltContact >STRTYPE</AltContact> <!-- optional --> <AdditionalContactRef> <!-- must occur 0 - 8 times --> <ContactName >STRTYPE</ContactName> <!-- required --> <ContactValue >STRTYPE</ContactValue> <!-- required --> </AdditionalContactRef> <ContactsRet> <!-- optional, may repeat --> <ListID >IDTYPE</ListID> <!-- required --> <TimeCreated >DATETIMETYPE</TimeCreated> <!-- required --> <TimeModified >DATETIMETYPE</TimeModified> <!-- required --> <EditSequence >STRTYPE</EditSequence> <!-- required --> <Contact >STRTYPE</Contact> <!-- optional --> <Salutation >STRTYPE</Salutation> <!-- optional --> <FirstName >STRTYPE</FirstName> <!-- required --> <MiddleName >STRTYPE</MiddleName> <!-- optional --> <LastName >STRTYPE</LastName> <!-- optional --> <JobTitle >STRTYPE</JobTitle> <!-- optional --> <AdditionalContactRef> <!-- must occur 0 - 5 times --> <ContactName >STRTYPE</ContactName> <!-- required --> <ContactValue >STRTYPE</ContactValue> <!-- required --> </AdditionalContactRef> </ContactsRet> <CustomerTypeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CustomerTypeRef> <TermsRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </TermsRef> <SalesRepRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SalesRepRef> <Balance >AMTTYPE</Balance> <!-- optional --> <TotalBalance >AMTTYPE</TotalBalance> <!-- optional --> <SalesTaxCodeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SalesTaxCodeRef> <ItemSalesTaxRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ItemSalesTaxRef> <!-- SalesTaxCountry may have one of the following values: Australia, Canada [DEFAULT], UK, US --> <SalesTaxCountry >ENUMTYPE</SalesTaxCountry> <!-- optional --> <ResaleNumber >STRTYPE</ResaleNumber> <!-- optional --> <AccountNumber >STRTYPE</AccountNumber> <!-- optional --> <CreditLimit >AMTTYPE</CreditLimit> <!-- optional --> <PreferredPaymentMethodRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </PreferredPaymentMethodRef> <CreditCardInfo> <!-- optional --> <CreditCardNumber >STRTYPE</CreditCardNumber> <!-- optional --> <ExpirationMonth >INTTYPE</ExpirationMonth> <!-- optional --> <ExpirationYear >INTTYPE</ExpirationYear> <!-- optional --> <NameOnCard >STRTYPE</NameOnCard> <!-- optional --> <CreditCardAddress >STRTYPE</CreditCardAddress> <!-- optional --> <CreditCardPostalCode >STRTYPE</CreditCardPostalCode> <!-- optional --> </CreditCardInfo> <!-- JobStatus may have one of the following values: Awarded, Closed, InProgress, None [DEFAULT], NotAwarded, Pending --> <JobStatus >ENUMTYPE</JobStatus> <!-- optional --> <JobStartDate >DATETYPE</JobStartDate> <!-- optional --> <JobProjectedEndDate >DATETYPE</JobProjectedEndDate> <!-- optional --> <JobEndDate >DATETYPE</JobEndDate> <!-- optional --> <JobDesc >STRTYPE</JobDesc> <!-- optional --> <JobTypeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </JobTypeRef> <Notes >STRTYPE</Notes> <!-- optional --> <AdditionalNotesRet> <!-- optional, may repeat --> <NoteID >INTTYPE</NoteID> <!-- required --> <Date >DATETYPE</Date> <!-- required --> <Note >STRTYPE</Note> <!-- required --> </AdditionalNotesRet> <!-- PreferredDeliveryMethod may have one of the following values: None [Default], Email, Fax --> <PreferredDeliveryMethod >ENUMTYPE</PreferredDeliveryMethod> <!-- optional --> <PriceLevelRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </PriceLevelRef> <ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional --> <TaxRegistrationNumber >STRTYPE</TaxRegistrationNumber> <!-- optional --> <CurrencyRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CurrencyRef> <DataExtRet> <!-- optional, may repeat --> <OwnerID >GUIDTYPE</OwnerID> <!-- optional --> <DataExtName >STRTYPE</DataExtName> <!-- required --> <!-- DataExtType may have one of the following values: AMTTYPE, DATETIMETYPE, INTTYPE, PERCENTTYPE, PRICETYPE, QUANTYPE, STR1024TYPE, STR255TYPE --> <DataExtType >ENUMTYPE</DataExtType> <!-- required --> <DataExtValue >STRTYPE</DataExtValue> <!-- required --> </DataExtRet> </CustomerRet> <!-- OR --> <EmployeeRet> <!-- optional --> <ListID >IDTYPE</ListID> <!-- required --> <TimeCreated >DATETIMETYPE</TimeCreated> <!-- required --> <TimeModified >DATETIMETYPE</TimeModified> <!-- required --> <EditSequence >STRTYPE</EditSequence> <!-- required --> <Name >STRTYPE</Name> <!-- required --> <IsActive >BOOLTYPE</IsActive> <!-- optional --> <Salutation >STRTYPE</Salutation> <!-- optional --> <FirstName >STRTYPE</FirstName> <!-- optional --> <MiddleName >STRTYPE</MiddleName> <!-- optional --> <LastName >STRTYPE</LastName> <!-- optional --> <JobTitle >STRTYPE</JobTitle> <!-- optional --> <SupervisorRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SupervisorRef> <Department >STRTYPE</Department> <!-- optional --> <Description >STRTYPE</Description> <!-- optional --> <TargetBonus >AMTTYPE</TargetBonus> <!-- optional --> <EmployeeAddress> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <City >STRTYPE</City> <!-- optional --> <State >STRTYPE</State> <!-- optional --> <PostalCode >STRTYPE</PostalCode> <!-- optional --> </EmployeeAddress> <PrintAs >STRTYPE</PrintAs> <!-- optional --> <Phone >STRTYPE</Phone> <!-- optional --> <Mobile >STRTYPE</Mobile> <!-- optional --> <Pager >STRTYPE</Pager> <!-- optional --> <PagerPIN >STRTYPE</PagerPIN> <!-- optional --> <AltPhone >STRTYPE</AltPhone> <!-- optional --> <Fax >STRTYPE</Fax> <!-- optional --> <SSN >STRTYPE</SSN> <!-- optional --> <Email >STRTYPE</Email> <!-- optional --> <AdditionalContactRef> <!-- must occur 0 - 8 times --> <ContactName >STRTYPE</ContactName> <!-- required --> <ContactValue >STRTYPE</ContactValue> <!-- required --> </AdditionalContactRef> <EmergencyContacts> <!-- optional --> <PrimaryContact> <!-- optional --> <ContactName >STRTYPE</ContactName> <!-- required --> <ContactValue >STRTYPE</ContactValue> <!-- required --> <!-- Relation may have one of the following values: Spouse, Partner, Mother, Father, Sister, Brother, Son, Daughter, Friend, Other --> <Relation >ENUMTYPE</Relation> <!-- optional --> </PrimaryContact> <SecondaryContact> <!-- optional --> <ContactName >STRTYPE</ContactName> <!-- required --> <ContactValue >STRTYPE</ContactValue> <!-- required --> <!-- Relation may have one of the following values: Spouse, Partner, Mother, Father, Sister, Brother, Son, Daughter, Friend, Other --> <Relation >ENUMTYPE</Relation> <!-- optional --> </SecondaryContact> </EmergencyContacts> <!-- EmployeeType may have one of the following values: Officer, Owner, Regular [DEFAULT], Statutory --> <EmployeeType >ENUMTYPE</EmployeeType> <!-- optional --> <!-- PartOrFullTime may have one of the following values: PartTime, FullTime --> <PartOrFullTime >ENUMTYPE</PartOrFullTime> <!-- optional --> <!-- Exempt may have one of the following values: Exempt, NonExempt --> <Exempt >ENUMTYPE</Exempt> <!-- optional --> <!-- KeyEmployee may have one of the following values: Yes, No --> <KeyEmployee >ENUMTYPE</KeyEmployee> <!-- optional --> <!-- Gender may have one of the following values: Male, Female --> <Gender >ENUMTYPE</Gender> <!-- optional --> <HiredDate >DATETYPE</HiredDate> <!-- optional --> <OriginalHireDate >DATETYPE</OriginalHireDate> <!-- optional --> <AdjustedServiceDate >DATETYPE</AdjustedServiceDate> <!-- optional --> <ReleasedDate >DATETYPE</ReleasedDate> <!-- optional --> <BirthDate >DATETYPE</BirthDate> <!-- optional --> <!-- USCitizen may have one of the following values: Yes, No --> <USCitizen >ENUMTYPE</USCitizen> <!-- optional --> <!-- Ethnicity may have one of the following values: AmericianIndian, Asian, Black, Hawaiian, Hispanic, White, TwoOrMoreRaces --> <Ethnicity >ENUMTYPE</Ethnicity> <!-- optional --> <!-- Disabled may have one of the following values: Yes, No --> <Disabled >ENUMTYPE</Disabled> <!-- optional --> <DisabilityDesc >STRTYPE</DisabilityDesc> <!-- optional --> <!-- OnFile may have one of the following values: Yes, No --> <OnFile >ENUMTYPE</OnFile> <!-- optional --> <WorkAuthExpireDate >DATETYPE</WorkAuthExpireDate> <!-- optional --> <!-- USVeteran may have one of the following values: Yes, No --> <USVeteran >ENUMTYPE</USVeteran> <!-- optional --> <!-- MilitaryStatus may have one of the following values: Active, Reserve --> <MilitaryStatus >ENUMTYPE</MilitaryStatus> <!-- optional --> <AccountNumber >STRTYPE</AccountNumber> <!-- optional --> <Notes >STRTYPE</Notes> <!-- optional --> <AdditionalNotesRet> <!-- optional, may repeat --> <NoteID >INTTYPE</NoteID> <!-- required --> <Date >DATETYPE</Date> <!-- required --> <Note >STRTYPE</Note> <!-- required --> </AdditionalNotesRet> <BillingRateRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </BillingRateRef> <EmployeePayrollInfo> <!-- optional --> <!-- PayPeriod may have one of the following values: Daily, Weekly, Biweekly, Semimonthly, Monthly, Quarterly, Yearly --> <PayPeriod >ENUMTYPE</PayPeriod> <!-- optional --> <ClassRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ClassRef> <!-- BEGIN OR --> <ClearEarnings >BOOLTYPE</ClearEarnings> <!-- optional --> <!-- OR --> <Earnings> <!-- optional, may repeat --> <PayrollItemWageRef> <!-- required --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </PayrollItemWageRef> <!-- BEGIN OR --> <Rate >PRICETYPE</Rate> <!-- optional --> <!-- OR --> <RatePercent >PERCENTTYPE</RatePercent> <!-- optional --> <!-- END OR --> </Earnings> <!-- END OR --> <IsUsingTimeDataToCreatePaychecks >BOOLTYPE</IsUsingTimeDataToCreatePaychecks> <!-- optional --> <!-- UseTimeDataToCreatePaychecks may have one of the following values: NotSet, UseTimeData, DoNotUseTimeData --> <UseTimeDataToCreatePaychecks >ENUMTYPE</UseTimeDataToCreatePaychecks> <!-- optional --> <SickHours> <!-- optional --> <HoursAvailable >TIMEINTERVALTYPE</HoursAvailable> <!-- optional --> <!-- AccrualPeriod may have one of the following values: BeginningOfYear, EveryHourOnPaycheck, EveryPaycheck --> <AccrualPeriod >ENUMTYPE</AccrualPeriod> <!-- optional --> <HoursAccrued >TIMEINTERVALTYPE</HoursAccrued> <!-- optional --> <MaximumHours >TIMEINTERVALTYPE</MaximumHours> <!-- optional --> <IsResettingHoursEachNewYear >BOOLTYPE</IsResettingHoursEachNewYear> <!-- optional --> <HoursUsed >TIMEINTERVALTYPE</HoursUsed> <!-- optional --> <AccrualStartDate >DATETYPE</AccrualStartDate> <!-- optional --> </SickHours> <VacationHours> <!-- optional --> <HoursAvailable >TIMEINTERVALTYPE</HoursAvailable> <!-- optional --> <!-- AccrualPeriod may have one of the following values: BeginningOfYear, EveryHourOnPaycheck, EveryPaycheck --> <AccrualPeriod >ENUMTYPE</AccrualPeriod> <!-- optional --> <HoursAccrued >TIMEINTERVALTYPE</HoursAccrued> <!-- optional --> <MaximumHours >TIMEINTERVALTYPE</MaximumHours> <!-- optional --> <IsResettingHoursEachNewYear >BOOLTYPE</IsResettingHoursEachNewYear> <!-- optional --> <HoursUsed >TIMEINTERVALTYPE</HoursUsed> <!-- optional --> <AccrualStartDate >DATETYPE</AccrualStartDate> <!-- optional --> </VacationHours> </EmployeePayrollInfo> <ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional --> <DataExtRet> <!-- optional, may repeat --> <OwnerID >GUIDTYPE</OwnerID> <!-- optional --> <DataExtName >STRTYPE</DataExtName> <!-- required --> <!-- DataExtType may have one of the following values: AMTTYPE, DATETIMETYPE, INTTYPE, PERCENTTYPE, PRICETYPE, QUANTYPE, STR1024TYPE, STR255TYPE --> <DataExtType >ENUMTYPE</DataExtType> <!-- required --> <DataExtValue >STRTYPE</DataExtValue> <!-- required --> </DataExtRet> </EmployeeRet> <!-- OR --> <OtherNameRet> <!-- optional --> <ListID >IDTYPE</ListID> <!-- required --> <TimeCreated >DATETIMETYPE</TimeCreated> <!-- required --> <TimeModified >DATETIMETYPE</TimeModified> <!-- required --> <EditSequence >STRTYPE</EditSequence> <!-- required --> <Name >STRTYPE</Name> <!-- required --> <IsActive >BOOLTYPE</IsActive> <!-- optional --> <CompanyName >STRTYPE</CompanyName> <!-- optional --> <Salutation >STRTYPE</Salutation> <!-- optional --> <FirstName >STRTYPE</FirstName> <!-- optional --> <MiddleName >STRTYPE</MiddleName> <!-- optional --> <LastName >STRTYPE</LastName> <!-- optional --> <OtherNameAddress> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> <City >STRTYPE</City> <!-- optional --> <State >STRTYPE</State> <!-- optional --> <PostalCode >STRTYPE</PostalCode> <!-- optional --> <Country >STRTYPE</Country> <!-- optional --> <Note >STRTYPE</Note> <!-- optional --> </OtherNameAddress> <OtherNameAddressBlock> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> </OtherNameAddressBlock> <Phone >STRTYPE</Phone> <!-- optional --> <AltPhone >STRTYPE</AltPhone> <!-- optional --> <Fax >STRTYPE</Fax> <!-- optional --> <Email >STRTYPE</Email> <!-- optional --> <Contact >STRTYPE</Contact> <!-- optional --> <AltContact >STRTYPE</AltContact> <!-- optional --> <AccountNumber >STRTYPE</AccountNumber> <!-- optional --> <Notes >STRTYPE</Notes> <!-- optional --> <ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional --> <DataExtRet> <!-- optional, may repeat --> <OwnerID >GUIDTYPE</OwnerID> <!-- optional --> <DataExtName >STRTYPE</DataExtName> <!-- required --> <!-- DataExtType may have one of the following values: AMTTYPE, DATETIMETYPE, INTTYPE, PERCENTTYPE, PRICETYPE, QUANTYPE, STR1024TYPE, STR255TYPE --> <DataExtType >ENUMTYPE</DataExtType> <!-- required --> <DataExtValue >STRTYPE</DataExtValue> <!-- required --> </DataExtRet> </OtherNameRet> <!-- OR --> <VendorRet> <!-- optional --> <ListID >IDTYPE</ListID> <!-- required --> <TimeCreated >DATETIMETYPE</TimeCreated> <!-- required --> <TimeModified >DATETIMETYPE</TimeModified> <!-- required --> <EditSequence >STRTYPE</EditSequence> <!-- required --> <Name >STRTYPE</Name> <!-- required --> <IsActive >BOOLTYPE</IsActive> <!-- optional --> <ClassRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ClassRef> <IsTaxAgency >BOOLTYPE</IsTaxAgency> <!-- optional --> <CompanyName >STRTYPE</CompanyName> <!-- optional --> <Salutation >STRTYPE</Salutation> <!-- optional --> <FirstName >STRTYPE</FirstName> <!-- optional --> <MiddleName >STRTYPE</MiddleName> <!-- optional --> <LastName >STRTYPE</LastName> <!-- optional --> <JobTitle >STRTYPE</JobTitle> <!-- optional --> <VendorAddress> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> <City >STRTYPE</City> <!-- optional --> <State >STRTYPE</State> <!-- optional --> <PostalCode >STRTYPE</PostalCode> <!-- optional --> <Country >STRTYPE</Country> <!-- optional --> <Note >STRTYPE</Note> <!-- optional --> </VendorAddress> <VendorAddressBlock> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> </VendorAddressBlock> <ShipAddress> <!-- optional --> <Addr1 >STRTYPE</Addr1> <!-- optional --> <Addr2 >STRTYPE</Addr2> <!-- optional --> <Addr3 >STRTYPE</Addr3> <!-- optional --> <Addr4 >STRTYPE</Addr4> <!-- optional --> <Addr5 >STRTYPE</Addr5> <!-- optional --> <City >STRTYPE</City> <!-- optional --> <State >STRTYPE</State> <!-- optional --> <PostalCode >STRTYPE</PostalCode> <!-- optional --> <Country >STRTYPE</Country> <!-- optional --> <Note >STRTYPE</Note> <!-- optional --> </ShipAddress> <Phone >STRTYPE</Phone> <!-- optional --> <AltPhone >STRTYPE</AltPhone> <!-- optional --> <Fax >STRTYPE</Fax> <!-- optional --> <Email >STRTYPE</Email> <!-- optional --> <Cc >STRTYPE</Cc> <!-- optional --> <Contact >STRTYPE</Contact> <!-- optional --> <AltContact >STRTYPE</AltContact> <!-- optional --> <AdditionalContactRef> <!-- must occur 0 - 8 times --> <ContactName >STRTYPE</ContactName> <!-- required --> <ContactValue >STRTYPE</ContactValue> <!-- required --> </AdditionalContactRef> <ContactsRet> <!-- optional, may repeat --> <ListID >IDTYPE</ListID> <!-- required --> <TimeCreated >DATETIMETYPE</TimeCreated> <!-- required --> <TimeModified >DATETIMETYPE</TimeModified> <!-- required --> <EditSequence >STRTYPE</EditSequence> <!-- required --> <Contact >STRTYPE</Contact> <!-- optional --> <Salutation >STRTYPE</Salutation> <!-- optional --> <FirstName >STRTYPE</FirstName> <!-- required --> <MiddleName >STRTYPE</MiddleName> <!-- optional --> <LastName >STRTYPE</LastName> <!-- optional --> <JobTitle >STRTYPE</JobTitle> <!-- optional --> <AdditionalContactRef> <!-- must occur 0 - 5 times --> <ContactName >STRTYPE</ContactName> <!-- required --> <ContactValue >STRTYPE</ContactValue> <!-- required --> </AdditionalContactRef> </ContactsRet> <NameOnCheck >STRTYPE</NameOnCheck> <!-- optional --> <AccountNumber >STRTYPE</AccountNumber> <!-- optional --> <Notes >STRTYPE</Notes> <!-- optional --> <AdditionalNotesRet> <!-- optional, may repeat --> <NoteID >INTTYPE</NoteID> <!-- required --> <Date >DATETYPE</Date> <!-- required --> <Note >STRTYPE</Note> <!-- required --> </AdditionalNotesRet> <VendorTypeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </VendorTypeRef> <TermsRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </TermsRef> <CreditLimit >AMTTYPE</CreditLimit> <!-- optional --> <VendorTaxIdent >STRTYPE</VendorTaxIdent> <!-- optional --> <IsVendorEligibleFor1099 >BOOLTYPE</IsVendorEligibleFor1099> <!-- optional --> <Balance >AMTTYPE</Balance> <!-- optional --> <BillingRateRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </BillingRateRef> <ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional --> <SalesTaxCodeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SalesTaxCodeRef> <!-- SalesTaxCountry may have one of the following values: Australia, Canada [DEFAULT], UK, US --> <SalesTaxCountry >ENUMTYPE</SalesTaxCountry> <!-- optional --> <IsSalesTaxAgency >BOOLTYPE</IsSalesTaxAgency> <!-- optional --> <SalesTaxReturnRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SalesTaxReturnRef> <TaxRegistrationNumber >STRTYPE</TaxRegistrationNumber> <!-- optional --> <!-- ReportingPeriod may have one of the following values: Monthly, Quarterly [DEFAULT] --> <ReportingPeriod >ENUMTYPE</ReportingPeriod> <!-- optional --> <IsTaxTrackedOnPurchases >BOOLTYPE</IsTaxTrackedOnPurchases> <!-- optional --> <TaxOnPurchasesAccountRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </TaxOnPurchasesAccountRef> <IsTaxTrackedOnSales >BOOLTYPE</IsTaxTrackedOnSales> <!-- optional --> <TaxOnSalesAccountRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </TaxOnSalesAccountRef> <IsTaxOnTax >BOOLTYPE</IsTaxOnTax> <!-- optional --> <PrefillAccountRef> <!-- must occur 0 - 3 times --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </PrefillAccountRef> <CurrencyRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CurrencyRef> <DataExtRet> <!-- optional, may repeat --> <OwnerID >GUIDTYPE</OwnerID> <!-- optional --> <DataExtName >STRTYPE</DataExtName> <!-- required --> <!-- DataExtType may have one of the following values: AMTTYPE, DATETIMETYPE, INTTYPE, PERCENTTYPE, PRICETYPE, QUANTYPE, STR1024TYPE, STR255TYPE --> <DataExtType >ENUMTYPE</DataExtType> <!-- required --> <DataExtValue >STRTYPE</DataExtValue> <!-- required --> </DataExtRet> </VendorRet> <!-- END OR --> </EntityQueryRs> </QBXMLMsgsRq> </QBXML> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 | 'The following sample code is generated as an illustration of
'Creating requests and parsing responses ONLY
'This code is NOT intended to show best practices or ideal code
'Use at your most careful discretion
imports System
imports System.Net
imports System.Drawing
imports System.Collections
imports System.ComponentModel
imports System.Windows.Forms
imports System.Data
imports System.IO
imports Interop.QBFC16
Module com.intuit.idn.samples
Public Class Sample
Public Sub DoEntityQuery()
Dim sessionBegun as Boolean
sessionBegun = False
Dim connectionOpen as Boolean
connectionOpen = False
Dim sessionManager as QBSessionManager
sessionManager = nothing
Try
'Create the session Manager object
sessionManager = new QBSessionManager
'Create the message set request object to hold our request
Dim requestMsgSet as IMsgSetRequest
requestMsgSet = sessionManager.CreateMsgSetRequest("US",16,0)
requestMsgSet.Attributes.OnError = ENRqOnError.roeContinue
BuildEntityQueryRq(requestMsgSet)
'Connect to QuickBooks and begin a session
sessionManager.OpenConnection("","Sample Code from OSR")
connectionOpen = True
sessionManager.BeginSession("", ENOpenMode.omDontCare)
sessionBegun = True
'Send the request and get the response from QuickBooks
Dim responseMsgSet as IMsgSetResponse
responseMsgSet = sessionManager.DoRequests(requestMsgSet)
'End the session and close the connection to QuickBooks
sessionManager.EndSession()
sessionBegun = False
sessionManager.CloseConnection()
connectionOpen = False
WalkEntityQueryRs(responseMsgSet)
Catch e as Exception
MessageBox.Show(e.Message, "Error")
if (sessionBegun) then
sessionManager.EndSession()
End If
if (connectionOpen) then
sessionManager.CloseConnection()
End If
End Try
End Sub
Public Sub BuildEntityQueryRq(requestMsgSet as IMsgSetRequest)
Dim EntityQueryRq as IEntityQuery
EntityQueryRq= requestMsgSet.AppendEntityQueryRq()
Dim ORListQueryElementType9209 as String
ORListQueryElementType9209 = "ListIDList"
if (ORListQueryElementType9209 == "ListIDList") then
'Set field value for ListIDList
'May create more than one of these if needed
EntityQueryRq.ORListQuery.ListIDList.Add("200000-1011023419")
End If
if (ORListQueryElementType9209 == "FullNameList") then
'Set field value for FullNameList
'May create more than one of these if needed
EntityQueryRq.ORListQuery.FullNameList.Add("ab")
End If
if (ORListQueryElementType9209 == "ListFilter") then
'Set field value for MaxReturned
EntityQueryRq.ORListQuery.ListFilter.MaxReturned.SetValue(6)
'Set field value for ActiveStatus
EntityQueryRq.ORListQuery.ListFilter.ActiveStatus.SetValue(ENActiveStatus.asActiveOnly [DEFAULT])
'Set field value for FromModifiedDate
EntityQueryRq.ORListQuery.ListFilter.FromModifiedDate.SetValue(DateTime.Parse("12/15/2007 12:15:12"),false)
'Set field value for ToModifiedDate
EntityQueryRq.ORListQuery.ListFilter.ToModifiedDate.SetValue(DateTime.Parse("12/15/2007 12:15:12"),false)
Dim ORNameFilterElementType9210 as String
ORNameFilterElementType9210 = "NameFilter"
if (ORNameFilterElementType9210 == "NameFilter") then
'Set field value for MatchCriterion
EntityQueryRq.ORListQuery.ListFilter.ORNameFilter.NameFilter.MatchCriterion.SetValue(ENMatchCriterion.mcStartsWith)
'Set field value for Name
EntityQueryRq.ORListQuery.ListFilter.ORNameFilter.NameFilter.Name.SetValue("ab")
End If
if (ORNameFilterElementType9210 == "NameRangeFilter") then
'Set field value for FromName
EntityQueryRq.ORListQuery.ListFilter.ORNameFilter.NameRangeFilter.FromName.SetValue("ab")
'Set field value for ToName
EntityQueryRq.ORListQuery.ListFilter.ORNameFilter.NameRangeFilter.ToName.SetValue("ab")
End If
End If
'Set field value for IncludeRetElementList
'May create more than one of these if needed
EntityQueryRq.IncludeRetElementList.Add("ab")
End Sub
Public Sub WalkEntityQueryRs( responseMsgSet as IMsgSetResponse)
if (responseMsgSet is nothing) then
Exit Sub
End If
Dim responseList as IResponseList
responseList = responseMsgSet.ResponseList
if (responseList is nothing) then
Exit Sub
End If
'if we sent only one request, there is only one response, we'll walk the list for this sample
for j=0 to responseList.Count-1
Dim response as IResponse
response = responseList.GetAt(j)
'check the status code of the response, 0=ok, >0 is warning
if (response.StatusCode >= 0) then
'the request-specific response is in the details, make sure we have some
if (not response.Detail is nothing) then
'make sure the response is the type we're expecting
Dim responseType as ENResponseType
responseType = CType(response.Type.GetValue(),ENResponseType)
if (responseType == ENResponseType.rtEntityQueryRs) then
'upcast to more specific type here, this is safe because we checked with response.Type check above
Dim OR as IOREntityRetList
OR = CType(response.Detail,IOREntityRetList)
WalkOR(OR)
End If
End If
End If
Next j
End Sub
Public Sub WalkOR(OR as IOREntityRetList)
if (OR is nothing) then
Exit Sub
End If
'Go through all the elements of IOREntityRetList
if (not OR.CustomerRet. is nothing) then
'Get value of ListID
Dim ListID9211 as String
ListID9211 = OR.CustomerRet.ListID.GetValue()
'Get value of TimeCreated
Dim TimeCreated9212 as DateTime
TimeCreated9212 = OR.CustomerRet.TimeCreated.GetValue()
'Get value of TimeModified
Dim TimeModified9213 as DateTime
TimeModified9213 = OR.CustomerRet.TimeModified.GetValue()
'Get value of EditSequence
Dim EditSequence9214 as String
EditSequence9214 = OR.CustomerRet.EditSequence.GetValue()
'Get value of Name
Dim Name9215 as String
Name9215 = OR.CustomerRet.Name.GetValue()
'Get value of FullName
Dim FullName9216 as String
FullName9216 = OR.CustomerRet.FullName.GetValue()
'Get value of IsActive
if ( not OR.CustomerRet.IsActive is nothing) then
Dim IsActive9217 as Boolean
IsActive9217 = OR.CustomerRet.IsActive.GetValue()
End If
if (not OR.CustomerRet.ClassRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.ClassRef.ListID is nothing) then
Dim ListID9218 as String
ListID9218 = OR.CustomerRet.ClassRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.ClassRef.FullName is nothing) then
Dim FullName9219 as String
FullName9219 = OR.CustomerRet.ClassRef.FullName.GetValue()
End If
End If
if (not OR.CustomerRet.ParentRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.ParentRef.ListID is nothing) then
Dim ListID9220 as String
ListID9220 = OR.CustomerRet.ParentRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.ParentRef.FullName is nothing) then
Dim FullName9221 as String
FullName9221 = OR.CustomerRet.ParentRef.FullName.GetValue()
End If
End If
'Get value of Sublevel
Dim Sublevel9222 as Integer
Sublevel9222 = OR.CustomerRet.Sublevel.GetValue()
'Get value of CompanyName
if ( not OR.CustomerRet.CompanyName is nothing) then
Dim CompanyName9223 as String
CompanyName9223 = OR.CustomerRet.CompanyName.GetValue()
End If
'Get value of Salutation
if ( not OR.CustomerRet.Salutation is nothing) then
Dim Salutation9224 as String
Salutation9224 = OR.CustomerRet.Salutation.GetValue()
End If
'Get value of FirstName
if ( not OR.CustomerRet.FirstName is nothing) then
Dim FirstName9225 as String
FirstName9225 = OR.CustomerRet.FirstName.GetValue()
End If
'Get value of MiddleName
if ( not OR.CustomerRet.MiddleName is nothing) then
Dim MiddleName9226 as String
MiddleName9226 = OR.CustomerRet.MiddleName.GetValue()
End If
'Get value of LastName
if ( not OR.CustomerRet.LastName is nothing) then
Dim LastName9227 as String
LastName9227 = OR.CustomerRet.LastName.GetValue()
End If
'Get value of JobTitle
if ( not OR.CustomerRet.JobTitle is nothing) then
Dim JobTitle9228 as String
JobTitle9228 = OR.CustomerRet.JobTitle.GetValue()
End If
if (not OR.CustomerRet.BillAddress. is nothing) then
'Get value of Addr1
if ( not OR.CustomerRet.BillAddress.Addr1 is nothing) then
Dim Addr19229 as String
Addr19229 = OR.CustomerRet.BillAddress.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.CustomerRet.BillAddress.Addr2 is nothing) then
Dim Addr29230 as String
Addr29230 = OR.CustomerRet.BillAddress.Addr2.GetValue()
End If
'Get value of Addr3
if ( not OR.CustomerRet.BillAddress.Addr3 is nothing) then
Dim Addr39231 as String
Addr39231 = OR.CustomerRet.BillAddress.Addr3.GetValue()
End If
'Get value of Addr4
if ( not OR.CustomerRet.BillAddress.Addr4 is nothing) then
Dim Addr49232 as String
Addr49232 = OR.CustomerRet.BillAddress.Addr4.GetValue()
End If
'Get value of Addr5
if ( not OR.CustomerRet.BillAddress.Addr5 is nothing) then
Dim Addr59233 as String
Addr59233 = OR.CustomerRet.BillAddress.Addr5.GetValue()
End If
'Get value of City
if ( not OR.CustomerRet.BillAddress.City is nothing) then
Dim City9234 as String
City9234 = OR.CustomerRet.BillAddress.City.GetValue()
End If
'Get value of State
if ( not OR.CustomerRet.BillAddress.State is nothing) then
Dim State9235 as String
State9235 = OR.CustomerRet.BillAddress.State.GetValue()
End If
'Get value of PostalCode
if ( not OR.CustomerRet.BillAddress.PostalCode is nothing) then
Dim PostalCode9236 as String
PostalCode9236 = OR.CustomerRet.BillAddress.PostalCode.GetValue()
End If
'Get value of Country
if ( not OR.CustomerRet.BillAddress.Country is nothing) then
Dim Country9237 as String
Country9237 = OR.CustomerRet.BillAddress.Country.GetValue()
End If
'Get value of Note
if ( not OR.CustomerRet.BillAddress.Note is nothing) then
Dim Note9238 as String
Note9238 = OR.CustomerRet.BillAddress.Note.GetValue()
End If
End If
if (not OR.CustomerRet.BillAddressBlock. is nothing) then
'Get value of Addr1
if ( not OR.CustomerRet.BillAddressBlock.Addr1 is nothing) then
Dim Addr19239 as String
Addr19239 = OR.CustomerRet.BillAddressBlock.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.CustomerRet.BillAddressBlock.Addr2 is nothing) then
Dim Addr29240 as String
Addr29240 = OR.CustomerRet.BillAddressBlock.Addr2.GetValue()
End If
'Get value of Addr3
if ( not OR.CustomerRet.BillAddressBlock.Addr3 is nothing) then
Dim Addr39241 as String
Addr39241 = OR.CustomerRet.BillAddressBlock.Addr3.GetValue()
End If
'Get value of Addr4
if ( not OR.CustomerRet.BillAddressBlock.Addr4 is nothing) then
Dim Addr49242 as String
Addr49242 = OR.CustomerRet.BillAddressBlock.Addr4.GetValue()
End If
'Get value of Addr5
if ( not OR.CustomerRet.BillAddressBlock.Addr5 is nothing) then
Dim Addr59243 as String
Addr59243 = OR.CustomerRet.BillAddressBlock.Addr5.GetValue()
End If
End If
if (not OR.CustomerRet.ShipAddress. is nothing) then
'Get value of Addr1
if ( not OR.CustomerRet.ShipAddress.Addr1 is nothing) then
Dim Addr19244 as String
Addr19244 = OR.CustomerRet.ShipAddress.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.CustomerRet.ShipAddress.Addr2 is nothing) then
Dim Addr29245 as String
Addr29245 = OR.CustomerRet.ShipAddress.Addr2.GetValue()
End If
'Get value of Addr3
if ( not OR.CustomerRet.ShipAddress.Addr3 is nothing) then
Dim Addr39246 as String
Addr39246 = OR.CustomerRet.ShipAddress.Addr3.GetValue()
End If
'Get value of Addr4
if ( not OR.CustomerRet.ShipAddress.Addr4 is nothing) then
Dim Addr49247 as String
Addr49247 = OR.CustomerRet.ShipAddress.Addr4.GetValue()
End If
'Get value of Addr5
if ( not OR.CustomerRet.ShipAddress.Addr5 is nothing) then
Dim Addr59248 as String
Addr59248 = OR.CustomerRet.ShipAddress.Addr5.GetValue()
End If
'Get value of City
if ( not OR.CustomerRet.ShipAddress.City is nothing) then
Dim City9249 as String
City9249 = OR.CustomerRet.ShipAddress.City.GetValue()
End If
'Get value of State
if ( not OR.CustomerRet.ShipAddress.State is nothing) then
Dim State9250 as String
State9250 = OR.CustomerRet.ShipAddress.State.GetValue()
End If
'Get value of PostalCode
if ( not OR.CustomerRet.ShipAddress.PostalCode is nothing) then
Dim PostalCode9251 as String
PostalCode9251 = OR.CustomerRet.ShipAddress.PostalCode.GetValue()
End If
'Get value of Country
if ( not OR.CustomerRet.ShipAddress.Country is nothing) then
Dim Country9252 as String
Country9252 = OR.CustomerRet.ShipAddress.Country.GetValue()
End If
'Get value of Note
if ( not OR.CustomerRet.ShipAddress.Note is nothing) then
Dim Note9253 as String
Note9253 = OR.CustomerRet.ShipAddress.Note.GetValue()
End If
End If
if (not OR.CustomerRet.ShipAddressBlock. is nothing) then
'Get value of Addr1
if ( not OR.CustomerRet.ShipAddressBlock.Addr1 is nothing) then
Dim Addr19254 as String
Addr19254 = OR.CustomerRet.ShipAddressBlock.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.CustomerRet.ShipAddressBlock.Addr2 is nothing) then
Dim Addr29255 as String
Addr29255 = OR.CustomerRet.ShipAddressBlock.Addr2.GetValue()
End If
'Get value of Addr3
if ( not OR.CustomerRet.ShipAddressBlock.Addr3 is nothing) then
Dim Addr39256 as String
Addr39256 = OR.CustomerRet.ShipAddressBlock.Addr3.GetValue()
End If
'Get value of Addr4
if ( not OR.CustomerRet.ShipAddressBlock.Addr4 is nothing) then
Dim Addr49257 as String
Addr49257 = OR.CustomerRet.ShipAddressBlock.Addr4.GetValue()
End If
'Get value of Addr5
if ( not OR.CustomerRet.ShipAddressBlock.Addr5 is nothing) then
Dim Addr59258 as String
Addr59258 = OR.CustomerRet.ShipAddressBlock.Addr5.GetValue()
End If
End If
if (not OR.CustomerRet.ShipToAddressList is nothing)
Dim i9259 as Integer
for i9259 = 0 to OR.CustomerRet.ShipToAddressList.Count - 1
Dim ShipToAddress as IShipToAddress
ShipToAddress = OR.CustomerRet.ShipToAddressList.GetAt(i9259)
'Get value of Name
Dim Name9260 as String
Name9260 = ShipToAddressName.GetValue()
'Get value of Addr1
if ( not ShipToAddressAddr1 is nothing) then
Dim Addr19261 as String
Addr19261 = ShipToAddressAddr1.GetValue()
End If
'Get value of Addr2
if ( not ShipToAddressAddr2 is nothing) then
Dim Addr29262 as String
Addr29262 = ShipToAddressAddr2.GetValue()
End If
'Get value of Addr3
if ( not ShipToAddressAddr3 is nothing) then
Dim Addr39263 as String
Addr39263 = ShipToAddressAddr3.GetValue()
End If
'Get value of Addr4
if ( not ShipToAddressAddr4 is nothing) then
Dim Addr49264 as String
Addr49264 = ShipToAddressAddr4.GetValue()
End If
'Get value of Addr5
if ( not ShipToAddressAddr5 is nothing) then
Dim Addr59265 as String
Addr59265 = ShipToAddressAddr5.GetValue()
End If
'Get value of City
if ( not ShipToAddressCity is nothing) then
Dim City9266 as String
City9266 = ShipToAddressCity.GetValue()
End If
'Get value of State
if ( not ShipToAddressState is nothing) then
Dim State9267 as String
State9267 = ShipToAddressState.GetValue()
End If
'Get value of PostalCode
if ( not ShipToAddressPostalCode is nothing) then
Dim PostalCode9268 as String
PostalCode9268 = ShipToAddressPostalCode.GetValue()
End If
'Get value of Country
if ( not ShipToAddressCountry is nothing) then
Dim Country9269 as String
Country9269 = ShipToAddressCountry.GetValue()
End If
'Get value of Note
if ( not ShipToAddressNote is nothing) then
Dim Note9270 as String
Note9270 = ShipToAddressNote.GetValue()
End If
'Get value of DefaultShipTo
if ( not ShipToAddressDefaultShipTo is nothing) then
Dim DefaultShipTo9271 as Boolean
DefaultShipTo9271 = ShipToAddressDefaultShipTo.GetValue()
End If
Next i9259
End If
'Get value of Phone
if ( not OR.CustomerRet.Phone is nothing) then
Dim Phone9272 as String
Phone9272 = OR.CustomerRet.Phone.GetValue()
End If
'Get value of AltPhone
if ( not OR.CustomerRet.AltPhone is nothing) then
Dim AltPhone9273 as String
AltPhone9273 = OR.CustomerRet.AltPhone.GetValue()
End If
'Get value of Fax
if ( not OR.CustomerRet.Fax is nothing) then
Dim Fax9274 as String
Fax9274 = OR.CustomerRet.Fax.GetValue()
End If
'Get value of Email
if ( not OR.CustomerRet.Email is nothing) then
Dim Email9275 as String
Email9275 = OR.CustomerRet.Email.GetValue()
End If
'Get value of Cc
if ( not OR.CustomerRet.Cc is nothing) then
Dim Cc9276 as String
Cc9276 = OR.CustomerRet.Cc.GetValue()
End If
'Get value of Contact
if ( not OR.CustomerRet.Contact is nothing) then
Dim Contact9277 as String
Contact9277 = OR.CustomerRet.Contact.GetValue()
End If
'Get value of AltContact
if ( not OR.CustomerRet.AltContact is nothing) then
Dim AltContact9278 as String
AltContact9278 = OR.CustomerRet.AltContact.GetValue()
End If
if (not OR.CustomerRet.AdditionalContactRefList is nothing)
Dim i9279 as Integer
for i9279 = 0 to OR.CustomerRet.AdditionalContactRefList.Count - 1
Dim QBBaseRef as IQBBaseRef
QBBaseRef = OR.CustomerRet.AdditionalContactRefList.GetAt(i9279)
'Get value of ContactName
Dim ContactName9280 as String
ContactName9280 = QBBaseRefContactName.GetValue()
'Get value of ContactValue
Dim ContactValue9281 as String
ContactValue9281 = QBBaseRefContactValue.GetValue()
Next i9279
End If
if (not OR.CustomerRet.ContactsRetList is nothing)
Dim i9282 as Integer
for i9282 = 0 to OR.CustomerRet.ContactsRetList.Count - 1
Dim ContactsRet as IContactsRet
ContactsRet = OR.CustomerRet.ContactsRetList.GetAt(i9282)
'Get value of ListID
Dim ListID9283 as String
ListID9283 = ContactsRetListID.GetValue()
'Get value of TimeCreated
Dim TimeCreated9284 as DateTime
TimeCreated9284 = ContactsRetTimeCreated.GetValue()
'Get value of TimeModified
Dim TimeModified9285 as DateTime
TimeModified9285 = ContactsRetTimeModified.GetValue()
'Get value of EditSequence
Dim EditSequence9286 as String
EditSequence9286 = ContactsRetEditSequence.GetValue()
'Get value of Contact
if ( not ContactsRetContact is nothing) then
Dim Contact9287 as String
Contact9287 = ContactsRetContact.GetValue()
End If
'Get value of Salutation
if ( not ContactsRetSalutation is nothing) then
Dim Salutation9288 as String
Salutation9288 = ContactsRetSalutation.GetValue()
End If
'Get value of FirstName
Dim FirstName9289 as String
FirstName9289 = ContactsRetFirstName.GetValue()
'Get value of MiddleName
if ( not ContactsRetMiddleName is nothing) then
Dim MiddleName9290 as String
MiddleName9290 = ContactsRetMiddleName.GetValue()
End If
'Get value of LastName
if ( not ContactsRetLastName is nothing) then
Dim LastName9291 as String
LastName9291 = ContactsRetLastName.GetValue()
End If
'Get value of JobTitle
if ( not ContactsRetJobTitle is nothing) then
Dim JobTitle9292 as String
JobTitle9292 = ContactsRetJobTitle.GetValue()
End If
if (not ContactsRetAdditionalContactRefList is nothing)
Dim i9293 as Integer
for i9293 = 0 to ContactsRetAdditionalContactRefList.Count - 1
Dim QBBaseRef as IQBBaseRef
QBBaseRef = ContactsRetAdditionalContactRefList.GetAt(i9293)
'Get value of ContactName
Dim ContactName9294 as String
ContactName9294 = QBBaseRefContactName.GetValue()
'Get value of ContactValue
Dim ContactValue9295 as String
ContactValue9295 = QBBaseRefContactValue.GetValue()
Next i9293
End If
Next i9282
End If
if (not OR.CustomerRet.CustomerTypeRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.CustomerTypeRef.ListID is nothing) then
Dim ListID9296 as String
ListID9296 = OR.CustomerRet.CustomerTypeRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.CustomerTypeRef.FullName is nothing) then
Dim FullName9297 as String
FullName9297 = OR.CustomerRet.CustomerTypeRef.FullName.GetValue()
End If
End If
if (not OR.CustomerRet.TermsRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.TermsRef.ListID is nothing) then
Dim ListID9298 as String
ListID9298 = OR.CustomerRet.TermsRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.TermsRef.FullName is nothing) then
Dim FullName9299 as String
FullName9299 = OR.CustomerRet.TermsRef.FullName.GetValue()
End If
End If
if (not OR.CustomerRet.SalesRepRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.SalesRepRef.ListID is nothing) then
Dim ListID9300 as String
ListID9300 = OR.CustomerRet.SalesRepRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.SalesRepRef.FullName is nothing) then
Dim FullName9301 as String
FullName9301 = OR.CustomerRet.SalesRepRef.FullName.GetValue()
End If
End If
'Get value of Balance
if ( not OR.CustomerRet.Balance is nothing) then
Dim Balance9302 as Double
Balance9302 = OR.CustomerRet.Balance.GetValue()
End If
'Get value of TotalBalance
if ( not OR.CustomerRet.TotalBalance is nothing) then
Dim TotalBalance9303 as Double
TotalBalance9303 = OR.CustomerRet.TotalBalance.GetValue()
End If
if (not OR.CustomerRet.SalesTaxCodeRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.SalesTaxCodeRef.ListID is nothing) then
Dim ListID9304 as String
ListID9304 = OR.CustomerRet.SalesTaxCodeRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.SalesTaxCodeRef.FullName is nothing) then
Dim FullName9305 as String
FullName9305 = OR.CustomerRet.SalesTaxCodeRef.FullName.GetValue()
End If
End If
if (not OR.CustomerRet.ItemSalesTaxRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.ItemSalesTaxRef.ListID is nothing) then
Dim ListID9306 as String
ListID9306 = OR.CustomerRet.ItemSalesTaxRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.ItemSalesTaxRef.FullName is nothing) then
Dim FullName9307 as String
FullName9307 = OR.CustomerRet.ItemSalesTaxRef.FullName.GetValue()
End If
End If
'Get value of SalesTaxCountry
if ( not OR.CustomerRet.SalesTaxCountry is nothing) then
Dim SalesTaxCountry9308 as ENSalesTaxCountry
SalesTaxCountry9308 = OR.CustomerRet.SalesTaxCountry.GetValue()
End If
'Get value of ResaleNumber
if ( not OR.CustomerRet.ResaleNumber is nothing) then
Dim ResaleNumber9309 as String
ResaleNumber9309 = OR.CustomerRet.ResaleNumber.GetValue()
End If
'Get value of AccountNumber
if ( not OR.CustomerRet.AccountNumber is nothing) then
Dim AccountNumber9310 as String
AccountNumber9310 = OR.CustomerRet.AccountNumber.GetValue()
End If
'Get value of CreditLimit
if ( not OR.CustomerRet.CreditLimit is nothing) then
Dim CreditLimit9311 as Double
CreditLimit9311 = OR.CustomerRet.CreditLimit.GetValue()
End If
if (not OR.CustomerRet.PreferredPaymentMethodRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.PreferredPaymentMethodRef.ListID is nothing) then
Dim ListID9312 as String
ListID9312 = OR.CustomerRet.PreferredPaymentMethodRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.PreferredPaymentMethodRef.FullName is nothing) then
Dim FullName9313 as String
FullName9313 = OR.CustomerRet.PreferredPaymentMethodRef.FullName.GetValue()
End If
End If
if (not OR.CustomerRet.CreditCardInfo. is nothing) then
'Get value of CreditCardNumber
if ( not OR.CustomerRet.CreditCardInfo.CreditCardNumber is nothing) then
Dim CreditCardNumber9314 as String
CreditCardNumber9314 = OR.CustomerRet.CreditCardInfo.CreditCardNumber.GetValue()
End If
'Get value of ExpirationMonth
if ( not OR.CustomerRet.CreditCardInfo.ExpirationMonth is nothing) then
Dim ExpirationMonth9315 as Integer
ExpirationMonth9315 = OR.CustomerRet.CreditCardInfo.ExpirationMonth.GetValue()
End If
'Get value of ExpirationYear
if ( not OR.CustomerRet.CreditCardInfo.ExpirationYear is nothing) then
Dim ExpirationYear9316 as Integer
ExpirationYear9316 = OR.CustomerRet.CreditCardInfo.ExpirationYear.GetValue()
End If
'Get value of NameOnCard
if ( not OR.CustomerRet.CreditCardInfo.NameOnCard is nothing) then
Dim NameOnCard9317 as String
NameOnCard9317 = OR.CustomerRet.CreditCardInfo.NameOnCard.GetValue()
End If
'Get value of CreditCardAddress
if ( not OR.CustomerRet.CreditCardInfo.CreditCardAddress is nothing) then
Dim CreditCardAddress9318 as String
CreditCardAddress9318 = OR.CustomerRet.CreditCardInfo.CreditCardAddress.GetValue()
End If
'Get value of CreditCardPostalCode
if ( not OR.CustomerRet.CreditCardInfo.CreditCardPostalCode is nothing) then
Dim CreditCardPostalCode9319 as String
CreditCardPostalCode9319 = OR.CustomerRet.CreditCardInfo.CreditCardPostalCode.GetValue()
End If
End If
'Get value of JobStatus
if ( not OR.CustomerRet.JobStatus is nothing) then
Dim JobStatus9320 as ENJobStatus
JobStatus9320 = OR.CustomerRet.JobStatus.GetValue()
End If
'Get value of JobStartDate
if ( not OR.CustomerRet.JobStartDate is nothing) then
Dim JobStartDate9321 as DateTime
JobStartDate9321 = OR.CustomerRet.JobStartDate.GetValue()
End If
'Get value of JobProjectedEndDate
if ( not OR.CustomerRet.JobProjectedEndDate is nothing) then
Dim JobProjectedEndDate9322 as DateTime
JobProjectedEndDate9322 = OR.CustomerRet.JobProjectedEndDate.GetValue()
End If
'Get value of JobEndDate
if ( not OR.CustomerRet.JobEndDate is nothing) then
Dim JobEndDate9323 as DateTime
JobEndDate9323 = OR.CustomerRet.JobEndDate.GetValue()
End If
'Get value of JobDesc
if ( not OR.CustomerRet.JobDesc is nothing) then
Dim JobDesc9324 as String
JobDesc9324 = OR.CustomerRet.JobDesc.GetValue()
End If
if (not OR.CustomerRet.JobTypeRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.JobTypeRef.ListID is nothing) then
Dim ListID9325 as String
ListID9325 = OR.CustomerRet.JobTypeRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.JobTypeRef.FullName is nothing) then
Dim FullName9326 as String
FullName9326 = OR.CustomerRet.JobTypeRef.FullName.GetValue()
End If
End If
'Get value of Notes
if ( not OR.CustomerRet.Notes is nothing) then
Dim Notes9327 as String
Notes9327 = OR.CustomerRet.Notes.GetValue()
End If
if (not OR.CustomerRet.AdditionalNotesRetList is nothing)
Dim i9328 as Integer
for i9328 = 0 to OR.CustomerRet.AdditionalNotesRetList.Count - 1
Dim AdditionalNotesRet as IAdditionalNotesRet
AdditionalNotesRet = OR.CustomerRet.AdditionalNotesRetList.GetAt(i9328)
'Get value of NoteID
Dim NoteID9329 as Integer
NoteID9329 = AdditionalNotesRetNoteID.GetValue()
'Get value of Date
Dim Date9330 as DateTime
Date9330 = AdditionalNotesRetDate.GetValue()
'Get value of Note
Dim Note9331 as String
Note9331 = AdditionalNotesRetNote.GetValue()
Next i9328
End If
'Get value of PreferredDeliveryMethod
if ( not OR.CustomerRet.PreferredDeliveryMethod is nothing) then
Dim PreferredDeliveryMethod9332 as ENPreferredDeliveryMethod
PreferredDeliveryMethod9332 = OR.CustomerRet.PreferredDeliveryMethod.GetValue()
End If
if (not OR.CustomerRet.PriceLevelRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.PriceLevelRef.ListID is nothing) then
Dim ListID9333 as String
ListID9333 = OR.CustomerRet.PriceLevelRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.PriceLevelRef.FullName is nothing) then
Dim FullName9334 as String
FullName9334 = OR.CustomerRet.PriceLevelRef.FullName.GetValue()
End If
End If
'Get value of ExternalGUID
if ( not OR.CustomerRet.ExternalGUID is nothing) then
Dim ExternalGUID9335 as String
ExternalGUID9335 = OR.CustomerRet.ExternalGUID.GetValue()
End If
'Get value of TaxRegistrationNumber
if ( not OR.CustomerRet.TaxRegistrationNumber is nothing) then
Dim TaxRegistrationNumber9336 as String
TaxRegistrationNumber9336 = OR.CustomerRet.TaxRegistrationNumber.GetValue()
End If
if (not OR.CustomerRet.CurrencyRef. is nothing) then
'Get value of ListID
if ( not OR.CustomerRet.CurrencyRef.ListID is nothing) then
Dim ListID9337 as String
ListID9337 = OR.CustomerRet.CurrencyRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.CustomerRet.CurrencyRef.FullName is nothing) then
Dim FullName9338 as String
FullName9338 = OR.CustomerRet.CurrencyRef.FullName.GetValue()
End If
End If
if (not OR.CustomerRet.DataExtRetList is nothing)
Dim i9339 as Integer
for i9339 = 0 to OR.CustomerRet.DataExtRetList.Count - 1
Dim DataExtRet as IDataExtRet
DataExtRet = OR.CustomerRet.DataExtRetList.GetAt(i9339)
'Get value of OwnerID
if ( not DataExtRetOwnerID is nothing) then
Dim OwnerID9340 as String
OwnerID9340 = DataExtRetOwnerID.GetValue()
End If
'Get value of DataExtName
Dim DataExtName9341 as String
DataExtName9341 = DataExtRetDataExtName.GetValue()
'Get value of DataExtType
Dim DataExtType9342 as ENDataExtType
DataExtType9342 = DataExtRetDataExtType.GetValue()
'Get value of DataExtValue
Dim DataExtValue9343 as String
DataExtValue9343 = DataExtRetDataExtValue.GetValue()
Next i9339
End If
End If
if (not OR.EmployeeRet. is nothing) then
'Get value of ListID
Dim ListID9344 as String
ListID9344 = OR.EmployeeRet.ListID.GetValue()
'Get value of TimeCreated
Dim TimeCreated9345 as DateTime
TimeCreated9345 = OR.EmployeeRet.TimeCreated.GetValue()
'Get value of TimeModified
Dim TimeModified9346 as DateTime
TimeModified9346 = OR.EmployeeRet.TimeModified.GetValue()
'Get value of EditSequence
Dim EditSequence9347 as String
EditSequence9347 = OR.EmployeeRet.EditSequence.GetValue()
'Get value of Name
Dim Name9348 as String
Name9348 = OR.EmployeeRet.Name.GetValue()
'Get value of IsActive
if ( not OR.EmployeeRet.IsActive is nothing) then
Dim IsActive9349 as Boolean
IsActive9349 = OR.EmployeeRet.IsActive.GetValue()
End If
'Get value of Salutation
if ( not OR.EmployeeRet.Salutation is nothing) then
Dim Salutation9350 as String
Salutation9350 = OR.EmployeeRet.Salutation.GetValue()
End If
'Get value of FirstName
if ( not OR.EmployeeRet.FirstName is nothing) then
Dim FirstName9351 as String
FirstName9351 = OR.EmployeeRet.FirstName.GetValue()
End If
'Get value of MiddleName
if ( not OR.EmployeeRet.MiddleName is nothing) then
Dim MiddleName9352 as String
MiddleName9352 = OR.EmployeeRet.MiddleName.GetValue()
End If
'Get value of LastName
if ( not OR.EmployeeRet.LastName is nothing) then
Dim LastName9353 as String
LastName9353 = OR.EmployeeRet.LastName.GetValue()
End If
'Get value of JobTitle
if ( not OR.EmployeeRet.JobTitle is nothing) then
Dim JobTitle9354 as String
JobTitle9354 = OR.EmployeeRet.JobTitle.GetValue()
End If
if (not OR.EmployeeRet.SupervisorRef. is nothing) then
'Get value of ListID
if ( not OR.EmployeeRet.SupervisorRef.ListID is nothing) then
Dim ListID9355 as String
ListID9355 = OR.EmployeeRet.SupervisorRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.EmployeeRet.SupervisorRef.FullName is nothing) then
Dim FullName9356 as String
FullName9356 = OR.EmployeeRet.SupervisorRef.FullName.GetValue()
End If
End If
'Get value of Department
if ( not OR.EmployeeRet.Department is nothing) then
Dim Department9357 as String
Department9357 = OR.EmployeeRet.Department.GetValue()
End If
'Get value of Description
if ( not OR.EmployeeRet.Description is nothing) then
Dim Description9358 as String
Description9358 = OR.EmployeeRet.Description.GetValue()
End If
'Get value of TargetBonus
if ( not OR.EmployeeRet.TargetBonus is nothing) then
Dim TargetBonus9359 as Double
TargetBonus9359 = OR.EmployeeRet.TargetBonus.GetValue()
End If
if (not OR.EmployeeRet.EmployeeAddress. is nothing) then
'Get value of Addr1
if ( not OR.EmployeeRet.EmployeeAddress.Addr1 is nothing) then
Dim Addr19360 as String
Addr19360 = OR.EmployeeRet.EmployeeAddress.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.EmployeeRet.EmployeeAddress.Addr2 is nothing) then
Dim Addr29361 as String
Addr29361 = OR.EmployeeRet.EmployeeAddress.Addr2.GetValue()
End If
'Get value of City
if ( not OR.EmployeeRet.EmployeeAddress.City is nothing) then
Dim City9362 as String
City9362 = OR.EmployeeRet.EmployeeAddress.City.GetValue()
End If
'Get value of State
if ( not OR.EmployeeRet.EmployeeAddress.State is nothing) then
Dim State9363 as String
State9363 = OR.EmployeeRet.EmployeeAddress.State.GetValue()
End If
'Get value of PostalCode
if ( not OR.EmployeeRet.EmployeeAddress.PostalCode is nothing) then
Dim PostalCode9364 as String
PostalCode9364 = OR.EmployeeRet.EmployeeAddress.PostalCode.GetValue()
End If
End If
'Get value of PrintAs
if ( not OR.EmployeeRet.PrintAs is nothing) then
Dim PrintAs9365 as String
PrintAs9365 = OR.EmployeeRet.PrintAs.GetValue()
End If
'Get value of Phone
if ( not OR.EmployeeRet.Phone is nothing) then
Dim Phone9366 as String
Phone9366 = OR.EmployeeRet.Phone.GetValue()
End If
'Get value of Mobile
if ( not OR.EmployeeRet.Mobile is nothing) then
Dim Mobile9367 as String
Mobile9367 = OR.EmployeeRet.Mobile.GetValue()
End If
'Get value of Pager
if ( not OR.EmployeeRet.Pager is nothing) then
Dim Pager9368 as String
Pager9368 = OR.EmployeeRet.Pager.GetValue()
End If
'Get value of PagerPIN
if ( not OR.EmployeeRet.PagerPIN is nothing) then
Dim PagerPIN9369 as String
PagerPIN9369 = OR.EmployeeRet.PagerPIN.GetValue()
End If
'Get value of AltPhone
if ( not OR.EmployeeRet.AltPhone is nothing) then
Dim AltPhone9370 as String
AltPhone9370 = OR.EmployeeRet.AltPhone.GetValue()
End If
'Get value of Fax
if ( not OR.EmployeeRet.Fax is nothing) then
Dim Fax9371 as String
Fax9371 = OR.EmployeeRet.Fax.GetValue()
End If
'Get value of SSN
if ( not OR.EmployeeRet.SSN is nothing) then
Dim SSN9372 as String
SSN9372 = OR.EmployeeRet.SSN.GetValue()
End If
'Get value of Email
if ( not OR.EmployeeRet.Email is nothing) then
Dim Email9373 as String
Email9373 = OR.EmployeeRet.Email.GetValue()
End If
if (not OR.EmployeeRet.AdditionalContactRefList is nothing)
Dim i9374 as Integer
for i9374 = 0 to OR.EmployeeRet.AdditionalContactRefList.Count - 1
Dim QBBaseRef as IQBBaseRef
QBBaseRef = OR.EmployeeRet.AdditionalContactRefList.GetAt(i9374)
'Get value of ContactName
Dim ContactName9375 as String
ContactName9375 = QBBaseRefContactName.GetValue()
'Get value of ContactValue
Dim ContactValue9376 as String
ContactValue9376 = QBBaseRefContactValue.GetValue()
Next i9374
End If
if (not OR.EmployeeRet.EmergencyContacts. is nothing) then
if (not OR.EmployeeRet.EmergencyContacts.PrimaryContact. is nothing) then
'Get value of ContactName
Dim ContactName9377 as String
ContactName9377 = OR.EmployeeRet.EmergencyContacts.PrimaryContact.ContactName.GetValue()
'Get value of ContactValue
Dim ContactValue9378 as String
ContactValue9378 = OR.EmployeeRet.EmergencyContacts.PrimaryContact.ContactValue.GetValue()
'Get value of Relation
if ( not OR.EmployeeRet.EmergencyContacts.PrimaryContact.Relation is nothing) then
Dim Relation9379 as ENRelation
Relation9379 = OR.EmployeeRet.EmergencyContacts.PrimaryContact.Relation.GetValue()
End If
End If
if (not OR.EmployeeRet.EmergencyContacts.SecondaryContact. is nothing) then
'Get value of ContactName
Dim ContactName9380 as String
ContactName9380 = OR.EmployeeRet.EmergencyContacts.SecondaryContact.ContactName.GetValue()
'Get value of ContactValue
Dim ContactValue9381 as String
ContactValue9381 = OR.EmployeeRet.EmergencyContacts.SecondaryContact.ContactValue.GetValue()
'Get value of Relation
if ( not OR.EmployeeRet.EmergencyContacts.SecondaryContact.Relation is nothing) then
Dim Relation9382 as ENRelation
Relation9382 = OR.EmployeeRet.EmergencyContacts.SecondaryContact.Relation.GetValue()
End If
End If
End If
'Get value of EmployeeType
if ( not OR.EmployeeRet.EmployeeType is nothing) then
Dim EmployeeType9383 as ENEmployeeType
EmployeeType9383 = OR.EmployeeRet.EmployeeType.GetValue()
End If
'Get value of PartOrFullTime
if ( not OR.EmployeeRet.PartOrFullTime is nothing) then
Dim PartOrFullTime9384 as ENPartOrFullTime
PartOrFullTime9384 = OR.EmployeeRet.PartOrFullTime.GetValue()
End If
'Get value of Exempt
if ( not OR.EmployeeRet.Exempt is nothing) then
Dim Exempt9385 as ENExempt
Exempt9385 = OR.EmployeeRet.Exempt.GetValue()
End If
'Get value of KeyEmployee
if ( not OR.EmployeeRet.KeyEmployee is nothing) then
Dim KeyEmployee9386 as ENKeyEmployee
KeyEmployee9386 = OR.EmployeeRet.KeyEmployee.GetValue()
End If
'Get value of Gender
if ( not OR.EmployeeRet.Gender is nothing) then
Dim Gender9387 as ENGender
Gender9387 = OR.EmployeeRet.Gender.GetValue()
End If
'Get value of HiredDate
if ( not OR.EmployeeRet.HiredDate is nothing) then
Dim HiredDate9388 as DateTime
HiredDate9388 = OR.EmployeeRet.HiredDate.GetValue()
End If
'Get value of OriginalHireDate
if ( not OR.EmployeeRet.OriginalHireDate is nothing) then
Dim OriginalHireDate9389 as DateTime
OriginalHireDate9389 = OR.EmployeeRet.OriginalHireDate.GetValue()
End If
'Get value of AdjustedServiceDate
if ( not OR.EmployeeRet.AdjustedServiceDate is nothing) then
Dim AdjustedServiceDate9390 as DateTime
AdjustedServiceDate9390 = OR.EmployeeRet.AdjustedServiceDate.GetValue()
End If
'Get value of ReleasedDate
if ( not OR.EmployeeRet.ReleasedDate is nothing) then
Dim ReleasedDate9391 as DateTime
ReleasedDate9391 = OR.EmployeeRet.ReleasedDate.GetValue()
End If
'Get value of BirthDate
if ( not OR.EmployeeRet.BirthDate is nothing) then
Dim BirthDate9392 as DateTime
BirthDate9392 = OR.EmployeeRet.BirthDate.GetValue()
End If
'Get value of USCitizen
if ( not OR.EmployeeRet.USCitizen is nothing) then
Dim USCitizen9393 as ENUSCitizen
USCitizen9393 = OR.EmployeeRet.USCitizen.GetValue()
End If
'Get value of Ethnicity
if ( not OR.EmployeeRet.Ethnicity is nothing) then
Dim Ethnicity9394 as ENEthnicity
Ethnicity9394 = OR.EmployeeRet.Ethnicity.GetValue()
End If
'Get value of Disabled
if ( not OR.EmployeeRet.Disabled is nothing) then
Dim Disabled9395 as ENDisabled
Disabled9395 = OR.EmployeeRet.Disabled.GetValue()
End If
'Get value of DisabilityDesc
if ( not OR.EmployeeRet.DisabilityDesc is nothing) then
Dim DisabilityDesc9396 as String
DisabilityDesc9396 = OR.EmployeeRet.DisabilityDesc.GetValue()
End If
'Get value of OnFile
if ( not OR.EmployeeRet.OnFile is nothing) then
Dim OnFile9397 as ENOnFile
OnFile9397 = OR.EmployeeRet.OnFile.GetValue()
End If
'Get value of WorkAuthExpireDate
if ( not OR.EmployeeRet.WorkAuthExpireDate is nothing) then
Dim WorkAuthExpireDate9398 as DateTime
WorkAuthExpireDate9398 = OR.EmployeeRet.WorkAuthExpireDate.GetValue()
End If
'Get value of USVeteran
if ( not OR.EmployeeRet.USVeteran is nothing) then
Dim USVeteran9399 as ENUSVeteran
USVeteran9399 = OR.EmployeeRet.USVeteran.GetValue()
End If
'Get value of MilitaryStatus
if ( not OR.EmployeeRet.MilitaryStatus is nothing) then
Dim MilitaryStatus9400 as ENMilitaryStatus
MilitaryStatus9400 = OR.EmployeeRet.MilitaryStatus.GetValue()
End If
'Get value of AccountNumber
if ( not OR.EmployeeRet.AccountNumber is nothing) then
Dim AccountNumber9401 as String
AccountNumber9401 = OR.EmployeeRet.AccountNumber.GetValue()
End If
'Get value of Notes
if ( not OR.EmployeeRet.Notes is nothing) then
Dim Notes9402 as String
Notes9402 = OR.EmployeeRet.Notes.GetValue()
End If
if (not OR.EmployeeRet.AdditionalNotesRetList is nothing)
Dim i9403 as Integer
for i9403 = 0 to OR.EmployeeRet.AdditionalNotesRetList.Count - 1
Dim AdditionalNotesRet as IAdditionalNotesRet
AdditionalNotesRet = OR.EmployeeRet.AdditionalNotesRetList.GetAt(i9403)
'Get value of NoteID
Dim NoteID9404 as Integer
NoteID9404 = AdditionalNotesRetNoteID.GetValue()
'Get value of Date
Dim Date9405 as DateTime
Date9405 = AdditionalNotesRetDate.GetValue()
'Get value of Note
Dim Note9406 as String
Note9406 = AdditionalNotesRetNote.GetValue()
Next i9403
End If
if (not OR.EmployeeRet.BillingRateRef. is nothing) then
'Get value of ListID
if ( not OR.EmployeeRet.BillingRateRef.ListID is nothing) then
Dim ListID9407 as String
ListID9407 = OR.EmployeeRet.BillingRateRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.EmployeeRet.BillingRateRef.FullName is nothing) then
Dim FullName9408 as String
FullName9408 = OR.EmployeeRet.BillingRateRef.FullName.GetValue()
End If
End If
if (not OR.EmployeeRet.EmployeePayrollInfo. is nothing) then
'Get value of PayPeriod
if ( not OR.EmployeeRet.EmployeePayrollInfo.PayPeriod is nothing) then
Dim PayPeriod9409 as ENPayPeriod
PayPeriod9409 = OR.EmployeeRet.EmployeePayrollInfo.PayPeriod.GetValue()
End If
if (not OR.EmployeeRet.EmployeePayrollInfo.ClassRef. is nothing) then
'Get value of ListID
if ( not OR.EmployeeRet.EmployeePayrollInfo.ClassRef.ListID is nothing) then
Dim ListID9410 as String
ListID9410 = OR.EmployeeRet.EmployeePayrollInfo.ClassRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.EmployeeRet.EmployeePayrollInfo.ClassRef.FullName is nothing) then
Dim FullName9411 as String
FullName9411 = OR.EmployeeRet.EmployeePayrollInfo.ClassRef.FullName.GetValue()
End If
End If
if (not OR.EmployeeRet.EmployeePayrollInfo.OREarnings is nothing) then
if (not OR.EmployeeRet.EmployeePayrollInfo.OREarnings.ClearEarnings is nothing) then
'Get value of ClearEarnings
if ( not OR.EmployeeRet.EmployeePayrollInfo.OREarnings.ClearEarnings is nothing) then
Dim ClearEarnings9413 as Boolean
ClearEarnings9413 = OR.EmployeeRet.EmployeePayrollInfo.OREarnings.ClearEarnings.GetValue()
End If
End If
if (not OR.EmployeeRet.EmployeePayrollInfo.OREarnings.EarningsList is nothing) then
if (not OR.EmployeeRet.EmployeePayrollInfo.OREarnings.EarningsList is nothing)
Dim i9414 as Integer
for i9414 = 0 to OR.EmployeeRet.EmployeePayrollInfo.OREarnings.EarningsList.Count - 1
Dim Earnings as IEarnings
Earnings = OR.EmployeeRet.EmployeePayrollInfo.OREarnings.EarningsList.GetAt(i9414)
'Get value of ListID
if ( not EarningsPayrollItemWageRef.ListID is nothing) then
Dim ListID9415 as String
ListID9415 = EarningsPayrollItemWageRef.ListID.GetValue()
End If
'Get value of FullName
if ( not EarningsPayrollItemWageRef.FullName is nothing) then
Dim FullName9416 as String
FullName9416 = EarningsPayrollItemWageRef.FullName.GetValue()
End If
if (not EarningsORRate is nothing) then
if (not EarningsORRate.Rate is nothing) then
'Get value of Rate
if ( not EarningsORRate.Rate is nothing) then
Dim Rate9418 as Double
Rate9418 = EarningsORRate.Rate.GetValue()
End If
End If
if (not EarningsORRate.RatePercent is nothing) then
'Get value of RatePercent
if ( not EarningsORRate.RatePercent is nothing) then
Dim RatePercent9419 as Double
RatePercent9419 = EarningsORRate.RatePercent.GetValue()
End If
End If
End If
Next i9414
End If
End If
End If
'Get value of IsUsingTimeDataToCreatePaychecks
if ( not OR.EmployeeRet.EmployeePayrollInfo.IsUsingTimeDataToCreatePaychecks is nothing) then
Dim IsUsingTimeDataToCreatePaychecks9420 as Boolean
IsUsingTimeDataToCreatePaychecks9420 = OR.EmployeeRet.EmployeePayrollInfo.IsUsingTimeDataToCreatePaychecks.GetValue()
End If
'Get value of UseTimeDataToCreatePaychecks
if ( not OR.EmployeeRet.EmployeePayrollInfo.UseTimeDataToCreatePaychecks is nothing) then
Dim UseTimeDataToCreatePaychecks9421 as ENUseTimeDataToCreatePaychecks
UseTimeDataToCreatePaychecks9421 = OR.EmployeeRet.EmployeePayrollInfo.UseTimeDataToCreatePaychecks.GetValue()
End If
if (not OR.EmployeeRet.EmployeePayrollInfo.SickHours. is nothing) then
'Get value of HoursAvailable
if ( not OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursAvailable is nothing) then
Dim HoursAvailable9422 as IQBTimeIntervalType
HoursAvailable9422 = OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursAvailable.GetValue()
End If
'Get value of AccrualPeriod
if ( not OR.EmployeeRet.EmployeePayrollInfo.SickHours.AccrualPeriod is nothing) then
Dim AccrualPeriod9423 as ENAccrualPeriod
AccrualPeriod9423 = OR.EmployeeRet.EmployeePayrollInfo.SickHours.AccrualPeriod.GetValue()
End If
'Get value of HoursAccrued
if ( not OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursAccrued is nothing) then
Dim HoursAccrued9424 as IQBTimeIntervalType
HoursAccrued9424 = OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursAccrued.GetValue()
End If
'Get value of MaximumHours
if ( not OR.EmployeeRet.EmployeePayrollInfo.SickHours.MaximumHours is nothing) then
Dim MaximumHours9425 as IQBTimeIntervalType
MaximumHours9425 = OR.EmployeeRet.EmployeePayrollInfo.SickHours.MaximumHours.GetValue()
End If
'Get value of IsResettingHoursEachNewYear
if ( not OR.EmployeeRet.EmployeePayrollInfo.SickHours.IsResettingHoursEachNewYear is nothing) then
Dim IsResettingHoursEachNewYear9426 as Boolean
IsResettingHoursEachNewYear9426 = OR.EmployeeRet.EmployeePayrollInfo.SickHours.IsResettingHoursEachNewYear.GetValue()
End If
'Get value of HoursUsed
if ( not OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursUsed is nothing) then
Dim HoursUsed9427 as IQBTimeIntervalType
HoursUsed9427 = OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursUsed.GetValue()
End If
'Get value of AccrualStartDate
if ( not OR.EmployeeRet.EmployeePayrollInfo.SickHours.AccrualStartDate is nothing) then
Dim AccrualStartDate9428 as DateTime
AccrualStartDate9428 = OR.EmployeeRet.EmployeePayrollInfo.SickHours.AccrualStartDate.GetValue()
End If
End If
if (not OR.EmployeeRet.EmployeePayrollInfo.VacationHours. is nothing) then
'Get value of HoursAvailable
if ( not OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursAvailable is nothing) then
Dim HoursAvailable9429 as IQBTimeIntervalType
HoursAvailable9429 = OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursAvailable.GetValue()
End If
'Get value of AccrualPeriod
if ( not OR.EmployeeRet.EmployeePayrollInfo.VacationHours.AccrualPeriod is nothing) then
Dim AccrualPeriod9430 as ENAccrualPeriod
AccrualPeriod9430 = OR.EmployeeRet.EmployeePayrollInfo.VacationHours.AccrualPeriod.GetValue()
End If
'Get value of HoursAccrued
if ( not OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursAccrued is nothing) then
Dim HoursAccrued9431 as IQBTimeIntervalType
HoursAccrued9431 = OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursAccrued.GetValue()
End If
'Get value of MaximumHours
if ( not OR.EmployeeRet.EmployeePayrollInfo.VacationHours.MaximumHours is nothing) then
Dim MaximumHours9432 as IQBTimeIntervalType
MaximumHours9432 = OR.EmployeeRet.EmployeePayrollInfo.VacationHours.MaximumHours.GetValue()
End If
'Get value of IsResettingHoursEachNewYear
if ( not OR.EmployeeRet.EmployeePayrollInfo.VacationHours.IsResettingHoursEachNewYear is nothing) then
Dim IsResettingHoursEachNewYear9433 as Boolean
IsResettingHoursEachNewYear9433 = OR.EmployeeRet.EmployeePayrollInfo.VacationHours.IsResettingHoursEachNewYear.GetValue()
End If
'Get value of HoursUsed
if ( not OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursUsed is nothing) then
Dim HoursUsed9434 as IQBTimeIntervalType
HoursUsed9434 = OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursUsed.GetValue()
End If
'Get value of AccrualStartDate
if ( not OR.EmployeeRet.EmployeePayrollInfo.VacationHours.AccrualStartDate is nothing) then
Dim AccrualStartDate9435 as DateTime
AccrualStartDate9435 = OR.EmployeeRet.EmployeePayrollInfo.VacationHours.AccrualStartDate.GetValue()
End If
End If
End If
'Get value of ExternalGUID
if ( not OR.EmployeeRet.ExternalGUID is nothing) then
Dim ExternalGUID9436 as String
ExternalGUID9436 = OR.EmployeeRet.ExternalGUID.GetValue()
End If
if (not OR.EmployeeRet.DataExtRetList is nothing)
Dim i9437 as Integer
for i9437 = 0 to OR.EmployeeRet.DataExtRetList.Count - 1
Dim DataExtRet as IDataExtRet
DataExtRet = OR.EmployeeRet.DataExtRetList.GetAt(i9437)
'Get value of OwnerID
if ( not DataExtRetOwnerID is nothing) then
Dim OwnerID9438 as String
OwnerID9438 = DataExtRetOwnerID.GetValue()
End If
'Get value of DataExtName
Dim DataExtName9439 as String
DataExtName9439 = DataExtRetDataExtName.GetValue()
'Get value of DataExtType
Dim DataExtType9440 as ENDataExtType
DataExtType9440 = DataExtRetDataExtType.GetValue()
'Get value of DataExtValue
Dim DataExtValue9441 as String
DataExtValue9441 = DataExtRetDataExtValue.GetValue()
Next i9437
End If
End If
if (not OR.OtherNameRet. is nothing) then
'Get value of ListID
Dim ListID9442 as String
ListID9442 = OR.OtherNameRet.ListID.GetValue()
'Get value of TimeCreated
Dim TimeCreated9443 as DateTime
TimeCreated9443 = OR.OtherNameRet.TimeCreated.GetValue()
'Get value of TimeModified
Dim TimeModified9444 as DateTime
TimeModified9444 = OR.OtherNameRet.TimeModified.GetValue()
'Get value of EditSequence
Dim EditSequence9445 as String
EditSequence9445 = OR.OtherNameRet.EditSequence.GetValue()
'Get value of Name
Dim Name9446 as String
Name9446 = OR.OtherNameRet.Name.GetValue()
'Get value of IsActive
if ( not OR.OtherNameRet.IsActive is nothing) then
Dim IsActive9447 as Boolean
IsActive9447 = OR.OtherNameRet.IsActive.GetValue()
End If
'Get value of CompanyName
if ( not OR.OtherNameRet.CompanyName is nothing) then
Dim CompanyName9448 as String
CompanyName9448 = OR.OtherNameRet.CompanyName.GetValue()
End If
'Get value of Salutation
if ( not OR.OtherNameRet.Salutation is nothing) then
Dim Salutation9449 as String
Salutation9449 = OR.OtherNameRet.Salutation.GetValue()
End If
'Get value of FirstName
if ( not OR.OtherNameRet.FirstName is nothing) then
Dim FirstName9450 as String
FirstName9450 = OR.OtherNameRet.FirstName.GetValue()
End If
'Get value of MiddleName
if ( not OR.OtherNameRet.MiddleName is nothing) then
Dim MiddleName9451 as String
MiddleName9451 = OR.OtherNameRet.MiddleName.GetValue()
End If
'Get value of LastName
if ( not OR.OtherNameRet.LastName is nothing) then
Dim LastName9452 as String
LastName9452 = OR.OtherNameRet.LastName.GetValue()
End If
if (not OR.OtherNameRet.OtherNameAddress. is nothing) then
'Get value of Addr1
if ( not OR.OtherNameRet.OtherNameAddress.Addr1 is nothing) then
Dim Addr19453 as String
Addr19453 = OR.OtherNameRet.OtherNameAddress.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.OtherNameRet.OtherNameAddress.Addr2 is nothing) then
Dim Addr29454 as String
Addr29454 = OR.OtherNameRet.OtherNameAddress.Addr2.GetValue()
End If
'Get value of Addr3
if ( not OR.OtherNameRet.OtherNameAddress.Addr3 is nothing) then
Dim Addr39455 as String
Addr39455 = OR.OtherNameRet.OtherNameAddress.Addr3.GetValue()
End If
'Get value of Addr4
if ( not OR.OtherNameRet.OtherNameAddress.Addr4 is nothing) then
Dim Addr49456 as String
Addr49456 = OR.OtherNameRet.OtherNameAddress.Addr4.GetValue()
End If
'Get value of Addr5
if ( not OR.OtherNameRet.OtherNameAddress.Addr5 is nothing) then
Dim Addr59457 as String
Addr59457 = OR.OtherNameRet.OtherNameAddress.Addr5.GetValue()
End If
'Get value of City
if ( not OR.OtherNameRet.OtherNameAddress.City is nothing) then
Dim City9458 as String
City9458 = OR.OtherNameRet.OtherNameAddress.City.GetValue()
End If
'Get value of State
if ( not OR.OtherNameRet.OtherNameAddress.State is nothing) then
Dim State9459 as String
State9459 = OR.OtherNameRet.OtherNameAddress.State.GetValue()
End If
'Get value of PostalCode
if ( not OR.OtherNameRet.OtherNameAddress.PostalCode is nothing) then
Dim PostalCode9460 as String
PostalCode9460 = OR.OtherNameRet.OtherNameAddress.PostalCode.GetValue()
End If
'Get value of Country
if ( not OR.OtherNameRet.OtherNameAddress.Country is nothing) then
Dim Country9461 as String
Country9461 = OR.OtherNameRet.OtherNameAddress.Country.GetValue()
End If
'Get value of Note
if ( not OR.OtherNameRet.OtherNameAddress.Note is nothing) then
Dim Note9462 as String
Note9462 = OR.OtherNameRet.OtherNameAddress.Note.GetValue()
End If
End If
if (not OR.OtherNameRet.OtherNameAddressBlock. is nothing) then
'Get value of Addr1
if ( not OR.OtherNameRet.OtherNameAddressBlock.Addr1 is nothing) then
Dim Addr19463 as String
Addr19463 = OR.OtherNameRet.OtherNameAddressBlock.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.OtherNameRet.OtherNameAddressBlock.Addr2 is nothing) then
Dim Addr29464 as String
Addr29464 = OR.OtherNameRet.OtherNameAddressBlock.Addr2.GetValue()
End If
'Get value of Addr3
if ( not OR.OtherNameRet.OtherNameAddressBlock.Addr3 is nothing) then
Dim Addr39465 as String
Addr39465 = OR.OtherNameRet.OtherNameAddressBlock.Addr3.GetValue()
End If
'Get value of Addr4
if ( not OR.OtherNameRet.OtherNameAddressBlock.Addr4 is nothing) then
Dim Addr49466 as String
Addr49466 = OR.OtherNameRet.OtherNameAddressBlock.Addr4.GetValue()
End If
'Get value of Addr5
if ( not OR.OtherNameRet.OtherNameAddressBlock.Addr5 is nothing) then
Dim Addr59467 as String
Addr59467 = OR.OtherNameRet.OtherNameAddressBlock.Addr5.GetValue()
End If
End If
'Get value of Phone
if ( not OR.OtherNameRet.Phone is nothing) then
Dim Phone9468 as String
Phone9468 = OR.OtherNameRet.Phone.GetValue()
End If
'Get value of AltPhone
if ( not OR.OtherNameRet.AltPhone is nothing) then
Dim AltPhone9469 as String
AltPhone9469 = OR.OtherNameRet.AltPhone.GetValue()
End If
'Get value of Fax
if ( not OR.OtherNameRet.Fax is nothing) then
Dim Fax9470 as String
Fax9470 = OR.OtherNameRet.Fax.GetValue()
End If
'Get value of Email
if ( not OR.OtherNameRet.Email is nothing) then
Dim Email9471 as String
Email9471 = OR.OtherNameRet.Email.GetValue()
End If
'Get value of Contact
if ( not OR.OtherNameRet.Contact is nothing) then
Dim Contact9472 as String
Contact9472 = OR.OtherNameRet.Contact.GetValue()
End If
'Get value of AltContact
if ( not OR.OtherNameRet.AltContact is nothing) then
Dim AltContact9473 as String
AltContact9473 = OR.OtherNameRet.AltContact.GetValue()
End If
'Get value of AccountNumber
if ( not OR.OtherNameRet.AccountNumber is nothing) then
Dim AccountNumber9474 as String
AccountNumber9474 = OR.OtherNameRet.AccountNumber.GetValue()
End If
'Get value of Notes
if ( not OR.OtherNameRet.Notes is nothing) then
Dim Notes9475 as String
Notes9475 = OR.OtherNameRet.Notes.GetValue()
End If
'Get value of ExternalGUID
if ( not OR.OtherNameRet.ExternalGUID is nothing) then
Dim ExternalGUID9476 as String
ExternalGUID9476 = OR.OtherNameRet.ExternalGUID.GetValue()
End If
if (not OR.OtherNameRet.DataExtRetList is nothing)
Dim i9477 as Integer
for i9477 = 0 to OR.OtherNameRet.DataExtRetList.Count - 1
Dim DataExtRet as IDataExtRet
DataExtRet = OR.OtherNameRet.DataExtRetList.GetAt(i9477)
'Get value of OwnerID
if ( not DataExtRetOwnerID is nothing) then
Dim OwnerID9478 as String
OwnerID9478 = DataExtRetOwnerID.GetValue()
End If
'Get value of DataExtName
Dim DataExtName9479 as String
DataExtName9479 = DataExtRetDataExtName.GetValue()
'Get value of DataExtType
Dim DataExtType9480 as ENDataExtType
DataExtType9480 = DataExtRetDataExtType.GetValue()
'Get value of DataExtValue
Dim DataExtValue9481 as String
DataExtValue9481 = DataExtRetDataExtValue.GetValue()
Next i9477
End If
End If
if (not OR.VendorRet. is nothing) then
'Get value of ListID
Dim ListID9482 as String
ListID9482 = OR.VendorRet.ListID.GetValue()
'Get value of TimeCreated
Dim TimeCreated9483 as DateTime
TimeCreated9483 = OR.VendorRet.TimeCreated.GetValue()
'Get value of TimeModified
Dim TimeModified9484 as DateTime
TimeModified9484 = OR.VendorRet.TimeModified.GetValue()
'Get value of EditSequence
Dim EditSequence9485 as String
EditSequence9485 = OR.VendorRet.EditSequence.GetValue()
'Get value of Name
Dim Name9486 as String
Name9486 = OR.VendorRet.Name.GetValue()
'Get value of IsActive
if ( not OR.VendorRet.IsActive is nothing) then
Dim IsActive9487 as Boolean
IsActive9487 = OR.VendorRet.IsActive.GetValue()
End If
if (not OR.VendorRet.ClassRef. is nothing) then
'Get value of ListID
if ( not OR.VendorRet.ClassRef.ListID is nothing) then
Dim ListID9488 as String
ListID9488 = OR.VendorRet.ClassRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.VendorRet.ClassRef.FullName is nothing) then
Dim FullName9489 as String
FullName9489 = OR.VendorRet.ClassRef.FullName.GetValue()
End If
End If
'Get value of IsTaxAgency
if ( not OR.VendorRet.IsTaxAgency is nothing) then
Dim IsTaxAgency9490 as Boolean
IsTaxAgency9490 = OR.VendorRet.IsTaxAgency.GetValue()
End If
'Get value of CompanyName
if ( not OR.VendorRet.CompanyName is nothing) then
Dim CompanyName9491 as String
CompanyName9491 = OR.VendorRet.CompanyName.GetValue()
End If
'Get value of Salutation
if ( not OR.VendorRet.Salutation is nothing) then
Dim Salutation9492 as String
Salutation9492 = OR.VendorRet.Salutation.GetValue()
End If
'Get value of FirstName
if ( not OR.VendorRet.FirstName is nothing) then
Dim FirstName9493 as String
FirstName9493 = OR.VendorRet.FirstName.GetValue()
End If
'Get value of MiddleName
if ( not OR.VendorRet.MiddleName is nothing) then
Dim MiddleName9494 as String
MiddleName9494 = OR.VendorRet.MiddleName.GetValue()
End If
'Get value of LastName
if ( not OR.VendorRet.LastName is nothing) then
Dim LastName9495 as String
LastName9495 = OR.VendorRet.LastName.GetValue()
End If
'Get value of JobTitle
if ( not OR.VendorRet.JobTitle is nothing) then
Dim JobTitle9496 as String
JobTitle9496 = OR.VendorRet.JobTitle.GetValue()
End If
if (not OR.VendorRet.VendorAddress. is nothing) then
'Get value of Addr1
if ( not OR.VendorRet.VendorAddress.Addr1 is nothing) then
Dim Addr19497 as String
Addr19497 = OR.VendorRet.VendorAddress.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.VendorRet.VendorAddress.Addr2 is nothing) then
Dim Addr29498 as String
Addr29498 = OR.VendorRet.VendorAddress.Addr2.GetValue()
End If
'Get value of Addr3
if ( not OR.VendorRet.VendorAddress.Addr3 is nothing) then
Dim Addr39499 as String
Addr39499 = OR.VendorRet.VendorAddress.Addr3.GetValue()
End If
'Get value of Addr4
if ( not OR.VendorRet.VendorAddress.Addr4 is nothing) then
Dim Addr49500 as String
Addr49500 = OR.VendorRet.VendorAddress.Addr4.GetValue()
End If
'Get value of Addr5
if ( not OR.VendorRet.VendorAddress.Addr5 is nothing) then
Dim Addr59501 as String
Addr59501 = OR.VendorRet.VendorAddress.Addr5.GetValue()
End If
'Get value of City
if ( not OR.VendorRet.VendorAddress.City is nothing) then
Dim City9502 as String
City9502 = OR.VendorRet.VendorAddress.City.GetValue()
End If
'Get value of State
if ( not OR.VendorRet.VendorAddress.State is nothing) then
Dim State9503 as String
State9503 = OR.VendorRet.VendorAddress.State.GetValue()
End If
'Get value of PostalCode
if ( not OR.VendorRet.VendorAddress.PostalCode is nothing) then
Dim PostalCode9504 as String
PostalCode9504 = OR.VendorRet.VendorAddress.PostalCode.GetValue()
End If
'Get value of Country
if ( not OR.VendorRet.VendorAddress.Country is nothing) then
Dim Country9505 as String
Country9505 = OR.VendorRet.VendorAddress.Country.GetValue()
End If
'Get value of Note
if ( not OR.VendorRet.VendorAddress.Note is nothing) then
Dim Note9506 as String
Note9506 = OR.VendorRet.VendorAddress.Note.GetValue()
End If
End If
if (not OR.VendorRet.VendorAddressBlock. is nothing) then
'Get value of Addr1
if ( not OR.VendorRet.VendorAddressBlock.Addr1 is nothing) then
Dim Addr19507 as String
Addr19507 = OR.VendorRet.VendorAddressBlock.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.VendorRet.VendorAddressBlock.Addr2 is nothing) then
Dim Addr29508 as String
Addr29508 = OR.VendorRet.VendorAddressBlock.Addr2.GetValue()
End If
'Get value of Addr3
if ( not OR.VendorRet.VendorAddressBlock.Addr3 is nothing) then
Dim Addr39509 as String
Addr39509 = OR.VendorRet.VendorAddressBlock.Addr3.GetValue()
End If
'Get value of Addr4
if ( not OR.VendorRet.VendorAddressBlock.Addr4 is nothing) then
Dim Addr49510 as String
Addr49510 = OR.VendorRet.VendorAddressBlock.Addr4.GetValue()
End If
'Get value of Addr5
if ( not OR.VendorRet.VendorAddressBlock.Addr5 is nothing) then
Dim Addr59511 as String
Addr59511 = OR.VendorRet.VendorAddressBlock.Addr5.GetValue()
End If
End If
if (not OR.VendorRet.ShipAddress. is nothing) then
'Get value of Addr1
if ( not OR.VendorRet.ShipAddress.Addr1 is nothing) then
Dim Addr19512 as String
Addr19512 = OR.VendorRet.ShipAddress.Addr1.GetValue()
End If
'Get value of Addr2
if ( not OR.VendorRet.ShipAddress.Addr2 is nothing) then
Dim Addr29513 as String
Addr29513 = OR.VendorRet.ShipAddress.Addr2.GetValue()
End If
'Get value of Addr3
if ( not OR.VendorRet.ShipAddress.Addr3 is nothing) then
Dim Addr39514 as String
Addr39514 = OR.VendorRet.ShipAddress.Addr3.GetValue()
End If
'Get value of Addr4
if ( not OR.VendorRet.ShipAddress.Addr4 is nothing) then
Dim Addr49515 as String
Addr49515 = OR.VendorRet.ShipAddress.Addr4.GetValue()
End If
'Get value of Addr5
if ( not OR.VendorRet.ShipAddress.Addr5 is nothing) then
Dim Addr59516 as String
Addr59516 = OR.VendorRet.ShipAddress.Addr5.GetValue()
End If
'Get value of City
if ( not OR.VendorRet.ShipAddress.City is nothing) then
Dim City9517 as String
City9517 = OR.VendorRet.ShipAddress.City.GetValue()
End If
'Get value of State
if ( not OR.VendorRet.ShipAddress.State is nothing) then
Dim State9518 as String
State9518 = OR.VendorRet.ShipAddress.State.GetValue()
End If
'Get value of PostalCode
if ( not OR.VendorRet.ShipAddress.PostalCode is nothing) then
Dim PostalCode9519 as String
PostalCode9519 = OR.VendorRet.ShipAddress.PostalCode.GetValue()
End If
'Get value of Country
if ( not OR.VendorRet.ShipAddress.Country is nothing) then
Dim Country9520 as String
Country9520 = OR.VendorRet.ShipAddress.Country.GetValue()
End If
'Get value of Note
if ( not OR.VendorRet.ShipAddress.Note is nothing) then
Dim Note9521 as String
Note9521 = OR.VendorRet.ShipAddress.Note.GetValue()
End If
End If
'Get value of Phone
if ( not OR.VendorRet.Phone is nothing) then
Dim Phone9522 as String
Phone9522 = OR.VendorRet.Phone.GetValue()
End If
'Get value of AltPhone
if ( not OR.VendorRet.AltPhone is nothing) then
Dim AltPhone9523 as String
AltPhone9523 = OR.VendorRet.AltPhone.GetValue()
End If
'Get value of Fax
if ( not OR.VendorRet.Fax is nothing) then
Dim Fax9524 as String
Fax9524 = OR.VendorRet.Fax.GetValue()
End If
'Get value of Email
if ( not OR.VendorRet.Email is nothing) then
Dim Email9525 as String
Email9525 = OR.VendorRet.Email.GetValue()
End If
'Get value of Cc
if ( not OR.VendorRet.Cc is nothing) then
Dim Cc9526 as String
Cc9526 = OR.VendorRet.Cc.GetValue()
End If
'Get value of Contact
if ( not OR.VendorRet.Contact is nothing) then
Dim Contact9527 as String
Contact9527 = OR.VendorRet.Contact.GetValue()
End If
'Get value of AltContact
if ( not OR.VendorRet.AltContact is nothing) then
Dim AltContact9528 as String
AltContact9528 = OR.VendorRet.AltContact.GetValue()
End If
if (not OR.VendorRet.AdditionalContactRefList is nothing)
Dim i9529 as Integer
for i9529 = 0 to OR.VendorRet.AdditionalContactRefList.Count - 1
Dim QBBaseRef as IQBBaseRef
QBBaseRef = OR.VendorRet.AdditionalContactRefList.GetAt(i9529)
'Get value of ContactName
Dim ContactName9530 as String
ContactName9530 = QBBaseRefContactName.GetValue()
'Get value of ContactValue
Dim ContactValue9531 as String
ContactValue9531 = QBBaseRefContactValue.GetValue()
Next i9529
End If
if (not OR.VendorRet.ContactsRetList is nothing)
Dim i9532 as Integer
for i9532 = 0 to OR.VendorRet.ContactsRetList.Count - 1
Dim ContactsRet as IContactsRet
ContactsRet = OR.VendorRet.ContactsRetList.GetAt(i9532)
'Get value of ListID
Dim ListID9533 as String
ListID9533 = ContactsRetListID.GetValue()
'Get value of TimeCreated
Dim TimeCreated9534 as DateTime
TimeCreated9534 = ContactsRetTimeCreated.GetValue()
'Get value of TimeModified
Dim TimeModified9535 as DateTime
TimeModified9535 = ContactsRetTimeModified.GetValue()
'Get value of EditSequence
Dim EditSequence9536 as String
EditSequence9536 = ContactsRetEditSequence.GetValue()
'Get value of Contact
if ( not ContactsRetContact is nothing) then
Dim Contact9537 as String
Contact9537 = ContactsRetContact.GetValue()
End If
'Get value of Salutation
if ( not ContactsRetSalutation is nothing) then
Dim Salutation9538 as String
Salutation9538 = ContactsRetSalutation.GetValue()
End If
'Get value of FirstName
Dim FirstName9539 as String
FirstName9539 = ContactsRetFirstName.GetValue()
'Get value of MiddleName
if ( not ContactsRetMiddleName is nothing) then
Dim MiddleName9540 as String
MiddleName9540 = ContactsRetMiddleName.GetValue()
End If
'Get value of LastName
if ( not ContactsRetLastName is nothing) then
Dim LastName9541 as String
LastName9541 = ContactsRetLastName.GetValue()
End If
'Get value of JobTitle
if ( not ContactsRetJobTitle is nothing) then
Dim JobTitle9542 as String
JobTitle9542 = ContactsRetJobTitle.GetValue()
End If
if (not ContactsRetAdditionalContactRefList is nothing)
Dim i9543 as Integer
for i9543 = 0 to ContactsRetAdditionalContactRefList.Count - 1
Dim QBBaseRef as IQBBaseRef
QBBaseRef = ContactsRetAdditionalContactRefList.GetAt(i9543)
'Get value of ContactName
Dim ContactName9544 as String
ContactName9544 = QBBaseRefContactName.GetValue()
'Get value of ContactValue
Dim ContactValue9545 as String
ContactValue9545 = QBBaseRefContactValue.GetValue()
Next i9543
End If
Next i9532
End If
'Get value of NameOnCheck
if ( not OR.VendorRet.NameOnCheck is nothing) then
Dim NameOnCheck9546 as String
NameOnCheck9546 = OR.VendorRet.NameOnCheck.GetValue()
End If
'Get value of AccountNumber
if ( not OR.VendorRet.AccountNumber is nothing) then
Dim AccountNumber9547 as String
AccountNumber9547 = OR.VendorRet.AccountNumber.GetValue()
End If
'Get value of Notes
if ( not OR.VendorRet.Notes is nothing) then
Dim Notes9548 as String
Notes9548 = OR.VendorRet.Notes.GetValue()
End If
if (not OR.VendorRet.AdditionalNotesRetList is nothing)
Dim i9549 as Integer
for i9549 = 0 to OR.VendorRet.AdditionalNotesRetList.Count - 1
Dim AdditionalNotesRet as IAdditionalNotesRet
AdditionalNotesRet = OR.VendorRet.AdditionalNotesRetList.GetAt(i9549)
'Get value of NoteID
Dim NoteID9550 as Integer
NoteID9550 = AdditionalNotesRetNoteID.GetValue()
'Get value of Date
Dim Date9551 as DateTime
Date9551 = AdditionalNotesRetDate.GetValue()
'Get value of Note
Dim Note9552 as String
Note9552 = AdditionalNotesRetNote.GetValue()
Next i9549
End If
if (not OR.VendorRet.VendorTypeRef. is nothing) then
'Get value of ListID
if ( not OR.VendorRet.VendorTypeRef.ListID is nothing) then
Dim ListID9553 as String
ListID9553 = OR.VendorRet.VendorTypeRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.VendorRet.VendorTypeRef.FullName is nothing) then
Dim FullName9554 as String
FullName9554 = OR.VendorRet.VendorTypeRef.FullName.GetValue()
End If
End If
if (not OR.VendorRet.TermsRef. is nothing) then
'Get value of ListID
if ( not OR.VendorRet.TermsRef.ListID is nothing) then
Dim ListID9555 as String
ListID9555 = OR.VendorRet.TermsRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.VendorRet.TermsRef.FullName is nothing) then
Dim FullName9556 as String
FullName9556 = OR.VendorRet.TermsRef.FullName.GetValue()
End If
End If
'Get value of CreditLimit
if ( not OR.VendorRet.CreditLimit is nothing) then
Dim CreditLimit9557 as Double
CreditLimit9557 = OR.VendorRet.CreditLimit.GetValue()
End If
'Get value of VendorTaxIdent
if ( not OR.VendorRet.VendorTaxIdent is nothing) then
Dim VendorTaxIdent9558 as String
VendorTaxIdent9558 = OR.VendorRet.VendorTaxIdent.GetValue()
End If
'Get value of IsVendorEligibleFor1099
if ( not OR.VendorRet.IsVendorEligibleFor1099 is nothing) then
Dim IsVendorEligibleFor10999559 as Boolean
IsVendorEligibleFor10999559 = OR.VendorRet.IsVendorEligibleFor1099.GetValue()
End If
'Get value of Balance
if ( not OR.VendorRet.Balance is nothing) then
Dim Balance9560 as Double
Balance9560 = OR.VendorRet.Balance.GetValue()
End If
if (not OR.VendorRet.BillingRateRef. is nothing) then
'Get value of ListID
if ( not OR.VendorRet.BillingRateRef.ListID is nothing) then
Dim ListID9561 as String
ListID9561 = OR.VendorRet.BillingRateRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.VendorRet.BillingRateRef.FullName is nothing) then
Dim FullName9562 as String
FullName9562 = OR.VendorRet.BillingRateRef.FullName.GetValue()
End If
End If
'Get value of ExternalGUID
if ( not OR.VendorRet.ExternalGUID is nothing) then
Dim ExternalGUID9563 as String
ExternalGUID9563 = OR.VendorRet.ExternalGUID.GetValue()
End If
if (not OR.VendorRet.SalesTaxCodeRef. is nothing) then
'Get value of ListID
if ( not OR.VendorRet.SalesTaxCodeRef.ListID is nothing) then
Dim ListID9564 as String
ListID9564 = OR.VendorRet.SalesTaxCodeRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.VendorRet.SalesTaxCodeRef.FullName is nothing) then
Dim FullName9565 as String
FullName9565 = OR.VendorRet.SalesTaxCodeRef.FullName.GetValue()
End If
End If
'Get value of SalesTaxCountry
if ( not OR.VendorRet.SalesTaxCountry is nothing) then
Dim SalesTaxCountry9566 as ENSalesTaxCountry
SalesTaxCountry9566 = OR.VendorRet.SalesTaxCountry.GetValue()
End If
'Get value of IsSalesTaxAgency
if ( not OR.VendorRet.IsSalesTaxAgency is nothing) then
Dim IsSalesTaxAgency9567 as Boolean
IsSalesTaxAgency9567 = OR.VendorRet.IsSalesTaxAgency.GetValue()
End If
if (not OR.VendorRet.SalesTaxReturnRef. is nothing) then
'Get value of ListID
if ( not OR.VendorRet.SalesTaxReturnRef.ListID is nothing) then
Dim ListID9568 as String
ListID9568 = OR.VendorRet.SalesTaxReturnRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.VendorRet.SalesTaxReturnRef.FullName is nothing) then
Dim FullName9569 as String
FullName9569 = OR.VendorRet.SalesTaxReturnRef.FullName.GetValue()
End If
End If
'Get value of TaxRegistrationNumber
if ( not OR.VendorRet.TaxRegistrationNumber is nothing) then
Dim TaxRegistrationNumber9570 as String
TaxRegistrationNumber9570 = OR.VendorRet.TaxRegistrationNumber.GetValue()
End If
'Get value of ReportingPeriod
if ( not OR.VendorRet.ReportingPeriod is nothing) then
Dim ReportingPeriod9571 as ENReportingPeriod
ReportingPeriod9571 = OR.VendorRet.ReportingPeriod.GetValue()
End If
'Get value of IsTaxTrackedOnPurchases
if ( not OR.VendorRet.IsTaxTrackedOnPurchases is nothing) then
Dim IsTaxTrackedOnPurchases9572 as Boolean
IsTaxTrackedOnPurchases9572 = OR.VendorRet.IsTaxTrackedOnPurchases.GetValue()
End If
if (not OR.VendorRet.TaxOnPurchasesAccountRef. is nothing) then
'Get value of ListID
if ( not OR.VendorRet.TaxOnPurchasesAccountRef.ListID is nothing) then
Dim ListID9573 as String
ListID9573 = OR.VendorRet.TaxOnPurchasesAccountRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.VendorRet.TaxOnPurchasesAccountRef.FullName is nothing) then
Dim FullName9574 as String
FullName9574 = OR.VendorRet.TaxOnPurchasesAccountRef.FullName.GetValue()
End If
End If
'Get value of IsTaxTrackedOnSales
if ( not OR.VendorRet.IsTaxTrackedOnSales is nothing) then
Dim IsTaxTrackedOnSales9575 as Boolean
IsTaxTrackedOnSales9575 = OR.VendorRet.IsTaxTrackedOnSales.GetValue()
End If
if (not OR.VendorRet.TaxOnSalesAccountRef. is nothing) then
'Get value of ListID
if ( not OR.VendorRet.TaxOnSalesAccountRef.ListID is nothing) then
Dim ListID9576 as String
ListID9576 = OR.VendorRet.TaxOnSalesAccountRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.VendorRet.TaxOnSalesAccountRef.FullName is nothing) then
Dim FullName9577 as String
FullName9577 = OR.VendorRet.TaxOnSalesAccountRef.FullName.GetValue()
End If
End If
'Get value of IsTaxOnTax
if ( not OR.VendorRet.IsTaxOnTax is nothing) then
Dim IsTaxOnTax9578 as Boolean
IsTaxOnTax9578 = OR.VendorRet.IsTaxOnTax.GetValue()
End If
if (not OR.VendorRet.PrefillAccountRefList is nothing)
Dim i9579 as Integer
for i9579 = 0 to OR.VendorRet.PrefillAccountRefList.Count - 1
Dim QBBaseRef as IQBBaseRef
QBBaseRef = OR.VendorRet.PrefillAccountRefList.GetAt(i9579)
'Get value of ListID
if ( not QBBaseRefListID is nothing) then
Dim ListID9580 as String
ListID9580 = QBBaseRefListID.GetValue()
End If
'Get value of FullName
if ( not QBBaseRefFullName is nothing) then
Dim FullName9581 as String
FullName9581 = QBBaseRefFullName.GetValue()
End If
Next i9579
End If
if (not OR.VendorRet.CurrencyRef. is nothing) then
'Get value of ListID
if ( not OR.VendorRet.CurrencyRef.ListID is nothing) then
Dim ListID9582 as String
ListID9582 = OR.VendorRet.CurrencyRef.ListID.GetValue()
End If
'Get value of FullName
if ( not OR.VendorRet.CurrencyRef.FullName is nothing) then
Dim FullName9583 as String
FullName9583 = OR.VendorRet.CurrencyRef.FullName.GetValue()
End If
End If
if (not OR.VendorRet.DataExtRetList is nothing)
Dim i9584 as Integer
for i9584 = 0 to OR.VendorRet.DataExtRetList.Count - 1
Dim DataExtRet as IDataExtRet
DataExtRet = OR.VendorRet.DataExtRetList.GetAt(i9584)
'Get value of OwnerID
if ( not DataExtRetOwnerID is nothing) then
Dim OwnerID9585 as String
OwnerID9585 = DataExtRetOwnerID.GetValue()
End If
'Get value of DataExtName
Dim DataExtName9586 as String
DataExtName9586 = DataExtRetDataExtName.GetValue()
'Get value of DataExtType
Dim DataExtType9587 as ENDataExtType
DataExtType9587 = DataExtRetDataExtType.GetValue()
'Get value of DataExtValue
Dim DataExtValue9588 as String
DataExtValue9588 = DataExtRetDataExtValue.GetValue()
Next i9584
End If
End If
End Sub
End Class
End Module
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | //The following sample code is generated as an illustration of //Creating requests and parsing responses ONLY //This code is NOT intended to show best practices or ideal code //Use at your most careful discretion using System; using System.Net; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.IO; using Interop.QBFC16; namespace com.intuit.idn.samples { public class Sample { public void DoEntityQuery() { bool sessionBegun = false; bool connectionOpen = false; QBSessionManager sessionManager = null; try { //Create the session Manager object sessionManager = new QBSessionManager(); //Create the message set request object to hold our request IMsgSetRequest requestMsgSet = sessionManager.CreateMsgSetRequest("US",16,0); requestMsgSet.Attributes.OnError = ENRqOnError.roeContinue; BuildEntityQueryRq(requestMsgSet); //Connect to QuickBooks and begin a session sessionManager.OpenConnection("","Sample Code from OSR"); connectionOpen = true; sessionManager.BeginSession("", ENOpenMode.omDontCare); sessionBegun = true; //Send the request and get the response from QuickBooks IMsgSetResponse responseMsgSet = sessionManager.DoRequests(requestMsgSet); //End the session and close the connection to QuickBooks sessionManager.EndSession(); sessionBegun = false; sessionManager.CloseConnection(); connectionOpen = false; WalkEntityQueryRs(responseMsgSet); } catch (Exception e) { MessageBox.Show(e.Message, "Error"); if (sessionBegun) { sessionManager.EndSession(); } if (connectionOpen) { sessionManager.CloseConnection(); } } } void BuildEntityQueryRq(IMsgSetRequest requestMsgSet) { IEntityQuery EntityQueryRq= requestMsgSet.AppendEntityQueryRq(); //Set attributes //Set field value for metaData EntityQueryRq.metaData.SetValue("IQBENmetaDataType"); //Set field value for iterator EntityQueryRq.iterator.SetValue("IQBENiteratorType"); //Set field value for iteratorID EntityQueryRq.iteratorID.SetValue("IQBUUIDType"); string ORListQueryElementType8829 = "ListIDList"; if (ORListQueryElementType8829 == "ListIDList") { //Set field value for ListIDList //May create more than one of these if needed EntityQueryRq.ORListQuery.ListIDList.Add("200000-1011023419"); } if (ORListQueryElementType8829 == "FullNameList") { //Set field value for FullNameList //May create more than one of these if needed EntityQueryRq.ORListQuery.FullNameList.Add("ab"); } if (ORListQueryElementType8829 == "ListFilter") { //Set field value for MaxReturned EntityQueryRq.ORListQuery.ListFilter.MaxReturned.SetValue(6); //Set field value for ActiveStatus EntityQueryRq.ORListQuery.ListFilter.ActiveStatus.SetValue(ENActiveStatus.asActiveOnly [DEFAULT]); //Set field value for FromModifiedDate EntityQueryRq.ORListQuery.ListFilter.FromModifiedDate.SetValue(DateTime.Parse("12/15/2007 12:15:12"),false); //Set field value for ToModifiedDate EntityQueryRq.ORListQuery.ListFilter.ToModifiedDate.SetValue(DateTime.Parse("12/15/2007 12:15:12"),false); string ORNameFilterElementType8830 = "NameFilter"; if (ORNameFilterElementType8830 == "NameFilter") { //Set field value for MatchCriterion EntityQueryRq.ORListQuery.ListFilter.ORNameFilter.NameFilter.MatchCriterion.SetValue(ENMatchCriterion.mcStartsWith); //Set field value for Name EntityQueryRq.ORListQuery.ListFilter.ORNameFilter.NameFilter.Name.SetValue("ab"); } if (ORNameFilterElementType8830 == "NameRangeFilter") { //Set field value for FromName EntityQueryRq.ORListQuery.ListFilter.ORNameFilter.NameRangeFilter.FromName.SetValue("ab"); //Set field value for ToName EntityQueryRq.ORListQuery.ListFilter.ORNameFilter.NameRangeFilter.ToName.SetValue("ab"); } } //Set field value for IncludeRetElementList //May create more than one of these if needed EntityQueryRq.IncludeRetElementList.Add("ab"); } void WalkEntityQueryRs(IMsgSetResponse responseMsgSet) { if (responseMsgSet == null) return; IResponseList responseList = responseMsgSet.ResponseList; if (responseList == null) return; //if we sent only one request, there is only one response, we'll walk the list for this sample for(int i=0; i < responseList.Count; i++) { IResponse response = responseList.GetAt(i); //check the status code of the response, 0=ok, >0 is warning if (response.StatusCode >= 0) { //the request-specific response is in the details, make sure we have some if (response.Detail != null) { //make sure the response is the type we're expecting ENResponseType responseType = (ENResponseType)response.Type.GetValue(); if (responseType == ENResponseType.rtEntityQueryRs) { //upcast to more specific type here, this is safe because we checked with response.Type check above IOREntityRetList OR = (IOREntityRetList)response.Detail; WalkOR(OR); } } } } } void WalkOR(IOREntityRetList OR) { if (OR == null) return; //Go through all the elements of IOREntityRetList if (OR.CustomerRet != null) { //Get value of ListID string ListID8831 = (string)OR.CustomerRet.ListID.GetValue(); //Get value of TimeCreated DateTime TimeCreated8832 = (DateTime)OR.CustomerRet.TimeCreated.GetValue(); //Get value of TimeModified DateTime TimeModified8833 = (DateTime)OR.CustomerRet.TimeModified.GetValue(); //Get value of EditSequence string EditSequence8834 = (string)OR.CustomerRet.EditSequence.GetValue(); //Get value of Name string Name8835 = (string)OR.CustomerRet.Name.GetValue(); //Get value of FullName string FullName8836 = (string)OR.CustomerRet.FullName.GetValue(); //Get value of IsActive if (OR.CustomerRet.IsActive != null) { bool IsActive8837 = (bool)OR.CustomerRet.IsActive.GetValue(); } if (OR.CustomerRet.ClassRef != null) { //Get value of ListID if (OR.CustomerRet.ClassRef.ListID != null) { string ListID8838 = (string)OR.CustomerRet.ClassRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.ClassRef.FullName != null) { string FullName8839 = (string)OR.CustomerRet.ClassRef.FullName.GetValue(); } } if (OR.CustomerRet.ParentRef != null) { //Get value of ListID if (OR.CustomerRet.ParentRef.ListID != null) { string ListID8840 = (string)OR.CustomerRet.ParentRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.ParentRef.FullName != null) { string FullName8841 = (string)OR.CustomerRet.ParentRef.FullName.GetValue(); } } //Get value of Sublevel int Sublevel8842 = (int)OR.CustomerRet.Sublevel.GetValue(); //Get value of CompanyName if (OR.CustomerRet.CompanyName != null) { string CompanyName8843 = (string)OR.CustomerRet.CompanyName.GetValue(); } //Get value of Salutation if (OR.CustomerRet.Salutation != null) { string Salutation8844 = (string)OR.CustomerRet.Salutation.GetValue(); } //Get value of FirstName if (OR.CustomerRet.FirstName != null) { string FirstName8845 = (string)OR.CustomerRet.FirstName.GetValue(); } //Get value of MiddleName if (OR.CustomerRet.MiddleName != null) { string MiddleName8846 = (string)OR.CustomerRet.MiddleName.GetValue(); } //Get value of LastName if (OR.CustomerRet.LastName != null) { string LastName8847 = (string)OR.CustomerRet.LastName.GetValue(); } //Get value of JobTitle if (OR.CustomerRet.JobTitle != null) { string JobTitle8848 = (string)OR.CustomerRet.JobTitle.GetValue(); } if (OR.CustomerRet.BillAddress != null) { //Get value of Addr1 if (OR.CustomerRet.BillAddress.Addr1 != null) { string Addr18849 = (string)OR.CustomerRet.BillAddress.Addr1.GetValue(); } //Get value of Addr2 if (OR.CustomerRet.BillAddress.Addr2 != null) { string Addr28850 = (string)OR.CustomerRet.BillAddress.Addr2.GetValue(); } //Get value of Addr3 if (OR.CustomerRet.BillAddress.Addr3 != null) { string Addr38851 = (string)OR.CustomerRet.BillAddress.Addr3.GetValue(); } //Get value of Addr4 if (OR.CustomerRet.BillAddress.Addr4 != null) { string Addr48852 = (string)OR.CustomerRet.BillAddress.Addr4.GetValue(); } //Get value of Addr5 if (OR.CustomerRet.BillAddress.Addr5 != null) { string Addr58853 = (string)OR.CustomerRet.BillAddress.Addr5.GetValue(); } //Get value of City if (OR.CustomerRet.BillAddress.City != null) { string City8854 = (string)OR.CustomerRet.BillAddress.City.GetValue(); } //Get value of State if (OR.CustomerRet.BillAddress.State != null) { string State8855 = (string)OR.CustomerRet.BillAddress.State.GetValue(); } //Get value of PostalCode if (OR.CustomerRet.BillAddress.PostalCode != null) { string PostalCode8856 = (string)OR.CustomerRet.BillAddress.PostalCode.GetValue(); } //Get value of Country if (OR.CustomerRet.BillAddress.Country != null) { string Country8857 = (string)OR.CustomerRet.BillAddress.Country.GetValue(); } //Get value of Note if (OR.CustomerRet.BillAddress.Note != null) { string Note8858 = (string)OR.CustomerRet.BillAddress.Note.GetValue(); } } if (OR.CustomerRet.BillAddressBlock != null) { //Get value of Addr1 if (OR.CustomerRet.BillAddressBlock.Addr1 != null) { string Addr18859 = (string)OR.CustomerRet.BillAddressBlock.Addr1.GetValue(); } //Get value of Addr2 if (OR.CustomerRet.BillAddressBlock.Addr2 != null) { string Addr28860 = (string)OR.CustomerRet.BillAddressBlock.Addr2.GetValue(); } //Get value of Addr3 if (OR.CustomerRet.BillAddressBlock.Addr3 != null) { string Addr38861 = (string)OR.CustomerRet.BillAddressBlock.Addr3.GetValue(); } //Get value of Addr4 if (OR.CustomerRet.BillAddressBlock.Addr4 != null) { string Addr48862 = (string)OR.CustomerRet.BillAddressBlock.Addr4.GetValue(); } //Get value of Addr5 if (OR.CustomerRet.BillAddressBlock.Addr5 != null) { string Addr58863 = (string)OR.CustomerRet.BillAddressBlock.Addr5.GetValue(); } } if (OR.CustomerRet.ShipAddress != null) { //Get value of Addr1 if (OR.CustomerRet.ShipAddress.Addr1 != null) { string Addr18864 = (string)OR.CustomerRet.ShipAddress.Addr1.GetValue(); } //Get value of Addr2 if (OR.CustomerRet.ShipAddress.Addr2 != null) { string Addr28865 = (string)OR.CustomerRet.ShipAddress.Addr2.GetValue(); } //Get value of Addr3 if (OR.CustomerRet.ShipAddress.Addr3 != null) { string Addr38866 = (string)OR.CustomerRet.ShipAddress.Addr3.GetValue(); } //Get value of Addr4 if (OR.CustomerRet.ShipAddress.Addr4 != null) { string Addr48867 = (string)OR.CustomerRet.ShipAddress.Addr4.GetValue(); } //Get value of Addr5 if (OR.CustomerRet.ShipAddress.Addr5 != null) { string Addr58868 = (string)OR.CustomerRet.ShipAddress.Addr5.GetValue(); } //Get value of City if (OR.CustomerRet.ShipAddress.City != null) { string City8869 = (string)OR.CustomerRet.ShipAddress.City.GetValue(); } //Get value of State if (OR.CustomerRet.ShipAddress.State != null) { string State8870 = (string)OR.CustomerRet.ShipAddress.State.GetValue(); } //Get value of PostalCode if (OR.CustomerRet.ShipAddress.PostalCode != null) { string PostalCode8871 = (string)OR.CustomerRet.ShipAddress.PostalCode.GetValue(); } //Get value of Country if (OR.CustomerRet.ShipAddress.Country != null) { string Country8872 = (string)OR.CustomerRet.ShipAddress.Country.GetValue(); } //Get value of Note if (OR.CustomerRet.ShipAddress.Note != null) { string Note8873 = (string)OR.CustomerRet.ShipAddress.Note.GetValue(); } } if (OR.CustomerRet.ShipAddressBlock != null) { //Get value of Addr1 if (OR.CustomerRet.ShipAddressBlock.Addr1 != null) { string Addr18874 = (string)OR.CustomerRet.ShipAddressBlock.Addr1.GetValue(); } //Get value of Addr2 if (OR.CustomerRet.ShipAddressBlock.Addr2 != null) { string Addr28875 = (string)OR.CustomerRet.ShipAddressBlock.Addr2.GetValue(); } //Get value of Addr3 if (OR.CustomerRet.ShipAddressBlock.Addr3 != null) { string Addr38876 = (string)OR.CustomerRet.ShipAddressBlock.Addr3.GetValue(); } //Get value of Addr4 if (OR.CustomerRet.ShipAddressBlock.Addr4 != null) { string Addr48877 = (string)OR.CustomerRet.ShipAddressBlock.Addr4.GetValue(); } //Get value of Addr5 if (OR.CustomerRet.ShipAddressBlock.Addr5 != null) { string Addr58878 = (string)OR.CustomerRet.ShipAddressBlock.Addr5.GetValue(); } } if (OR.CustomerRet.ShipToAddressList != null) { for (int i8879 = 0; i8879 < OR.CustomerRet.ShipToAddressList.Count; i8879++) { IShipToAddress ShipToAddress = OR.CustomerRet.ShipToAddressList.GetAt(i8879); //Get value of Name string Name8880 = (string)ShipToAddress.Name.GetValue(); //Get value of Addr1 if (ShipToAddress.Addr1 != null) { string Addr18881 = (string)ShipToAddress.Addr1.GetValue(); } //Get value of Addr2 if (ShipToAddress.Addr2 != null) { string Addr28882 = (string)ShipToAddress.Addr2.GetValue(); } //Get value of Addr3 if (ShipToAddress.Addr3 != null) { string Addr38883 = (string)ShipToAddress.Addr3.GetValue(); } //Get value of Addr4 if (ShipToAddress.Addr4 != null) { string Addr48884 = (string)ShipToAddress.Addr4.GetValue(); } //Get value of Addr5 if (ShipToAddress.Addr5 != null) { string Addr58885 = (string)ShipToAddress.Addr5.GetValue(); } //Get value of City if (ShipToAddress.City != null) { string City8886 = (string)ShipToAddress.City.GetValue(); } //Get value of State if (ShipToAddress.State != null) { string State8887 = (string)ShipToAddress.State.GetValue(); } //Get value of PostalCode if (ShipToAddress.PostalCode != null) { string PostalCode8888 = (string)ShipToAddress.PostalCode.GetValue(); } //Get value of Country if (ShipToAddress.Country != null) { string Country8889 = (string)ShipToAddress.Country.GetValue(); } //Get value of Note if (ShipToAddress.Note != null) { string Note8890 = (string)ShipToAddress.Note.GetValue(); } //Get value of DefaultShipTo if (ShipToAddress.DefaultShipTo != null) { bool DefaultShipTo8891 = (bool)ShipToAddress.DefaultShipTo.GetValue(); } } } //Get value of Phone if (OR.CustomerRet.Phone != null) { string Phone8892 = (string)OR.CustomerRet.Phone.GetValue(); } //Get value of AltPhone if (OR.CustomerRet.AltPhone != null) { string AltPhone8893 = (string)OR.CustomerRet.AltPhone.GetValue(); } //Get value of Fax if (OR.CustomerRet.Fax != null) { string Fax8894 = (string)OR.CustomerRet.Fax.GetValue(); } //Get value of Email if (OR.CustomerRet.Email != null) { string Email8895 = (string)OR.CustomerRet.Email.GetValue(); } //Get value of Cc if (OR.CustomerRet.Cc != null) { string Cc8896 = (string)OR.CustomerRet.Cc.GetValue(); } //Get value of Contact if (OR.CustomerRet.Contact != null) { string Contact8897 = (string)OR.CustomerRet.Contact.GetValue(); } //Get value of AltContact if (OR.CustomerRet.AltContact != null) { string AltContact8898 = (string)OR.CustomerRet.AltContact.GetValue(); } if (OR.CustomerRet.AdditionalContactRefList != null) { for (int i8899 = 0; i8899 < OR.CustomerRet.AdditionalContactRefList.Count; i8899++) { IQBBaseRef QBBaseRef = OR.CustomerRet.AdditionalContactRefList.GetAt(i8899); //Get value of ContactName string ContactName8900 = (string)QBBaseRef.ContactName.GetValue(); //Get value of ContactValue string ContactValue8901 = (string)QBBaseRef.ContactValue.GetValue(); } } if (OR.CustomerRet.ContactsRetList != null) { for (int i8902 = 0; i8902 < OR.CustomerRet.ContactsRetList.Count; i8902++) { IContactsRet ContactsRet = OR.CustomerRet.ContactsRetList.GetAt(i8902); //Get value of ListID string ListID8903 = (string)ContactsRet.ListID.GetValue(); //Get value of TimeCreated DateTime TimeCreated8904 = (DateTime)ContactsRet.TimeCreated.GetValue(); //Get value of TimeModified DateTime TimeModified8905 = (DateTime)ContactsRet.TimeModified.GetValue(); //Get value of EditSequence string EditSequence8906 = (string)ContactsRet.EditSequence.GetValue(); //Get value of Contact if (ContactsRet.Contact != null) { string Contact8907 = (string)ContactsRet.Contact.GetValue(); } //Get value of Salutation if (ContactsRet.Salutation != null) { string Salutation8908 = (string)ContactsRet.Salutation.GetValue(); } //Get value of FirstName string FirstName8909 = (string)ContactsRet.FirstName.GetValue(); //Get value of MiddleName if (ContactsRet.MiddleName != null) { string MiddleName8910 = (string)ContactsRet.MiddleName.GetValue(); } //Get value of LastName if (ContactsRet.LastName != null) { string LastName8911 = (string)ContactsRet.LastName.GetValue(); } //Get value of JobTitle if (ContactsRet.JobTitle != null) { string JobTitle8912 = (string)ContactsRet.JobTitle.GetValue(); } if (ContactsRet.AdditionalContactRefList != null) { for (int i8913 = 0; i8913 < ContactsRet.AdditionalContactRefList.Count; i8913++) { IQBBaseRef QBBaseRef = ContactsRet.AdditionalContactRefList.GetAt(i8913); //Get value of ContactName string ContactName8914 = (string)QBBaseRef.ContactName.GetValue(); //Get value of ContactValue string ContactValue8915 = (string)QBBaseRef.ContactValue.GetValue(); } } } } if (OR.CustomerRet.CustomerTypeRef != null) { //Get value of ListID if (OR.CustomerRet.CustomerTypeRef.ListID != null) { string ListID8916 = (string)OR.CustomerRet.CustomerTypeRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.CustomerTypeRef.FullName != null) { string FullName8917 = (string)OR.CustomerRet.CustomerTypeRef.FullName.GetValue(); } } if (OR.CustomerRet.TermsRef != null) { //Get value of ListID if (OR.CustomerRet.TermsRef.ListID != null) { string ListID8918 = (string)OR.CustomerRet.TermsRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.TermsRef.FullName != null) { string FullName8919 = (string)OR.CustomerRet.TermsRef.FullName.GetValue(); } } if (OR.CustomerRet.SalesRepRef != null) { //Get value of ListID if (OR.CustomerRet.SalesRepRef.ListID != null) { string ListID8920 = (string)OR.CustomerRet.SalesRepRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.SalesRepRef.FullName != null) { string FullName8921 = (string)OR.CustomerRet.SalesRepRef.FullName.GetValue(); } } //Get value of Balance if (OR.CustomerRet.Balance != null) { double Balance8922 = (double)OR.CustomerRet.Balance.GetValue(); } //Get value of TotalBalance if (OR.CustomerRet.TotalBalance != null) { double TotalBalance8923 = (double)OR.CustomerRet.TotalBalance.GetValue(); } if (OR.CustomerRet.SalesTaxCodeRef != null) { //Get value of ListID if (OR.CustomerRet.SalesTaxCodeRef.ListID != null) { string ListID8924 = (string)OR.CustomerRet.SalesTaxCodeRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.SalesTaxCodeRef.FullName != null) { string FullName8925 = (string)OR.CustomerRet.SalesTaxCodeRef.FullName.GetValue(); } } if (OR.CustomerRet.ItemSalesTaxRef != null) { //Get value of ListID if (OR.CustomerRet.ItemSalesTaxRef.ListID != null) { string ListID8926 = (string)OR.CustomerRet.ItemSalesTaxRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.ItemSalesTaxRef.FullName != null) { string FullName8927 = (string)OR.CustomerRet.ItemSalesTaxRef.FullName.GetValue(); } } //Get value of SalesTaxCountry if (OR.CustomerRet.SalesTaxCountry != null) { ENSalesTaxCountry SalesTaxCountry8928 = (ENSalesTaxCountry)OR.CustomerRet.SalesTaxCountry.GetValue(); } //Get value of ResaleNumber if (OR.CustomerRet.ResaleNumber != null) { string ResaleNumber8929 = (string)OR.CustomerRet.ResaleNumber.GetValue(); } //Get value of AccountNumber if (OR.CustomerRet.AccountNumber != null) { string AccountNumber8930 = (string)OR.CustomerRet.AccountNumber.GetValue(); } //Get value of CreditLimit if (OR.CustomerRet.CreditLimit != null) { double CreditLimit8931 = (double)OR.CustomerRet.CreditLimit.GetValue(); } if (OR.CustomerRet.PreferredPaymentMethodRef != null) { //Get value of ListID if (OR.CustomerRet.PreferredPaymentMethodRef.ListID != null) { string ListID8932 = (string)OR.CustomerRet.PreferredPaymentMethodRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.PreferredPaymentMethodRef.FullName != null) { string FullName8933 = (string)OR.CustomerRet.PreferredPaymentMethodRef.FullName.GetValue(); } } if (OR.CustomerRet.CreditCardInfo != null) { //Get value of CreditCardNumber if (OR.CustomerRet.CreditCardInfo.CreditCardNumber != null) { string CreditCardNumber8934 = (string)OR.CustomerRet.CreditCardInfo.CreditCardNumber.GetValue(); } //Get value of ExpirationMonth if (OR.CustomerRet.CreditCardInfo.ExpirationMonth != null) { int ExpirationMonth8935 = (int)OR.CustomerRet.CreditCardInfo.ExpirationMonth.GetValue(); } //Get value of ExpirationYear if (OR.CustomerRet.CreditCardInfo.ExpirationYear != null) { int ExpirationYear8936 = (int)OR.CustomerRet.CreditCardInfo.ExpirationYear.GetValue(); } //Get value of NameOnCard if (OR.CustomerRet.CreditCardInfo.NameOnCard != null) { string NameOnCard8937 = (string)OR.CustomerRet.CreditCardInfo.NameOnCard.GetValue(); } //Get value of CreditCardAddress if (OR.CustomerRet.CreditCardInfo.CreditCardAddress != null) { string CreditCardAddress8938 = (string)OR.CustomerRet.CreditCardInfo.CreditCardAddress.GetValue(); } //Get value of CreditCardPostalCode if (OR.CustomerRet.CreditCardInfo.CreditCardPostalCode != null) { string CreditCardPostalCode8939 = (string)OR.CustomerRet.CreditCardInfo.CreditCardPostalCode.GetValue(); } } //Get value of JobStatus if (OR.CustomerRet.JobStatus != null) { ENJobStatus JobStatus8940 = (ENJobStatus)OR.CustomerRet.JobStatus.GetValue(); } //Get value of JobStartDate if (OR.CustomerRet.JobStartDate != null) { DateTime JobStartDate8941 = (DateTime)OR.CustomerRet.JobStartDate.GetValue(); } //Get value of JobProjectedEndDate if (OR.CustomerRet.JobProjectedEndDate != null) { DateTime JobProjectedEndDate8942 = (DateTime)OR.CustomerRet.JobProjectedEndDate.GetValue(); } //Get value of JobEndDate if (OR.CustomerRet.JobEndDate != null) { DateTime JobEndDate8943 = (DateTime)OR.CustomerRet.JobEndDate.GetValue(); } //Get value of JobDesc if (OR.CustomerRet.JobDesc != null) { string JobDesc8944 = (string)OR.CustomerRet.JobDesc.GetValue(); } if (OR.CustomerRet.JobTypeRef != null) { //Get value of ListID if (OR.CustomerRet.JobTypeRef.ListID != null) { string ListID8945 = (string)OR.CustomerRet.JobTypeRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.JobTypeRef.FullName != null) { string FullName8946 = (string)OR.CustomerRet.JobTypeRef.FullName.GetValue(); } } //Get value of Notes if (OR.CustomerRet.Notes != null) { string Notes8947 = (string)OR.CustomerRet.Notes.GetValue(); } if (OR.CustomerRet.AdditionalNotesRetList != null) { for (int i8948 = 0; i8948 < OR.CustomerRet.AdditionalNotesRetList.Count; i8948++) { IAdditionalNotesRet AdditionalNotesRet = OR.CustomerRet.AdditionalNotesRetList.GetAt(i8948); //Get value of NoteID int NoteID8949 = (int)AdditionalNotesRet.NoteID.GetValue(); //Get value of Date DateTime Date8950 = (DateTime)AdditionalNotesRet.Date.GetValue(); //Get value of Note string Note8951 = (string)AdditionalNotesRet.Note.GetValue(); } } //Get value of PreferredDeliveryMethod if (OR.CustomerRet.PreferredDeliveryMethod != null) { ENPreferredDeliveryMethod PreferredDeliveryMethod8952 = (ENPreferredDeliveryMethod)OR.CustomerRet.PreferredDeliveryMethod.GetValue(); } if (OR.CustomerRet.PriceLevelRef != null) { //Get value of ListID if (OR.CustomerRet.PriceLevelRef.ListID != null) { string ListID8953 = (string)OR.CustomerRet.PriceLevelRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.PriceLevelRef.FullName != null) { string FullName8954 = (string)OR.CustomerRet.PriceLevelRef.FullName.GetValue(); } } //Get value of ExternalGUID if (OR.CustomerRet.ExternalGUID != null) { string ExternalGUID8955 = (string)OR.CustomerRet.ExternalGUID.GetValue(); } //Get value of TaxRegistrationNumber if (OR.CustomerRet.TaxRegistrationNumber != null) { string TaxRegistrationNumber8956 = (string)OR.CustomerRet.TaxRegistrationNumber.GetValue(); } if (OR.CustomerRet.CurrencyRef != null) { //Get value of ListID if (OR.CustomerRet.CurrencyRef.ListID != null) { string ListID8957 = (string)OR.CustomerRet.CurrencyRef.ListID.GetValue(); } //Get value of FullName if (OR.CustomerRet.CurrencyRef.FullName != null) { string FullName8958 = (string)OR.CustomerRet.CurrencyRef.FullName.GetValue(); } } if (OR.CustomerRet.DataExtRetList != null) { for (int i8959 = 0; i8959 < OR.CustomerRet.DataExtRetList.Count; i8959++) { IDataExtRet DataExtRet = OR.CustomerRet.DataExtRetList.GetAt(i8959); //Get value of OwnerID if (DataExtRet.OwnerID != null) { string OwnerID8960 = (string)DataExtRet.OwnerID.GetValue(); } //Get value of DataExtName string DataExtName8961 = (string)DataExtRet.DataExtName.GetValue(); //Get value of DataExtType ENDataExtType DataExtType8962 = (ENDataExtType)DataExtRet.DataExtType.GetValue(); //Get value of DataExtValue string DataExtValue8963 = (string)DataExtRet.DataExtValue.GetValue(); } } } if (OR.EmployeeRet != null) { //Get value of ListID string ListID8964 = (string)OR.EmployeeRet.ListID.GetValue(); //Get value of TimeCreated DateTime TimeCreated8965 = (DateTime)OR.EmployeeRet.TimeCreated.GetValue(); //Get value of TimeModified DateTime TimeModified8966 = (DateTime)OR.EmployeeRet.TimeModified.GetValue(); //Get value of EditSequence string EditSequence8967 = (string)OR.EmployeeRet.EditSequence.GetValue(); //Get value of Name string Name8968 = (string)OR.EmployeeRet.Name.GetValue(); //Get value of IsActive if (OR.EmployeeRet.IsActive != null) { bool IsActive8969 = (bool)OR.EmployeeRet.IsActive.GetValue(); } //Get value of Salutation if (OR.EmployeeRet.Salutation != null) { string Salutation8970 = (string)OR.EmployeeRet.Salutation.GetValue(); } //Get value of FirstName if (OR.EmployeeRet.FirstName != null) { string FirstName8971 = (string)OR.EmployeeRet.FirstName.GetValue(); } //Get value of MiddleName if (OR.EmployeeRet.MiddleName != null) { string MiddleName8972 = (string)OR.EmployeeRet.MiddleName.GetValue(); } //Get value of LastName if (OR.EmployeeRet.LastName != null) { string LastName8973 = (string)OR.EmployeeRet.LastName.GetValue(); } //Get value of JobTitle if (OR.EmployeeRet.JobTitle != null) { string JobTitle8974 = (string)OR.EmployeeRet.JobTitle.GetValue(); } if (OR.EmployeeRet.SupervisorRef != null) { //Get value of ListID if (OR.EmployeeRet.SupervisorRef.ListID != null) { string ListID8975 = (string)OR.EmployeeRet.SupervisorRef.ListID.GetValue(); } //Get value of FullName if (OR.EmployeeRet.SupervisorRef.FullName != null) { string FullName8976 = (string)OR.EmployeeRet.SupervisorRef.FullName.GetValue(); } } //Get value of Department if (OR.EmployeeRet.Department != null) { string Department8977 = (string)OR.EmployeeRet.Department.GetValue(); } //Get value of Description if (OR.EmployeeRet.Description != null) { string Description8978 = (string)OR.EmployeeRet.Description.GetValue(); } //Get value of TargetBonus if (OR.EmployeeRet.TargetBonus != null) { double TargetBonus8979 = (double)OR.EmployeeRet.TargetBonus.GetValue(); } if (OR.EmployeeRet.EmployeeAddress != null) { //Get value of Addr1 if (OR.EmployeeRet.EmployeeAddress.Addr1 != null) { string Addr18980 = (string)OR.EmployeeRet.EmployeeAddress.Addr1.GetValue(); } //Get value of Addr2 if (OR.EmployeeRet.EmployeeAddress.Addr2 != null) { string Addr28981 = (string)OR.EmployeeRet.EmployeeAddress.Addr2.GetValue(); } //Get value of City if (OR.EmployeeRet.EmployeeAddress.City != null) { string City8982 = (string)OR.EmployeeRet.EmployeeAddress.City.GetValue(); } //Get value of State if (OR.EmployeeRet.EmployeeAddress.State != null) { string State8983 = (string)OR.EmployeeRet.EmployeeAddress.State.GetValue(); } //Get value of PostalCode if (OR.EmployeeRet.EmployeeAddress.PostalCode != null) { string PostalCode8984 = (string)OR.EmployeeRet.EmployeeAddress.PostalCode.GetValue(); } } //Get value of PrintAs if (OR.EmployeeRet.PrintAs != null) { string PrintAs8985 = (string)OR.EmployeeRet.PrintAs.GetValue(); } //Get value of Phone if (OR.EmployeeRet.Phone != null) { string Phone8986 = (string)OR.EmployeeRet.Phone.GetValue(); } //Get value of Mobile if (OR.EmployeeRet.Mobile != null) { string Mobile8987 = (string)OR.EmployeeRet.Mobile.GetValue(); } //Get value of Pager if (OR.EmployeeRet.Pager != null) { string Pager8988 = (string)OR.EmployeeRet.Pager.GetValue(); } //Get value of PagerPIN if (OR.EmployeeRet.PagerPIN != null) { string PagerPIN8989 = (string)OR.EmployeeRet.PagerPIN.GetValue(); } //Get value of AltPhone if (OR.EmployeeRet.AltPhone != null) { string AltPhone8990 = (string)OR.EmployeeRet.AltPhone.GetValue(); } //Get value of Fax if (OR.EmployeeRet.Fax != null) { string Fax8991 = (string)OR.EmployeeRet.Fax.GetValue(); } //Get value of SSN if (OR.EmployeeRet.SSN != null) { string SSN8992 = (string)OR.EmployeeRet.SSN.GetValue(); } //Get value of Email if (OR.EmployeeRet.Email != null) { string Email8993 = (string)OR.EmployeeRet.Email.GetValue(); } if (OR.EmployeeRet.AdditionalContactRefList != null) { for (int i8994 = 0; i8994 < OR.EmployeeRet.AdditionalContactRefList.Count; i8994++) { IQBBaseRef QBBaseRef = OR.EmployeeRet.AdditionalContactRefList.GetAt(i8994); //Get value of ContactName string ContactName8995 = (string)QBBaseRef.ContactName.GetValue(); //Get value of ContactValue string ContactValue8996 = (string)QBBaseRef.ContactValue.GetValue(); } } if (OR.EmployeeRet.EmergencyContacts != null) { if (OR.EmployeeRet.EmergencyContacts.PrimaryContact != null) { //Get value of ContactName string ContactName8997 = (string)OR.EmployeeRet.EmergencyContacts.PrimaryContact.ContactName.GetValue(); //Get value of ContactValue string ContactValue8998 = (string)OR.EmployeeRet.EmergencyContacts.PrimaryContact.ContactValue.GetValue(); //Get value of Relation if (OR.EmployeeRet.EmergencyContacts.PrimaryContact.Relation != null) { ENRelation Relation8999 = (ENRelation)OR.EmployeeRet.EmergencyContacts.PrimaryContact.Relation.GetValue(); } } if (OR.EmployeeRet.EmergencyContacts.SecondaryContact != null) { //Get value of ContactName string ContactName9000 = (string)OR.EmployeeRet.EmergencyContacts.SecondaryContact.ContactName.GetValue(); //Get value of ContactValue string ContactValue9001 = (string)OR.EmployeeRet.EmergencyContacts.SecondaryContact.ContactValue.GetValue(); //Get value of Relation if (OR.EmployeeRet.EmergencyContacts.SecondaryContact.Relation != null) { ENRelation Relation9002 = (ENRelation)OR.EmployeeRet.EmergencyContacts.SecondaryContact.Relation.GetValue(); } } } //Get value of EmployeeType if (OR.EmployeeRet.EmployeeType != null) { ENEmployeeType EmployeeType9003 = (ENEmployeeType)OR.EmployeeRet.EmployeeType.GetValue(); } //Get value of PartOrFullTime if (OR.EmployeeRet.PartOrFullTime != null) { ENPartOrFullTime PartOrFullTime9004 = (ENPartOrFullTime)OR.EmployeeRet.PartOrFullTime.GetValue(); } //Get value of Exempt if (OR.EmployeeRet.Exempt != null) { ENExempt Exempt9005 = (ENExempt)OR.EmployeeRet.Exempt.GetValue(); } //Get value of KeyEmployee if (OR.EmployeeRet.KeyEmployee != null) { ENKeyEmployee KeyEmployee9006 = (ENKeyEmployee)OR.EmployeeRet.KeyEmployee.GetValue(); } //Get value of Gender if (OR.EmployeeRet.Gender != null) { ENGender Gender9007 = (ENGender)OR.EmployeeRet.Gender.GetValue(); } //Get value of HiredDate if (OR.EmployeeRet.HiredDate != null) { DateTime HiredDate9008 = (DateTime)OR.EmployeeRet.HiredDate.GetValue(); } //Get value of OriginalHireDate if (OR.EmployeeRet.OriginalHireDate != null) { DateTime OriginalHireDate9009 = (DateTime)OR.EmployeeRet.OriginalHireDate.GetValue(); } //Get value of AdjustedServiceDate if (OR.EmployeeRet.AdjustedServiceDate != null) { DateTime AdjustedServiceDate9010 = (DateTime)OR.EmployeeRet.AdjustedServiceDate.GetValue(); } //Get value of ReleasedDate if (OR.EmployeeRet.ReleasedDate != null) { DateTime ReleasedDate9011 = (DateTime)OR.EmployeeRet.ReleasedDate.GetValue(); } //Get value of BirthDate if (OR.EmployeeRet.BirthDate != null) { DateTime BirthDate9012 = (DateTime)OR.EmployeeRet.BirthDate.GetValue(); } //Get value of USCitizen if (OR.EmployeeRet.USCitizen != null) { ENUSCitizen USCitizen9013 = (ENUSCitizen)OR.EmployeeRet.USCitizen.GetValue(); } //Get value of Ethnicity if (OR.EmployeeRet.Ethnicity != null) { ENEthnicity Ethnicity9014 = (ENEthnicity)OR.EmployeeRet.Ethnicity.GetValue(); } //Get value of Disabled if (OR.EmployeeRet.Disabled != null) { ENDisabled Disabled9015 = (ENDisabled)OR.EmployeeRet.Disabled.GetValue(); } //Get value of DisabilityDesc if (OR.EmployeeRet.DisabilityDesc != null) { string DisabilityDesc9016 = (string)OR.EmployeeRet.DisabilityDesc.GetValue(); } //Get value of OnFile if (OR.EmployeeRet.OnFile != null) { ENOnFile OnFile9017 = (ENOnFile)OR.EmployeeRet.OnFile.GetValue(); } //Get value of WorkAuthExpireDate if (OR.EmployeeRet.WorkAuthExpireDate != null) { DateTime WorkAuthExpireDate9018 = (DateTime)OR.EmployeeRet.WorkAuthExpireDate.GetValue(); } //Get value of USVeteran if (OR.EmployeeRet.USVeteran != null) { ENUSVeteran USVeteran9019 = (ENUSVeteran)OR.EmployeeRet.USVeteran.GetValue(); } //Get value of MilitaryStatus if (OR.EmployeeRet.MilitaryStatus != null) { ENMilitaryStatus MilitaryStatus9020 = (ENMilitaryStatus)OR.EmployeeRet.MilitaryStatus.GetValue(); } //Get value of AccountNumber if (OR.EmployeeRet.AccountNumber != null) { string AccountNumber9021 = (string)OR.EmployeeRet.AccountNumber.GetValue(); } //Get value of Notes if (OR.EmployeeRet.Notes != null) { string Notes9022 = (string)OR.EmployeeRet.Notes.GetValue(); } if (OR.EmployeeRet.AdditionalNotesRetList != null) { for (int i9023 = 0; i9023 < OR.EmployeeRet.AdditionalNotesRetList.Count; i9023++) { IAdditionalNotesRet AdditionalNotesRet = OR.EmployeeRet.AdditionalNotesRetList.GetAt(i9023); //Get value of NoteID int NoteID9024 = (int)AdditionalNotesRet.NoteID.GetValue(); //Get value of Date DateTime Date9025 = (DateTime)AdditionalNotesRet.Date.GetValue(); //Get value of Note string Note9026 = (string)AdditionalNotesRet.Note.GetValue(); } } if (OR.EmployeeRet.BillingRateRef != null) { //Get value of ListID if (OR.EmployeeRet.BillingRateRef.ListID != null) { string ListID9027 = (string)OR.EmployeeRet.BillingRateRef.ListID.GetValue(); } //Get value of FullName if (OR.EmployeeRet.BillingRateRef.FullName != null) { string FullName9028 = (string)OR.EmployeeRet.BillingRateRef.FullName.GetValue(); } } if (OR.EmployeeRet.EmployeePayrollInfo != null) { //Get value of PayPeriod if (OR.EmployeeRet.EmployeePayrollInfo.PayPeriod != null) { ENPayPeriod PayPeriod9029 = (ENPayPeriod)OR.EmployeeRet.EmployeePayrollInfo.PayPeriod.GetValue(); } if (OR.EmployeeRet.EmployeePayrollInfo.ClassRef != null) { //Get value of ListID if (OR.EmployeeRet.EmployeePayrollInfo.ClassRef.ListID != null) { string ListID9030 = (string)OR.EmployeeRet.EmployeePayrollInfo.ClassRef.ListID.GetValue(); } //Get value of FullName if (OR.EmployeeRet.EmployeePayrollInfo.ClassRef.FullName != null) { string FullName9031 = (string)OR.EmployeeRet.EmployeePayrollInfo.ClassRef.FullName.GetValue(); } } if (OR.EmployeeRet.EmployeePayrollInfo.OREarnings != null) { if (OR.EmployeeRet.EmployeePayrollInfo.OREarnings.ClearEarnings != null) { //Get value of ClearEarnings if (OR.EmployeeRet.EmployeePayrollInfo.OREarnings.ClearEarnings != null) { bool ClearEarnings9033 = (bool)OR.EmployeeRet.EmployeePayrollInfo.OREarnings.ClearEarnings.GetValue(); } } if (OR.EmployeeRet.EmployeePayrollInfo.OREarnings.EarningsList != null) { if (OR.EmployeeRet.EmployeePayrollInfo.OREarnings.EarningsList != null) { for (int i9034 = 0; i9034 < OR.EmployeeRet.EmployeePayrollInfo.OREarnings.EarningsList.Count; i9034++) { IEarnings Earnings = OR.EmployeeRet.EmployeePayrollInfo.OREarnings.EarningsList.GetAt(i9034); //Get value of ListID if (Earnings.PayrollItemWageRef.ListID != null) { string ListID9035 = (string)Earnings.PayrollItemWageRef.ListID.GetValue(); } //Get value of FullName if (Earnings.PayrollItemWageRef.FullName != null) { string FullName9036 = (string)Earnings.PayrollItemWageRef.FullName.GetValue(); } if (Earnings.ORRate != null) { if (Earnings.ORRate.Rate != null) { //Get value of Rate if (Earnings.ORRate.Rate != null) { double Rate9038 = (double)Earnings.ORRate.Rate.GetValue(); } } if (Earnings.ORRate.RatePercent != null) { //Get value of RatePercent if (Earnings.ORRate.RatePercent != null) { double RatePercent9039 = (double)Earnings.ORRate.RatePercent.GetValue(); } } } } } } } //Get value of IsUsingTimeDataToCreatePaychecks if (OR.EmployeeRet.EmployeePayrollInfo.IsUsingTimeDataToCreatePaychecks != null) { bool IsUsingTimeDataToCreatePaychecks9040 = (bool)OR.EmployeeRet.EmployeePayrollInfo.IsUsingTimeDataToCreatePaychecks.GetValue(); } //Get value of UseTimeDataToCreatePaychecks if (OR.EmployeeRet.EmployeePayrollInfo.UseTimeDataToCreatePaychecks != null) { ENUseTimeDataToCreatePaychecks UseTimeDataToCreatePaychecks9041 = (ENUseTimeDataToCreatePaychecks)OR.EmployeeRet.EmployeePayrollInfo.UseTimeDataToCreatePaychecks.GetValue(); } if (OR.EmployeeRet.EmployeePayrollInfo.SickHours != null) { //Get value of HoursAvailable if (OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursAvailable != null) { IQBTimeIntervalType HoursAvailable9042 = (IQBTimeIntervalType)OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursAvailable.GetValue(); } //Get value of AccrualPeriod if (OR.EmployeeRet.EmployeePayrollInfo.SickHours.AccrualPeriod != null) { ENAccrualPeriod AccrualPeriod9043 = (ENAccrualPeriod)OR.EmployeeRet.EmployeePayrollInfo.SickHours.AccrualPeriod.GetValue(); } //Get value of HoursAccrued if (OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursAccrued != null) { IQBTimeIntervalType HoursAccrued9044 = (IQBTimeIntervalType)OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursAccrued.GetValue(); } //Get value of MaximumHours if (OR.EmployeeRet.EmployeePayrollInfo.SickHours.MaximumHours != null) { IQBTimeIntervalType MaximumHours9045 = (IQBTimeIntervalType)OR.EmployeeRet.EmployeePayrollInfo.SickHours.MaximumHours.GetValue(); } //Get value of IsResettingHoursEachNewYear if (OR.EmployeeRet.EmployeePayrollInfo.SickHours.IsResettingHoursEachNewYear != null) { bool IsResettingHoursEachNewYear9046 = (bool)OR.EmployeeRet.EmployeePayrollInfo.SickHours.IsResettingHoursEachNewYear.GetValue(); } //Get value of HoursUsed if (OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursUsed != null) { IQBTimeIntervalType HoursUsed9047 = (IQBTimeIntervalType)OR.EmployeeRet.EmployeePayrollInfo.SickHours.HoursUsed.GetValue(); } //Get value of AccrualStartDate if (OR.EmployeeRet.EmployeePayrollInfo.SickHours.AccrualStartDate != null) { DateTime AccrualStartDate9048 = (DateTime)OR.EmployeeRet.EmployeePayrollInfo.SickHours.AccrualStartDate.GetValue(); } } if (OR.EmployeeRet.EmployeePayrollInfo.VacationHours != null) { //Get value of HoursAvailable if (OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursAvailable != null) { IQBTimeIntervalType HoursAvailable9049 = (IQBTimeIntervalType)OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursAvailable.GetValue(); } //Get value of AccrualPeriod if (OR.EmployeeRet.EmployeePayrollInfo.VacationHours.AccrualPeriod != null) { ENAccrualPeriod AccrualPeriod9050 = (ENAccrualPeriod)OR.EmployeeRet.EmployeePayrollInfo.VacationHours.AccrualPeriod.GetValue(); } //Get value of HoursAccrued if (OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursAccrued != null) { IQBTimeIntervalType HoursAccrued9051 = (IQBTimeIntervalType)OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursAccrued.GetValue(); } //Get value of MaximumHours if (OR.EmployeeRet.EmployeePayrollInfo.VacationHours.MaximumHours != null) { IQBTimeIntervalType MaximumHours9052 = (IQBTimeIntervalType)OR.EmployeeRet.EmployeePayrollInfo.VacationHours.MaximumHours.GetValue(); } //Get value of IsResettingHoursEachNewYear if (OR.EmployeeRet.EmployeePayrollInfo.VacationHours.IsResettingHoursEachNewYear != null) { bool IsResettingHoursEachNewYear9053 = (bool)OR.EmployeeRet.EmployeePayrollInfo.VacationHours.IsResettingHoursEachNewYear.GetValue(); } //Get value of HoursUsed if (OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursUsed != null) { IQBTimeIntervalType HoursUsed9054 = (IQBTimeIntervalType)OR.EmployeeRet.EmployeePayrollInfo.VacationHours.HoursUsed.GetValue(); } //Get value of AccrualStartDate if (OR.EmployeeRet.EmployeePayrollInfo.VacationHours.AccrualStartDate != null) { DateTime AccrualStartDate9055 = (DateTime)OR.EmployeeRet.EmployeePayrollInfo.VacationHours.AccrualStartDate.GetValue(); } } } //Get value of ExternalGUID if (OR.EmployeeRet.ExternalGUID != null) { string ExternalGUID9056 = (string)OR.EmployeeRet.ExternalGUID.GetValue(); } if (OR.EmployeeRet.DataExtRetList != null) { for (int i9057 = 0; i9057 < OR.EmployeeRet.DataExtRetList.Count; i9057++) { IDataExtRet DataExtRet = OR.EmployeeRet.DataExtRetList.GetAt(i9057); //Get value of OwnerID if (DataExtRet.OwnerID != null) { string OwnerID9058 = (string)DataExtRet.OwnerID.GetValue(); } //Get value of DataExtName string DataExtName9059 = (string)DataExtRet.DataExtName.GetValue(); //Get value of DataExtType ENDataExtType DataExtType9060 = (ENDataExtType)DataExtRet.DataExtType.GetValue(); //Get value of DataExtValue string DataExtValue9061 = (string)DataExtRet.DataExtValue.GetValue(); } } } if (OR.OtherNameRet != null) { //Get value of ListID string ListID9062 = (string)OR.OtherNameRet.ListID.GetValue(); //Get value of TimeCreated DateTime TimeCreated9063 = (DateTime)OR.OtherNameRet.TimeCreated.GetValue(); //Get value of TimeModified DateTime TimeModified9064 = (DateTime)OR.OtherNameRet.TimeModified.GetValue(); //Get value of EditSequence string EditSequence9065 = (string)OR.OtherNameRet.EditSequence.GetValue(); //Get value of Name string Name9066 = (string)OR.OtherNameRet.Name.GetValue(); //Get value of IsActive if (OR.OtherNameRet.IsActive != null) { bool IsActive9067 = (bool)OR.OtherNameRet.IsActive.GetValue(); } //Get value of CompanyName if (OR.OtherNameRet.CompanyName != null) { string CompanyName9068 = (string)OR.OtherNameRet.CompanyName.GetValue(); } //Get value of Salutation if (OR.OtherNameRet.Salutation != null) { string Salutation9069 = (string)OR.OtherNameRet.Salutation.GetValue(); } //Get value of FirstName if (OR.OtherNameRet.FirstName != null) { string FirstName9070 = (string)OR.OtherNameRet.FirstName.GetValue(); } //Get value of MiddleName if (OR.OtherNameRet.MiddleName != null) { string MiddleName9071 = (string)OR.OtherNameRet.MiddleName.GetValue(); } //Get value of LastName if (OR.OtherNameRet.LastName != null) { string LastName9072 = (string)OR.OtherNameRet.LastName.GetValue(); } if (OR.OtherNameRet.OtherNameAddress != null) { //Get value of Addr1 if (OR.OtherNameRet.OtherNameAddress.Addr1 != null) { string Addr19073 = (string)OR.OtherNameRet.OtherNameAddress.Addr1.GetValue(); } //Get value of Addr2 if (OR.OtherNameRet.OtherNameAddress.Addr2 != null) { string Addr29074 = (string)OR.OtherNameRet.OtherNameAddress.Addr2.GetValue(); } //Get value of Addr3 if (OR.OtherNameRet.OtherNameAddress.Addr3 != null) { string Addr39075 = (string)OR.OtherNameRet.OtherNameAddress.Addr3.GetValue(); } //Get value of Addr4 if (OR.OtherNameRet.OtherNameAddress.Addr4 != null) { string Addr49076 = (string)OR.OtherNameRet.OtherNameAddress.Addr4.GetValue(); } //Get value of Addr5 if (OR.OtherNameRet.OtherNameAddress.Addr5 != null) { string Addr59077 = (string)OR.OtherNameRet.OtherNameAddress.Addr5.GetValue(); } //Get value of City if (OR.OtherNameRet.OtherNameAddress.City != null) { string City9078 = (string)OR.OtherNameRet.OtherNameAddress.City.GetValue(); } //Get value of State if (OR.OtherNameRet.OtherNameAddress.State != null) { string State9079 = (string)OR.OtherNameRet.OtherNameAddress.State.GetValue(); } //Get value of PostalCode if (OR.OtherNameRet.OtherNameAddress.PostalCode != null) { string PostalCode9080 = (string)OR.OtherNameRet.OtherNameAddress.PostalCode.GetValue(); } //Get value of Country if (OR.OtherNameRet.OtherNameAddress.Country != null) { string Country9081 = (string)OR.OtherNameRet.OtherNameAddress.Country.GetValue(); } //Get value of Note if (OR.OtherNameRet.OtherNameAddress.Note != null) { string Note9082 = (string)OR.OtherNameRet.OtherNameAddress.Note.GetValue(); } } if (OR.OtherNameRet.OtherNameAddressBlock != null) { //Get value of Addr1 if (OR.OtherNameRet.OtherNameAddressBlock.Addr1 != null) { string Addr19083 = (string)OR.OtherNameRet.OtherNameAddressBlock.Addr1.GetValue(); } //Get value of Addr2 if (OR.OtherNameRet.OtherNameAddressBlock.Addr2 != null) { string Addr29084 = (string)OR.OtherNameRet.OtherNameAddressBlock.Addr2.GetValue(); } //Get value of Addr3 if (OR.OtherNameRet.OtherNameAddressBlock.Addr3 != null) { string Addr39085 = (string)OR.OtherNameRet.OtherNameAddressBlock.Addr3.GetValue(); } //Get value of Addr4 if (OR.OtherNameRet.OtherNameAddressBlock.Addr4 != null) { string Addr49086 = (string)OR.OtherNameRet.OtherNameAddressBlock.Addr4.GetValue(); } //Get value of Addr5 if (OR.OtherNameRet.OtherNameAddressBlock.Addr5 != null) { string Addr59087 = (string)OR.OtherNameRet.OtherNameAddressBlock.Addr5.GetValue(); } } //Get value of Phone if (OR.OtherNameRet.Phone != null) { string Phone9088 = (string)OR.OtherNameRet.Phone.GetValue(); } //Get value of AltPhone if (OR.OtherNameRet.AltPhone != null) { string AltPhone9089 = (string)OR.OtherNameRet.AltPhone.GetValue(); } //Get value of Fax if (OR.OtherNameRet.Fax != null) { string Fax9090 = (string)OR.OtherNameRet.Fax.GetValue(); } //Get value of Email if (OR.OtherNameRet.Email != null) { string Email9091 = (string)OR.OtherNameRet.Email.GetValue(); } //Get value of Contact if (OR.OtherNameRet.Contact != null) { string Contact9092 = (string)OR.OtherNameRet.Contact.GetValue(); } //Get value of AltContact if (OR.OtherNameRet.AltContact != null) { string AltContact9093 = (string)OR.OtherNameRet.AltContact.GetValue(); } //Get value of AccountNumber if (OR.OtherNameRet.AccountNumber != null) { string AccountNumber9094 = (string)OR.OtherNameRet.AccountNumber.GetValue(); } //Get value of Notes if (OR.OtherNameRet.Notes != null) { string Notes9095 = (string)OR.OtherNameRet.Notes.GetValue(); } //Get value of ExternalGUID if (OR.OtherNameRet.ExternalGUID != null) { string ExternalGUID9096 = (string)OR.OtherNameRet.ExternalGUID.GetValue(); } if (OR.OtherNameRet.DataExtRetList != null) { for (int i9097 = 0; i9097 < OR.OtherNameRet.DataExtRetList.Count; i9097++) { IDataExtRet DataExtRet = OR.OtherNameRet.DataExtRetList.GetAt(i9097); //Get value of OwnerID if (DataExtRet.OwnerID != null) { string OwnerID9098 = (string)DataExtRet.OwnerID.GetValue(); } //Get value of DataExtName string DataExtName9099 = (string)DataExtRet.DataExtName.GetValue(); //Get value of DataExtType ENDataExtType DataExtType9100 = (ENDataExtType)DataExtRet.DataExtType.GetValue(); //Get value of DataExtValue string DataExtValue9101 = (string)DataExtRet.DataExtValue.GetValue(); } } } if (OR.VendorRet != null) { //Get value of ListID string ListID9102 = (string)OR.VendorRet.ListID.GetValue(); //Get value of TimeCreated DateTime TimeCreated9103 = (DateTime)OR.VendorRet.TimeCreated.GetValue(); //Get value of TimeModified DateTime TimeModified9104 = (DateTime)OR.VendorRet.TimeModified.GetValue(); //Get value of EditSequence string EditSequence9105 = (string)OR.VendorRet.EditSequence.GetValue(); //Get value of Name string Name9106 = (string)OR.VendorRet.Name.GetValue(); //Get value of IsActive if (OR.VendorRet.IsActive != null) { bool IsActive9107 = (bool)OR.VendorRet.IsActive.GetValue(); } if (OR.VendorRet.ClassRef != null) { //Get value of ListID if (OR.VendorRet.ClassRef.ListID != null) { string ListID9108 = (string)OR.VendorRet.ClassRef.ListID.GetValue(); } //Get value of FullName if (OR.VendorRet.ClassRef.FullName != null) { string FullName9109 = (string)OR.VendorRet.ClassRef.FullName.GetValue(); } } //Get value of IsTaxAgency if (OR.VendorRet.IsTaxAgency != null) { bool IsTaxAgency9110 = (bool)OR.VendorRet.IsTaxAgency.GetValue(); } //Get value of CompanyName if (OR.VendorRet.CompanyName != null) { string CompanyName9111 = (string)OR.VendorRet.CompanyName.GetValue(); } //Get value of Salutation if (OR.VendorRet.Salutation != null) { string Salutation9112 = (string)OR.VendorRet.Salutation.GetValue(); } //Get value of FirstName if (OR.VendorRet.FirstName != null) { string FirstName9113 = (string)OR.VendorRet.FirstName.GetValue(); } //Get value of MiddleName if (OR.VendorRet.MiddleName != null) { string MiddleName9114 = (string)OR.VendorRet.MiddleName.GetValue(); } //Get value of LastName if (OR.VendorRet.LastName != null) { string LastName9115 = (string)OR.VendorRet.LastName.GetValue(); } //Get value of JobTitle if (OR.VendorRet.JobTitle != null) { string JobTitle9116 = (string)OR.VendorRet.JobTitle.GetValue(); } if (OR.VendorRet.VendorAddress != null) { //Get value of Addr1 if (OR.VendorRet.VendorAddress.Addr1 != null) { string Addr19117 = (string)OR.VendorRet.VendorAddress.Addr1.GetValue(); } //Get value of Addr2 if (OR.VendorRet.VendorAddress.Addr2 != null) { string Addr29118 = (string)OR.VendorRet.VendorAddress.Addr2.GetValue(); } //Get value of Addr3 if (OR.VendorRet.VendorAddress.Addr3 != null) { string Addr39119 = (string)OR.VendorRet.VendorAddress.Addr3.GetValue(); } //Get value of Addr4 if (OR.VendorRet.VendorAddress.Addr4 != null) { string Addr49120 = (string)OR.VendorRet.VendorAddress.Addr4.GetValue(); } //Get value of Addr5 if (OR.VendorRet.VendorAddress.Addr5 != null) { string Addr59121 = (string)OR.VendorRet.VendorAddress.Addr5.GetValue(); } //Get value of City if (OR.VendorRet.VendorAddress.City != null) { string City9122 = (string)OR.VendorRet.VendorAddress.City.GetValue(); } //Get value of State if (OR.VendorRet.VendorAddress.State != null) { string State9123 = (string)OR.VendorRet.VendorAddress.State.GetValue(); } //Get value of PostalCode if (OR.VendorRet.VendorAddress.PostalCode != null) { string PostalCode9124 = (string)OR.VendorRet.VendorAddress.PostalCode.GetValue(); } //Get value of Country if (OR.VendorRet.VendorAddress.Country != null) { string Country9125 = (string)OR.VendorRet.VendorAddress.Country.GetValue(); } //Get value of Note if (OR.VendorRet.VendorAddress.Note != null) { string Note9126 = (string)OR.VendorRet.VendorAddress.Note.GetValue(); } } if (OR.VendorRet.VendorAddressBlock != null) { //Get value of Addr1 if (OR.VendorRet.VendorAddressBlock.Addr1 != null) { string Addr19127 = (string)OR.VendorRet.VendorAddressBlock.Addr1.GetValue(); } //Get value of Addr2 if (OR.VendorRet.VendorAddressBlock.Addr2 != null) { string Addr29128 = (string)OR.VendorRet.VendorAddressBlock.Addr2.GetValue(); } //Get value of Addr3 if (OR.VendorRet.VendorAddressBlock.Addr3 != null) { string Addr39129 = (string)OR.VendorRet.VendorAddressBlock.Addr3.GetValue(); } //Get value of Addr4 if (OR.VendorRet.VendorAddressBlock.Addr4 != null) { string Addr49130 = (string)OR.VendorRet.VendorAddressBlock.Addr4.GetValue(); } //Get value of Addr5 if (OR.VendorRet.VendorAddressBlock.Addr5 != null) { string Addr59131 = (string)OR.VendorRet.VendorAddressBlock.Addr5.GetValue(); } } if (OR.VendorRet.ShipAddress != null) { //Get value of Addr1 if (OR.VendorRet.ShipAddress.Addr1 != null) { string Addr19132 = (string)OR.VendorRet.ShipAddress.Addr1.GetValue(); } //Get value of Addr2 if (OR.VendorRet.ShipAddress.Addr2 != null) { string Addr29133 = (string)OR.VendorRet.ShipAddress.Addr2.GetValue(); } //Get value of Addr3 if (OR.VendorRet.ShipAddress.Addr3 != null) { string Addr39134 = (string)OR.VendorRet.ShipAddress.Addr3.GetValue(); } //Get value of Addr4 if (OR.VendorRet.ShipAddress.Addr4 != null) { string Addr49135 = (string)OR.VendorRet.ShipAddress.Addr4.GetValue(); } //Get value of Addr5 if (OR.VendorRet.ShipAddress.Addr5 != null) { string Addr59136 = (string)OR.VendorRet.ShipAddress.Addr5.GetValue(); } //Get value of City if (OR.VendorRet.ShipAddress.City != null) { string City9137 = (string)OR.VendorRet.ShipAddress.City.GetValue(); } //Get value of State if (OR.VendorRet.ShipAddress.State != null) { string State9138 = (string)OR.VendorRet.ShipAddress.State.GetValue(); } //Get value of PostalCode if (OR.VendorRet.ShipAddress.PostalCode != null) { string PostalCode9139 = (string)OR.VendorRet.ShipAddress.PostalCode.GetValue(); } //Get value of Country if (OR.VendorRet.ShipAddress.Country != null) { string Country9140 = (string)OR.VendorRet.ShipAddress.Country.GetValue(); } //Get value of Note if (OR.VendorRet.ShipAddress.Note != null) { string Note9141 = (string)OR.VendorRet.ShipAddress.Note.GetValue(); } } //Get value of Phone if (OR.VendorRet.Phone != null) { string Phone9142 = (string)OR.VendorRet.Phone.GetValue(); } //Get value of AltPhone if (OR.VendorRet.AltPhone != null) { string AltPhone9143 = (string)OR.VendorRet.AltPhone.GetValue(); } //Get value of Fax if (OR.VendorRet.Fax != null) { string Fax9144 = (string)OR.VendorRet.Fax.GetValue(); } //Get value of Email if (OR.VendorRet.Email != null) { string Email9145 = (string)OR.VendorRet.Email.GetValue(); } //Get value of Cc if (OR.VendorRet.Cc != null) { string Cc9146 = (string)OR.VendorRet.Cc.GetValue(); } //Get value of Contact if (OR.VendorRet.Contact != null) { string Contact9147 = (string)OR.VendorRet.Contact.GetValue(); } //Get value of AltContact if (OR.VendorRet.AltContact != null) { string AltContact9148 = (string)OR.VendorRet.AltContact.GetValue(); } if (OR.VendorRet.AdditionalContactRefList != null) { for (int i9149 = 0; i9149 < OR.VendorRet.AdditionalContactRefList.Count; i9149++) { IQBBaseRef QBBaseRef = OR.VendorRet.AdditionalContactRefList.GetAt(i9149); //Get value of ContactName string ContactName9150 = (string)QBBaseRef.ContactName.GetValue(); //Get value of ContactValue string ContactValue9151 = (string)QBBaseRef.ContactValue.GetValue(); } } if (OR.VendorRet.ContactsRetList != null) { for (int i9152 = 0; i9152 < OR.VendorRet.ContactsRetList.Count; i9152++) { IContactsRet ContactsRet = OR.VendorRet.ContactsRetList.GetAt(i9152); //Get value of ListID string ListID9153 = (string)ContactsRet.ListID.GetValue(); //Get value of TimeCreated DateTime TimeCreated9154 = (DateTime)ContactsRet.TimeCreated.GetValue(); //Get value of TimeModified DateTime TimeModified9155 = (DateTime)ContactsRet.TimeModified.GetValue(); //Get value of EditSequence string EditSequence9156 = (string)ContactsRet.EditSequence.GetValue(); //Get value of Contact if (ContactsRet.Contact != null) { string Contact9157 = (string)ContactsRet.Contact.GetValue(); } //Get value of Salutation if (ContactsRet.Salutation != null) { string Salutation9158 = (string)ContactsRet.Salutation.GetValue(); } //Get value of FirstName string FirstName9159 = (string)ContactsRet.FirstName.GetValue(); //Get value of MiddleName if (ContactsRet.MiddleName != null) { string MiddleName9160 = (string)ContactsRet.MiddleName.GetValue(); } //Get value of LastName if (ContactsRet.LastName != null) { string LastName9161 = (string)ContactsRet.LastName.GetValue(); } //Get value of JobTitle if (ContactsRet.JobTitle != null) { string JobTitle9162 = (string)ContactsRet.JobTitle.GetValue(); } if (ContactsRet.AdditionalContactRefList != null) { for (int i9163 = 0; i9163 < ContactsRet.AdditionalContactRefList.Count; i9163++) { IQBBaseRef QBBaseRef = ContactsRet.AdditionalContactRefList.GetAt(i9163); //Get value of ContactName string ContactName9164 = (string)QBBaseRef.ContactName.GetValue(); //Get value of ContactValue string ContactValue9165 = (string)QBBaseRef.ContactValue.GetValue(); } } } } //Get value of NameOnCheck if (OR.VendorRet.NameOnCheck != null) { string NameOnCheck9166 = (string)OR.VendorRet.NameOnCheck.GetValue(); } //Get value of AccountNumber if (OR.VendorRet.AccountNumber != null) { string AccountNumber9167 = (string)OR.VendorRet.AccountNumber.GetValue(); } //Get value of Notes if (OR.VendorRet.Notes != null) { string Notes9168 = (string)OR.VendorRet.Notes.GetValue(); } if (OR.VendorRet.AdditionalNotesRetList != null) { for (int i9169 = 0; i9169 < OR.VendorRet.AdditionalNotesRetList.Count; i9169++) { IAdditionalNotesRet AdditionalNotesRet = OR.VendorRet.AdditionalNotesRetList.GetAt(i9169); //Get value of NoteID int NoteID9170 = (int)AdditionalNotesRet.NoteID.GetValue(); //Get value of Date DateTime Date9171 = (DateTime)AdditionalNotesRet.Date.GetValue(); //Get value of Note string Note9172 = (string)AdditionalNotesRet.Note.GetValue(); } } if (OR.VendorRet.VendorTypeRef != null) { //Get value of ListID if (OR.VendorRet.VendorTypeRef.ListID != null) { string ListID9173 = (string)OR.VendorRet.VendorTypeRef.ListID.GetValue(); } //Get value of FullName if (OR.VendorRet.VendorTypeRef.FullName != null) { string FullName9174 = (string)OR.VendorRet.VendorTypeRef.FullName.GetValue(); } } if (OR.VendorRet.TermsRef != null) { //Get value of ListID if (OR.VendorRet.TermsRef.ListID != null) { string ListID9175 = (string)OR.VendorRet.TermsRef.ListID.GetValue(); } //Get value of FullName if (OR.VendorRet.TermsRef.FullName != null) { string FullName9176 = (string)OR.VendorRet.TermsRef.FullName.GetValue(); } } //Get value of CreditLimit if (OR.VendorRet.CreditLimit != null) { double CreditLimit9177 = (double)OR.VendorRet.CreditLimit.GetValue(); } //Get value of VendorTaxIdent if (OR.VendorRet.VendorTaxIdent != null) { string VendorTaxIdent9178 = (string)OR.VendorRet.VendorTaxIdent.GetValue(); } //Get value of IsVendorEligibleFor1099 if (OR.VendorRet.IsVendorEligibleFor1099 != null) { bool IsVendorEligibleFor10999179 = (bool)OR.VendorRet.IsVendorEligibleFor1099.GetValue(); } //Get value of Balance if (OR.VendorRet.Balance != null) { double Balance9180 = (double)OR.VendorRet.Balance.GetValue(); } if (OR.VendorRet.BillingRateRef != null) { //Get value of ListID if (OR.VendorRet.BillingRateRef.ListID != null) { string ListID9181 = (string)OR.VendorRet.BillingRateRef.ListID.GetValue(); } //Get value of FullName if (OR.VendorRet.BillingRateRef.FullName != null) { string FullName9182 = (string)OR.VendorRet.BillingRateRef.FullName.GetValue(); } } //Get value of ExternalGUID if (OR.VendorRet.ExternalGUID != null) { string ExternalGUID9183 = (string)OR.VendorRet.ExternalGUID.GetValue(); } if (OR.VendorRet.SalesTaxCodeRef != null) { //Get value of ListID if (OR.VendorRet.SalesTaxCodeRef.ListID != null) { string ListID9184 = (string)OR.VendorRet.SalesTaxCodeRef.ListID.GetValue(); } //Get value of FullName if (OR.VendorRet.SalesTaxCodeRef.FullName != null) { string FullName9185 = (string)OR.VendorRet.SalesTaxCodeRef.FullName.GetValue(); } } //Get value of SalesTaxCountry if (OR.VendorRet.SalesTaxCountry != null) { ENSalesTaxCountry SalesTaxCountry9186 = (ENSalesTaxCountry)OR.VendorRet.SalesTaxCountry.GetValue(); } //Get value of IsSalesTaxAgency if (OR.VendorRet.IsSalesTaxAgency != null) { bool IsSalesTaxAgency9187 = (bool)OR.VendorRet.IsSalesTaxAgency.GetValue(); } if (OR.VendorRet.SalesTaxReturnRef != null) { //Get value of ListID if (OR.VendorRet.SalesTaxReturnRef.ListID != null) { string ListID9188 = (string)OR.VendorRet.SalesTaxReturnRef.ListID.GetValue(); } //Get value of FullName if (OR.VendorRet.SalesTaxReturnRef.FullName != null) { string FullName9189 = (string)OR.VendorRet.SalesTaxReturnRef.FullName.GetValue(); } } //Get value of TaxRegistrationNumber if (OR.VendorRet.TaxRegistrationNumber != null) { string TaxRegistrationNumber9190 = (string)OR.VendorRet.TaxRegistrationNumber.GetValue(); } //Get value of ReportingPeriod if (OR.VendorRet.ReportingPeriod != null) { ENReportingPeriod ReportingPeriod9191 = (ENReportingPeriod)OR.VendorRet.ReportingPeriod.GetValue(); } //Get value of IsTaxTrackedOnPurchases if (OR.VendorRet.IsTaxTrackedOnPurchases != null) { bool IsTaxTrackedOnPurchases9192 = (bool)OR.VendorRet.IsTaxTrackedOnPurchases.GetValue(); } if (OR.VendorRet.TaxOnPurchasesAccountRef != null) { //Get value of ListID if (OR.VendorRet.TaxOnPurchasesAccountRef.ListID != null) { string ListID9193 = (string)OR.VendorRet.TaxOnPurchasesAccountRef.ListID.GetValue(); } //Get value of FullName if (OR.VendorRet.TaxOnPurchasesAccountRef.FullName != null) { string FullName9194 = (string)OR.VendorRet.TaxOnPurchasesAccountRef.FullName.GetValue(); } } //Get value of IsTaxTrackedOnSales if (OR.VendorRet.IsTaxTrackedOnSales != null) { bool IsTaxTrackedOnSales9195 = (bool)OR.VendorRet.IsTaxTrackedOnSales.GetValue(); } if (OR.VendorRet.TaxOnSalesAccountRef != null) { //Get value of ListID if (OR.VendorRet.TaxOnSalesAccountRef.ListID != null) { string ListID9196 = (string)OR.VendorRet.TaxOnSalesAccountRef.ListID.GetValue(); } //Get value of FullName if (OR.VendorRet.TaxOnSalesAccountRef.FullName != null) { string FullName9197 = (string)OR.VendorRet.TaxOnSalesAccountRef.FullName.GetValue(); } } //Get value of IsTaxOnTax if (OR.VendorRet.IsTaxOnTax != null) { bool IsTaxOnTax9198 = (bool)OR.VendorRet.IsTaxOnTax.GetValue(); } if (OR.VendorRet.PrefillAccountRefList != null) { for (int i9199 = 0; i9199 < OR.VendorRet.PrefillAccountRefList.Count; i9199++) { IQBBaseRef QBBaseRef = OR.VendorRet.PrefillAccountRefList.GetAt(i9199); //Get value of ListID if (QBBaseRef.ListID != null) { string ListID9200 = (string)QBBaseRef.ListID.GetValue(); } //Get value of FullName if (QBBaseRef.FullName != null) { string FullName9201 = (string)QBBaseRef.FullName.GetValue(); } } } if (OR.VendorRet.CurrencyRef != null) { //Get value of ListID if (OR.VendorRet.CurrencyRef.ListID != null) { string ListID9202 = (string)OR.VendorRet.CurrencyRef.ListID.GetValue(); } //Get value of FullName if (OR.VendorRet.CurrencyRef.FullName != null) { string FullName9203 = (string)OR.VendorRet.CurrencyRef.FullName.GetValue(); } } if (OR.VendorRet.DataExtRetList != null) { for (int i9204 = 0; i9204 < OR.VendorRet.DataExtRetList.Count; i9204++) { IDataExtRet DataExtRet = OR.VendorRet.DataExtRetList.GetAt(i9204); //Get value of OwnerID if (DataExtRet.OwnerID != null) { string OwnerID9205 = (string)DataExtRet.OwnerID.GetValue(); } //Get value of DataExtName string DataExtName9206 = (string)DataExtRet.DataExtName.GetValue(); //Get value of DataExtType ENDataExtType DataExtType9207 = (ENDataExtType)DataExtRet.DataExtType.GetValue(); //Get value of DataExtValue string DataExtValue9208 = (string)DataExtRet.DataExtValue.GetValue(); } } } } } } |