-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathreadme.html
2740 lines (2573 loc) · 155 KB
/
readme.html
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
<html>
<head>
<Title>Intuit Developer Network | QuickBooks SDK Samples</Title>
<meta name="Keywords" content="Intuit, QuickBooks, SDK, samples, sample, code, Developer, Network, Development, Software, qbXML, API, download, kit">
<meta name="Description" content="Intuit Developer Network QuickBooks SDK Samples">
<meta name="Date" content="11/08/2013">
<meta name="revisit-after" content="1">
<meta name="Distribution" content="World">
<meta name="Copyright" content="Copyright (c) 2001-2013 Intuit Inc. All rights reserved.">
<meta name="Author" content="Intuit Developer Network">
<meta name="generator" content="Intuit Developer Network, http://developer.intuit.com">
<meta http-equiv="keywords" content="devnetsitesearch" />
</head>
<body style="LINE-HEIGHT: 1.166; FONT-FAMILY: Arial, sans-serif">
<div id="masthead" style="LEFT: 5px; BACKGROUND-IMAGE: url(images/nbLeft.png); WIDTH: 751px; POSITION: absolute; TOP: 5px; HEIGHT: 52px">
<h1 id="siteName" style="PADDING-RIGHT:0px; PADDING-LEFT:8px; PADDING-BOTTOM:8px; MARGIN:0px; FONT:bold 16px Arial,sans-serif; COLOR:#ffffff; PADDING-TOP:16px">
QBSDK Samples
</h1>
</div>
<div id="mastheadright" style="position:absolute; width: 249px; height: 52px; LEFT: 755px; background-image: url(images/nbextend.gif); BACKGROUND-REPEAT: repeat-x; TOP: 5px">
</div>
<div id="main" style="LEFT: 5px; POSITION: absolute; TOP: 70px; width: 1000px;">
<div id="headerinfo" style="font-size:x-small">
All samples are Copyright © 2002-2013 Intuit Inc. All Rights Reserved.<br>
Use is subject to the qbXML Developer Agreement available at: <a href="http://developer.intuit.com/rd/qbXML_agreement">http://developer.intuit.com/rd/qbXML_agreement</a><p>
</div>
<div id="sampleInfo">
<table border=4>
<tr>
<th>Language</th>
<th>qbXML</th>
<th>QBFC</th>
<th>Online Ed. (qbXML)</th>
<th>QBMS</th>
</tr>
<tr>
<th>C#</th>
<td>
<a href="#SubscribeAndHandleQBEvent (C#) (qbxml) (desktop)">SubscribeAndHandleQBEvent (desktop)</a><br>
<a href="#CustomerAdd (C#) (qbxml) (desktop)">CustomerAdd (desktop)</a><br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
</tr>
<tr>
<th>C# ASP.NET</th>
<td>
<a href="#WCWebService (C# ASP.NET) (qbxml) (desktop)">WCWebService (desktop)</a><br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
</tr>
<tr>
<th>C#.NET</th>
<td>
<a href="#MCInvoiceAdd (C#.NET) (qbxml) (desktop)">MCInvoiceAdd (desktop)</a><br>
</td>
<td>
<a href="#WCECommSample (C#.NET) (qbfc) (desktop)">WCECommSample (desktop)</a><br>
<a href="#QBInvoiceAdd (C#.NET) (qbfc) (desktop)">QBInvoiceAdd (desktop)</a><br>
<a href="#MCInvoiceAddQBFC (C#.NET) (qbfc) (desktop)">MCInvoiceAddQBFC (desktop)</a><br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
</tr>
<tr>
<th>C++</th>
<td>
<a href="#UIandEventTest (C++) (qbxml) (desktop)">UIandEventTest (desktop)</a><br>
<a href="#sdktest (C++) (qbxml) (desktop)">sdktest (desktop)</a><br>
<a href="#hostquery (C++) (qbxml) (desktop)">hostquery (desktop)</a><br>
<a href="#addcustomerjob (C++) (qbxml) (desktop)">addcustomerjob (desktop)</a><br>
<a href="#addcustomer (C++) (qbxml) (desktop)">addcustomer (desktop)</a><br>
</td>
<td>
<a href="#multiplerequests (C++) (qbfc) (desktop)">multiplerequests (desktop)</a><br>
<a href="#itemquery (C++) (qbfc) (desktop)">itemquery (desktop)</a><br>
<a href="#invoicequery (C++) (qbfc) (desktop)">invoicequery (desktop)</a><br>
<a href="#billadd (C++) (qbfc) (desktop)">billadd (desktop)</a><br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
</tr>
<tr>
<th>Java</th>
<td>
<a href="#QueryRq (Java) (qbxml) (any)">QueryRq (any)</a><br>
<a href="#QBWebConnectorSvc (Java) (qbxml) (desktop)">QBWebConnectorSvc (desktop)</a><br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
</tr>
<tr>
<th>VB</th>
<td>
<a href="#US_CDN_CustomerAdd (VB) (qbxml) (desktop)">US_CDN_CustomerAdd (desktop)</a><br>
<a href="#SDKTestPlus3 (VB) (qbxml) (desktop)">SDKTestPlus3 (desktop)</a><br>
<a href="#SDKTest (VB) (qbxml) (desktop)">SDKTest (desktop)</a><br>
<a href="#modifycustomer (VB) (qbxml) (desktop)">modifycustomer (desktop)</a><br>
<a href="#InventoryAdjust (VB) (qbxml) (desktop)">InventoryAdjust (desktop)</a><br>
<a href="#expensereport (VB) (qbxml) (desktop)">expensereport (desktop)</a><br>
<a href="#DepositAdd (VB) (qbxml) (desktop)">DepositAdd (desktop)</a><br>
<a href="#deletecustomer (VB) (qbxml) (desktop)">deletecustomer (desktop)</a><br>
<a href="#DataExtSample (VB) (qbxml) (desktop)">DataExtSample (desktop)</a><br>
<a href="#DataEvents (VB) (qbxml) (desktop)">DataEvents (desktop)</a><br>
<a href="#customtxndetreport (VB) (qbxml) (desktop)">customtxndetreport (desktop)</a><br>
<a href="#CDN_InvoiceAdd (VB) (qbxml) (desktop)">CDN_InvoiceAdd (desktop)</a><br>
<a href="#addcustomer (VB) (qbxml) (desktop)">addcustomer (desktop)</a><br>
</td>
<td>
<a href="#US_CDN_UK_CustomerQuery (VB) (qbfc) (desktop)">US_CDN_UK_CustomerQuery (desktop)</a><br>
<a href="#US_CDN_BillAdd (VB) (qbfc) (desktop)">US_CDN_BillAdd (desktop)</a><br>
<a href="#SyncCustomerList (VB) (qbfc) (desktop)">SyncCustomerList (desktop)</a><br>
<a href="#PurchaseOrderModify (VB) (qbfc) (desktop)">PurchaseOrderModify (desktop)</a><br>
<a href="#MenuEventContext (VB) (qbfc) (desktop)">MenuEventContext (desktop)</a><br>
<a href="#Macro (VB) (qbfc) (desktop)">Macro (desktop)</a><br>
<a href="#itemquery (VB) (qbfc) (desktop)">itemquery (desktop)</a><br>
<a href="#ItemInventoryMod (VB) (qbfc) (desktop)">ItemInventoryMod (desktop)</a><br>
<a href="#InvoiceMod (VB) (qbfc) (desktop)">InvoiceMod (desktop)</a><br>
<a href="#InventoryAdjust (VB) (qbfc) (desktop)">InventoryAdjust (desktop)</a><br>
<a href="#ExpenseReportByVendor (VB) (qbfc) (desktop)">ExpenseReportByVendor (desktop)</a><br>
<a href="#Events (VB) (qbfc) (desktop)">Events (desktop)</a><br>
<a href="#QBFCEventsSubscriber (VB) (qbfc) (desktop)">QBFCEventsSubscriber (desktop)</a><br>
<a href="#QBFCEventsCallback (VB) (qbfc) (desktop)">QBFCEventsCallback (desktop)</a><br>
<a href="#DepositAdd (VB) (qbfc) (desktop)">DepositAdd (desktop)</a><br>
<a href="#DataExtensions (VB) (qbfc) (desktop)">DataExtensions (desktop)</a><br>
<a href="#CustomerAdd (VB) (qbfc) (desktop)">CustomerAdd (desktop)</a><br>
<a href="#CDN_VendorAdd (VB) (qbfc) (desktop)">CDN_VendorAdd (desktop)</a><br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
</tr>
<tr>
<th>VB.NET</th>
<td>
None<br>
</td>
<td>
<a href="#SyncCustomerList (VB.NET) (qbfc) (desktop)">SyncCustomerList (desktop)</a><br>
<a href="#PriceLevels (VB.NET) (qbfc) (desktop)">PriceLevels (desktop)</a><br>
<a href="#ItemReceipt (VB.NET) (qbfc) (desktop)">ItemReceipt (desktop)</a><br>
<a href="#ItemInventoryMod (VB.NET) (qbfc) (desktop)">ItemInventoryMod (desktop)</a><br>
<a href="#GeneralSummaryReportQueryRq (VB.NET) (qbfc) (any)">GeneralSummaryReportQueryRq (any)</a><br>
<a href="#ExpenseReportByVendor (VB.NET) (qbfc) (desktop)">ExpenseReportByVendor (desktop)</a><br>
<a href="#DepositAdd (VB.NET) (qbfc) (desktop)">DepositAdd (desktop)</a><br>
<a href="#DataExtensions (VB.NET) (qbfc) (desktop)">DataExtensions (desktop)</a><br>
<a href="#CustomerAdd (VB.NET) (qbfc) (desktop)">CustomerAdd (desktop)</a><br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
</tr>
<tr>
<th>xml</th>
<td>
<a href="#AccountQueryRq (xml) (qbxml) (any)">AccountQueryRq (any)</a><br>
<a href="#BillQueryRq (xml) (qbxml) (any)">BillQueryRq (any)</a><br>
<a href="#CheckQueryRq (xml) (qbxml) (any)">CheckQueryRq (any)</a><br>
<a href="#CompanyQueryRq (xml) (qbxml) (any)">CompanyQueryRq (any)</a><br>
<a href="#EmployeeQueryRq (xml) (qbxml) (any)">EmployeeQueryRq (any)</a><br>
<a href="#EntityQueryRq (xml) (qbxml) (any)">EntityQueryRq (any)</a><br>
<a href="#HostQueryRq (xml) (qbxml) (any)">HostQueryRq (any)</a><br>
<a href="#InvoiceQueryRq (xml) (qbxml) (any)">InvoiceQueryRq (any)</a><br>
<a href="#ItemInventoryQueryRq (xml) (qbxml) (any)">ItemInventoryQueryRq (any)</a><br>
<a href="#ItemSalesTaxQueryRq (xml) (qbxml) (any)">ItemSalesTaxQueryRq (any)</a><br>
<a href="#ItemServiceQueryRq (xml) (qbxml) (any)">ItemServiceQueryRq (any)</a><br>
<a href="#PayrollItemWageQueryRq (xml) (qbxml) (any)">PayrollItemWageQueryRq (any)</a><br>
<a href="#PreferencesQueryRq (xml) (qbxml) (any)">PreferencesQueryRq (any)</a><br>
<a href="#ReceivePaymentQueryRq (xml) (qbxml) (any)">ReceivePaymentQueryRq (any)</a><br>
<a href="#SalesRepQueryRq (xml) (qbxml) (any)">SalesRepQueryRq (any)</a><br>
<a href="#AccountAddRq (xml) (qbxml) (any)">AccountAddRq (any)</a><br>
<a href="#AccountQueryRq_1 (xml) (qbxml) (any)">AccountQueryRq_1 (any)</a><br>
<a href="#AccountQueryRq_2 (xml) (qbxml) (any)">AccountQueryRq_2 (any)</a><br>
<a href="#AccountQueryRq_3 (xml) (qbxml) (any)">AccountQueryRq_3 (any)</a><br>
<a href="#AccountQueryRq_4 (xml) (qbxml) (any)">AccountQueryRq_4 (any)</a><br>
<a href="#AccountQueryRq_5 (xml) (qbxml) (any)">AccountQueryRq_5 (any)</a><br>
<a href="#AccountQueryRq_6 (xml) (qbxml) (any)">AccountQueryRq_6 (any)</a><br>
<a href="#AccountQueryRq_7 (xml) (qbxml) (any)">AccountQueryRq_7 (any)</a><br>
<a href="#AddInvoiceSpecifyTemplate (xml) (qbxml) (any)">AddInvoiceSpecifyTemplate (any)</a><br>
<a href="#CustomDetailReport (xml) (qbxml) (any)">CustomDetailReport (any)</a><br>
<a href="#CustomerAddRq (xml) (qbxml) (any)">CustomerAddRq (any)</a><br>
<a href="#CustomerQuery (xml) (qbxml) (any)">CustomerQuery (any)</a><br>
<a href="#CustomerQuery_metadata (xml) (qbxml) (any)">CustomerQuery_metadata (any)</a><br>
<a href="#CustomFieldAddValue (xml) (qbxml) (any)">CustomFieldAddValue (any)</a><br>
<a href="#CustomFieldDelValue (xml) (qbxml) (any)">CustomFieldDelValue (any)</a><br>
<a href="#CustomFieldModValue (xml) (qbxml) (any)">CustomFieldModValue (any)</a><br>
<a href="#DepositAddRq (xml) (qbxml) (any)">DepositAddRq (any)</a><br>
<a href="#DisplayList (xml) (qbxml) (any)">DisplayList (any)</a><br>
<a href="#DisplayTxn (xml) (qbxml) (any)">DisplayTxn (any)</a><br>
<a href="#ErrRecovery1 (xml) (qbxml) (any)">ErrRecovery1 (any)</a><br>
<a href="#ErrRecovery2 (xml) (qbxml) (any)">ErrRecovery2 (any)</a><br>
<a href="#ErrRecovery3 (xml) (qbxml) (any)">ErrRecovery3 (any)</a><br>
<a href="#HostQuery (xml) (qbxml) (any)">HostQuery (any)</a><br>
<a href="#ItemsAddRq (xml) (qbxml) (any)">ItemsAddRq (any)</a><br>
<a href="#ItemServiceAddRq (xml) (qbxml) (any)">ItemServiceAddRq (any)</a><br>
<a href="#JournalEntryAddRq (xml) (qbxml) (any)">JournalEntryAddRq (any)</a><br>
<a href="#ProfitAndLossStdReport (xml) (qbxml) (any)">ProfitAndLossStdReport (any)</a><br>
<a href="#QueryFilterRq (xml) (qbxml) (any)">QueryFilterRq (any)</a><br>
<a href="#ReceivePaymentAddRq (xml) (qbxml) (any)">ReceivePaymentAddRq (any)</a><br>
<a href="#ReceivePaymentToDepositQueryRq (xml) (qbxml) (any)">ReceivePaymentToDepositQueryRq (any)</a><br>
<a href="#TemplateQuery (xml) (qbxml) (any)">TemplateQuery (any)</a><br>
<a href="#TxnDisplayAdd_Invoice (xml) (qbxml) (any)">TxnDisplayAdd_Invoice (any)</a><br>
<a href="#VendorAddRq (xml) (qbxml) (any)">VendorAddRq (any)</a><br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
<td>
None<br>
</td>
</tr>
</table border>
<h2>QBD</h2>
<a name="MCInvoiceAddQBFC (C#.NET) (qbfc) (desktop)"></a><h3>MCInvoiceAddQBFC (desktop)</h3>
This sample is a C# .NET desktop application that uses QBFC to create a new QuickBooks invoice using the new multicurrency feature in QuickBooks. It uses QBFC Template Wizard shipped with the SDK (7.0 or later). The sample demonstrates how to populate some of the user input with results from querying QuickBooks, allowing user to input data and add an invoice to the QuickBooks running in your desktop (same machine). The behavior of exchange rate and line item prices are similar to QuickBooks UI.
Running the sample
------------------
Before running MCInvoiceAddQBFC.exe, make sure that .NET runtime is installed on the machine, and QuickBooks is running with a company file (preferably sample_product-based business.qbw) opened.
Building the sample
------------------
Open MCInvoiceAddQBFC.sln in Microsoft Visual Studio .NET (2005 or higher) and build the solution.
<p>
View directory: <a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC">qbdt/c-sharp/QBFC/MCInvoiceAddQBFC</a><br>
Open Project: <a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/MCInvoiceAddQBFC.sln">qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/MCInvoiceAddQBFC.sln</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/Form1.Designer.cs">Intuit_QBFC\Form1.Designer.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/Form1.cs">Intuit_QBFC\Form1.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/Form1.resx">Intuit_QBFC\Form1.resx</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/MCInvoiceAddQBFC.csproj">Intuit_QBFC\MCInvoiceAddQBFC.csproj</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/Program.cs">Intuit_QBFC\Program.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/Properties/AssemblyInfo.cs">Intuit_QBFC\Properties\AssemblyInfo.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/Properties/Resources.Designer.cs">Intuit_QBFC\Properties\Resources.Designer.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/Properties/Resources.resx">Intuit_QBFC\Properties\Resources.resx</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/Properties/Settings.Designer.cs">Intuit_QBFC\Properties\Settings.Designer.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/Properties/Settings.settings">Intuit_QBFC\Properties\Settings.settings</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/SessionFramework/Defaults.cs">Intuit_QBFC\SessionFramework\Defaults.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/SessionFramework/ENEdition.cs">Intuit_QBFC\SessionFramework\ENEdition.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/SessionFramework/Logger.cs">Intuit_QBFC\SessionFramework\Logger.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/SessionFramework/QBException.cs">Intuit_QBFC\SessionFramework\QBException.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/SessionFramework/QBNoResponseException.cs">Intuit_QBFC\SessionFramework\QBNoResponseException.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/SessionFramework/QBResultException.cs">Intuit_QBFC\SessionFramework\QBResultException.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/Intuit_QBFC/SessionFramework/SessionManager.cs">Intuit_QBFC\SessionFramework\SessionManager.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/MCInvoiceAddQBFC/MCInvoiceAddQBFC.sln">MCInvoiceAddQBFC.sln</a></li>
</ul>
<p><p>
<a name="QBInvoiceAdd (C#.NET) (qbfc) (desktop)"></a><h3>QBInvoiceAdd (desktop)</h3>
This sample is a C# .NET desktop application that creates a new QuickBooks invoice by calling interop.QBFC.dll. It demonstrates how to populate some of the user input with results from querying QuickBooks, allowing user to input data and add an invoice to the QuickBooks running in your desktop (same machine). This sample also implements QBFC's automatic error recovery feature.
Running the sample
------------------
Before running InvoiceAdd.exe, make sure that .NET runtime is installed on the machine, and QuickBooks is running with a company file (preferably sample_product-based business.qbw) opened.
Building the sample
------------------
Open InvoiceAdd.sln in Microsoft Visual Studio .NET and build the solution. Interop.QBFC.dll has been generated by Visual Studio, by adding a COM reference to the dll.
<p>
View directory: <a href="qbdt/c-sharp/QBFC/QBInvoiceAdd">qbdt/c-sharp/QBFC/QBInvoiceAdd</a><br>
Open Project: <a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/InvoiceAdd.sln">qbdt/c-sharp/QBFC/QBInvoiceAdd/InvoiceAdd.sln</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/App.ico">App.ico</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/AssemblyInfo.cs">AssemblyInfo.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/ICON1.ICO">ICON1.ICO</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/IDNLogo.gif">IDNLogo.gif</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/InputItem.cs">InputItem.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/InputItem.resx">InputItem.resx</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/InvoiceAdd.cs">InvoiceAdd.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/InvoiceAdd.csproj">InvoiceAdd.csproj</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/InvoiceAdd.csproj.user">InvoiceAdd.csproj.user</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/InvoiceAdd.exe">InvoiceAdd.exe</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/InvoiceAdd.resx">InvoiceAdd.resx</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/InvoiceAdd.sln">InvoiceAdd.sln</a></li>
<li><a href="qbdt/c-sharp/QBFC/QBInvoiceAdd/intuit_blue.gif">intuit_blue.gif</a></li>
</ul>
<p><p>
<a name="WCECommSample (C#.NET) (qbfc) (desktop)"></a><h3>WCECommSample (desktop)</h3>
This sample is a C# .NET desktop application that uses QBFC to create a new QuickBooks transactions featured in QuickBooks. It uses QBFC Template Wizard shipped with the SDK (7.0 or later). The sample demonstrates how to use QuickBooks Web Connector to communicate with QuickBooks and sync data with a client database. It use a simple phone card e-commerce example.
Running the sample
------------------
Before running WCECommSample.exe, make sure that .NET runtime is installed on the machine, and QuickBooks is running with a company file (preferably sample_product-based business.qbw) opened.
There are three components to this sample.
- Client side demonstrates what an end user would see when they access the application.
- Merchant side demonstrates how a merchant can setup their web-connector to point to the web-service.
- Service side demonstrates how a service provides data correspondence with QuickBooks.
These three components are listed below in order of execution of steps: -
PREPARATION
1) Copy the entire WCECommSample directory into your c:\inetup\wwwroot path. If you are using Microsoft Developer Studio then the tool should automatically do this step for you.
2) From IIS_Console, right-click WCECommSample (client, merchant, service) -> Properties -> click Create button next to "Application Name".
CLIENT SIDE TRANSACTION
3) Point your IE browser to http://localhost/WCECommSample/client/Default.aspx
4) Database ecommdb is pre-populated with some username/password (encryption not used for simplicity of the sample) used
to log on to the client site. If you want to create a new user, use "sign-up" from log on page. New user created here, will be transfered as Customer into QuickBooks on next update session with web connector.
5) Database ecommdb is also pre-populated with some sample items (phone calling cards) that you could use for this sample. On the next update session with web connector (via Merchant site) any inventory items that you have on QB will be transfered to ecommdb.
6) After you log on, do some purchasing (it's really a simulation and not tied to any payment system, so don't worry :-)) on client to create some txns (salesreceipts)
MERCHANT SITE ADMINISTRATION
7) Point your IE browser to http://localhost/WCECommSample/merchant/setup.html
8) Start with an empty company file (no customers and inventory items).
9) Setup WCECommService with QBWC using merchant site and following the steps described in the site.
WEB SERVICE
When you run update from QBWC (directly or via merchant site administration page), QBWC exchanges data with this web service. This web service provides code to insert, update or retrieve data from ecommdb.
Building the sample
------------------
Open WCECommSample.sln in Microsoft Visual Studio .NET (2005 or higher) and build the solution.
<p>
View directory: <a href="qbdt/c-sharp/QBFC/WCECommSample">qbdt/c-sharp/QBFC/WCECommSample</a><br>
Open Project: <a href="qbdt/c-sharp/QBFC/WCECommSample/WCECommSample.sln">qbdt/c-sharp/QBFC/WCECommSample/WCECommSample.sln</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/App_Code/Customer.cs">client\App_Code\Customer.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/App_Code/DataBaseManager.cs">client\App_Code\DataBaseManager.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/App_Code/Item.cs">client\App_Code\Item.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/App_Data/ASPNETDB.MDF">client\App_Data\ASPNETDB.MDF</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/App_Data/aspnetdb_log.ldf">client\App_Data\aspnetdb_log.ldf</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/Default.aspx">client\Default.aspx</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/Default.aspx.cs">client\Default.aspx.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/Web.Config">client\Web.Config</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/cart.aspx">client\cart.aspx</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/cart.aspx.cs">client\cart.aspx.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/client.sln">client\client.sln</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/purchase.aspx">client\purchase.aspx</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/purchase.aspx.cs">client\purchase.aspx.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/signup.aspx">client\signup.aspx</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/signup.aspx.cs">client\signup.aspx.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/db/ecommdb.mdb">db\ecommdb.mdb</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/merchant/Web.Config">merchant\Web.Config</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/merchant/javascript/prototype.js">merchant\javascript\prototype.js</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/merchant/merchant.sln">merchant\merchant.sln</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/merchant/setup.html">merchant\setup.html</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/readme.txt">readme.txt</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/sampleInfo.xml">sampleInfo.xml</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/AccessDatabase.cs">service\App_Code\AccessDatabase.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/DataBaseManager.cs">service\App_Code\DataBaseManager.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/IAuthentication.cs">service\App_Code\IAuthentication.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/IController.cs">service\App_Code\IController.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/ISessionPool.cs">service\App_Code\ISessionPool.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/MemorySession.cs">service\App_Code\MemorySession.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/QuickBooksCustomerOps.cs">service\App_Code\QuickBooksCustomerOps.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/QuickBooksItemOps.cs">service\App_Code\QuickBooksItemOps.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/QuickBooksSalesReceiptOps.cs">service\App_Code\QuickBooksSalesReceiptOps.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/SampleAuthentication.cs">service\App_Code\SampleAuthentication.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/SampleController.cs">service\App_Code\SampleController.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/Session.cs">service\App_Code\Session.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/UtilityManager.cs">service\App_Code\UtilityManager.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/WCECommService.cs">service\App_Code\WCECommService.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/App_Code/XmlManager.cs">service\App_Code\XmlManager.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/Postflight.aspx">service\Postflight.aspx</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/Postflight.aspx.cs">service\Postflight.aspx.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/Preflight.aspx">service\Preflight.aspx</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/Preflight.aspx.cs">service\Preflight.aspx.cs</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/WCECommService.asmx">service\WCECommService.asmx</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/Web.Config">service\Web.Config</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/javascript/prototype.js">service\javascript\prototype.js</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/service/service.sln">service\service.sln</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/App_Data/ASPNETDB.MDF">client/App_Data/ASPNETDB.MDF</a></li>
<li><a href="qbdt/c-sharp/QBFC/WCECommSample/client/App_Data/aspnetdb_log.ldf">client/App_Data/aspnetdb_log.ldf</a></li>
</ul>
<p><p>
<a name="CustomerAdd (C#) (qbxml) (desktop)"></a><h3>CustomerAdd (desktop)</h3>
This sample is a simple .NET C# desktop application that creates a new
QuickBooks customer by calling qbXMLRP COM dll.
Standard .NET classes are used for formatting the qbXML request
and parsing the qbXML response.
Running the sample
------------------
Before running CustomerAdd.exe, make sure that .NET runtime is installed on the machine,
and QuickBooks is running with a company opened.
Building the sample
------------------
Open CustomerAdd.sln in Microsoft Visual Studio .NET and build the solution.
Interop.QBXMLRPLib.dll has been generated by Visual Studio,
by adding a COM reference to qbXMLRP.dll.
<p>
View directory: <a href="qbdt/c-sharp/qbXML/CustomerAdd">qbdt/c-sharp/qbXML/CustomerAdd</a><br>
Open Project: <a href="qbdt/c-sharp/qbXML/CustomerAdd/CustomerAdd.sln">qbdt/c-sharp/qbXML/CustomerAdd/CustomerAdd.sln</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/c-sharp/qbXML/CustomerAdd/App.ico">App.ico</a></li>
<li><a href="qbdt/c-sharp/qbXML/CustomerAdd/AssemblyInfo.cs">AssemblyInfo.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/CustomerAdd/CustomerAdd.csproj">CustomerAdd.csproj</a></li>
<li><a href="qbdt/c-sharp/qbXML/CustomerAdd/CustomerAdd.exe">CustomerAdd.exe</a></li>
<li><a href="qbdt/c-sharp/qbXML/CustomerAdd/CustomerAdd.sln">CustomerAdd.sln</a></li>
<li><a href="qbdt/c-sharp/qbXML/CustomerAdd/CustomerAddForm.cs">CustomerAddForm.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/CustomerAdd/CustomerAddForm.resx">CustomerAddForm.resx</a></li>
<li><a href="qbdt/c-sharp/qbXML/CustomerAdd/readme.txt">readme.txt</a></li>
</ul>
<p><p>
<a name="MCInvoiceAdd (C#.NET) (qbxml) (desktop)"></a><h3>MCInvoiceAdd (desktop)</h3>
This sample is a C# .NET desktop application that creates a new QuickBooks invoice using the new multicurrency feature in QuickBooks. It demonstrates how to populate some of the user input with results from querying QuickBooks, allowing user to input data and add an invoice to the QuickBooks running in your desktop (same machine). The behavior of exchange rate and line item prices are similar to QuickBooks UI.
Running the sample
------------------
Before running MCInvoiceAdd.exe, make sure that .NET runtime is installed on the machine, and QuickBooks is running with a company file (preferably sample_product-based business.qbw) opened.
Building the sample
------------------
Open MCInvoiceAdd.sln in Microsoft Visual Studio .NET (2005 or higher) and build the solution. Interop.QBXMLRP2.dll has been generated by Visual Studio, by adding a COM reference to the dll.
<p>
View directory: <a href="qbdt/c-sharp/qbXML/MCInvoiceAdd">qbdt/c-sharp/qbXML/MCInvoiceAdd</a><br>
Open Project: <a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/MCInvoiceAdd.sln">qbdt/c-sharp/qbXML/MCInvoiceAdd/MCInvoiceAdd.sln</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/Form1.Designer.cs">Form1.Designer.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/Form1.cs">Form1.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/Form1.resx">Form1.resx</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/MCInvoiceAdd.csproj">MCInvoiceAdd.csproj</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/MCInvoiceAdd.exe">MCInvoiceAdd.exe</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/MCInvoiceAdd.sln">MCInvoiceAdd.sln</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/Program.cs">Program.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/Properties/AssemblyInfo.cs">Properties\AssemblyInfo.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/Properties/Resources.Designer.cs">Properties\Resources.Designer.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/Properties/Resources.resx">Properties\Resources.resx</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/Properties/Settings.Designer.cs">Properties\Settings.Designer.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/MCInvoiceAdd/Properties/Settings.settings">Properties\Settings.settings</a></li>
</ul>
<p><p>
<a name="SubscribeAndHandleQBEvent (C#) (qbxml) (desktop)"></a><h3>SubscribeAndHandleQBEvent (desktop)</h3>
This sample is a simple .NET C# desktop application that subscribes and listen to
customer add, modify and delete events. This application also provides means to add
custom menu item under the 'Customers' menu in QB and listen to menu clcik event for
this item.
Standard .NET classes are used for formatting the qbXML request
and parsing the qbXML response.
Running the sample
------------------
Before running SubscribeAndHandleQBEvent.exe, this exe need to be registered as COM out of proc server. Run
SubscribeAndHandleQBEvent.exe -h to see the various option with the exe.
Also make sure that .NET runtime is installed on the machine, and QuickBooks need to be restarted everytime you add a new event subscription.
Follow these steps to run the sample.
1.) Copy the exe to the QB install directory.
2.) Register the EXE as out of proc server.
3.) Subscribe for Data and/or UI extension events.
4.) Start QB and accept the SDK request.
5.) Modify or add customer or click on newly added menu item.
6.) Message box should appear with the event qbxml.
Building the sample
------------------
Open SubscribeAndHandleQBEvent.sln in Microsoft Visual Studio .NET and build the solution.
Interop.QBXMLRPLib.dll has been generated by Visual Studio,
by adding a COM reference to qbXMLRP.dll and Interop.QBSDKEVENTLib.dll has been generated
by visual studio by adding a COM reference to qbsdkevent.dll
<p>
View directory: <a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03">qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03</a><br>
Open Project: <a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/SubscribeAndHandleQBEvent.sln">qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/SubscribeAndHandleQBEvent.sln</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/AssemblyInfo.cs">AssemblyInfo.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/ClassFactoryBase.cs">ClassFactoryBase.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/EventHandlerObj.cs">EventHandlerObj.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/IClassFactory.cs">IClassFactory.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/Interop.QBSDKEVENTLib.dll">Interop.QBSDKEVENTLib.dll</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/ReferenceCountedObject.cs">ReferenceCountedObject.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/SubscribeAndHandleQBEvent.cs">SubscribeAndHandleQBEvent.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/SubscribeAndHandleQBEvent.csproj">SubscribeAndHandleQBEvent.csproj</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/SubscribeAndHandleQBEvent.exe">SubscribeAndHandleQBEvent.exe</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/SubscribeAndHandleQBEvent.sln">SubscribeAndHandleQBEvent.sln</a></li>
<li><a href="qbdt/c-sharp/qbXML/SubscribeAndHandleQBEvent_vs03/readme.txt">readme.txt</a></li>
</ul>
<p><p>
<a name="WCWebService (C# ASP.NET) (qbxml) (desktop)"></a><h3>WCWebService (desktop)</h3>
This sample is a C# ASP.NET web service application that communicates
with QuickBooks via QBWebConnector. The sample focuses primarily on
demonstrating how to setup all web service web methods to run against
QBWebConnector and does not focus on any particular use case.
For simplicity, it sends three request XMLs:
CustomerQuery, InvoiceQuery and BillQuery.
Running the sample
------------------
You will need Microsoft Internet Information Services (IIS) installed
on your system to be able to run this sample.
This sample assumes that you have configured IIS with ASP.NET and
have a functional system to deploy this web service sample. If you have
not yet configured ASP.NET with IIS, you may need to run the
following command from c:\windows\Microsoft.NET\Framework\
your_asp_dot_net_version path: aspnet_regiis /i
This will help avoid the occasional message from microsoft development
environment such as "VS.NET has detected that the specified web server
is not running ASP.NET version 1.1. You will be unable to run ASP.NET
web applications or services).
Copy the entire directory to inetpub\wwwroot path. Before running
this web service sample against QBWebConnector make sure that IIS and
.NET runtime is installed on the machine, and QuickBooks is running
with a company file opened.
As with any web service application that writes to the directory,
configure permission for ASP.NET user account so it can read/write
in the directory. Here is one way to set permission for ASP.NET user
in Windows XP: -
Start - ControlPanel - AdministrativeTools - ComputerManagement -
LocalUsersAndGroups - Users - RightClick on ASPNET - Properties -
MemberOf - Administrators group (to be able to write to files).
From within IISConsole,
- WCWebService -- Properties
- Read, Write, LogVisits, IndexThisResource -- Checked
- In Directory Security Tab -- Annonymous Access + Integrated Windows
Access -- Checked
Alternatively, you could set your windows username and password in the
Web.config file but that may not be safe.
When the sample web service is built successfully, run QBWebConnector
and use "Load an application" to load the .qwc files provided with this
sample. For development purpose, you could use http://localhost... for
your web service AppURL. We have provided a sample web connector
configuration file (HTTPWebService.qwc) for your convenience. You could
also double-click on the .qwc files, which will automatically run the
QBWebConnector loaded with the application. The .qwc (QuickBooks Web
Connector Congfiguration) file introduces a sample web service to the
QBWebConnector.
This sample web service uses windows event log to trace activity while
being updated from the QBWebConnector. To view the event log, go to
Start -- Programs -- Administrative Tools -- Event Viewer and look under
Application section.
Building the sample
------------------
Open WCWebService.sln in Microsoft Visual Studio .NET and build the
solution.
Note
----
For production purpose, you would need to use https and there are some
rules to be satisfied before QBWebConnector would load a web service.
For information on the rules please visit QBWebConnector knowledgebase
at: http://idnforums.intuit.com/messageview.aspx?catid=52&threadid=4593&enterthread=y
You can find more information at the following AlphaGeek article(s):
http://developer.intuit.com/support/technical/?id=392
Due to the requirement for this sample to built and deployed to a web server there
is no link to run the sample from the samples browser, nor is the sample distributed
with built binaries.
<p>
View directory: <a href="qbdt/c-sharp/qbXML/WCWebService">qbdt/c-sharp/qbXML/WCWebService</a><br>
Open Project: <a href="qbdt/c-sharp/qbXML/WCWebService/WCWebService.sln">qbdt/c-sharp/qbXML/WCWebService/WCWebService.sln</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/Global.asax">Global.asax</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/Global.asax.resx">Global.asax.resx</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/HTTPSWebService.qwc">HTTPSWebService.qwc</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/HTTPWebService.qwc">HTTPWebService.qwc</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/WCWebService.asmx">WCWebService.asmx</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/WCWebService.asmx.resx">WCWebService.asmx.resx</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/WCWebService.sln">WCWebService.sln</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/Web.config">Web.config</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/readme.txt">readme.txt</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/App_Code/Global.asax.cs">App_Code/Global.asax.cs</a></li>
<li><a href="qbdt/c-sharp/qbXML/WCWebService/App_Code/WCWebService.asmx.cs">App_Code/WCWebService.asmx.cs</a></li>
</ul>
<p><p>
<a name="billadd (C++) (qbfc) (desktop)"></a><h3>billadd (desktop)</h3>
BillAdd demonstrates adding a bill using QBFC.
It includes examples of the following:
- Adding a BillAdd request and sending it to QuickBooks
- Appending an element to a list
- Setting an OR object (object of mutually exclusive elements)
- Setting a Ref object (reference to another list object)
- Checking a field that is not guaranteed in the response and obtaining data from it<p>
View directory: <a href="qbdt/cpp/qbfc/billadd">qbdt/cpp/qbfc/billadd</a><br>
Open Project: <a href="qbdt/cpp/qbfc/billadd/BillAdd.dsw">qbdt/cpp/qbfc/billadd/BillAdd.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbfc/billadd/BillAdd.cpp">BillAdd.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/BillAdd.dsp">BillAdd.dsp</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/BillAdd.dsw">BillAdd.dsw</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/BillAdd.exe">BillAdd.exe</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/BillAdd.h">BillAdd.h</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/BillAdd.rc">BillAdd.rc</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/BillAddDlg.cpp">BillAddDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/BillAddDlg.h">BillAddDlg.h</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/QBFC3_IntelliSense.h">QBFC3_IntelliSense.h</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/Resource.h">Resource.h</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/StdAfx.cpp">StdAfx.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/StdAfx.h">StdAfx.h</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/res/BillAdd.ico">res/BillAdd.ico</a></li>
<li><a href="qbdt/cpp/qbfc/billadd/res/BillAdd.rc2">res/BillAdd.rc2</a></li>
</ul>
<p><p>
<a name="invoicequery (C++) (qbfc) (desktop)"></a><h3>invoicequery (desktop)</h3>
InvoiceQuery is a C++ sample that demonstrates querying for the list of invoices.
It includes examples of the following:
- Constructing a complex query
- Looping through the list of invoices in a response
- Getting detailed invoice information (invoice lines)
- Reading data from an OR object
- Obtaining a field that is not guaranteed in the response (field may not exist)
<p>
View directory: <a href="qbdt/cpp/qbfc/invoicequery">qbdt/cpp/qbfc/invoicequery</a><br>
Open Project: <a href="qbdt/cpp/qbfc/invoicequery/InvoiceQuery.dsw">qbdt/cpp/qbfc/invoicequery/InvoiceQuery.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceQuery.cpp">InvoiceQuery.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceQuery.dsp">InvoiceQuery.dsp</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceQuery.dsw">InvoiceQuery.dsw</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceQuery.exe">InvoiceQuery.exe</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceQuery.h">InvoiceQuery.h</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceQuery.rc">InvoiceQuery.rc</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceQueryDlg.cpp">InvoiceQueryDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceQueryDlg.h">InvoiceQueryDlg.h</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceViewDlg.cpp">InvoiceViewDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/InvoiceViewDlg.h">InvoiceViewDlg.h</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/QBFC3_IntelliSense.h">QBFC3_IntelliSense.h</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/StdAfx.cpp">StdAfx.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/StdAfx.h">StdAfx.h</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/resource.h">resource.h</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/res/InvoiceQuery.ico">res/InvoiceQuery.ico</a></li>
<li><a href="qbdt/cpp/qbfc/invoicequery/res/InvoiceQuery.rc2">res/InvoiceQuery.rc2</a></li>
</ul>
<p><p>
<a name="itemquery (C++) (qbfc) (desktop)"></a><h3>itemquery (desktop)</h3>
ItemQuery is a C++ sample that demonstrates querying items. Querying items is similar to querying terms or entities in the sense that the returned detail object is a list of 'OR' objects - ORItemRet in this case.
It includes examples of the following:
- Constructing a query
- Looping through the list of items in a response
- Reading data from an OR object
- Obtaining returned fields and checking for fields that may not exist in the response
<p>
View directory: <a href="qbdt/cpp/qbfc/itemquery">qbdt/cpp/qbfc/itemquery</a><br>
Open Project: <a href="qbdt/cpp/qbfc/itemquery/ItemQuery.dsw">qbdt/cpp/qbfc/itemquery/ItemQuery.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemQuery.cpp">ItemQuery.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemQuery.dsp">ItemQuery.dsp</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemQuery.dsw">ItemQuery.dsw</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemQuery.exe">ItemQuery.exe</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemQuery.h">ItemQuery.h</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemQuery.rc">ItemQuery.rc</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemQueryDlg.cpp">ItemQueryDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemQueryDlg.h">ItemQueryDlg.h</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemViewDlg.cpp">ItemViewDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/ItemViewDlg.h">ItemViewDlg.h</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/QBFC3_IntelliSense.h">QBFC3_IntelliSense.h</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/StdAfx.cpp">StdAfx.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/StdAfx.h">StdAfx.h</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/resource.h">resource.h</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/res/ItemQuery.ico">res/ItemQuery.ico</a></li>
<li><a href="qbdt/cpp/qbfc/itemquery/res/ItemQuery.rc2">res/ItemQuery.rc2</a></li>
</ul>
<p><p>
<a name="multiplerequests (C++) (qbfc) (desktop)"></a><h3>multiplerequests (desktop)</h3>
MutipleRequests is a C++ sample that demonstrates sending multiple requests in one message set.
It includes examples of the following:
- Constructing 3 requests (add customer, add invoice, query invoice) and adding them to the same mesage set request.
- Retrieving the 3 responses and getting the data from them.
<p>
View directory: <a href="qbdt/cpp/qbfc/multiplerequests">qbdt/cpp/qbfc/multiplerequests</a><br>
Open Project: <a href="qbdt/cpp/qbfc/multiplerequests/MultipleRequests.dsw">qbdt/cpp/qbfc/multiplerequests/MultipleRequests.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbfc/multiplerequests/MultipleRequests.cpp">MultipleRequests.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/MultipleRequests.dsp">MultipleRequests.dsp</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/MultipleRequests.dsw">MultipleRequests.dsw</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/MultipleRequests.exe">MultipleRequests.exe</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/MultipleRequests.h">MultipleRequests.h</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/MultipleRequests.rc">MultipleRequests.rc</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/MultipleRequestsDlg.cpp">MultipleRequestsDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/MultipleRequestsDlg.h">MultipleRequestsDlg.h</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/QBFC3_IntelliSense.h">QBFC3_IntelliSense.h</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/Resource.h">Resource.h</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/StdAfx.cpp">StdAfx.cpp</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/StdAfx.h">StdAfx.h</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/res/MultipleRequests.ico">res/MultipleRequests.ico</a></li>
<li><a href="qbdt/cpp/qbfc/multiplerequests/res/MultipleRequests.rc2">res/MultipleRequests.rc2</a></li>
</ul>
<p><p>
<a name="UIandEventTest (C++) (qbxml) (desktop)"></a><h3>UIandEventTest (desktop)</h3>
These applications are designed for testing and demonstrating the UI functionality of QBSDK 3.0. These applications are built with Visual Studio 6.0.
EventHandler - Implements callback handler for QuickBooks events. This is required for the MenuSubscribe application. MenuSubscribe registers its menu extensions using this EventHandler as the callback application.
InvokeUI - Opens form windows in QuickBooks for new and existing transactions and list items.
MenuSubscribe - Adds UI Extension (menu) subscriptions to QuickBooks.
shared - Contains files shared by all of the applications above.
<p>
This sample consists of the following sub-samples:<br>
<ul>
<li><a href="#MenuSubscribe (C++) (qbxml) (desktop)">MenuSubscribe</a></li>
<li><a href="#InvokeUI (C++) (qbxml) (desktop)">InvokeUI</a></li>
<li><a href="#EventSubscribe (C++) (qbxml) (desktop)">EventSubscribe</a></li>
<li><a href="#EventHandler (C++) (qbxml) (desktop)">EventHandler</a></li>
</ul>
<a name="EventHandler (C++) (qbxml) (desktop)"></a><h3>EventHandler (desktop)</h3>
EventHandler is the event callback handler for the MenuSubscribe sample application. Run this and register it (Files->Register) before running MenuSubscribe.<p>
View directory: <a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler">qbdt/cpp/qbxml/UIandEventTest/EventHandler</a><br>
Open Project: <a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.dsw">qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/AboutDialog.cpp">AboutDialog.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/AboutDialog.h">AboutDialog.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/ChildView.cpp">ChildView.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/ChildView.h">ChildView.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.clw">EventHandler.clw</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.cpp">EventHandler.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.dsp">EventHandler.dsp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.dsw">EventHandler.dsw</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.exe">EventHandler.exe</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.h">EventHandler.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.idl">EventHandler.idl</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.plg">EventHandler.plg</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.rc">EventHandler.rc</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventHandler.rgs">EventHandler.rgs</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/EventXML.txt">EventXML.txt</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/MainFrm.cpp">MainFrm.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/MainFrm.h">MainFrm.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/QBSDKCallback.cpp">QBSDKCallback.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/QBSDKCallback.h">QBSDKCallback.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/QBSDKCallback.rgs">QBSDKCallback.rgs</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/Resource.h">Resource.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/SettingsDialog.cpp">SettingsDialog.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/SettingsDialog.h">SettingsDialog.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/StdAfx.cpp">StdAfx.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/StdAfx.h">StdAfx.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/res/EventHandler.ico">res/EventHandler.ico</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventHandler/res/QBSDKCallback.rgs">res/QBSDKCallback.rgs</a></li>
</ul>
<p><p>
<a name="EventSubscribe (C++) (qbxml) (desktop)"></a><h3>EventSubscribe (desktop)</h3>
Performs data and ui event subscriptions on behalf of the EventHandler application, which subsequently receives the notifications. <p>
View directory: <a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe">qbdt/cpp/qbxml/UIandEventTest/EventSubscribe</a><br>
Open Project: <a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribe.dsw">qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribe.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribe.clw">EventSubscribe.clw</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribe.cpp">EventSubscribe.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribe.dsp">EventSubscribe.dsp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribe.dsw">EventSubscribe.dsw</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribe.exe">EventSubscribe.exe</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribe.h">EventSubscribe.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribe.rc">EventSubscribe.rc</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribeDlg.cpp">EventSubscribeDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/EventSubscribeDlg.h">EventSubscribeDlg.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/Resource.h">Resource.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/stdafx.cpp">stdafx.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/stdafx.h">stdafx.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/EventSubscribe/res/EventSubscribe.ico">res/EventSubscribe.ico</a></li>
</ul>
<p><p>
<a name="InvokeUI (C++) (qbxml) (desktop)"></a><h3>InvokeUI (desktop)</h3>
InvokeUI opens form windows in QuickBooks for new and existing transactions and list items.<p>
View directory: <a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI">qbdt/cpp/qbxml/UIandEventTest/InvokeUI</a><br>
Open Project: <a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUI.dsw">qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUI.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUI.clw">InvokeUI.clw</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUI.cpp">InvokeUI.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUI.dsp">InvokeUI.dsp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUI.dsw">InvokeUI.dsw</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUI.exe">InvokeUI.exe</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUI.h">InvokeUI.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUI.rc">InvokeUI.rc</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUIDlg.cpp">InvokeUIDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/InvokeUIDlg.h">InvokeUIDlg.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/Resource.h">Resource.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/stdafx.cpp">stdafx.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/stdafx.h">stdafx.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/InvokeUI/res/InvokeUI.ico">res/InvokeUI.ico</a></li>
</ul>
<p><p>
<a name="MenuSubscribe (C++) (qbxml) (desktop)"></a><h3>MenuSubscribe (desktop)</h3>
MenuSubscribe adds UI Extension (menu) subscriptions to QuickBooks: Run and register the EventHandler sample before running this sample.<p>
View directory: <a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe">qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe</a><br>
Open Project: <a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribe.dsw">qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribe.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribe.clw">MenuSubscribe.clw</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribe.cpp">MenuSubscribe.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribe.dsp">MenuSubscribe.dsp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribe.dsw">MenuSubscribe.dsw</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribe.exe">MenuSubscribe.exe</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribe.h">MenuSubscribe.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribe.rc">MenuSubscribe.rc</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribeDlg.cpp">MenuSubscribeDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/MenuSubscribeDlg.h">MenuSubscribeDlg.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/Resource.h">Resource.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/stdafx.cpp">stdafx.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/stdafx.h">stdafx.h</a></li>
<li><a href="qbdt/cpp/qbxml/UIandEventTest/MenuSubscribe/res/MenuSubscribe.ico">res/MenuSubscribe.ico</a></li>
</ul>
<p><p>
<a name="addcustomer (C++) (qbxml) (desktop)"></a><h3>addcustomer (desktop)</h3>
This C++ sample demonstrates the minimal qbXML required to add a customer to QuickBooks. The user can view the qbXML request and response.<p>
View directory: <a href="qbdt/cpp/qbxml/addcustomer">qbdt/cpp/qbxml/addcustomer</a><br>
Open Project: <a href="qbdt/cpp/qbxml/addcustomer/AddCustomer.dsw">qbdt/cpp/qbxml/addcustomer/AddCustomer.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbxml/addcustomer/AddCustDlg.cpp">AddCustDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/AddCustDlg.h">AddCustDlg.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/AddCustomer.cpp">AddCustomer.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/AddCustomer.dsp">AddCustomer.dsp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/AddCustomer.dsw">AddCustomer.dsw</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/AddCustomer.idl">AddCustomer.idl</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/AddCustomer.rc">AddCustomer.rc</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/AddCustomer.rgs">AddCustomer.rgs</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/AddNewCustomer.exe">AddNewCustomer.exe</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/CustomerAdd.cpp">CustomerAdd.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/CustomerAdd.h">CustomerAdd.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/DisplayDlg.cpp">DisplayDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/DisplayDlg.h">DisplayDlg.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/Resource.h">Resource.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/StdAfx.cpp">StdAfx.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/StdAfx.h">StdAfx.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/Utility.cpp">Utility.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/Utility.h">Utility.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/ValidatorDlg.cpp">ValidatorDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/ValidatorDlg.h">ValidatorDlg.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/XMLBuilder.cpp">XMLBuilder.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/XMLBuilder.h">XMLBuilder.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/XMLValidator.cpp">XMLValidator.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/XMLValidator.h">XMLValidator.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/customers.bmp">customers.bmp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/qbXMLTags.h">qbXMLTags.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/qbXMLWrapper.cpp">qbXMLWrapper.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/qbXMLWrapper.h">qbXMLWrapper.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/qbbanner.bmp">qbbanner.bmp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomer/resource.hm">resource.hm</a></li>
</ul>
<p><p>
<a name="addcustomerjob (C++) (qbxml) (desktop)"></a><h3>addcustomerjob (desktop)</h3>
This C++ sample demonstrates the minimal qbXML required to add a customer and also a customer job (sub customer) to QuickBooks. <p>
View directory: <a href="qbdt/cpp/qbxml/addcustomerjob">qbdt/cpp/qbxml/addcustomerjob</a><br>
Open Project: <a href="qbdt/cpp/qbxml/addcustomerjob/AddCustomerJob.dsw">qbdt/cpp/qbxml/addcustomerjob/AddCustomerJob.dsw</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/AddCustomerJob.cpp">AddCustomerJob.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/AddCustomerJob.dsp">AddCustomerJob.dsp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/AddCustomerJob.dsw">AddCustomerJob.dsw</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/AddCustomerJob.exe">AddCustomerJob.exe</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/AddCustomerJob.idl">AddCustomerJob.idl</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/AddCustomerJob.rc">AddCustomerJob.rc</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/AddCustomerJob.rgs">AddCustomerJob.rgs</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/DOMXMLBuilder.cpp">DOMXMLBuilder.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/DOMXMLBuilder.h">DOMXMLBuilder.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBAddCustomerJobDlg.cpp">QBAddCustomerJobDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBAddCustomerJobDlg.h">QBAddCustomerJobDlg.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCompanyFileDlg.cpp">QBCompanyFileDlg.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCompanyFileDlg.h">QBCompanyFileDlg.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerAdd.cpp">QBCustomerAdd.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerAdd.h">QBCustomerAdd.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerQuery.cpp">QBCustomerQuery.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerQuery.h">QBCustomerQuery.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerRet.cpp">QBCustomerRet.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerRet.h">QBCustomerRet.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerTypeAdd.cpp">QBCustomerTypeAdd.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerTypeAdd.h">QBCustomerTypeAdd.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerTypeQuery.cpp">QBCustomerTypeQuery.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerTypeQuery.h">QBCustomerTypeQuery.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerTypeRet.cpp">QBCustomerTypeRet.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/QBCustomerTypeRet.h">QBCustomerTypeRet.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/Resource.h">Resource.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/StdAfx.cpp">StdAfx.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/StdAfx.h">StdAfx.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/Utility.cpp">Utility.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/Utility.h">Utility.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/customers.bmp">customers.bmp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/qbXMLOpsBase.cpp">qbXMLOpsBase.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/qbXMLOpsBase.h">qbXMLOpsBase.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/qbXMLRPWrapper.cpp">qbXMLRPWrapper.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/qbXMLRPWrapper.h">qbXMLRPWrapper.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/qbXMLTags.h">qbXMLTags.h</a></li>
<li><a href="qbdt/cpp/qbxml/addcustomerjob/qbbanner.bmp">qbbanner.bmp</a></li>
</ul>
<p><p>
<a name="hostquery (C++) (qbxml) (desktop)"></a><h3>hostquery (desktop)</h3>
This VC++2005 sample demonstrates the minimal qbXML required to perform a hostquery to QuickBooks. The user can view the qbXML request and response in messagebox. The intent of this sample is to demonstrate how to utilize QBXMLRP2 library using VC+2005. <p>
View directory: <a href="qbdt/cpp/qbxml/hostquery">qbdt/cpp/qbxml/hostquery</a><br>
Open Project: <a href="qbdt/cpp/qbxml/hostquery/hostquery.sln">qbdt/cpp/qbxml/hostquery/hostquery.sln</a><br>
<p>
Individual files:<br>
<ul>
<li><a href="qbdt/cpp/qbxml/hostquery/AssemblyInfo.cpp">AssemblyInfo.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/Form1.h">Form1.h</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/Form1.resx">Form1.resx</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/ReadMe.txt">ReadMe.txt</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/app.ico">app.ico</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/app.rc">app.rc</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/hostquery.cpp">hostquery.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/hostquery.sln">hostquery.sln</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/hostquery.vcproj">hostquery.vcproj</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/resource.h">resource.h</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/stdafx.cpp">stdafx.cpp</a></li>
<li><a href="qbdt/cpp/qbxml/hostquery/stdafx.h">stdafx.h</a></li>
</ul>
<p><p>
<a name="sdktest (C++) (qbxml) (desktop)"></a><h3>sdktest (desktop)</h3>
This C++ version of SDKTest accepts a qbXML request and returns a qbXML response. This is a command line program rather than a GUI application.<p>
View directory: <a href="qbdt/cpp/qbxml/sdktest">qbdt/cpp/qbxml/sdktest</a><br>
Open Project: <a href="qbdt/cpp/qbxml/sdktest/sdktest.dsw">qbdt/cpp/qbxml/sdktest/sdktest.dsw</a><br>