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 | <?xml version="1.0" encoding="utf-8"?> <?qbxml version="16.0"?> <QBXML> <QBXMLMsgsRq onError="stopOnError"> <CreditMemoAddRq> <CreditMemoAdd defMacro="MACROTYPE"> <!-- required --> <CustomerRef> <!-- required --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CustomerRef> <ClassRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ClassRef> <ARAccountRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ARAccountRef> <TemplateRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </TemplateRef> <TxnDate >DATETYPE</TxnDate> <!-- optional --> <RefNumber >STRTYPE</RefNumber> <!-- 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> <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> <IsPending >BOOLTYPE</IsPending> <!-- optional --> <PONumber >STRTYPE</PONumber> <!-- optional --> <TermsRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </TermsRef> <DueDate >DATETYPE</DueDate> <!-- optional --> <SalesRepRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SalesRepRef> <FOB >STRTYPE</FOB> <!-- optional --> <ShipDate >DATETYPE</ShipDate> <!-- optional --> <ShipMethodRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ShipMethodRef> <ItemSalesTaxRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ItemSalesTaxRef> <Memo >STRTYPE</Memo> <!-- optional --> <CustomerMsgRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CustomerMsgRef> <IsToBePrinted >BOOLTYPE</IsToBePrinted> <!-- optional --> <IsToBeEmailed >BOOLTYPE</IsToBeEmailed> <!-- optional --> <IsTaxIncluded >BOOLTYPE</IsTaxIncluded> <!-- optional --> <CustomerSalesTaxCodeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CustomerSalesTaxCodeRef> <Other >STRTYPE</Other> <!-- optional --> <ExchangeRate >FLOATTYPE</ExchangeRate> <!-- optional --> <ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional --> <!-- BEGIN OR --> <CreditMemoLineAdd defMacro="MACROTYPE"> <!-- optional --> <ItemRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ItemRef> <Desc >STRTYPE</Desc> <!-- optional --> <Quantity >QUANTYPE</Quantity> <!-- optional --> <UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional --> <!-- BEGIN OR --> <Rate >PRICETYPE</Rate> <!-- optional --> <!-- OR --> <RatePercent >PERCENTTYPE</RatePercent> <!-- optional --> <!-- OR --> <PriceLevelRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </PriceLevelRef> <!-- END OR --> <ClassRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ClassRef> <Amount >AMTTYPE</Amount> <!-- optional --> <InventorySiteRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </InventorySiteRef> <InventorySiteLocationRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </InventorySiteLocationRef> <!-- BEGIN OR --> <SerialNumber >STRTYPE</SerialNumber> <!-- optional --> <!-- OR --> <LotNumber >STRTYPE</LotNumber> <!-- optional --> <!-- END OR --> <ServiceDate >DATETYPE</ServiceDate> <!-- optional --> <SalesTaxCodeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SalesTaxCodeRef> <OverrideItemAccountRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </OverrideItemAccountRef> <Other1 >STRTYPE</Other1> <!-- optional --> <Other2 >STRTYPE</Other2> <!-- optional --> <CreditCardTxnInfo> <!-- optional --> <CreditCardTxnInputInfo> <!-- required --> <CreditCardNumber >STRTYPE</CreditCardNumber> <!-- required --> <ExpirationMonth >INTTYPE</ExpirationMonth> <!-- required --> <ExpirationYear >INTTYPE</ExpirationYear> <!-- required --> <NameOnCard >STRTYPE</NameOnCard> <!-- required --> <CreditCardAddress >STRTYPE</CreditCardAddress> <!-- optional --> <CreditCardPostalCode >STRTYPE</CreditCardPostalCode> <!-- optional --> <CommercialCardCode >STRTYPE</CommercialCardCode> <!-- optional --> <!-- TransactionMode may have one of the following values: CardNotPresent [DEFAULT], CardPresent --> <TransactionMode >ENUMTYPE</TransactionMode> <!-- optional --> <!-- CreditCardTxnType may have one of the following values: Authorization, Capture, Charge, Refund, VoiceAuthorization --> <CreditCardTxnType >ENUMTYPE</CreditCardTxnType> <!-- optional --> </CreditCardTxnInputInfo> <CreditCardTxnResultInfo> <!-- required --> <ResultCode >INTTYPE</ResultCode> <!-- required --> <ResultMessage >STRTYPE</ResultMessage> <!-- required --> <CreditCardTransID >STRTYPE</CreditCardTransID> <!-- required --> <MerchantAccountNumber >STRTYPE</MerchantAccountNumber> <!-- required --> <AuthorizationCode >STRTYPE</AuthorizationCode> <!-- optional --> <!-- AVSStreet may have one of the following values: Pass, Fail, NotAvailable --> <AVSStreet >ENUMTYPE</AVSStreet> <!-- optional --> <!-- AVSZip may have one of the following values: Pass, Fail, NotAvailable --> <AVSZip >ENUMTYPE</AVSZip> <!-- optional --> <!-- CardSecurityCodeMatch may have one of the following values: Pass, Fail, NotAvailable --> <CardSecurityCodeMatch >ENUMTYPE</CardSecurityCodeMatch> <!-- optional --> <ReconBatchID >STRTYPE</ReconBatchID> <!-- optional --> <PaymentGroupingCode >INTTYPE</PaymentGroupingCode> <!-- optional --> <!-- PaymentStatus may have one of the following values: Unknown, Completed --> <PaymentStatus >ENUMTYPE</PaymentStatus> <!-- required --> <TxnAuthorizationTime >DATETIMETYPE</TxnAuthorizationTime> <!-- required --> <TxnAuthorizationStamp >INTTYPE</TxnAuthorizationStamp> <!-- optional --> <ClientTransID >STRTYPE</ClientTransID> <!-- optional --> </CreditCardTxnResultInfo> </CreditCardTxnInfo> <DataExt> <!-- optional, may repeat --> <OwnerID >GUIDTYPE</OwnerID> <!-- required --> <DataExtName >STRTYPE</DataExtName> <!-- required --> <DataExtValue >STRTYPE</DataExtValue> <!-- required --> </DataExt> </CreditMemoLineAdd> <!-- OR --> <CreditMemoLineGroupAdd> <!-- optional --> <ItemGroupRef> <!-- required --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ItemGroupRef> <Quantity >QUANTYPE</Quantity> <!-- optional --> <UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional --> <InventorySiteRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </InventorySiteRef> <InventorySiteLocationRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </InventorySiteLocationRef> <DataExt> <!-- optional, may repeat --> <OwnerID >GUIDTYPE</OwnerID> <!-- required --> <DataExtName >STRTYPE</DataExtName> <!-- required --> <DataExtValue >STRTYPE</DataExtValue> <!-- required --> </DataExt> </CreditMemoLineGroupAdd> <!-- END OR --> </CreditMemoAdd> <IncludeRetElement >STRTYPE</IncludeRetElement> <!-- optional, may repeat --> </CreditMemoAddRq> <CreditMemoAddRs statusCode="INTTYPE" statusSeverity="STRTYPE" statusMessage="STRTYPE"> <CreditMemoRet> <!-- optional --> <TxnID >IDTYPE</TxnID> <!-- required --> <TimeCreated >DATETIMETYPE</TimeCreated> <!-- required --> <TimeModified >DATETIMETYPE</TimeModified> <!-- required --> <EditSequence >STRTYPE</EditSequence> <!-- required --> <TxnNumber >INTTYPE</TxnNumber> <!-- optional --> <CustomerRef> <!-- required --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CustomerRef> <ClassRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ClassRef> <ARAccountRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ARAccountRef> <TemplateRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </TemplateRef> <TxnDate >DATETYPE</TxnDate> <!-- required --> <RefNumber >STRTYPE</RefNumber> <!-- 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> <IsPending >BOOLTYPE</IsPending> <!-- optional --> <PONumber >STRTYPE</PONumber> <!-- optional --> <TermsRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </TermsRef> <DueDate >DATETYPE</DueDate> <!-- optional --> <SalesRepRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SalesRepRef> <FOB >STRTYPE</FOB> <!-- optional --> <ShipDate >DATETYPE</ShipDate> <!-- optional --> <ShipMethodRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ShipMethodRef> <Subtotal >AMTTYPE</Subtotal> <!-- optional --> <ItemSalesTaxRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ItemSalesTaxRef> <SalesTaxPercentage >PERCENTTYPE</SalesTaxPercentage> <!-- optional --> <SalesTaxTotal >AMTTYPE</SalesTaxTotal> <!-- optional --> <TotalAmount >AMTTYPE</TotalAmount> <!-- optional --> <CreditRemaining >AMTTYPE</CreditRemaining> <!-- optional --> <CurrencyRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CurrencyRef> <ExchangeRate >FLOATTYPE</ExchangeRate> <!-- optional --> <CreditRemainingInHomeCurrency >AMTTYPE</CreditRemainingInHomeCurrency> <!-- optional --> <Memo >STRTYPE</Memo> <!-- optional --> <CustomerMsgRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CustomerMsgRef> <IsToBePrinted >BOOLTYPE</IsToBePrinted> <!-- optional --> <IsToBeEmailed >BOOLTYPE</IsToBeEmailed> <!-- optional --> <IsTaxIncluded >BOOLTYPE</IsTaxIncluded> <!-- optional --> <CustomerSalesTaxCodeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </CustomerSalesTaxCodeRef> <Other >STRTYPE</Other> <!-- optional --> <ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional --> <LinkedTxn> <!-- optional, may repeat --> <TxnID >IDTYPE</TxnID> <!-- required --> <!-- TxnType may have one of the following values: ARRefundCreditCard, Bill, BillPaymentCheck, BillPaymentCreditCard, BuildAssembly, Charge, Check, CreditCardCharge, CreditCardCredit, CreditMemo, Deposit, Estimate, InventoryAdjustment, Invoice, ItemReceipt, JournalEntry, LiabilityAdjustment, Paycheck, PayrollLiabilityCheck, PurchaseOrder, ReceivePayment, SalesOrder, SalesReceipt, SalesTaxPaymentCheck, Transfer, VendorCredit, YTDAdjustment --> <TxnType >ENUMTYPE</TxnType> <!-- required --> <TxnDate >DATETYPE</TxnDate> <!-- required --> <RefNumber >STRTYPE</RefNumber> <!-- optional --> <!-- LinkType may have one of the following values: AMTTYPE, QUANTYPE --> <LinkType >ENUMTYPE</LinkType> <!-- optional --> <Amount >AMTTYPE</Amount> <!-- required --> </LinkedTxn> <!-- BEGIN OR --> <CreditMemoLineRet> <!-- optional --> <TxnLineID >IDTYPE</TxnLineID> <!-- required --> <ItemRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ItemRef> <Desc >STRTYPE</Desc> <!-- optional --> <Quantity >QUANTYPE</Quantity> <!-- optional --> <UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional --> <OverrideUOMSetRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </OverrideUOMSetRef> <!-- BEGIN OR --> <Rate >PRICETYPE</Rate> <!-- optional --> <!-- OR --> <RatePercent >PERCENTTYPE</RatePercent> <!-- optional --> <!-- END OR --> <ClassRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ClassRef> <Amount >AMTTYPE</Amount> <!-- optional --> <InventorySiteRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </InventorySiteRef> <InventorySiteLocationRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </InventorySiteLocationRef> <!-- BEGIN OR --> <SerialNumber >STRTYPE</SerialNumber> <!-- optional --> <!-- OR --> <LotNumber >STRTYPE</LotNumber> <!-- optional --> <!-- END OR --> <ExpirationDateForSerialLotNumber>STRTYPE</ExpirationDateForSerialLotNumber> <ServiceDate >DATETYPE</ServiceDate> <!-- optional --> <SalesTaxCodeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SalesTaxCodeRef> <Other1 >STRTYPE</Other1> <!-- optional --> <Other2 >STRTYPE</Other2> <!-- optional --> <CreditCardTxnInfo> <!-- optional --> <CreditCardTxnInputInfo> <!-- required --> <CreditCardNumber >STRTYPE</CreditCardNumber> <!-- required --> <ExpirationMonth >INTTYPE</ExpirationMonth> <!-- required --> <ExpirationYear >INTTYPE</ExpirationYear> <!-- required --> <NameOnCard >STRTYPE</NameOnCard> <!-- required --> <CreditCardAddress >STRTYPE</CreditCardAddress> <!-- optional --> <CreditCardPostalCode >STRTYPE</CreditCardPostalCode> <!-- optional --> <CommercialCardCode >STRTYPE</CommercialCardCode> <!-- optional --> <!-- TransactionMode may have one of the following values: CardNotPresent [DEFAULT], CardPresent --> <TransactionMode >ENUMTYPE</TransactionMode> <!-- optional --> <!-- CreditCardTxnType may have one of the following values: Authorization, Capture, Charge, Refund, VoiceAuthorization --> <CreditCardTxnType >ENUMTYPE</CreditCardTxnType> <!-- optional --> </CreditCardTxnInputInfo> <CreditCardTxnResultInfo> <!-- required --> <ResultCode >INTTYPE</ResultCode> <!-- required --> <ResultMessage >STRTYPE</ResultMessage> <!-- required --> <CreditCardTransID >STRTYPE</CreditCardTransID> <!-- required --> <MerchantAccountNumber >STRTYPE</MerchantAccountNumber> <!-- required --> <AuthorizationCode >STRTYPE</AuthorizationCode> <!-- optional --> <!-- AVSStreet may have one of the following values: Pass, Fail, NotAvailable --> <AVSStreet >ENUMTYPE</AVSStreet> <!-- optional --> <!-- AVSZip may have one of the following values: Pass, Fail, NotAvailable --> <AVSZip >ENUMTYPE</AVSZip> <!-- optional --> <!-- CardSecurityCodeMatch may have one of the following values: Pass, Fail, NotAvailable --> <CardSecurityCodeMatch >ENUMTYPE</CardSecurityCodeMatch> <!-- optional --> <ReconBatchID >STRTYPE</ReconBatchID> <!-- optional --> <PaymentGroupingCode >INTTYPE</PaymentGroupingCode> <!-- optional --> <!-- PaymentStatus may have one of the following values: Unknown, Completed --> <PaymentStatus >ENUMTYPE</PaymentStatus> <!-- required --> <TxnAuthorizationTime >DATETIMETYPE</TxnAuthorizationTime> <!-- required --> <TxnAuthorizationStamp >INTTYPE</TxnAuthorizationStamp> <!-- optional --> <ClientTransID >STRTYPE</ClientTransID> <!-- optional --> </CreditCardTxnResultInfo> </CreditCardTxnInfo> <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> </CreditMemoLineRet> <!-- OR --> <CreditMemoLineGroupRet> <!-- optional --> <TxnLineID >IDTYPE</TxnLineID> <!-- required --> <ItemGroupRef> <!-- required --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ItemGroupRef> <Desc >STRTYPE</Desc> <!-- optional --> <Quantity >QUANTYPE</Quantity> <!-- optional --> <UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional --> <OverrideUOMSetRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </OverrideUOMSetRef> <IsPrintItemsInGroup >BOOLTYPE</IsPrintItemsInGroup> <!-- required --> <TotalAmount >AMTTYPE</TotalAmount> <!-- required --> <CreditMemoLineRet> <!-- optional, may repeat --> <TxnLineID >IDTYPE</TxnLineID> <!-- required --> <ItemRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ItemRef> <Desc >STRTYPE</Desc> <!-- optional --> <Quantity >QUANTYPE</Quantity> <!-- optional --> <UnitOfMeasure >STRTYPE</UnitOfMeasure> <!-- optional --> <OverrideUOMSetRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </OverrideUOMSetRef> <!-- BEGIN OR --> <Rate >PRICETYPE</Rate> <!-- optional --> <!-- OR --> <RatePercent >PERCENTTYPE</RatePercent> <!-- optional --> <!-- END OR --> <ClassRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </ClassRef> <Amount >AMTTYPE</Amount> <!-- optional --> <InventorySiteRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </InventorySiteRef> <InventorySiteLocationRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </InventorySiteLocationRef> <!-- BEGIN OR --> <SerialNumber >STRTYPE</SerialNumber> <!-- optional --> <!-- OR --> <LotNumber >STRTYPE</LotNumber> <!-- optional --> <!-- END OR --> <ExpirationDateForSerialLotNumber>STRTYPE</ExpirationDateForSerialLotNumber> <ServiceDate >DATETYPE</ServiceDate> <!-- optional --> <SalesTaxCodeRef> <!-- optional --> <ListID >IDTYPE</ListID> <!-- optional --> <FullName >STRTYPE</FullName> <!-- optional --> </SalesTaxCodeRef> <Other1 >STRTYPE</Other1> <!-- optional --> <Other2 >STRTYPE</Other2> <!-- optional --> <CreditCardTxnInfo> <!-- optional --> <CreditCardTxnInputInfo> <!-- required --> <CreditCardNumber >STRTYPE</CreditCardNumber> <!-- required --> <ExpirationMonth >INTTYPE</ExpirationMonth> <!-- required --> <ExpirationYear >INTTYPE</ExpirationYear> <!-- required --> <NameOnCard >STRTYPE</NameOnCard> <!-- required --> <CreditCardAddress >STRTYPE</CreditCardAddress> <!-- optional --> <CreditCardPostalCode >STRTYPE</CreditCardPostalCode> <!-- optional --> <CommercialCardCode >STRTYPE</CommercialCardCode> <!-- optional --> <!-- TransactionMode may have one of the following values: CardNotPresent [DEFAULT], CardPresent --> <TransactionMode >ENUMTYPE</TransactionMode> <!-- optional --> <!-- CreditCardTxnType may have one of the following values: Authorization, Capture, Charge, Refund, VoiceAuthorization --> <CreditCardTxnType >ENUMTYPE</CreditCardTxnType> <!-- optional --> </CreditCardTxnInputInfo> <CreditCardTxnResultInfo> <!-- required --> <ResultCode >INTTYPE</ResultCode> <!-- required --> <ResultMessage >STRTYPE</ResultMessage> <!-- required --> <CreditCardTransID >STRTYPE</CreditCardTransID> <!-- required --> <MerchantAccountNumber >STRTYPE</MerchantAccountNumber> <!-- required --> <AuthorizationCode >STRTYPE</AuthorizationCode> <!-- optional --> <!-- AVSStreet may have one of the following values: Pass, Fail, NotAvailable --> <AVSStreet >ENUMTYPE</AVSStreet> <!-- optional --> <!-- AVSZip may have one of the following values: Pass, Fail, NotAvailable --> <AVSZip >ENUMTYPE</AVSZip> <!-- optional --> <!-- CardSecurityCodeMatch may have one of the following values: Pass, Fail, NotAvailable --> <CardSecurityCodeMatch >ENUMTYPE</CardSecurityCodeMatch> <!-- optional --> <ReconBatchID >STRTYPE</ReconBatchID> <!-- optional --> <PaymentGroupingCode >INTTYPE</PaymentGroupingCode> <!-- optional --> <!-- PaymentStatus may have one of the following values: Unknown, Completed --> <PaymentStatus >ENUMTYPE</PaymentStatus> <!-- required --> <TxnAuthorizationTime >DATETIMETYPE</TxnAuthorizationTime> <!-- required --> <TxnAuthorizationStamp >INTTYPE</TxnAuthorizationStamp> <!-- optional --> <ClientTransID >STRTYPE</ClientTransID> <!-- optional --> </CreditCardTxnResultInfo> </CreditCardTxnInfo> <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> </CreditMemoLineRet> <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> </CreditMemoLineGroupRet> <!-- END OR --> <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> </CreditMemoRet> <ErrorRecovery> <!-- optional --> <!-- BEGIN OR --> <ListID >IDTYPE</ListID> <!-- optional --> <!-- OR --> <OwnerID >GUIDTYPE</OwnerID> <!-- optional --> <!-- OR --> <TxnID >IDTYPE</TxnID> <!-- optional --> <!-- END OR --> <TxnNumber >INTTYPE</TxnNumber> <!-- optional --> <EditSequence >STRTYPE</EditSequence> <!-- optional --> <ExternalGUID >GUIDTYPE</ExternalGUID> <!-- optional --> </ErrorRecovery> </CreditMemoAddRs> </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 | '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 DoCreditMemoAdd() 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 BuildCreditMemoAddRq(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 WalkCreditMemoAddRs(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 BuildCreditMemoAddRq(requestMsgSet as IMsgSetRequest) Dim CreditMemoAddRq as ICreditMemoAdd CreditMemoAddRq= requestMsgSet.AppendCreditMemoAddRq() 'Set field value for ListID CreditMemoAddRq.CustomerRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.CustomerRef.FullName.SetValue("ab") 'Set field value for ListID CreditMemoAddRq.ClassRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.ClassRef.FullName.SetValue("ab") 'Set field value for ListID CreditMemoAddRq.ARAccountRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.ARAccountRef.FullName.SetValue("ab") 'Set field value for ListID CreditMemoAddRq.TemplateRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.TemplateRef.FullName.SetValue("ab") 'Set field value for TxnDate CreditMemoAddRq.TxnDate.SetValue(DateTime.Parse("12/15/2007")) 'Set field value for RefNumber CreditMemoAddRq.RefNumber.SetValue("ab") 'Set field value for Addr1 CreditMemoAddRq.BillAddress.Addr1.SetValue("ab") 'Set field value for Addr2 CreditMemoAddRq.BillAddress.Addr2.SetValue("ab") 'Set field value for Addr3 CreditMemoAddRq.BillAddress.Addr3.SetValue("ab") 'Set field value for Addr4 CreditMemoAddRq.BillAddress.Addr4.SetValue("ab") 'Set field value for Addr5 CreditMemoAddRq.BillAddress.Addr5.SetValue("ab") 'Set field value for City CreditMemoAddRq.BillAddress.City.SetValue("ab") 'Set field value for State CreditMemoAddRq.BillAddress.State.SetValue("ab") 'Set field value for PostalCode CreditMemoAddRq.BillAddress.PostalCode.SetValue("ab") 'Set field value for Country CreditMemoAddRq.BillAddress.Country.SetValue("ab") 'Set field value for Note CreditMemoAddRq.BillAddress.Note.SetValue("ab") 'Set field value for Addr1 CreditMemoAddRq.ShipAddress.Addr1.SetValue("ab") 'Set field value for Addr2 CreditMemoAddRq.ShipAddress.Addr2.SetValue("ab") 'Set field value for Addr3 CreditMemoAddRq.ShipAddress.Addr3.SetValue("ab") 'Set field value for Addr4 CreditMemoAddRq.ShipAddress.Addr4.SetValue("ab") 'Set field value for Addr5 CreditMemoAddRq.ShipAddress.Addr5.SetValue("ab") 'Set field value for City CreditMemoAddRq.ShipAddress.City.SetValue("ab") 'Set field value for State CreditMemoAddRq.ShipAddress.State.SetValue("ab") 'Set field value for PostalCode CreditMemoAddRq.ShipAddress.PostalCode.SetValue("ab") 'Set field value for Country CreditMemoAddRq.ShipAddress.Country.SetValue("ab") 'Set field value for Note CreditMemoAddRq.ShipAddress.Note.SetValue("ab") 'Set field value for IsPending CreditMemoAddRq.IsPending.SetValue(True) 'Set field value for PONumber CreditMemoAddRq.PONumber.SetValue("ab") 'Set field value for ListID CreditMemoAddRq.TermsRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.TermsRef.FullName.SetValue("ab") 'Set field value for DueDate CreditMemoAddRq.DueDate.SetValue(DateTime.Parse("12/15/2007")) 'Set field value for ListID CreditMemoAddRq.SalesRepRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.SalesRepRef.FullName.SetValue("ab") 'Set field value for FOB CreditMemoAddRq.FOB.SetValue("ab") 'Set field value for ShipDate CreditMemoAddRq.ShipDate.SetValue(DateTime.Parse("12/15/2007")) 'Set field value for ListID CreditMemoAddRq.ShipMethodRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.ShipMethodRef.FullName.SetValue("ab") 'Set field value for ListID CreditMemoAddRq.ItemSalesTaxRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.ItemSalesTaxRef.FullName.SetValue("ab") 'Set field value for Memo CreditMemoAddRq.Memo.SetValue("ab") 'Set field value for ListID CreditMemoAddRq.CustomerMsgRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.CustomerMsgRef.FullName.SetValue("ab") 'Set field value for IsToBePrinted CreditMemoAddRq.IsToBePrinted.SetValue(True) 'Set field value for IsToBeEmailed CreditMemoAddRq.IsToBeEmailed.SetValue(True) 'Set field value for IsTaxIncluded CreditMemoAddRq.IsTaxIncluded.SetValue(True) 'Set field value for ListID CreditMemoAddRq.CustomerSalesTaxCodeRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName CreditMemoAddRq.CustomerSalesTaxCodeRef.FullName.SetValue("ab") 'Set field value for Other CreditMemoAddRq.Other.SetValue("ab") 'Set field value for ExchangeRate CreditMemoAddRq.ExchangeRate.SetValue("IQBFloatType") 'Set field value for ExternalGUID CreditMemoAddRq.ExternalGUID.SetValue(System.Guid.NewGuid().ToString()) Dim ORCreditMemoLineAddListElement5636 as IORCreditMemoLineAdd ORCreditMemoLineAddListElement5636 =CreditMemoAddRq.ORCreditMemoLineAddList.Append() Dim ORCreditMemoLineAddListElementType5637 as String ORCreditMemoLineAddListElementType5637 = "CreditMemoLineAdd" if (ORCreditMemoLineAddListElementType5637 == "CreditMemoLineAdd") then 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ItemRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ItemRef.FullName.SetValue("ab") 'Set field value for Desc ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.Desc.SetValue("ab") 'Set field value for Quantity ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.Quantity.SetValue(2) 'Set field value for UnitOfMeasure ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.UnitOfMeasure.SetValue("ab") Dim ORRatePriceLevelElementType5638 as String ORRatePriceLevelElementType5638 = "Rate" if (ORRatePriceLevelElementType5638 == "Rate") then 'Set field value for Rate ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ORRatePriceLevel.Rate.SetValue(15.65) End If if (ORRatePriceLevelElementType5638 == "RatePercent") then 'Set field value for RatePercent ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ORRatePriceLevel.RatePercent.SetValue(20.00) End If if (ORRatePriceLevelElementType5638 == "PriceLevelRef") then 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ORRatePriceLevel.PriceLevelRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ORRatePriceLevel.PriceLevelRef.FullName.SetValue("ab") End If 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ClassRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ClassRef.FullName.SetValue("ab") 'Set field value for Amount ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.Amount.SetValue(10.01) 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.InventorySiteRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.InventorySiteRef.FullName.SetValue("ab") 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.InventorySiteLocationRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.InventorySiteLocationRef.FullName.SetValue("ab") Dim ORSerialLotNumberElementType5639 as String ORSerialLotNumberElementType5639 = "SerialNumber" if (ORSerialLotNumberElementType5639 == "SerialNumber") then 'Set field value for SerialNumber ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ORSerialLotNumber.SerialNumber.SetValue("ab") End If if (ORSerialLotNumberElementType5639 == "LotNumber") then 'Set field value for LotNumber ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ORSerialLotNumber.LotNumber.SetValue("ab") End If 'Set field value for ServiceDate ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.ServiceDate.SetValue(DateTime.Parse("12/15/2007")) 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.SalesTaxCodeRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.SalesTaxCodeRef.FullName.SetValue("ab") 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.OverrideItemAccountRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.OverrideItemAccountRef.FullName.SetValue("ab") 'Set field value for Other1 ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.Other1.SetValue("ab") 'Set field value for Other2 ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.Other2.SetValue("ab") 'Set field value for CreditCardNumber ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardNumber.SetValue("ab") 'Set field value for ExpirationMonth ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationMonth.SetValue(6) 'Set field value for ExpirationYear ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationYear.SetValue(6) 'Set field value for NameOnCard ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.NameOnCard.SetValue("ab") 'Set field value for CreditCardAddress ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress.SetValue("ab") 'Set field value for CreditCardPostalCode ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode.SetValue("ab") 'Set field value for CommercialCardCode ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode.SetValue("ab") 'Set field value for TransactionMode ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode.SetValue(ENTransactionMode.tmCardNotPresent [DEFAULT]) 'Set field value for CreditCardTxnType ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType.SetValue(ENCreditCardTxnType.ccttAuthorization) 'Set field value for ResultCode ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultCode.SetValue(6) 'Set field value for ResultMessage ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultMessage.SetValue("ab") 'Set field value for CreditCardTransID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.CreditCardTransID.SetValue("ab") 'Set field value for MerchantAccountNumber ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.MerchantAccountNumber.SetValue("ab") 'Set field value for AuthorizationCode ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode.SetValue("ab") 'Set field value for AVSStreet ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet.SetValue(ENAVSStreet.avssPass) 'Set field value for AVSZip ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip.SetValue(ENAVSZip.avszPass) 'Set field value for CardSecurityCodeMatch ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch.SetValue(ENCardSecurityCodeMatch.cscmPass) 'Set field value for ReconBatchID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID.SetValue("ab") 'Set field value for PaymentGroupingCode ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode.SetValue(6) 'Set field value for PaymentStatus ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentStatus.SetValue(ENPaymentStatus.pssUnknown) 'Set field value for TxnAuthorizationTime ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationTime.SetValue(DateTime.Parse("12/15/2007 12:15:12"),false) 'Set field value for TxnAuthorizationStamp ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp.SetValue(6) 'Set field value for ClientTransID ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID.SetValue("ab") Dim DataExt5640 as IDataExt DataExt5640=ORCreditMemoLineAddListElement5636.CreditMemoLineAdd.DataExtList.Append() 'Set field value for OwnerID DataExt5640.OwnerID.SetValue(System.Guid.NewGuid().ToString()) 'Set field value for DataExtName DataExt5640.DataExtName.SetValue("ab") 'Set field value for DataExtValue DataExt5640.DataExtValue.SetValue("ab") End If if (ORCreditMemoLineAddListElementType5637 == "CreditMemoLineGroupAdd") then 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineGroupAdd.ItemGroupRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineGroupAdd.ItemGroupRef.FullName.SetValue("ab") 'Set field value for Quantity ORCreditMemoLineAddListElement5636.CreditMemoLineGroupAdd.Quantity.SetValue(2) 'Set field value for UnitOfMeasure ORCreditMemoLineAddListElement5636.CreditMemoLineGroupAdd.UnitOfMeasure.SetValue("ab") 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineGroupAdd.InventorySiteRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineGroupAdd.InventorySiteRef.FullName.SetValue("ab") 'Set field value for ListID ORCreditMemoLineAddListElement5636.CreditMemoLineGroupAdd.InventorySiteLocationRef.ListID.SetValue("200000-1011023419") 'Set field value for FullName ORCreditMemoLineAddListElement5636.CreditMemoLineGroupAdd.InventorySiteLocationRef.FullName.SetValue("ab") Dim DataExt5641 as IDataExt DataExt5641=ORCreditMemoLineAddListElement5636.CreditMemoLineGroupAdd.DataExtList.Append() 'Set field value for OwnerID DataExt5641.OwnerID.SetValue(System.Guid.NewGuid().ToString()) 'Set field value for DataExtName DataExt5641.DataExtName.SetValue("ab") 'Set field value for DataExtValue DataExt5641.DataExtValue.SetValue("ab") End If 'Set field value for IncludeRetElementList 'May create more than one of these if needed CreditMemoAddRq.IncludeRetElementList.Add("ab") End Sub Public Sub WalkCreditMemoAddRs( 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.rtCreditMemoAddRs) then 'upcast to more specific type here, this is safe because we checked with response.Type check above Dim CreditMemoRet as ICreditMemoRet CreditMemoRet = CType(response.Detail,ICreditMemoRet) WalkCreditMemoRet(CreditMemoRet) End If End If End If Next j End Sub Public Sub WalkCreditMemoRet(CreditMemoRet as ICreditMemoRet) if (CreditMemoRet is nothing) then Exit Sub End If 'Go through all the elements of ICreditMemoRet 'Get value of TxnID Dim TxnID5642 as String TxnID5642 = CreditMemoRet.TxnID.GetValue() 'Get value of TimeCreated Dim TimeCreated5643 as DateTime TimeCreated5643 = CreditMemoRet.TimeCreated.GetValue() 'Get value of TimeModified Dim TimeModified5644 as DateTime TimeModified5644 = CreditMemoRet.TimeModified.GetValue() 'Get value of EditSequence Dim EditSequence5645 as String EditSequence5645 = CreditMemoRet.EditSequence.GetValue() 'Get value of TxnNumber if ( not CreditMemoRet.TxnNumber is nothing) then Dim TxnNumber5646 as Integer TxnNumber5646 = CreditMemoRet.TxnNumber.GetValue() End If 'Get value of ListID if ( not CreditMemoRet.CustomerRef.ListID is nothing) then Dim ListID5647 as String ListID5647 = CreditMemoRet.CustomerRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.CustomerRef.FullName is nothing) then Dim FullName5648 as String FullName5648 = CreditMemoRet.CustomerRef.FullName.GetValue() End If if (not CreditMemoRet.ClassRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.ClassRef.ListID is nothing) then Dim ListID5649 as String ListID5649 = CreditMemoRet.ClassRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.ClassRef.FullName is nothing) then Dim FullName5650 as String FullName5650 = CreditMemoRet.ClassRef.FullName.GetValue() End If End If if (not CreditMemoRet.ARAccountRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.ARAccountRef.ListID is nothing) then Dim ListID5651 as String ListID5651 = CreditMemoRet.ARAccountRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.ARAccountRef.FullName is nothing) then Dim FullName5652 as String FullName5652 = CreditMemoRet.ARAccountRef.FullName.GetValue() End If End If if (not CreditMemoRet.TemplateRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.TemplateRef.ListID is nothing) then Dim ListID5653 as String ListID5653 = CreditMemoRet.TemplateRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.TemplateRef.FullName is nothing) then Dim FullName5654 as String FullName5654 = CreditMemoRet.TemplateRef.FullName.GetValue() End If End If 'Get value of TxnDate Dim TxnDate5655 as DateTime TxnDate5655 = CreditMemoRet.TxnDate.GetValue() 'Get value of RefNumber if ( not CreditMemoRet.RefNumber is nothing) then Dim RefNumber5656 as String RefNumber5656 = CreditMemoRet.RefNumber.GetValue() End If if (not CreditMemoRet.BillAddress. is nothing) then 'Get value of Addr1 if ( not CreditMemoRet.BillAddress.Addr1 is nothing) then Dim Addr15657 as String Addr15657 = CreditMemoRet.BillAddress.Addr1.GetValue() End If 'Get value of Addr2 if ( not CreditMemoRet.BillAddress.Addr2 is nothing) then Dim Addr25658 as String Addr25658 = CreditMemoRet.BillAddress.Addr2.GetValue() End If 'Get value of Addr3 if ( not CreditMemoRet.BillAddress.Addr3 is nothing) then Dim Addr35659 as String Addr35659 = CreditMemoRet.BillAddress.Addr3.GetValue() End If 'Get value of Addr4 if ( not CreditMemoRet.BillAddress.Addr4 is nothing) then Dim Addr45660 as String Addr45660 = CreditMemoRet.BillAddress.Addr4.GetValue() End If 'Get value of Addr5 if ( not CreditMemoRet.BillAddress.Addr5 is nothing) then Dim Addr55661 as String Addr55661 = CreditMemoRet.BillAddress.Addr5.GetValue() End If 'Get value of City if ( not CreditMemoRet.BillAddress.City is nothing) then Dim City5662 as String City5662 = CreditMemoRet.BillAddress.City.GetValue() End If 'Get value of State if ( not CreditMemoRet.BillAddress.State is nothing) then Dim State5663 as String State5663 = CreditMemoRet.BillAddress.State.GetValue() End If 'Get value of PostalCode if ( not CreditMemoRet.BillAddress.PostalCode is nothing) then Dim PostalCode5664 as String PostalCode5664 = CreditMemoRet.BillAddress.PostalCode.GetValue() End If 'Get value of Country if ( not CreditMemoRet.BillAddress.Country is nothing) then Dim Country5665 as String Country5665 = CreditMemoRet.BillAddress.Country.GetValue() End If 'Get value of Note if ( not CreditMemoRet.BillAddress.Note is nothing) then Dim Note5666 as String Note5666 = CreditMemoRet.BillAddress.Note.GetValue() End If End If if (not CreditMemoRet.BillAddressBlock. is nothing) then 'Get value of Addr1 if ( not CreditMemoRet.BillAddressBlock.Addr1 is nothing) then Dim Addr15667 as String Addr15667 = CreditMemoRet.BillAddressBlock.Addr1.GetValue() End If 'Get value of Addr2 if ( not CreditMemoRet.BillAddressBlock.Addr2 is nothing) then Dim Addr25668 as String Addr25668 = CreditMemoRet.BillAddressBlock.Addr2.GetValue() End If 'Get value of Addr3 if ( not CreditMemoRet.BillAddressBlock.Addr3 is nothing) then Dim Addr35669 as String Addr35669 = CreditMemoRet.BillAddressBlock.Addr3.GetValue() End If 'Get value of Addr4 if ( not CreditMemoRet.BillAddressBlock.Addr4 is nothing) then Dim Addr45670 as String Addr45670 = CreditMemoRet.BillAddressBlock.Addr4.GetValue() End If 'Get value of Addr5 if ( not CreditMemoRet.BillAddressBlock.Addr5 is nothing) then Dim Addr55671 as String Addr55671 = CreditMemoRet.BillAddressBlock.Addr5.GetValue() End If End If if (not CreditMemoRet.ShipAddress. is nothing) then 'Get value of Addr1 if ( not CreditMemoRet.ShipAddress.Addr1 is nothing) then Dim Addr15672 as String Addr15672 = CreditMemoRet.ShipAddress.Addr1.GetValue() End If 'Get value of Addr2 if ( not CreditMemoRet.ShipAddress.Addr2 is nothing) then Dim Addr25673 as String Addr25673 = CreditMemoRet.ShipAddress.Addr2.GetValue() End If 'Get value of Addr3 if ( not CreditMemoRet.ShipAddress.Addr3 is nothing) then Dim Addr35674 as String Addr35674 = CreditMemoRet.ShipAddress.Addr3.GetValue() End If 'Get value of Addr4 if ( not CreditMemoRet.ShipAddress.Addr4 is nothing) then Dim Addr45675 as String Addr45675 = CreditMemoRet.ShipAddress.Addr4.GetValue() End If 'Get value of Addr5 if ( not CreditMemoRet.ShipAddress.Addr5 is nothing) then Dim Addr55676 as String Addr55676 = CreditMemoRet.ShipAddress.Addr5.GetValue() End If 'Get value of City if ( not CreditMemoRet.ShipAddress.City is nothing) then Dim City5677 as String City5677 = CreditMemoRet.ShipAddress.City.GetValue() End If 'Get value of State if ( not CreditMemoRet.ShipAddress.State is nothing) then Dim State5678 as String State5678 = CreditMemoRet.ShipAddress.State.GetValue() End If 'Get value of PostalCode if ( not CreditMemoRet.ShipAddress.PostalCode is nothing) then Dim PostalCode5679 as String PostalCode5679 = CreditMemoRet.ShipAddress.PostalCode.GetValue() End If 'Get value of Country if ( not CreditMemoRet.ShipAddress.Country is nothing) then Dim Country5680 as String Country5680 = CreditMemoRet.ShipAddress.Country.GetValue() End If 'Get value of Note if ( not CreditMemoRet.ShipAddress.Note is nothing) then Dim Note5681 as String Note5681 = CreditMemoRet.ShipAddress.Note.GetValue() End If End If if (not CreditMemoRet.ShipAddressBlock. is nothing) then 'Get value of Addr1 if ( not CreditMemoRet.ShipAddressBlock.Addr1 is nothing) then Dim Addr15682 as String Addr15682 = CreditMemoRet.ShipAddressBlock.Addr1.GetValue() End If 'Get value of Addr2 if ( not CreditMemoRet.ShipAddressBlock.Addr2 is nothing) then Dim Addr25683 as String Addr25683 = CreditMemoRet.ShipAddressBlock.Addr2.GetValue() End If 'Get value of Addr3 if ( not CreditMemoRet.ShipAddressBlock.Addr3 is nothing) then Dim Addr35684 as String Addr35684 = CreditMemoRet.ShipAddressBlock.Addr3.GetValue() End If 'Get value of Addr4 if ( not CreditMemoRet.ShipAddressBlock.Addr4 is nothing) then Dim Addr45685 as String Addr45685 = CreditMemoRet.ShipAddressBlock.Addr4.GetValue() End If 'Get value of Addr5 if ( not CreditMemoRet.ShipAddressBlock.Addr5 is nothing) then Dim Addr55686 as String Addr55686 = CreditMemoRet.ShipAddressBlock.Addr5.GetValue() End If End If 'Get value of IsPending if ( not CreditMemoRet.IsPending is nothing) then Dim IsPending5687 as Boolean IsPending5687 = CreditMemoRet.IsPending.GetValue() End If 'Get value of PONumber if ( not CreditMemoRet.PONumber is nothing) then Dim PONumber5688 as String PONumber5688 = CreditMemoRet.PONumber.GetValue() End If if (not CreditMemoRet.TermsRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.TermsRef.ListID is nothing) then Dim ListID5689 as String ListID5689 = CreditMemoRet.TermsRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.TermsRef.FullName is nothing) then Dim FullName5690 as String FullName5690 = CreditMemoRet.TermsRef.FullName.GetValue() End If End If 'Get value of DueDate if ( not CreditMemoRet.DueDate is nothing) then Dim DueDate5691 as DateTime DueDate5691 = CreditMemoRet.DueDate.GetValue() End If if (not CreditMemoRet.SalesRepRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.SalesRepRef.ListID is nothing) then Dim ListID5692 as String ListID5692 = CreditMemoRet.SalesRepRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.SalesRepRef.FullName is nothing) then Dim FullName5693 as String FullName5693 = CreditMemoRet.SalesRepRef.FullName.GetValue() End If End If 'Get value of FOB if ( not CreditMemoRet.FOB is nothing) then Dim FOB5694 as String FOB5694 = CreditMemoRet.FOB.GetValue() End If 'Get value of ShipDate if ( not CreditMemoRet.ShipDate is nothing) then Dim ShipDate5695 as DateTime ShipDate5695 = CreditMemoRet.ShipDate.GetValue() End If if (not CreditMemoRet.ShipMethodRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.ShipMethodRef.ListID is nothing) then Dim ListID5696 as String ListID5696 = CreditMemoRet.ShipMethodRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.ShipMethodRef.FullName is nothing) then Dim FullName5697 as String FullName5697 = CreditMemoRet.ShipMethodRef.FullName.GetValue() End If End If 'Get value of Subtotal if ( not CreditMemoRet.Subtotal is nothing) then Dim Subtotal5698 as Double Subtotal5698 = CreditMemoRet.Subtotal.GetValue() End If if (not CreditMemoRet.ItemSalesTaxRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.ItemSalesTaxRef.ListID is nothing) then Dim ListID5699 as String ListID5699 = CreditMemoRet.ItemSalesTaxRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.ItemSalesTaxRef.FullName is nothing) then Dim FullName5700 as String FullName5700 = CreditMemoRet.ItemSalesTaxRef.FullName.GetValue() End If End If 'Get value of SalesTaxPercentage if ( not CreditMemoRet.SalesTaxPercentage is nothing) then Dim SalesTaxPercentage5701 as Double SalesTaxPercentage5701 = CreditMemoRet.SalesTaxPercentage.GetValue() End If 'Get value of SalesTaxTotal if ( not CreditMemoRet.SalesTaxTotal is nothing) then Dim SalesTaxTotal5702 as Double SalesTaxTotal5702 = CreditMemoRet.SalesTaxTotal.GetValue() End If 'Get value of TotalAmount if ( not CreditMemoRet.TotalAmount is nothing) then Dim TotalAmount5703 as Double TotalAmount5703 = CreditMemoRet.TotalAmount.GetValue() End If 'Get value of CreditRemaining if ( not CreditMemoRet.CreditRemaining is nothing) then Dim CreditRemaining5704 as Double CreditRemaining5704 = CreditMemoRet.CreditRemaining.GetValue() End If if (not CreditMemoRet.CurrencyRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.CurrencyRef.ListID is nothing) then Dim ListID5705 as String ListID5705 = CreditMemoRet.CurrencyRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.CurrencyRef.FullName is nothing) then Dim FullName5706 as String FullName5706 = CreditMemoRet.CurrencyRef.FullName.GetValue() End If End If 'Get value of ExchangeRate if ( not CreditMemoRet.ExchangeRate is nothing) then Dim ExchangeRate5707 as IQBFloatType ExchangeRate5707 = CreditMemoRet.ExchangeRate.GetValue() End If 'Get value of CreditRemainingInHomeCurrency if ( not CreditMemoRet.CreditRemainingInHomeCurrency is nothing) then Dim CreditRemainingInHomeCurrency5708 as Double CreditRemainingInHomeCurrency5708 = CreditMemoRet.CreditRemainingInHomeCurrency.GetValue() End If 'Get value of Memo if ( not CreditMemoRet.Memo is nothing) then Dim Memo5709 as String Memo5709 = CreditMemoRet.Memo.GetValue() End If if (not CreditMemoRet.CustomerMsgRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.CustomerMsgRef.ListID is nothing) then Dim ListID5710 as String ListID5710 = CreditMemoRet.CustomerMsgRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.CustomerMsgRef.FullName is nothing) then Dim FullName5711 as String FullName5711 = CreditMemoRet.CustomerMsgRef.FullName.GetValue() End If End If 'Get value of IsToBePrinted if ( not CreditMemoRet.IsToBePrinted is nothing) then Dim IsToBePrinted5712 as Boolean IsToBePrinted5712 = CreditMemoRet.IsToBePrinted.GetValue() End If 'Get value of IsToBeEmailed if ( not CreditMemoRet.IsToBeEmailed is nothing) then Dim IsToBeEmailed5713 as Boolean IsToBeEmailed5713 = CreditMemoRet.IsToBeEmailed.GetValue() End If 'Get value of IsTaxIncluded if ( not CreditMemoRet.IsTaxIncluded is nothing) then Dim IsTaxIncluded5714 as Boolean IsTaxIncluded5714 = CreditMemoRet.IsTaxIncluded.GetValue() End If if (not CreditMemoRet.CustomerSalesTaxCodeRef. is nothing) then 'Get value of ListID if ( not CreditMemoRet.CustomerSalesTaxCodeRef.ListID is nothing) then Dim ListID5715 as String ListID5715 = CreditMemoRet.CustomerSalesTaxCodeRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoRet.CustomerSalesTaxCodeRef.FullName is nothing) then Dim FullName5716 as String FullName5716 = CreditMemoRet.CustomerSalesTaxCodeRef.FullName.GetValue() End If End If 'Get value of Other if ( not CreditMemoRet.Other is nothing) then Dim Other5717 as String Other5717 = CreditMemoRet.Other.GetValue() End If 'Get value of ExternalGUID if ( not CreditMemoRet.ExternalGUID is nothing) then Dim ExternalGUID5718 as String ExternalGUID5718 = CreditMemoRet.ExternalGUID.GetValue() End If if (not CreditMemoRet.LinkedTxnList is nothing) Dim i5719 as Integer for i5719 = 0 to CreditMemoRet.LinkedTxnList.Count - 1 Dim LinkedTxn as ILinkedTxn LinkedTxn = CreditMemoRet.LinkedTxnList.GetAt(i5719) 'Get value of TxnID Dim TxnID5720 as String TxnID5720 = LinkedTxnTxnID.GetValue() 'Get value of TxnType Dim TxnType5721 as ENTxnType TxnType5721 = LinkedTxnTxnType.GetValue() 'Get value of TxnDate Dim TxnDate5722 as DateTime TxnDate5722 = LinkedTxnTxnDate.GetValue() 'Get value of RefNumber if ( not LinkedTxnRefNumber is nothing) then Dim RefNumber5723 as String RefNumber5723 = LinkedTxnRefNumber.GetValue() End If 'Get value of LinkType if ( not LinkedTxnLinkType is nothing) then Dim LinkType5724 as ENLinkType LinkType5724 = LinkedTxnLinkType.GetValue() End If 'Get value of Amount Dim Amount5725 as Double Amount5725 = LinkedTxnAmount.GetValue() Next i5719 End If if (not CreditMemoRet.ORCreditMemoLineRetList is nothing) then Dim i5726 as Integer for i5726 = 0 to CreditMemoRet.ORCreditMemoLineRetList.Count - 1 Dim ORCreditMemoLineRet5727 as IORCreditMemoLineRet ORCreditMemoLineRet5727 = CreditMemoRet.ORCreditMemoLineRetList.GetAt(i5726) if (not ORCreditMemoLineRet5727.CreditMemoLineRet is nothing) then if (not ORCreditMemoLineRet5727.CreditMemoLineRet. is nothing) then 'Get value of TxnLineID Dim TxnLineID5728 as String TxnLineID5728 = ORCreditMemoLineRet5727.CreditMemoLineRet.TxnLineID.GetValue() if (not ORCreditMemoLineRet5727.CreditMemoLineRet.ItemRef. is nothing) then 'Get value of ListID if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ItemRef.ListID is nothing) then Dim ListID5729 as String ListID5729 = ORCreditMemoLineRet5727.CreditMemoLineRet.ItemRef.ListID.GetValue() End If 'Get value of FullName if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ItemRef.FullName is nothing) then Dim FullName5730 as String FullName5730 = ORCreditMemoLineRet5727.CreditMemoLineRet.ItemRef.FullName.GetValue() End If End If 'Get value of Desc if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.Desc is nothing) then Dim Desc5731 as String Desc5731 = ORCreditMemoLineRet5727.CreditMemoLineRet.Desc.GetValue() End If 'Get value of Quantity if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.Quantity is nothing) then Dim Quantity5732 as Integer Quantity5732 = ORCreditMemoLineRet5727.CreditMemoLineRet.Quantity.GetValue() End If 'Get value of UnitOfMeasure if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.UnitOfMeasure is nothing) then Dim UnitOfMeasure5733 as String UnitOfMeasure5733 = ORCreditMemoLineRet5727.CreditMemoLineRet.UnitOfMeasure.GetValue() End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.OverrideUOMSetRef. is nothing) then 'Get value of ListID if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.OverrideUOMSetRef.ListID is nothing) then Dim ListID5734 as String ListID5734 = ORCreditMemoLineRet5727.CreditMemoLineRet.OverrideUOMSetRef.ListID.GetValue() End If 'Get value of FullName if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.OverrideUOMSetRef.FullName is nothing) then Dim FullName5735 as String FullName5735 = ORCreditMemoLineRet5727.CreditMemoLineRet.OverrideUOMSetRef.FullName.GetValue() End If End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.ORRate is nothing) then if (not ORCreditMemoLineRet5727.CreditMemoLineRet.ORRate.Rate is nothing) then 'Get value of Rate if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ORRate.Rate is nothing) then Dim Rate5737 as Double Rate5737 = ORCreditMemoLineRet5727.CreditMemoLineRet.ORRate.Rate.GetValue() End If End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.ORRate.RatePercent is nothing) then 'Get value of RatePercent if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ORRate.RatePercent is nothing) then Dim RatePercent5738 as Double RatePercent5738 = ORCreditMemoLineRet5727.CreditMemoLineRet.ORRate.RatePercent.GetValue() End If End If End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.ClassRef. is nothing) then 'Get value of ListID if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ClassRef.ListID is nothing) then Dim ListID5739 as String ListID5739 = ORCreditMemoLineRet5727.CreditMemoLineRet.ClassRef.ListID.GetValue() End If 'Get value of FullName if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ClassRef.FullName is nothing) then Dim FullName5740 as String FullName5740 = ORCreditMemoLineRet5727.CreditMemoLineRet.ClassRef.FullName.GetValue() End If End If 'Get value of Amount if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.Amount is nothing) then Dim Amount5741 as Double Amount5741 = ORCreditMemoLineRet5727.CreditMemoLineRet.Amount.GetValue() End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteRef. is nothing) then 'Get value of ListID if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteRef.ListID is nothing) then Dim ListID5742 as String ListID5742 = ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteRef.ListID.GetValue() End If 'Get value of FullName if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteRef.FullName is nothing) then Dim FullName5743 as String FullName5743 = ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteRef.FullName.GetValue() End If End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteLocationRef. is nothing) then 'Get value of ListID if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteLocationRef.ListID is nothing) then Dim ListID5744 as String ListID5744 = ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteLocationRef.ListID.GetValue() End If 'Get value of FullName if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteLocationRef.FullName is nothing) then Dim FullName5745 as String FullName5745 = ORCreditMemoLineRet5727.CreditMemoLineRet.InventorySiteLocationRef.FullName.GetValue() End If End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.ORSerialLotNumber is nothing) then if (not ORCreditMemoLineRet5727.CreditMemoLineRet.ORSerialLotNumber.SerialNumber is nothing) then 'Get value of SerialNumber if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ORSerialLotNumber.SerialNumber is nothing) then Dim SerialNumber5747 as String SerialNumber5747 = ORCreditMemoLineRet5727.CreditMemoLineRet.ORSerialLotNumber.SerialNumber.GetValue() End If End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.ORSerialLotNumber.LotNumber is nothing) then 'Get value of LotNumber if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ORSerialLotNumber.LotNumber is nothing) then Dim LotNumber5748 as String LotNumber5748 = ORCreditMemoLineRet5727.CreditMemoLineRet.ORSerialLotNumber.LotNumber.GetValue() End If End If End If 'Get value of ExpirationDateForSerialLotNumber if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ExpirationDateForSerialLotNumber is nothing) then Dim ExpDate as String ExpDate = ORCreditMemoLineRet5727.CreditMemoLineRet.ExpirationDateForSerialLotNumber.GetValue() End If 'Get value of ServiceDate if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.ServiceDate is nothing) then Dim ServiceDate5749 as DateTime ServiceDate5749 = ORCreditMemoLineRet5727.CreditMemoLineRet.ServiceDate.GetValue() End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.SalesTaxCodeRef. is nothing) then 'Get value of ListID if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.SalesTaxCodeRef.ListID is nothing) then Dim ListID5750 as String ListID5750 = ORCreditMemoLineRet5727.CreditMemoLineRet.SalesTaxCodeRef.ListID.GetValue() End If 'Get value of FullName if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.SalesTaxCodeRef.FullName is nothing) then Dim FullName5751 as String FullName5751 = ORCreditMemoLineRet5727.CreditMemoLineRet.SalesTaxCodeRef.FullName.GetValue() End If End If 'Get value of Other1 if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.Other1 is nothing) then Dim Other15752 as String Other15752 = ORCreditMemoLineRet5727.CreditMemoLineRet.Other1.GetValue() End If 'Get value of Other2 if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.Other2 is nothing) then Dim Other25753 as String Other25753 = ORCreditMemoLineRet5727.CreditMemoLineRet.Other2.GetValue() End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo. is nothing) then 'Get value of CreditCardNumber Dim CreditCardNumber5754 as String CreditCardNumber5754 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardNumber.GetValue() 'Get value of ExpirationMonth Dim ExpirationMonth5755 as Integer ExpirationMonth5755 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationMonth.GetValue() 'Get value of ExpirationYear Dim ExpirationYear5756 as Integer ExpirationYear5756 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationYear.GetValue() 'Get value of NameOnCard Dim NameOnCard5757 as String NameOnCard5757 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.NameOnCard.GetValue() 'Get value of CreditCardAddress if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress is nothing) then Dim CreditCardAddress5758 as String CreditCardAddress5758 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress.GetValue() End If 'Get value of CreditCardPostalCode if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode is nothing) then Dim CreditCardPostalCode5759 as String CreditCardPostalCode5759 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode.GetValue() End If 'Get value of CommercialCardCode if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode is nothing) then Dim CommercialCardCode5760 as String CommercialCardCode5760 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode.GetValue() End If 'Get value of TransactionMode if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode is nothing) then Dim TransactionMode5761 as ENTransactionMode TransactionMode5761 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode.GetValue() End If 'Get value of CreditCardTxnType if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType is nothing) then Dim CreditCardTxnType5762 as ENCreditCardTxnType CreditCardTxnType5762 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType.GetValue() End If 'Get value of ResultCode Dim ResultCode5763 as Integer ResultCode5763 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultCode.GetValue() 'Get value of ResultMessage Dim ResultMessage5764 as String ResultMessage5764 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultMessage.GetValue() 'Get value of CreditCardTransID Dim CreditCardTransID5765 as String CreditCardTransID5765 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.CreditCardTransID.GetValue() 'Get value of MerchantAccountNumber Dim MerchantAccountNumber5766 as String MerchantAccountNumber5766 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.MerchantAccountNumber.GetValue() 'Get value of AuthorizationCode if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode is nothing) then Dim AuthorizationCode5767 as String AuthorizationCode5767 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode.GetValue() End If 'Get value of AVSStreet if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet is nothing) then Dim AVSStreet5768 as ENAVSStreet AVSStreet5768 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet.GetValue() End If 'Get value of AVSZip if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip is nothing) then Dim AVSZip5769 as ENAVSZip AVSZip5769 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip.GetValue() End If 'Get value of CardSecurityCodeMatch if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch is nothing) then Dim CardSecurityCodeMatch5770 as ENCardSecurityCodeMatch CardSecurityCodeMatch5770 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch.GetValue() End If 'Get value of ReconBatchID if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID is nothing) then Dim ReconBatchID5771 as String ReconBatchID5771 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID.GetValue() End If 'Get value of PaymentGroupingCode if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode is nothing) then Dim PaymentGroupingCode5772 as Integer PaymentGroupingCode5772 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode.GetValue() End If 'Get value of PaymentStatus Dim PaymentStatus5773 as ENPaymentStatus PaymentStatus5773 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentStatus.GetValue() 'Get value of TxnAuthorizationTime Dim TxnAuthorizationTime5774 as DateTime TxnAuthorizationTime5774 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationTime.GetValue() 'Get value of TxnAuthorizationStamp if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp is nothing) then Dim TxnAuthorizationStamp5775 as Integer TxnAuthorizationStamp5775 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp.GetValue() End If 'Get value of ClientTransID if ( not ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID is nothing) then Dim ClientTransID5776 as String ClientTransID5776 = ORCreditMemoLineRet5727.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID.GetValue() End If End If if (not ORCreditMemoLineRet5727.CreditMemoLineRet.DataExtRetList is nothing) Dim i5777 as Integer for i5777 = 0 to ORCreditMemoLineRet5727.CreditMemoLineRet.DataExtRetList.Count - 1 Dim DataExtRet as IDataExtRet DataExtRet = ORCreditMemoLineRet5727.CreditMemoLineRet.DataExtRetList.GetAt(i5777) 'Get value of OwnerID if ( not DataExtRetOwnerID is nothing) then Dim OwnerID5778 as String OwnerID5778 = DataExtRetOwnerID.GetValue() End If 'Get value of DataExtName Dim DataExtName5779 as String DataExtName5779 = DataExtRetDataExtName.GetValue() 'Get value of DataExtType Dim DataExtType5780 as ENDataExtType DataExtType5780 = DataExtRetDataExtType.GetValue() 'Get value of DataExtValue Dim DataExtValue5781 as String DataExtValue5781 = DataExtRetDataExtValue.GetValue() Next i5777 End If End If End If if (not ORCreditMemoLineRet5727.CreditMemoLineGroupRet is nothing) then if (not ORCreditMemoLineRet5727.CreditMemoLineGroupRet. is nothing) then 'Get value of TxnLineID Dim TxnLineID5782 as String TxnLineID5782 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.TxnLineID.GetValue() 'Get value of ListID if ( not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.ItemGroupRef.ListID is nothing) then Dim ListID5783 as String ListID5783 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.ItemGroupRef.ListID.GetValue() End If 'Get value of FullName if ( not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.ItemGroupRef.FullName is nothing) then Dim FullName5784 as String FullName5784 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.ItemGroupRef.FullName.GetValue() End If 'Get value of Desc if ( not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.Desc is nothing) then Dim Desc5785 as String Desc5785 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.Desc.GetValue() End If 'Get value of Quantity if ( not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.Quantity is nothing) then Dim Quantity5786 as Integer Quantity5786 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.Quantity.GetValue() End If 'Get value of UnitOfMeasure if ( not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.UnitOfMeasure is nothing) then Dim UnitOfMeasure5787 as String UnitOfMeasure5787 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.UnitOfMeasure.GetValue() End If if (not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.OverrideUOMSetRef. is nothing) then 'Get value of ListID if ( not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.OverrideUOMSetRef.ListID is nothing) then Dim ListID5788 as String ListID5788 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.OverrideUOMSetRef.ListID.GetValue() End If 'Get value of FullName if ( not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.OverrideUOMSetRef.FullName is nothing) then Dim FullName5789 as String FullName5789 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.OverrideUOMSetRef.FullName.GetValue() End If End If 'Get value of IsPrintItemsInGroup Dim IsPrintItemsInGroup5790 as Boolean IsPrintItemsInGroup5790 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.IsPrintItemsInGroup.GetValue() 'Get value of TotalAmount Dim TotalAmount5791 as Double TotalAmount5791 = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.TotalAmount.GetValue() if (not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.CreditMemoLineRetList is nothing) Dim i5792 as Integer for i5792 = 0 to ORCreditMemoLineRet5727.CreditMemoLineGroupRet.CreditMemoLineRetList.Count - 1 Dim CreditMemoLineRet as ICreditMemoLineRet CreditMemoLineRet = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.CreditMemoLineRetList.GetAt(i5792) 'Get value of TxnLineID Dim TxnLineID5793 as String TxnLineID5793 = CreditMemoLineRetTxnLineID.GetValue() if (not CreditMemoLineRetItemRef. is nothing) then 'Get value of ListID if ( not CreditMemoLineRetItemRef.ListID is nothing) then Dim ListID5794 as String ListID5794 = CreditMemoLineRetItemRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoLineRetItemRef.FullName is nothing) then Dim FullName5795 as String FullName5795 = CreditMemoLineRetItemRef.FullName.GetValue() End If End If 'Get value of Desc if ( not CreditMemoLineRetDesc is nothing) then Dim Desc5796 as String Desc5796 = CreditMemoLineRetDesc.GetValue() End If 'Get value of Quantity if ( not CreditMemoLineRetQuantity is nothing) then Dim Quantity5797 as Integer Quantity5797 = CreditMemoLineRetQuantity.GetValue() End If 'Get value of UnitOfMeasure if ( not CreditMemoLineRetUnitOfMeasure is nothing) then Dim UnitOfMeasure5798 as String UnitOfMeasure5798 = CreditMemoLineRetUnitOfMeasure.GetValue() End If if (not CreditMemoLineRetOverrideUOMSetRef. is nothing) then 'Get value of ListID if ( not CreditMemoLineRetOverrideUOMSetRef.ListID is nothing) then Dim ListID5799 as String ListID5799 = CreditMemoLineRetOverrideUOMSetRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoLineRetOverrideUOMSetRef.FullName is nothing) then Dim FullName5800 as String FullName5800 = CreditMemoLineRetOverrideUOMSetRef.FullName.GetValue() End If End If if (not CreditMemoLineRetORRate is nothing) then if (not CreditMemoLineRetORRate.Rate is nothing) then 'Get value of Rate if ( not CreditMemoLineRetORRate.Rate is nothing) then Dim Rate5802 as Double Rate5802 = CreditMemoLineRetORRate.Rate.GetValue() End If End If if (not CreditMemoLineRetORRate.RatePercent is nothing) then 'Get value of RatePercent if ( not CreditMemoLineRetORRate.RatePercent is nothing) then Dim RatePercent5803 as Double RatePercent5803 = CreditMemoLineRetORRate.RatePercent.GetValue() End If End If End If if (not CreditMemoLineRetClassRef. is nothing) then 'Get value of ListID if ( not CreditMemoLineRetClassRef.ListID is nothing) then Dim ListID5804 as String ListID5804 = CreditMemoLineRetClassRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoLineRetClassRef.FullName is nothing) then Dim FullName5805 as String FullName5805 = CreditMemoLineRetClassRef.FullName.GetValue() End If End If 'Get value of Amount if ( not CreditMemoLineRetAmount is nothing) then Dim Amount5806 as Double Amount5806 = CreditMemoLineRetAmount.GetValue() End If if (not CreditMemoLineRetInventorySiteRef. is nothing) then 'Get value of ListID if ( not CreditMemoLineRetInventorySiteRef.ListID is nothing) then Dim ListID5807 as String ListID5807 = CreditMemoLineRetInventorySiteRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoLineRetInventorySiteRef.FullName is nothing) then Dim FullName5808 as String FullName5808 = CreditMemoLineRetInventorySiteRef.FullName.GetValue() End If End If if (not CreditMemoLineRetInventorySiteLocationRef. is nothing) then 'Get value of ListID if ( not CreditMemoLineRetInventorySiteLocationRef.ListID is nothing) then Dim ListID5809 as String ListID5809 = CreditMemoLineRetInventorySiteLocationRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoLineRetInventorySiteLocationRef.FullName is nothing) then Dim FullName5810 as String FullName5810 = CreditMemoLineRetInventorySiteLocationRef.FullName.GetValue() End If End If if (not CreditMemoLineRetORSerialLotNumber is nothing) then if (not CreditMemoLineRetORSerialLotNumber.SerialNumber is nothing) then 'Get value of SerialNumber if ( not CreditMemoLineRetORSerialLotNumber.SerialNumber is nothing) then Dim SerialNumber5812 as String SerialNumber5812 = CreditMemoLineRetORSerialLotNumber.SerialNumber.GetValue() End If End If if (not CreditMemoLineRetORSerialLotNumber.LotNumber is nothing) then 'Get value of LotNumber if ( not CreditMemoLineRetORSerialLotNumber.LotNumber is nothing) then Dim LotNumber5813 as String LotNumber5813 = CreditMemoLineRetORSerialLotNumber.LotNumber.GetValue() End If End If End If 'Get value of ServiceDate if ( not CreditMemoLineRetExpirationDateForSerialLotNumber is nothing) then Dim ExpDate as String ExpDate = CreditMemoLineRetExpirationDateForSerialLotNumber.GetValue() End If 'Get value of ServiceDate if ( not CreditMemoLineRetServiceDate is nothing) then Dim ServiceDate5814 as DateTime ServiceDate5814 = CreditMemoLineRetServiceDate.GetValue() End If if (not CreditMemoLineRetSalesTaxCodeRef. is nothing) then 'Get value of ListID if ( not CreditMemoLineRetSalesTaxCodeRef.ListID is nothing) then Dim ListID5815 as String ListID5815 = CreditMemoLineRetSalesTaxCodeRef.ListID.GetValue() End If 'Get value of FullName if ( not CreditMemoLineRetSalesTaxCodeRef.FullName is nothing) then Dim FullName5816 as String FullName5816 = CreditMemoLineRetSalesTaxCodeRef.FullName.GetValue() End If End If 'Get value of Other1 if ( not CreditMemoLineRetOther1 is nothing) then Dim Other15817 as String Other15817 = CreditMemoLineRetOther1.GetValue() End If 'Get value of Other2 if ( not CreditMemoLineRetOther2 is nothing) then Dim Other25818 as String Other25818 = CreditMemoLineRetOther2.GetValue() End If if (not CreditMemoLineRetCreditCardTxnInfo. is nothing) then 'Get value of CreditCardNumber Dim CreditCardNumber5819 as String CreditCardNumber5819 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardNumber.GetValue() 'Get value of ExpirationMonth Dim ExpirationMonth5820 as Integer ExpirationMonth5820 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationMonth.GetValue() 'Get value of ExpirationYear Dim ExpirationYear5821 as Integer ExpirationYear5821 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationYear.GetValue() 'Get value of NameOnCard Dim NameOnCard5822 as String NameOnCard5822 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.NameOnCard.GetValue() 'Get value of CreditCardAddress if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress is nothing) then Dim CreditCardAddress5823 as String CreditCardAddress5823 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress.GetValue() End If 'Get value of CreditCardPostalCode if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode is nothing) then Dim CreditCardPostalCode5824 as String CreditCardPostalCode5824 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode.GetValue() End If 'Get value of CommercialCardCode if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode is nothing) then Dim CommercialCardCode5825 as String CommercialCardCode5825 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode.GetValue() End If 'Get value of TransactionMode if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode is nothing) then Dim TransactionMode5826 as ENTransactionMode TransactionMode5826 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode.GetValue() End If 'Get value of CreditCardTxnType if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType is nothing) then Dim CreditCardTxnType5827 as ENCreditCardTxnType CreditCardTxnType5827 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType.GetValue() End If 'Get value of ResultCode Dim ResultCode5828 as Integer ResultCode5828 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.ResultCode.GetValue() 'Get value of ResultMessage Dim ResultMessage5829 as String ResultMessage5829 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.ResultMessage.GetValue() 'Get value of CreditCardTransID Dim CreditCardTransID5830 as String CreditCardTransID5830 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.CreditCardTransID.GetValue() 'Get value of MerchantAccountNumber Dim MerchantAccountNumber5831 as String MerchantAccountNumber5831 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.MerchantAccountNumber.GetValue() 'Get value of AuthorizationCode if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode is nothing) then Dim AuthorizationCode5832 as String AuthorizationCode5832 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode.GetValue() End If 'Get value of AVSStreet if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet is nothing) then Dim AVSStreet5833 as ENAVSStreet AVSStreet5833 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet.GetValue() End If 'Get value of AVSZip if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip is nothing) then Dim AVSZip5834 as ENAVSZip AVSZip5834 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip.GetValue() End If 'Get value of CardSecurityCodeMatch if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch is nothing) then Dim CardSecurityCodeMatch5835 as ENCardSecurityCodeMatch CardSecurityCodeMatch5835 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch.GetValue() End If 'Get value of ReconBatchID if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID is nothing) then Dim ReconBatchID5836 as String ReconBatchID5836 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID.GetValue() End If 'Get value of PaymentGroupingCode if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode is nothing) then Dim PaymentGroupingCode5837 as Integer PaymentGroupingCode5837 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode.GetValue() End If 'Get value of PaymentStatus Dim PaymentStatus5838 as ENPaymentStatus PaymentStatus5838 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.PaymentStatus.GetValue() 'Get value of TxnAuthorizationTime Dim TxnAuthorizationTime5839 as DateTime TxnAuthorizationTime5839 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationTime.GetValue() 'Get value of TxnAuthorizationStamp if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp is nothing) then Dim TxnAuthorizationStamp5840 as Integer TxnAuthorizationStamp5840 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp.GetValue() End If 'Get value of ClientTransID if ( not CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID is nothing) then Dim ClientTransID5841 as String ClientTransID5841 = CreditMemoLineRetCreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID.GetValue() End If End If if (not CreditMemoLineRetDataExtRetList is nothing) Dim i5842 as Integer for i5842 = 0 to CreditMemoLineRetDataExtRetList.Count - 1 Dim DataExtRet as IDataExtRet DataExtRet = CreditMemoLineRetDataExtRetList.GetAt(i5842) 'Get value of OwnerID if ( not DataExtRetOwnerID is nothing) then Dim OwnerID5843 as String OwnerID5843 = DataExtRetOwnerID.GetValue() End If 'Get value of DataExtName Dim DataExtName5844 as String DataExtName5844 = DataExtRetDataExtName.GetValue() 'Get value of DataExtType Dim DataExtType5845 as ENDataExtType DataExtType5845 = DataExtRetDataExtType.GetValue() 'Get value of DataExtValue Dim DataExtValue5846 as String DataExtValue5846 = DataExtRetDataExtValue.GetValue() Next i5842 End If Next i5792 End If if (not ORCreditMemoLineRet5727.CreditMemoLineGroupRet.DataExtRetList is nothing) Dim i5847 as Integer for i5847 = 0 to ORCreditMemoLineRet5727.CreditMemoLineGroupRet.DataExtRetList.Count - 1 Dim DataExtRet as IDataExtRet DataExtRet = ORCreditMemoLineRet5727.CreditMemoLineGroupRet.DataExtRetList.GetAt(i5847) 'Get value of OwnerID if ( not DataExtRetOwnerID is nothing) then Dim OwnerID5848 as String OwnerID5848 = DataExtRetOwnerID.GetValue() End If 'Get value of DataExtName Dim DataExtName5849 as String DataExtName5849 = DataExtRetDataExtName.GetValue() 'Get value of DataExtType Dim DataExtType5850 as ENDataExtType DataExtType5850 = DataExtRetDataExtType.GetValue() 'Get value of DataExtValue Dim DataExtValue5851 as String DataExtValue5851 = DataExtRetDataExtValue.GetValue() Next i5847 End If End If End If Next i5726 End If if (not CreditMemoRet.DataExtRetList is nothing) Dim i5852 as Integer for i5852 = 0 to CreditMemoRet.DataExtRetList.Count - 1 Dim DataExtRet as IDataExtRet DataExtRet = CreditMemoRet.DataExtRetList.GetAt(i5852) 'Get value of OwnerID if ( not DataExtRetOwnerID is nothing) then Dim OwnerID5853 as String OwnerID5853 = DataExtRetOwnerID.GetValue() End If 'Get value of DataExtName Dim DataExtName5854 as String DataExtName5854 = DataExtRetDataExtName.GetValue() 'Get value of DataExtType Dim DataExtType5855 as ENDataExtType DataExtType5855 = DataExtRetDataExtType.GetValue() 'Get value of DataExtValue Dim DataExtValue5856 as String DataExtValue5856 = DataExtRetDataExtValue.GetValue() Next i5852 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 | //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 DoCreditMemoAdd() { 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; BuildCreditMemoAddRq(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; WalkCreditMemoAddRs(responseMsgSet); } catch (Exception e) { MessageBox.Show(e.Message, "Error"); if (sessionBegun) { sessionManager.EndSession(); } if (connectionOpen) { sessionManager.CloseConnection(); } } } void BuildCreditMemoAddRq(IMsgSetRequest requestMsgSet) { ICreditMemoAdd CreditMemoAddRq= requestMsgSet.AppendCreditMemoAddRq(); //Set attributes //Set field value for defMacro CreditMemoAddRq.defMacro.SetValue("IQBStringType"); //Set field value for ListID CreditMemoAddRq.CustomerRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.CustomerRef.FullName.SetValue("ab"); //Set field value for ListID CreditMemoAddRq.ClassRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.ClassRef.FullName.SetValue("ab"); //Set field value for ListID CreditMemoAddRq.ARAccountRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.ARAccountRef.FullName.SetValue("ab"); //Set field value for ListID CreditMemoAddRq.TemplateRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.TemplateRef.FullName.SetValue("ab"); //Set field value for TxnDate CreditMemoAddRq.TxnDate.SetValue(DateTime.Parse("12/15/2007")); //Set field value for RefNumber CreditMemoAddRq.RefNumber.SetValue("ab"); //Set field value for Addr1 CreditMemoAddRq.BillAddress.Addr1.SetValue("ab"); //Set field value for Addr2 CreditMemoAddRq.BillAddress.Addr2.SetValue("ab"); //Set field value for Addr3 CreditMemoAddRq.BillAddress.Addr3.SetValue("ab"); //Set field value for Addr4 CreditMemoAddRq.BillAddress.Addr4.SetValue("ab"); //Set field value for Addr5 CreditMemoAddRq.BillAddress.Addr5.SetValue("ab"); //Set field value for City CreditMemoAddRq.BillAddress.City.SetValue("ab"); //Set field value for State CreditMemoAddRq.BillAddress.State.SetValue("ab"); //Set field value for PostalCode CreditMemoAddRq.BillAddress.PostalCode.SetValue("ab"); //Set field value for Country CreditMemoAddRq.BillAddress.Country.SetValue("ab"); //Set field value for Note CreditMemoAddRq.BillAddress.Note.SetValue("ab"); //Set field value for Addr1 CreditMemoAddRq.ShipAddress.Addr1.SetValue("ab"); //Set field value for Addr2 CreditMemoAddRq.ShipAddress.Addr2.SetValue("ab"); //Set field value for Addr3 CreditMemoAddRq.ShipAddress.Addr3.SetValue("ab"); //Set field value for Addr4 CreditMemoAddRq.ShipAddress.Addr4.SetValue("ab"); //Set field value for Addr5 CreditMemoAddRq.ShipAddress.Addr5.SetValue("ab"); //Set field value for City CreditMemoAddRq.ShipAddress.City.SetValue("ab"); //Set field value for State CreditMemoAddRq.ShipAddress.State.SetValue("ab"); //Set field value for PostalCode CreditMemoAddRq.ShipAddress.PostalCode.SetValue("ab"); //Set field value for Country CreditMemoAddRq.ShipAddress.Country.SetValue("ab"); //Set field value for Note CreditMemoAddRq.ShipAddress.Note.SetValue("ab"); //Set field value for IsPending CreditMemoAddRq.IsPending.SetValue(true); //Set field value for PONumber CreditMemoAddRq.PONumber.SetValue("ab"); //Set field value for ListID CreditMemoAddRq.TermsRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.TermsRef.FullName.SetValue("ab"); //Set field value for DueDate CreditMemoAddRq.DueDate.SetValue(DateTime.Parse("12/15/2007")); //Set field value for ListID CreditMemoAddRq.SalesRepRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.SalesRepRef.FullName.SetValue("ab"); //Set field value for FOB CreditMemoAddRq.FOB.SetValue("ab"); //Set field value for ShipDate CreditMemoAddRq.ShipDate.SetValue(DateTime.Parse("12/15/2007")); //Set field value for ListID CreditMemoAddRq.ShipMethodRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.ShipMethodRef.FullName.SetValue("ab"); //Set field value for ListID CreditMemoAddRq.ItemSalesTaxRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.ItemSalesTaxRef.FullName.SetValue("ab"); //Set field value for Memo CreditMemoAddRq.Memo.SetValue("ab"); //Set field value for ListID CreditMemoAddRq.CustomerMsgRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.CustomerMsgRef.FullName.SetValue("ab"); //Set field value for IsToBePrinted CreditMemoAddRq.IsToBePrinted.SetValue(true); //Set field value for IsToBeEmailed CreditMemoAddRq.IsToBeEmailed.SetValue(true); //Set field value for IsTaxIncluded CreditMemoAddRq.IsTaxIncluded.SetValue(true); //Set field value for ListID CreditMemoAddRq.CustomerSalesTaxCodeRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName CreditMemoAddRq.CustomerSalesTaxCodeRef.FullName.SetValue("ab"); //Set field value for Other CreditMemoAddRq.Other.SetValue("ab"); //Set field value for ExchangeRate CreditMemoAddRq.ExchangeRate.SetValue("IQBFloatType"); //Set field value for ExternalGUID CreditMemoAddRq.ExternalGUID.SetValue(Guid.NewGuid().ToString()); IORCreditMemoLineAdd ORCreditMemoLineAddListElement5415 =CreditMemoAddRq.ORCreditMemoLineAddList.Append(); string ORCreditMemoLineAddListElementType5416 = "CreditMemoLineAdd"; if (ORCreditMemoLineAddListElementType5416 == "CreditMemoLineAdd") { //Set attributes //Set field value for defMacro ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.defMacro.SetValue("IQBStringType"); //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ItemRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ItemRef.FullName.SetValue("ab"); //Set field value for Desc ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.Desc.SetValue("ab"); //Set field value for Quantity ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.Quantity.SetValue(2); //Set field value for UnitOfMeasure ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.UnitOfMeasure.SetValue("ab"); string ORRatePriceLevelElementType5417 = "Rate"; if (ORRatePriceLevelElementType5417 == "Rate") { //Set field value for Rate ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ORRatePriceLevel.Rate.SetValue(15.65); } if (ORRatePriceLevelElementType5417 == "RatePercent") { //Set field value for RatePercent ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ORRatePriceLevel.RatePercent.SetValue(20.00); } if (ORRatePriceLevelElementType5417 == "PriceLevelRef") { //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ORRatePriceLevel.PriceLevelRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ORRatePriceLevel.PriceLevelRef.FullName.SetValue("ab"); } //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ClassRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ClassRef.FullName.SetValue("ab"); //Set field value for Amount ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.Amount.SetValue(10.01); //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.InventorySiteRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.InventorySiteRef.FullName.SetValue("ab"); //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.InventorySiteLocationRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.InventorySiteLocationRef.FullName.SetValue("ab"); string ORSerialLotNumberElementType5418 = "SerialNumber"; if (ORSerialLotNumberElementType5418 == "SerialNumber") { //Set field value for SerialNumber ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ORSerialLotNumber.SerialNumber.SetValue("ab"); } if (ORSerialLotNumberElementType5418 == "LotNumber") { //Set field value for LotNumber ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ORSerialLotNumber.LotNumber.SetValue("ab"); } //Set field value for ServiceDate ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.ServiceDate.SetValue(DateTime.Parse("12/15/2007")); //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.SalesTaxCodeRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.SalesTaxCodeRef.FullName.SetValue("ab"); //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.OverrideItemAccountRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.OverrideItemAccountRef.FullName.SetValue("ab"); //Set field value for Other1 ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.Other1.SetValue("ab"); //Set field value for Other2 ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.Other2.SetValue("ab"); //Set field value for CreditCardNumber ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardNumber.SetValue("ab"); //Set field value for ExpirationMonth ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationMonth.SetValue(6); //Set field value for ExpirationYear ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationYear.SetValue(6); //Set field value for NameOnCard ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.NameOnCard.SetValue("ab"); //Set field value for CreditCardAddress ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress.SetValue("ab"); //Set field value for CreditCardPostalCode ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode.SetValue("ab"); //Set field value for CommercialCardCode ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode.SetValue("ab"); //Set field value for TransactionMode ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode.SetValue(ENTransactionMode.tmCardNotPresent [DEFAULT]); //Set field value for CreditCardTxnType ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType.SetValue(ENCreditCardTxnType.ccttAuthorization); //Set field value for ResultCode ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultCode.SetValue(6); //Set field value for ResultMessage ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultMessage.SetValue("ab"); //Set field value for CreditCardTransID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.CreditCardTransID.SetValue("ab"); //Set field value for MerchantAccountNumber ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.MerchantAccountNumber.SetValue("ab"); //Set field value for AuthorizationCode ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode.SetValue("ab"); //Set field value for AVSStreet ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet.SetValue(ENAVSStreet.avssPass); //Set field value for AVSZip ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip.SetValue(ENAVSZip.avszPass); //Set field value for CardSecurityCodeMatch ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch.SetValue(ENCardSecurityCodeMatch.cscmPass); //Set field value for ReconBatchID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID.SetValue("ab"); //Set field value for PaymentGroupingCode ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode.SetValue(6); //Set field value for PaymentStatus ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentStatus.SetValue(ENPaymentStatus.pssUnknown); //Set field value for TxnAuthorizationTime ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationTime.SetValue(DateTime.Parse("12/15/2007 12:15:12"),false); //Set field value for TxnAuthorizationStamp ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp.SetValue(6); //Set field value for ClientTransID ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.CreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID.SetValue("ab"); IDataExt DataExt5419=ORCreditMemoLineAddListElement5415.CreditMemoLineAdd.DataExtList.Append(); //Set field value for OwnerID DataExt5419.OwnerID.SetValue(Guid.NewGuid().ToString()); //Set field value for DataExtName DataExt5419.DataExtName.SetValue("ab"); //Set field value for DataExtValue DataExt5419.DataExtValue.SetValue("ab"); } if (ORCreditMemoLineAddListElementType5416 == "CreditMemoLineGroupAdd") { //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineGroupAdd.ItemGroupRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineGroupAdd.ItemGroupRef.FullName.SetValue("ab"); //Set field value for Quantity ORCreditMemoLineAddListElement5415.CreditMemoLineGroupAdd.Quantity.SetValue(2); //Set field value for UnitOfMeasure ORCreditMemoLineAddListElement5415.CreditMemoLineGroupAdd.UnitOfMeasure.SetValue("ab"); //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineGroupAdd.InventorySiteRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineGroupAdd.InventorySiteRef.FullName.SetValue("ab"); //Set field value for ListID ORCreditMemoLineAddListElement5415.CreditMemoLineGroupAdd.InventorySiteLocationRef.ListID.SetValue("200000-1011023419"); //Set field value for FullName ORCreditMemoLineAddListElement5415.CreditMemoLineGroupAdd.InventorySiteLocationRef.FullName.SetValue("ab"); IDataExt DataExt5420=ORCreditMemoLineAddListElement5415.CreditMemoLineGroupAdd.DataExtList.Append(); //Set field value for OwnerID DataExt5420.OwnerID.SetValue(Guid.NewGuid().ToString()); //Set field value for DataExtName DataExt5420.DataExtName.SetValue("ab"); //Set field value for DataExtValue DataExt5420.DataExtValue.SetValue("ab"); } //Set field value for IncludeRetElementList //May create more than one of these if needed CreditMemoAddRq.IncludeRetElementList.Add("ab"); } void WalkCreditMemoAddRs(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.rtCreditMemoAddRs) { //upcast to more specific type here, this is safe because we checked with response.Type check above ICreditMemoRet CreditMemoRet = (ICreditMemoRet)response.Detail; WalkCreditMemoRet(CreditMemoRet); } } } } } void WalkCreditMemoRet(ICreditMemoRet CreditMemoRet) { if (CreditMemoRet == null) return; //Go through all the elements of ICreditMemoRet //Get value of TxnID string TxnID5421 = (string)CreditMemoRet.TxnID.GetValue(); //Get value of TimeCreated DateTime TimeCreated5422 = (DateTime)CreditMemoRet.TimeCreated.GetValue(); //Get value of TimeModified DateTime TimeModified5423 = (DateTime)CreditMemoRet.TimeModified.GetValue(); //Get value of EditSequence string EditSequence5424 = (string)CreditMemoRet.EditSequence.GetValue(); //Get value of TxnNumber if (CreditMemoRet.TxnNumber != null) { int TxnNumber5425 = (int)CreditMemoRet.TxnNumber.GetValue(); } //Get value of ListID if (CreditMemoRet.CustomerRef.ListID != null) { string ListID5426 = (string)CreditMemoRet.CustomerRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.CustomerRef.FullName != null) { string FullName5427 = (string)CreditMemoRet.CustomerRef.FullName.GetValue(); } if (CreditMemoRet.ClassRef != null) { //Get value of ListID if (CreditMemoRet.ClassRef.ListID != null) { string ListID5428 = (string)CreditMemoRet.ClassRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.ClassRef.FullName != null) { string FullName5429 = (string)CreditMemoRet.ClassRef.FullName.GetValue(); } } if (CreditMemoRet.ARAccountRef != null) { //Get value of ListID if (CreditMemoRet.ARAccountRef.ListID != null) { string ListID5430 = (string)CreditMemoRet.ARAccountRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.ARAccountRef.FullName != null) { string FullName5431 = (string)CreditMemoRet.ARAccountRef.FullName.GetValue(); } } if (CreditMemoRet.TemplateRef != null) { //Get value of ListID if (CreditMemoRet.TemplateRef.ListID != null) { string ListID5432 = (string)CreditMemoRet.TemplateRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.TemplateRef.FullName != null) { string FullName5433 = (string)CreditMemoRet.TemplateRef.FullName.GetValue(); } } //Get value of TxnDate DateTime TxnDate5434 = (DateTime)CreditMemoRet.TxnDate.GetValue(); //Get value of RefNumber if (CreditMemoRet.RefNumber != null) { string RefNumber5435 = (string)CreditMemoRet.RefNumber.GetValue(); } if (CreditMemoRet.BillAddress != null) { //Get value of Addr1 if (CreditMemoRet.BillAddress.Addr1 != null) { string Addr15436 = (string)CreditMemoRet.BillAddress.Addr1.GetValue(); } //Get value of Addr2 if (CreditMemoRet.BillAddress.Addr2 != null) { string Addr25437 = (string)CreditMemoRet.BillAddress.Addr2.GetValue(); } //Get value of Addr3 if (CreditMemoRet.BillAddress.Addr3 != null) { string Addr35438 = (string)CreditMemoRet.BillAddress.Addr3.GetValue(); } //Get value of Addr4 if (CreditMemoRet.BillAddress.Addr4 != null) { string Addr45439 = (string)CreditMemoRet.BillAddress.Addr4.GetValue(); } //Get value of Addr5 if (CreditMemoRet.BillAddress.Addr5 != null) { string Addr55440 = (string)CreditMemoRet.BillAddress.Addr5.GetValue(); } //Get value of City if (CreditMemoRet.BillAddress.City != null) { string City5441 = (string)CreditMemoRet.BillAddress.City.GetValue(); } //Get value of State if (CreditMemoRet.BillAddress.State != null) { string State5442 = (string)CreditMemoRet.BillAddress.State.GetValue(); } //Get value of PostalCode if (CreditMemoRet.BillAddress.PostalCode != null) { string PostalCode5443 = (string)CreditMemoRet.BillAddress.PostalCode.GetValue(); } //Get value of Country if (CreditMemoRet.BillAddress.Country != null) { string Country5444 = (string)CreditMemoRet.BillAddress.Country.GetValue(); } //Get value of Note if (CreditMemoRet.BillAddress.Note != null) { string Note5445 = (string)CreditMemoRet.BillAddress.Note.GetValue(); } } if (CreditMemoRet.BillAddressBlock != null) { //Get value of Addr1 if (CreditMemoRet.BillAddressBlock.Addr1 != null) { string Addr15446 = (string)CreditMemoRet.BillAddressBlock.Addr1.GetValue(); } //Get value of Addr2 if (CreditMemoRet.BillAddressBlock.Addr2 != null) { string Addr25447 = (string)CreditMemoRet.BillAddressBlock.Addr2.GetValue(); } //Get value of Addr3 if (CreditMemoRet.BillAddressBlock.Addr3 != null) { string Addr35448 = (string)CreditMemoRet.BillAddressBlock.Addr3.GetValue(); } //Get value of Addr4 if (CreditMemoRet.BillAddressBlock.Addr4 != null) { string Addr45449 = (string)CreditMemoRet.BillAddressBlock.Addr4.GetValue(); } //Get value of Addr5 if (CreditMemoRet.BillAddressBlock.Addr5 != null) { string Addr55450 = (string)CreditMemoRet.BillAddressBlock.Addr5.GetValue(); } } if (CreditMemoRet.ShipAddress != null) { //Get value of Addr1 if (CreditMemoRet.ShipAddress.Addr1 != null) { string Addr15451 = (string)CreditMemoRet.ShipAddress.Addr1.GetValue(); } //Get value of Addr2 if (CreditMemoRet.ShipAddress.Addr2 != null) { string Addr25452 = (string)CreditMemoRet.ShipAddress.Addr2.GetValue(); } //Get value of Addr3 if (CreditMemoRet.ShipAddress.Addr3 != null) { string Addr35453 = (string)CreditMemoRet.ShipAddress.Addr3.GetValue(); } //Get value of Addr4 if (CreditMemoRet.ShipAddress.Addr4 != null) { string Addr45454 = (string)CreditMemoRet.ShipAddress.Addr4.GetValue(); } //Get value of Addr5 if (CreditMemoRet.ShipAddress.Addr5 != null) { string Addr55455 = (string)CreditMemoRet.ShipAddress.Addr5.GetValue(); } //Get value of City if (CreditMemoRet.ShipAddress.City != null) { string City5456 = (string)CreditMemoRet.ShipAddress.City.GetValue(); } //Get value of State if (CreditMemoRet.ShipAddress.State != null) { string State5457 = (string)CreditMemoRet.ShipAddress.State.GetValue(); } //Get value of PostalCode if (CreditMemoRet.ShipAddress.PostalCode != null) { string PostalCode5458 = (string)CreditMemoRet.ShipAddress.PostalCode.GetValue(); } //Get value of Country if (CreditMemoRet.ShipAddress.Country != null) { string Country5459 = (string)CreditMemoRet.ShipAddress.Country.GetValue(); } //Get value of Note if (CreditMemoRet.ShipAddress.Note != null) { string Note5460 = (string)CreditMemoRet.ShipAddress.Note.GetValue(); } } if (CreditMemoRet.ShipAddressBlock != null) { //Get value of Addr1 if (CreditMemoRet.ShipAddressBlock.Addr1 != null) { string Addr15461 = (string)CreditMemoRet.ShipAddressBlock.Addr1.GetValue(); } //Get value of Addr2 if (CreditMemoRet.ShipAddressBlock.Addr2 != null) { string Addr25462 = (string)CreditMemoRet.ShipAddressBlock.Addr2.GetValue(); } //Get value of Addr3 if (CreditMemoRet.ShipAddressBlock.Addr3 != null) { string Addr35463 = (string)CreditMemoRet.ShipAddressBlock.Addr3.GetValue(); } //Get value of Addr4 if (CreditMemoRet.ShipAddressBlock.Addr4 != null) { string Addr45464 = (string)CreditMemoRet.ShipAddressBlock.Addr4.GetValue(); } //Get value of Addr5 if (CreditMemoRet.ShipAddressBlock.Addr5 != null) { string Addr55465 = (string)CreditMemoRet.ShipAddressBlock.Addr5.GetValue(); } } //Get value of IsPending if (CreditMemoRet.IsPending != null) { bool IsPending5466 = (bool)CreditMemoRet.IsPending.GetValue(); } //Get value of PONumber if (CreditMemoRet.PONumber != null) { string PONumber5467 = (string)CreditMemoRet.PONumber.GetValue(); } if (CreditMemoRet.TermsRef != null) { //Get value of ListID if (CreditMemoRet.TermsRef.ListID != null) { string ListID5468 = (string)CreditMemoRet.TermsRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.TermsRef.FullName != null) { string FullName5469 = (string)CreditMemoRet.TermsRef.FullName.GetValue(); } } //Get value of DueDate if (CreditMemoRet.DueDate != null) { DateTime DueDate5470 = (DateTime)CreditMemoRet.DueDate.GetValue(); } if (CreditMemoRet.SalesRepRef != null) { //Get value of ListID if (CreditMemoRet.SalesRepRef.ListID != null) { string ListID5471 = (string)CreditMemoRet.SalesRepRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.SalesRepRef.FullName != null) { string FullName5472 = (string)CreditMemoRet.SalesRepRef.FullName.GetValue(); } } //Get value of FOB if (CreditMemoRet.FOB != null) { string FOB5473 = (string)CreditMemoRet.FOB.GetValue(); } //Get value of ShipDate if (CreditMemoRet.ShipDate != null) { DateTime ShipDate5474 = (DateTime)CreditMemoRet.ShipDate.GetValue(); } if (CreditMemoRet.ShipMethodRef != null) { //Get value of ListID if (CreditMemoRet.ShipMethodRef.ListID != null) { string ListID5475 = (string)CreditMemoRet.ShipMethodRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.ShipMethodRef.FullName != null) { string FullName5476 = (string)CreditMemoRet.ShipMethodRef.FullName.GetValue(); } } //Get value of Subtotal if (CreditMemoRet.Subtotal != null) { double Subtotal5477 = (double)CreditMemoRet.Subtotal.GetValue(); } if (CreditMemoRet.ItemSalesTaxRef != null) { //Get value of ListID if (CreditMemoRet.ItemSalesTaxRef.ListID != null) { string ListID5478 = (string)CreditMemoRet.ItemSalesTaxRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.ItemSalesTaxRef.FullName != null) { string FullName5479 = (string)CreditMemoRet.ItemSalesTaxRef.FullName.GetValue(); } } //Get value of SalesTaxPercentage if (CreditMemoRet.SalesTaxPercentage != null) { double SalesTaxPercentage5480 = (double)CreditMemoRet.SalesTaxPercentage.GetValue(); } //Get value of SalesTaxTotal if (CreditMemoRet.SalesTaxTotal != null) { double SalesTaxTotal5481 = (double)CreditMemoRet.SalesTaxTotal.GetValue(); } //Get value of TotalAmount if (CreditMemoRet.TotalAmount != null) { double TotalAmount5482 = (double)CreditMemoRet.TotalAmount.GetValue(); } //Get value of CreditRemaining if (CreditMemoRet.CreditRemaining != null) { double CreditRemaining5483 = (double)CreditMemoRet.CreditRemaining.GetValue(); } if (CreditMemoRet.CurrencyRef != null) { //Get value of ListID if (CreditMemoRet.CurrencyRef.ListID != null) { string ListID5484 = (string)CreditMemoRet.CurrencyRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.CurrencyRef.FullName != null) { string FullName5485 = (string)CreditMemoRet.CurrencyRef.FullName.GetValue(); } } //Get value of ExchangeRate if (CreditMemoRet.ExchangeRate != null) { IQBFloatType ExchangeRate5486 = (IQBFloatType)CreditMemoRet.ExchangeRate.GetValue(); } //Get value of CreditRemainingInHomeCurrency if (CreditMemoRet.CreditRemainingInHomeCurrency != null) { double CreditRemainingInHomeCurrency5487 = (double)CreditMemoRet.CreditRemainingInHomeCurrency.GetValue(); } //Get value of Memo if (CreditMemoRet.Memo != null) { string Memo5488 = (string)CreditMemoRet.Memo.GetValue(); } if (CreditMemoRet.CustomerMsgRef != null) { //Get value of ListID if (CreditMemoRet.CustomerMsgRef.ListID != null) { string ListID5489 = (string)CreditMemoRet.CustomerMsgRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.CustomerMsgRef.FullName != null) { string FullName5490 = (string)CreditMemoRet.CustomerMsgRef.FullName.GetValue(); } } //Get value of IsToBePrinted if (CreditMemoRet.IsToBePrinted != null) { bool IsToBePrinted5491 = (bool)CreditMemoRet.IsToBePrinted.GetValue(); } //Get value of IsToBeEmailed if (CreditMemoRet.IsToBeEmailed != null) { bool IsToBeEmailed5492 = (bool)CreditMemoRet.IsToBeEmailed.GetValue(); } //Get value of IsTaxIncluded if (CreditMemoRet.IsTaxIncluded != null) { bool IsTaxIncluded5493 = (bool)CreditMemoRet.IsTaxIncluded.GetValue(); } if (CreditMemoRet.CustomerSalesTaxCodeRef != null) { //Get value of ListID if (CreditMemoRet.CustomerSalesTaxCodeRef.ListID != null) { string ListID5494 = (string)CreditMemoRet.CustomerSalesTaxCodeRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoRet.CustomerSalesTaxCodeRef.FullName != null) { string FullName5495 = (string)CreditMemoRet.CustomerSalesTaxCodeRef.FullName.GetValue(); } } //Get value of Other if (CreditMemoRet.Other != null) { string Other5496 = (string)CreditMemoRet.Other.GetValue(); } //Get value of ExternalGUID if (CreditMemoRet.ExternalGUID != null) { string ExternalGUID5497 = (string)CreditMemoRet.ExternalGUID.GetValue(); } if (CreditMemoRet.LinkedTxnList != null) { for (int i5498 = 0; i5498 < CreditMemoRet.LinkedTxnList.Count; i5498++) { ILinkedTxn LinkedTxn = CreditMemoRet.LinkedTxnList.GetAt(i5498); //Get value of TxnID string TxnID5499 = (string)LinkedTxn.TxnID.GetValue(); //Get value of TxnType ENTxnType TxnType5500 = (ENTxnType)LinkedTxn.TxnType.GetValue(); //Get value of TxnDate DateTime TxnDate5501 = (DateTime)LinkedTxn.TxnDate.GetValue(); //Get value of RefNumber if (LinkedTxn.RefNumber != null) { string RefNumber5502 = (string)LinkedTxn.RefNumber.GetValue(); } //Get value of LinkType if (LinkedTxn.LinkType != null) { ENLinkType LinkType5503 = (ENLinkType)LinkedTxn.LinkType.GetValue(); } //Get value of Amount double Amount5504 = (double)LinkedTxn.Amount.GetValue(); } } if (CreditMemoRet.ORCreditMemoLineRetList != null) { for (int i5505 = 0; i5505 < CreditMemoRet.ORCreditMemoLineRetList.Count; i5505++) { IORCreditMemoLineRet ORCreditMemoLineRet5506 = CreditMemoRet.ORCreditMemoLineRetList.GetAt(i5505); if (ORCreditMemoLineRet5506.CreditMemoLineRet != null) { if (ORCreditMemoLineRet5506.CreditMemoLineRet != null) { //Get value of TxnLineID string TxnLineID5507 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.TxnLineID.GetValue(); if (ORCreditMemoLineRet5506.CreditMemoLineRet.ItemRef != null) { //Get value of ListID if (ORCreditMemoLineRet5506.CreditMemoLineRet.ItemRef.ListID != null) { string ListID5508 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.ItemRef.ListID.GetValue(); } //Get value of FullName if (ORCreditMemoLineRet5506.CreditMemoLineRet.ItemRef.FullName != null) { string FullName5509 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.ItemRef.FullName.GetValue(); } } //Get value of Desc if (ORCreditMemoLineRet5506.CreditMemoLineRet.Desc != null) { string Desc5510 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.Desc.GetValue(); } //Get value of Quantity if (ORCreditMemoLineRet5506.CreditMemoLineRet.Quantity != null) { int Quantity5511 = (int)ORCreditMemoLineRet5506.CreditMemoLineRet.Quantity.GetValue(); } //Get value of UnitOfMeasure if (ORCreditMemoLineRet5506.CreditMemoLineRet.UnitOfMeasure != null) { string UnitOfMeasure5512 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.UnitOfMeasure.GetValue(); } if (ORCreditMemoLineRet5506.CreditMemoLineRet.OverrideUOMSetRef != null) { //Get value of ListID if (ORCreditMemoLineRet5506.CreditMemoLineRet.OverrideUOMSetRef.ListID != null) { string ListID5513 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.OverrideUOMSetRef.ListID.GetValue(); } //Get value of FullName if (ORCreditMemoLineRet5506.CreditMemoLineRet.OverrideUOMSetRef.FullName != null) { string FullName5514 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.OverrideUOMSetRef.FullName.GetValue(); } } if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORRate != null) { if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORRate.Rate != null) { //Get value of Rate if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORRate.Rate != null) { double Rate5516 = (double)ORCreditMemoLineRet5506.CreditMemoLineRet.ORRate.Rate.GetValue(); } } if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORRate.RatePercent != null) { //Get value of RatePercent if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORRate.RatePercent != null) { double RatePercent5517 = (double)ORCreditMemoLineRet5506.CreditMemoLineRet.ORRate.RatePercent.GetValue(); } } } if (ORCreditMemoLineRet5506.CreditMemoLineRet.ClassRef != null) { //Get value of ListID if (ORCreditMemoLineRet5506.CreditMemoLineRet.ClassRef.ListID != null) { string ListID5518 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.ClassRef.ListID.GetValue(); } //Get value of FullName if (ORCreditMemoLineRet5506.CreditMemoLineRet.ClassRef.FullName != null) { string FullName5519 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.ClassRef.FullName.GetValue(); } } //Get value of Amount if (ORCreditMemoLineRet5506.CreditMemoLineRet.Amount != null) { double Amount5520 = (double)ORCreditMemoLineRet5506.CreditMemoLineRet.Amount.GetValue(); } if (ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteRef != null) { //Get value of ListID if (ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteRef.ListID != null) { string ListID5521 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteRef.ListID.GetValue(); } //Get value of FullName if (ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteRef.FullName != null) { string FullName5522 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteRef.FullName.GetValue(); } } if (ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteLocationRef != null) { //Get value of ListID if (ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteLocationRef.ListID != null) { string ListID5523 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteLocationRef.ListID.GetValue(); } //Get value of FullName if (ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteLocationRef.FullName != null) { string FullName5524 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.InventorySiteLocationRef.FullName.GetValue(); } } if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORSerialLotNumber != null) { if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORSerialLotNumber.SerialNumber != null) { //Get value of SerialNumber if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORSerialLotNumber.SerialNumber != null) { string SerialNumber5526 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.ORSerialLotNumber.SerialNumber.GetValue(); } } if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORSerialLotNumber.LotNumber != null) { //Get value of LotNumber if (ORCreditMemoLineRet5506.CreditMemoLineRet.ORSerialLotNumber.LotNumber != null) { string LotNumber5527 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.ORSerialLotNumber.LotNumber.GetValue(); } } } //Get value of ExpirationDateForSerialLotNumber if (ORCreditMemoLineRet5506.CreditMemoLineRet.ExpirationDateForSerialLotNumber != null) { string Expdate = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.ExpirationDateForSerialLotNumber.GetValue(); } //Get value of ServiceDate if (ORCreditMemoLineRet5506.CreditMemoLineRet.ServiceDate != null) { DateTime ServiceDate5528 = (DateTime)ORCreditMemoLineRet5506.CreditMemoLineRet.ServiceDate.GetValue(); } if (ORCreditMemoLineRet5506.CreditMemoLineRet.SalesTaxCodeRef != null) { //Get value of ListID if (ORCreditMemoLineRet5506.CreditMemoLineRet.SalesTaxCodeRef.ListID != null) { string ListID5529 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.SalesTaxCodeRef.ListID.GetValue(); } //Get value of FullName if (ORCreditMemoLineRet5506.CreditMemoLineRet.SalesTaxCodeRef.FullName != null) { string FullName5530 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.SalesTaxCodeRef.FullName.GetValue(); } } //Get value of Other1 if (ORCreditMemoLineRet5506.CreditMemoLineRet.Other1 != null) { string Other15531 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.Other1.GetValue(); } //Get value of Other2 if (ORCreditMemoLineRet5506.CreditMemoLineRet.Other2 != null) { string Other25532 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.Other2.GetValue(); } if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo != null) { //Get value of CreditCardNumber string CreditCardNumber5533 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardNumber.GetValue(); //Get value of ExpirationMonth int ExpirationMonth5534 = (int)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationMonth.GetValue(); //Get value of ExpirationYear int ExpirationYear5535 = (int)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationYear.GetValue(); //Get value of NameOnCard string NameOnCard5536 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.NameOnCard.GetValue(); //Get value of CreditCardAddress if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress != null) { string CreditCardAddress5537 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress.GetValue(); } //Get value of CreditCardPostalCode if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode != null) { string CreditCardPostalCode5538 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode.GetValue(); } //Get value of CommercialCardCode if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode != null) { string CommercialCardCode5539 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode.GetValue(); } //Get value of TransactionMode if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode != null) { ENTransactionMode TransactionMode5540 = (ENTransactionMode)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode.GetValue(); } //Get value of CreditCardTxnType if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType != null) { ENCreditCardTxnType CreditCardTxnType5541 = (ENCreditCardTxnType)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType.GetValue(); } //Get value of ResultCode int ResultCode5542 = (int)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultCode.GetValue(); //Get value of ResultMessage string ResultMessage5543 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultMessage.GetValue(); //Get value of CreditCardTransID string CreditCardTransID5544 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.CreditCardTransID.GetValue(); //Get value of MerchantAccountNumber string MerchantAccountNumber5545 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.MerchantAccountNumber.GetValue(); //Get value of AuthorizationCode if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode != null) { string AuthorizationCode5546 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode.GetValue(); } //Get value of AVSStreet if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet != null) { ENAVSStreet AVSStreet5547 = (ENAVSStreet)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet.GetValue(); } //Get value of AVSZip if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip != null) { ENAVSZip AVSZip5548 = (ENAVSZip)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip.GetValue(); } //Get value of CardSecurityCodeMatch if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch != null) { ENCardSecurityCodeMatch CardSecurityCodeMatch5549 = (ENCardSecurityCodeMatch)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch.GetValue(); } //Get value of ReconBatchID if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID != null) { string ReconBatchID5550 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID.GetValue(); } //Get value of PaymentGroupingCode if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode != null) { int PaymentGroupingCode5551 = (int)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode.GetValue(); } //Get value of PaymentStatus ENPaymentStatus PaymentStatus5552 = (ENPaymentStatus)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentStatus.GetValue(); //Get value of TxnAuthorizationTime DateTime TxnAuthorizationTime5553 = (DateTime)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationTime.GetValue(); //Get value of TxnAuthorizationStamp if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp != null) { int TxnAuthorizationStamp5554 = (int)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp.GetValue(); } //Get value of ClientTransID if (ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID != null) { string ClientTransID5555 = (string)ORCreditMemoLineRet5506.CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID.GetValue(); } } if (ORCreditMemoLineRet5506.CreditMemoLineRet.DataExtRetList != null) { for (int i5556 = 0; i5556 < ORCreditMemoLineRet5506.CreditMemoLineRet.DataExtRetList.Count; i5556++) { IDataExtRet DataExtRet = ORCreditMemoLineRet5506.CreditMemoLineRet.DataExtRetList.GetAt(i5556); //Get value of OwnerID if (DataExtRet.OwnerID != null) { string OwnerID5557 = (string)DataExtRet.OwnerID.GetValue(); } //Get value of DataExtName string DataExtName5558 = (string)DataExtRet.DataExtName.GetValue(); //Get value of DataExtType ENDataExtType DataExtType5559 = (ENDataExtType)DataExtRet.DataExtType.GetValue(); //Get value of DataExtValue string DataExtValue5560 = (string)DataExtRet.DataExtValue.GetValue(); } } } } if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet != null) { if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet != null) { //Get value of TxnLineID string TxnLineID5561 = (string)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.TxnLineID.GetValue(); //Get value of ListID if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.ItemGroupRef.ListID != null) { string ListID5562 = (string)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.ItemGroupRef.ListID.GetValue(); } //Get value of FullName if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.ItemGroupRef.FullName != null) { string FullName5563 = (string)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.ItemGroupRef.FullName.GetValue(); } //Get value of Desc if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.Desc != null) { string Desc5564 = (string)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.Desc.GetValue(); } //Get value of Quantity if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.Quantity != null) { int Quantity5565 = (int)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.Quantity.GetValue(); } //Get value of UnitOfMeasure if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.UnitOfMeasure != null) { string UnitOfMeasure5566 = (string)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.UnitOfMeasure.GetValue(); } if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.OverrideUOMSetRef != null) { //Get value of ListID if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.OverrideUOMSetRef.ListID != null) { string ListID5567 = (string)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.OverrideUOMSetRef.ListID.GetValue(); } //Get value of FullName if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.OverrideUOMSetRef.FullName != null) { string FullName5568 = (string)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.OverrideUOMSetRef.FullName.GetValue(); } } //Get value of IsPrintItemsInGroup bool IsPrintItemsInGroup5569 = (bool)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.IsPrintItemsInGroup.GetValue(); //Get value of TotalAmount double TotalAmount5570 = (double)ORCreditMemoLineRet5506.CreditMemoLineGroupRet.TotalAmount.GetValue(); if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.CreditMemoLineRetList != null) { for (int i5571 = 0; i5571 < ORCreditMemoLineRet5506.CreditMemoLineGroupRet.CreditMemoLineRetList.Count; i5571++) { ICreditMemoLineRet CreditMemoLineRet = ORCreditMemoLineRet5506.CreditMemoLineGroupRet.CreditMemoLineRetList.GetAt(i5571); //Get value of TxnLineID string TxnLineID5572 = (string)CreditMemoLineRet.TxnLineID.GetValue(); if (CreditMemoLineRet.ItemRef != null) { //Get value of ListID if (CreditMemoLineRet.ItemRef.ListID != null) { string ListID5573 = (string)CreditMemoLineRet.ItemRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoLineRet.ItemRef.FullName != null) { string FullName5574 = (string)CreditMemoLineRet.ItemRef.FullName.GetValue(); } } //Get value of Desc if (CreditMemoLineRet.Desc != null) { string Desc5575 = (string)CreditMemoLineRet.Desc.GetValue(); } //Get value of Quantity if (CreditMemoLineRet.Quantity != null) { int Quantity5576 = (int)CreditMemoLineRet.Quantity.GetValue(); } //Get value of UnitOfMeasure if (CreditMemoLineRet.UnitOfMeasure != null) { string UnitOfMeasure5577 = (string)CreditMemoLineRet.UnitOfMeasure.GetValue(); } if (CreditMemoLineRet.OverrideUOMSetRef != null) { //Get value of ListID if (CreditMemoLineRet.OverrideUOMSetRef.ListID != null) { string ListID5578 = (string)CreditMemoLineRet.OverrideUOMSetRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoLineRet.OverrideUOMSetRef.FullName != null) { string FullName5579 = (string)CreditMemoLineRet.OverrideUOMSetRef.FullName.GetValue(); } } if (CreditMemoLineRet.ORRate != null) { if (CreditMemoLineRet.ORRate.Rate != null) { //Get value of Rate if (CreditMemoLineRet.ORRate.Rate != null) { double Rate5581 = (double)CreditMemoLineRet.ORRate.Rate.GetValue(); } } if (CreditMemoLineRet.ORRate.RatePercent != null) { //Get value of RatePercent if (CreditMemoLineRet.ORRate.RatePercent != null) { double RatePercent5582 = (double)CreditMemoLineRet.ORRate.RatePercent.GetValue(); } } } if (CreditMemoLineRet.ClassRef != null) { //Get value of ListID if (CreditMemoLineRet.ClassRef.ListID != null) { string ListID5583 = (string)CreditMemoLineRet.ClassRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoLineRet.ClassRef.FullName != null) { string FullName5584 = (string)CreditMemoLineRet.ClassRef.FullName.GetValue(); } } //Get value of Amount if (CreditMemoLineRet.Amount != null) { double Amount5585 = (double)CreditMemoLineRet.Amount.GetValue(); } if (CreditMemoLineRet.InventorySiteRef != null) { //Get value of ListID if (CreditMemoLineRet.InventorySiteRef.ListID != null) { string ListID5586 = (string)CreditMemoLineRet.InventorySiteRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoLineRet.InventorySiteRef.FullName != null) { string FullName5587 = (string)CreditMemoLineRet.InventorySiteRef.FullName.GetValue(); } } if (CreditMemoLineRet.InventorySiteLocationRef != null) { //Get value of ListID if (CreditMemoLineRet.InventorySiteLocationRef.ListID != null) { string ListID5588 = (string)CreditMemoLineRet.InventorySiteLocationRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoLineRet.InventorySiteLocationRef.FullName != null) { string FullName5589 = (string)CreditMemoLineRet.InventorySiteLocationRef.FullName.GetValue(); } } if (CreditMemoLineRet.ORSerialLotNumber != null) { if (CreditMemoLineRet.ORSerialLotNumber.SerialNumber != null) { //Get value of SerialNumber if (CreditMemoLineRet.ORSerialLotNumber.SerialNumber != null) { string SerialNumber5591 = (string)CreditMemoLineRet.ORSerialLotNumber.SerialNumber.GetValue(); } } if (CreditMemoLineRet.ORSerialLotNumber.LotNumber != null) { //Get value of LotNumber if (CreditMemoLineRet.ORSerialLotNumber.LotNumber != null) { string LotNumber5592 = (string)CreditMemoLineRet.ORSerialLotNumber.LotNumber.GetValue(); } } } //Get value of ExpirationDateForSerialLotNumber if (CreditMemoLineRet.ExpirationDateForSerialLotNumber != null) { string ExpDate = (string)CreditMemoLineRet.ExpirationDateForSerialLotNumber.GetValue(); } //Get value of ServiceDate if (CreditMemoLineRet.ServiceDate != null) { DateTime ServiceDate5593 = (DateTime)CreditMemoLineRet.ServiceDate.GetValue(); } if (CreditMemoLineRet.SalesTaxCodeRef != null) { //Get value of ListID if (CreditMemoLineRet.SalesTaxCodeRef.ListID != null) { string ListID5594 = (string)CreditMemoLineRet.SalesTaxCodeRef.ListID.GetValue(); } //Get value of FullName if (CreditMemoLineRet.SalesTaxCodeRef.FullName != null) { string FullName5595 = (string)CreditMemoLineRet.SalesTaxCodeRef.FullName.GetValue(); } } //Get value of Other1 if (CreditMemoLineRet.Other1 != null) { string Other15596 = (string)CreditMemoLineRet.Other1.GetValue(); } //Get value of Other2 if (CreditMemoLineRet.Other2 != null) { string Other25597 = (string)CreditMemoLineRet.Other2.GetValue(); } if (CreditMemoLineRet.CreditCardTxnInfo != null) { //Get value of CreditCardNumber string CreditCardNumber5598 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardNumber.GetValue(); //Get value of ExpirationMonth int ExpirationMonth5599 = (int)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationMonth.GetValue(); //Get value of ExpirationYear int ExpirationYear5600 = (int)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.ExpirationYear.GetValue(); //Get value of NameOnCard string NameOnCard5601 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.NameOnCard.GetValue(); //Get value of CreditCardAddress if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress != null) { string CreditCardAddress5602 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardAddress.GetValue(); } //Get value of CreditCardPostalCode if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode != null) { string CreditCardPostalCode5603 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardPostalCode.GetValue(); } //Get value of CommercialCardCode if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode != null) { string CommercialCardCode5604 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CommercialCardCode.GetValue(); } //Get value of TransactionMode if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode != null) { ENTransactionMode TransactionMode5605 = (ENTransactionMode)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.TransactionMode.GetValue(); } //Get value of CreditCardTxnType if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType != null) { ENCreditCardTxnType CreditCardTxnType5606 = (ENCreditCardTxnType)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnInputInfo.CreditCardTxnType.GetValue(); } //Get value of ResultCode int ResultCode5607 = (int)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultCode.GetValue(); //Get value of ResultMessage string ResultMessage5608 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ResultMessage.GetValue(); //Get value of CreditCardTransID string CreditCardTransID5609 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.CreditCardTransID.GetValue(); //Get value of MerchantAccountNumber string MerchantAccountNumber5610 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.MerchantAccountNumber.GetValue(); //Get value of AuthorizationCode if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode != null) { string AuthorizationCode5611 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AuthorizationCode.GetValue(); } //Get value of AVSStreet if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet != null) { ENAVSStreet AVSStreet5612 = (ENAVSStreet)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSStreet.GetValue(); } //Get value of AVSZip if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip != null) { ENAVSZip AVSZip5613 = (ENAVSZip)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.AVSZip.GetValue(); } //Get value of CardSecurityCodeMatch if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch != null) { ENCardSecurityCodeMatch CardSecurityCodeMatch5614 = (ENCardSecurityCodeMatch)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.CardSecurityCodeMatch.GetValue(); } //Get value of ReconBatchID if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID != null) { string ReconBatchID5615 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ReconBatchID.GetValue(); } //Get value of PaymentGroupingCode if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode != null) { int PaymentGroupingCode5616 = (int)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentGroupingCode.GetValue(); } //Get value of PaymentStatus ENPaymentStatus PaymentStatus5617 = (ENPaymentStatus)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.PaymentStatus.GetValue(); //Get value of TxnAuthorizationTime DateTime TxnAuthorizationTime5618 = (DateTime)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationTime.GetValue(); //Get value of TxnAuthorizationStamp if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp != null) { int TxnAuthorizationStamp5619 = (int)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.TxnAuthorizationStamp.GetValue(); } //Get value of ClientTransID if (CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID != null) { string ClientTransID5620 = (string)CreditMemoLineRet.CreditCardTxnInfo.CreditCardTxnResultInfo.ClientTransID.GetValue(); } } if (CreditMemoLineRet.DataExtRetList != null) { for (int i5621 = 0; i5621 < CreditMemoLineRet.DataExtRetList.Count; i5621++) { IDataExtRet DataExtRet = CreditMemoLineRet.DataExtRetList.GetAt(i5621); //Get value of OwnerID if (DataExtRet.OwnerID != null) { string OwnerID5622 = (string)DataExtRet.OwnerID.GetValue(); } //Get value of DataExtName string DataExtName5623 = (string)DataExtRet.DataExtName.GetValue(); //Get value of DataExtType ENDataExtType DataExtType5624 = (ENDataExtType)DataExtRet.DataExtType.GetValue(); //Get value of DataExtValue string DataExtValue5625 = (string)DataExtRet.DataExtValue.GetValue(); } } } } if (ORCreditMemoLineRet5506.CreditMemoLineGroupRet.DataExtRetList != null) { for (int i5626 = 0; i5626 < ORCreditMemoLineRet5506.CreditMemoLineGroupRet.DataExtRetList.Count; i5626++) { IDataExtRet DataExtRet = ORCreditMemoLineRet5506.CreditMemoLineGroupRet.DataExtRetList.GetAt(i5626); //Get value of OwnerID if (DataExtRet.OwnerID != null) { string OwnerID5627 = (string)DataExtRet.OwnerID.GetValue(); } //Get value of DataExtName string DataExtName5628 = (string)DataExtRet.DataExtName.GetValue(); //Get value of DataExtType ENDataExtType DataExtType5629 = (ENDataExtType)DataExtRet.DataExtType.GetValue(); //Get value of DataExtValue string DataExtValue5630 = (string)DataExtRet.DataExtValue.GetValue(); } } } } } } if (CreditMemoRet.DataExtRetList != null) { for (int i5631 = 0; i5631 < CreditMemoRet.DataExtRetList.Count; i5631++) { IDataExtRet DataExtRet = CreditMemoRet.DataExtRetList.GetAt(i5631); //Get value of OwnerID if (DataExtRet.OwnerID != null) { string OwnerID5632 = (string)DataExtRet.OwnerID.GetValue(); } //Get value of DataExtName string DataExtName5633 = (string)DataExtRet.DataExtName.GetValue(); //Get value of DataExtType ENDataExtType DataExtType5634 = (ENDataExtType)DataExtRet.DataExtType.GetValue(); //Get value of DataExtValue string DataExtValue5635 = (string)DataExtRet.DataExtValue.GetValue(); } } } } } |