fishbowl 0.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +1 -0
  3. data/.travis.yml +9 -4
  4. data/Gemfile +9 -2
  5. data/Guardfile +13 -0
  6. data/README.md +25 -5
  7. data/fishbowl.gemspec +5 -5
  8. data/lib/fishbowl/configuration.rb +9 -0
  9. data/lib/fishbowl/connection.rb +100 -0
  10. data/lib/fishbowl/errors.rb +18 -8
  11. data/lib/fishbowl/ext.rb +15 -0
  12. data/lib/fishbowl/objects/account.rb +8 -12
  13. data/lib/fishbowl/objects/address.rb +86 -0
  14. data/lib/fishbowl/objects/base_object.rb +42 -9
  15. data/lib/fishbowl/objects/carrier.rb +15 -0
  16. data/lib/fishbowl/objects/carton.rb +54 -0
  17. data/lib/fishbowl/objects/uom.rb +47 -0
  18. data/lib/fishbowl/objects/user.rb +15 -0
  19. data/lib/fishbowl/objects.rb +5 -0
  20. data/lib/fishbowl/requests/add_inventory.rb +34 -0
  21. data/lib/fishbowl/requests/add_sales_order_item.rb +42 -0
  22. data/lib/fishbowl/requests/adjust_inventory.rb +28 -0
  23. data/lib/fishbowl/requests/get_account_balance.rb +15 -0
  24. data/lib/fishbowl/requests/get_account_list.rb +13 -0
  25. data/lib/fishbowl/requests/get_carrier_list.rb +14 -0
  26. data/lib/fishbowl/requests/get_customer_list.rb +12 -0
  27. data/lib/fishbowl/requests/get_customer_name_list.rb +12 -0
  28. data/lib/fishbowl/requests/get_export_list.rb +12 -0
  29. data/lib/fishbowl/requests/get_import_list.rb +12 -0
  30. data/lib/fishbowl/requests/get_location_group_list.rb +12 -0
  31. data/lib/fishbowl/requests/get_location_list.rb +12 -0
  32. data/lib/fishbowl/requests/get_product.rb +18 -0
  33. data/lib/fishbowl/requests/get_product_price.rb +21 -0
  34. data/lib/fishbowl/requests/get_uom_list.rb +12 -0
  35. data/lib/fishbowl/requests/get_vendor_list.rb +12 -0
  36. data/lib/fishbowl/requests/get_vendor_name_list.rb +12 -0
  37. data/lib/fishbowl/requests/get_work_order_list.rb +12 -0
  38. data/lib/fishbowl/requests/inventory_quantity.rb +17 -0
  39. data/lib/fishbowl/requests/load_sales_order.rb +21 -0
  40. data/lib/fishbowl/requests/make_payment.rb +32 -0
  41. data/lib/fishbowl/requests/save_sales_order.rb +86 -0
  42. data/lib/fishbowl/requests/total_inventory.rb +18 -0
  43. data/lib/fishbowl/requests/void_sales_order.rb +18 -0
  44. data/lib/fishbowl/requests.rb +5 -0
  45. data/lib/fishbowl/version.rb +1 -1
  46. data/lib/fishbowl.rb +12 -95
  47. data/lib/status_codes.yml +183 -0
  48. data/spec/connection_spec.rb +99 -99
  49. data/spec/errors_spec.rb +11 -9
  50. data/spec/examples/account.xml +6 -0
  51. data/spec/examples/address.xml +30 -0
  52. data/spec/examples/carrier.xml +3 -0
  53. data/spec/examples/carton.xml +93 -0
  54. data/spec/examples/contact_information.xml +5 -0
  55. data/spec/examples/contacts.xml +7 -0
  56. data/spec/examples/credit_card.xml +10 -0
  57. data/spec/examples/customer.xml +54 -0
  58. data/spec/examples/location.xml +14 -0
  59. data/spec/examples/location_group.xml +5 -0
  60. data/spec/examples/location_group_string.xml +1 -0
  61. data/spec/examples/order_history.xml +8 -0
  62. data/spec/examples/part.xml +105 -0
  63. data/spec/examples/payment.xml +6 -0
  64. data/spec/examples/pick.xml +265 -0
  65. data/spec/examples/pick_item.xml +236 -0
  66. data/spec/examples/product.xml +159 -0
  67. data/spec/examples/purchase_order.xml +53 -0
  68. data/spec/examples/receipt.xml +146 -0
  69. data/spec/examples/report.xml +10 -0
  70. data/spec/examples/report_tree.xml +7 -0
  71. data/spec/examples/sales_order.xml +47 -0
  72. data/spec/examples/sales_order_item.xml +32 -0
  73. data/spec/examples/shipping.xml +127 -0
  74. data/spec/examples/tag.xml +28 -0
  75. data/spec/examples/tax_rate.xml +10 -0
  76. data/spec/examples/tracking.xml +14 -0
  77. data/spec/examples/tracking_item.xml +12 -0
  78. data/spec/examples/transfer_order.xml +257 -0
  79. data/spec/examples/transfer_order_item.xml +147 -0
  80. data/spec/examples/uom.xml +26 -0
  81. data/spec/examples/uom_conversion.xml +8 -0
  82. data/spec/examples/user.xml +8 -0
  83. data/spec/examples/vendor.xml +19 -0
  84. data/spec/examples/vendor_part_number.xml +3 -0
  85. data/spec/examples/work_order.xml +228 -0
  86. data/spec/examples/work_order_item.xml +172 -0
  87. data/spec/objects/account_spec.rb +33 -27
  88. data/spec/objects/address_information_spec.rb +18 -0
  89. data/spec/objects/address_spec.rb +36 -0
  90. data/spec/objects/base_object_spec.rb +67 -23
  91. data/spec/objects/carrier_spec.rb +15 -0
  92. data/spec/objects/carton_spec.rb +23 -0
  93. data/spec/objects/country_spec.rb +16 -0
  94. data/spec/objects/shipping_item_spec.rb +21 -0
  95. data/spec/objects/state_spec.rb +17 -0
  96. data/spec/objects/uom_conversion_spec.rb +20 -0
  97. data/spec/objects/uom_spec.rb +20 -0
  98. data/spec/objects/user_spec.rb +20 -0
  99. data/spec/requests/add_inventory_spec.rb +79 -0
  100. data/spec/requests/add_sales_order_item_spec.rb +85 -0
  101. data/spec/requests/adjust_inventory_spec.rb +62 -0
  102. data/spec/requests/calculate_sales_order_spec.rb +48 -0
  103. data/spec/requests/close_short_sales_order_spec.rb +45 -0
  104. data/spec/requests/cycle_count_spec.rb +49 -0
  105. data/spec/requests/delete_sales_order_spec.rb +45 -0
  106. data/spec/requests/export_spec.rb +45 -0
  107. data/spec/requests/get_account_balance_spec.rb +52 -0
  108. data/spec/requests/get_account_list_spec.rb +51 -0
  109. data/spec/requests/get_carrier_list_spec.rb +54 -0
  110. data/spec/requests/get_customer_list_spec.rb +51 -0
  111. data/spec/requests/get_customer_name_list_spec.rb +45 -0
  112. data/spec/requests/get_customer_spec.rb +45 -0
  113. data/spec/requests/get_export_list_spec.rb +45 -0
  114. data/spec/requests/get_import_list_spec.rb +45 -0
  115. data/spec/requests/get_inventory_quantity_spec.rb +65 -0
  116. data/spec/requests/get_light_part_list_spec.rb +51 -0
  117. data/spec/requests/get_location_group_list_spec.rb +45 -0
  118. data/spec/requests/get_location_list_spec.rb +45 -0
  119. data/spec/requests/get_next_number_spec.rb +45 -0
  120. data/spec/requests/get_part_cost_spec.rb +45 -0
  121. data/spec/requests/get_part_information_spec.rb +45 -0
  122. data/spec/requests/get_part_list_spec.rb +65 -0
  123. data/spec/requests/get_pick_spec.rb +45 -0
  124. data/spec/requests/get_product_information_spec.rb +46 -0
  125. data/spec/requests/get_purchase_order_list_spec.rb +45 -0
  126. data/spec/requests/get_receipt_spec.rb +49 -0
  127. data/spec/requests/get_receiving_list_spec.rb +49 -0
  128. data/spec/requests/get_sales_order_list_spec.rb +49 -0
  129. data/spec/requests/get_ship_list_spec.rb +49 -0
  130. data/spec/requests/get_ship_now_list_spec.rb +48 -0
  131. data/spec/requests/get_shipment_spec.rb +45 -0
  132. data/spec/requests/get_system_property_spec.rb +45 -0
  133. data/spec/requests/get_total_inventory_spec.rb +46 -0
  134. data/spec/requests/get_transfer_order_list_spec.rb +45 -0
  135. data/spec/requests/get_uom_list_spec.rb +45 -0
  136. data/spec/requests/get_user_property_spec.rb +45 -0
  137. data/spec/requests/get_vendor_list_spec.rb +45 -0
  138. data/spec/requests/get_vendor_name_list_spec.rb +45 -0
  139. data/spec/requests/get_vendor_spec.rb +48 -0
  140. data/spec/requests/get_work_order_list_spec.rb +45 -0
  141. data/spec/requests/get_work_order_spec.rb +45 -0
  142. data/spec/requests/import_spec.rb +49 -0
  143. data/spec/requests/issues_sales_order_spec.rb +45 -0
  144. data/spec/requests/load_sales_order_spec.rb +45 -0
  145. data/spec/requests/load_transfer_order_spec.rb +45 -0
  146. data/spec/requests/location_query_spec.rb +49 -0
  147. data/spec/requests/make_payment_spec.rb +50 -0
  148. data/spec/requests/move_spec.rb +49 -0
  149. data/spec/requests/part_query_spec.rb +46 -0
  150. data/spec/requests/pick_query_spec.rb +49 -0
  151. data/spec/requests/print_report_spec.rb +48 -0
  152. data/spec/requests/product_query_spec.rb +46 -0
  153. data/spec/requests/quick_ship_spec.rb +45 -0
  154. data/spec/requests/quickbooks_export_spec.rb +43 -0
  155. data/spec/requests/save_customer_spec.rb +48 -0
  156. data/spec/requests/save_discount_spec.rb +48 -0
  157. data/spec/requests/save_pick_spec.rb +48 -0
  158. data/spec/requests/save_purchase_order_spec.rb +48 -0
  159. data/spec/requests/save_receipt_spec.rb +48 -0
  160. data/spec/requests/save_report_spec.rb +49 -0
  161. data/spec/requests/save_sales_order_spec.rb +48 -0
  162. data/spec/requests/save_shipment_spec.rb +48 -0
  163. data/spec/requests/save_tax_rate_spec.rb +48 -0
  164. data/spec/requests/save_transfer_order_spec.rb +48 -0
  165. data/spec/requests/save_upc_spec.rb +48 -0
  166. data/spec/requests/save_vendor_spec.rb +48 -0
  167. data/spec/requests/save_work_order_spec.rb +48 -0
  168. data/spec/requests/set_default_part_location_spec.rb +48 -0
  169. data/spec/requests/set_system_property_spec.rb +48 -0
  170. data/spec/requests/set_user_property_spec.rb +48 -0
  171. data/spec/requests/ship_spec.rb +48 -0
  172. data/spec/requests/void_sales_order_spec.rb +43 -0
  173. data/spec/spec_helper.rb +48 -16
  174. data/spec/support/examples_loader.rb +5 -0
  175. data/spec/support/response_mocks.rb +27 -0
  176. metadata +304 -35
  177. data/spec/support/fake_login.rb +0 -15
@@ -0,0 +1,159 @@
1
+ <Product>
2
+ <ID>52</ID>
3
+ <PartID>60</PartID>
4
+ <Part>
5
+ <PartID>60</PartID>
6
+ <PartClassID>0</PartClassID>
7
+ <TypeID>10</TypeID>
8
+ <UOM>
9
+ <UOMID>1</UOMID>
10
+ <Name>Each</Name>
11
+ <Code>ea</Code>
12
+ <Integral>true</Integral>
13
+ <Active>true</Active>
14
+ <Type>Count</Type>
15
+ <UOMConversions>
16
+ <UOMConversion>
17
+ <MainUOMID>1</MainUOMID>
18
+ <ToUOMID>17</ToUOMID>
19
+ <ToUOMCode>pr</ToUOMCode>
20
+ <ConversionMultiply>1.0</ConversionMultiply>
21
+ <ConversionFactor>2.0</ConversionFactor>
22
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
23
+ </UOMConversion>
24
+ <UOMConversion>
25
+ <MainUOMID>1</MainUOMID>
26
+ <ToUOMID>18</ToUOMID>
27
+ <ToUOMCode>pk</ToUOMCode>
28
+ <ConversionMultiply>1.0</ConversionMultiply>
29
+ <ConversionFactor>20.0</ConversionFactor>
30
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
31
+ </UOMConversion>
32
+ </UOMConversions>
33
+ </UOM>
34
+ <Num>BB2005</Num>
35
+ <Description>Custom Value Bike</Description>
36
+ <Details/>
37
+ <StandardCost>0</StandardCost>
38
+ <HasBOM>false</HasBOM>
39
+ <Configurable>true</Configurable>
40
+ <ActiveFlag>true</ActiveFlag>
41
+ <SerializedFlag>true</SerializedFlag>
42
+ <TrackingFlag>true</TrackingFlag>
43
+ <Weight>0</Weight>
44
+ <WeightUOM>
45
+ <UOM>
46
+ <UOMID>3</UOMID>
47
+ <Name>Pound</Name>
48
+ <Code>lbs</Code>
49
+ <Integral>false</Integral>
50
+ <Active>true</Active>
51
+ <Type>Weight</Type>
52
+ <UOMConversions>
53
+ <UOMConversion>
54
+ <MainUOMID>3</MainUOMID>
55
+ <ToUOMID>8</ToUOMID>
56
+ <ToUOMCode>kg</ToUOMCode>
57
+ <ConversionMultiply>1.0</ConversionMultiply>
58
+ <ConversionFactor>2.2046000957489014</ConversionFactor>
59
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
60
+ </UOMConversion>
61
+ </UOMConversions>
62
+ </UOM>
63
+ </WeightUOM>
64
+ <Width>0</Width>
65
+ <Height>0</Height>
66
+ <Len>0</Len>
67
+ <SizeUOM>
68
+ <UOM>
69
+ <UOMID>2</UOMID>
70
+ <Name>Foot</Name>
71
+ <Code>ft</Code>
72
+ <Integral>false</Integral>
73
+ <Active>true</Active>
74
+ <Type>Length</Type>
75
+ <UOMConversions>
76
+ <UOMConversion>
77
+ <MainUOMID>2</MainUOMID>
78
+ <ToUOMID>7</ToUOMID>
79
+ <ToUOMCode>in</ToUOMCode>
80
+ <ConversionMultiply>12.0</ConversionMultiply>
81
+ <ConversionFactor>1.0</ConversionFactor>
82
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
83
+ </UOMConversion>
84
+ <UOMConversion>
85
+ <MainUOMID>2</MainUOMID>
86
+ <ToUOMID>9</ToUOMID>
87
+ <ToUOMCode>m</ToUOMCode>
88
+ <ConversionMultiply>1.0</ConversionMultiply>
89
+ <ConversionFactor>3.2808001041412354</ConversionFactor>
90
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
91
+ </UOMConversion>
92
+ </UOMConversions>
93
+ </UOM>
94
+ </SizeUOM>
95
+ <UPC/>
96
+ <PartTrackingList>
97
+ <PartTracking>
98
+ <PartTrackingID>4</PartTrackingID>
99
+ <Name>Serial Number</Name>
100
+ <Abbr>SN(s)</Abbr>
101
+ <Description/>
102
+ <SortOrder>4</SortOrder>
103
+ <TrackingTypeID>40</TrackingTypeID>
104
+ <Active>true</Active>
105
+ <Primary>true</Primary>
106
+ </PartTracking>
107
+ </PartTrackingList>
108
+ </Part>
109
+ <Num>BB2005</Num>
110
+ <Description>Custom Value Bike</Description>
111
+ <Details/>
112
+ <UPC/>
113
+ <SKU/>
114
+ <Price>250</Price>
115
+ <UOM>
116
+ <UOMID>1</UOMID>
117
+ <Name>Each</Name>
118
+ <Code>ea</Code>
119
+ <Integral>true</Integral>
120
+ <Active>true</Active>
121
+ <Type>Count</Type>
122
+ <UOMConversions>
123
+ <UOMConversion>
124
+ <MainUOMID>1</MainUOMID>
125
+ <ToUOMID>17</ToUOMID>
126
+ <ToUOMCode>pr</ToUOMCode>
127
+ <ConversionMultiply>1.0</ConversionMultiply>
128
+ <ConversionFactor>2.0</ConversionFactor>
129
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
130
+ </UOMConversion>
131
+ <UOMConversion>
132
+ <MainUOMID>1</MainUOMID>
133
+ <ToUOMID>18</ToUOMID>
134
+ <ToUOMCode>pk</ToUOMCode>
135
+ <ConversionMultiply>1.0</ConversionMultiply>
136
+ <ConversionFactor>20.0</ConversionFactor>
137
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
138
+ </UOMConversion>
139
+ </UOMConversions>
140
+ </UOM>
141
+ <DefaultSOItemType>Sale</DefaultSOItemType>
142
+ <DisplayType>SHOW_ALL</DisplayType>
143
+ <URL/>
144
+ <Weight>0</Weight>
145
+ <WeightUOMID>3</WeightUOMID>
146
+ <Width>0</Width>
147
+ <Height>0</Height>
148
+ <Len>0</Len>
149
+ <SizeUOMID>2</SizeUOMID>
150
+ <AccountingID/>
151
+ <AccountingHash/>
152
+ <SellableInOtherUOMFlag>true</SellableInOtherUOMFlag>
153
+ <ActiveFlag>true</ActiveFlag>
154
+ <TaxableFlag>true</TaxableFlag>
155
+ <UsePriceFlag>true</UsePriceFlag>
156
+ <KitFlag>false</KitFlag>
157
+ <ShowSOComboFlag>true</ShowSOComboFlag>
158
+ <Image>[B@12b6f63</Image>
159
+ </Product>
@@ -0,0 +1,53 @@
1
+ <PurchaseOrder>
2
+ <ID>-1</ID>
3
+ <Note>Originating Sales Order #50047Originating Notes:</Note>
4
+ <CreatedDate>2010-05-18T14:03:32</CreatedDate>
5
+ <FirstShipDate>2010-05-18T14:03:32</FirstShipDate>
6
+ <Number>10070</Number>
7
+ <Status>10</Status>
8
+ <Buyer>admin</Buyer>
9
+ <RemitTo>
10
+ <Name>Mike's Bikes</Name>
11
+ <AddressField>2245 South 3000 East</AddressField>
12
+ <City>Salt Lake City</City>
13
+ <Zip/>
14
+ <Country>US</Country>
15
+ <State>Utah</State>
16
+ </RemitTo>
17
+ <Ship>
18
+ <Name>Bicycles Unlimited</Name>
19
+ <AddressField>300 W North Temple</AddressField>
20
+ <City/>
21
+ <Zip>84103</Zip>
22
+ <Country>US</Country>
23
+ <State>Utah</State>
24
+ </Ship>
25
+ <DeliverTo/>
26
+ <ShippingCost>0</ShippingCost>
27
+ <ShippingTerms>10</ShippingTerms>
28
+ <PaymentTerms>COD</PaymentTerms>
29
+ <FOB>Origin</FOB>
30
+ <VendorContact/>
31
+ <VendorName>Mike's Bikes</VendorName>
32
+ <VendorSONum/>
33
+ <QuickBooksClassName>Salt Lake City</QuickBooksClassName>
34
+ <LocationGroup>SLC</LocationGroup>
35
+ <Carrier>Will Call</Carrier>
36
+ <PurchaseOrderItem>
37
+ <PartNumber>BB2001</PartNumber>
38
+ <ID>105</ID>
39
+ <Description>Mountain Bike</Description>
40
+ <Quantity>1</Quantity>
41
+ <QuantityFulfilled>0</QuantityFulfilled>
42
+ <QuantityPicked>0</QuantityPicked>
43
+ <UOMCode>ea</UOMCode>
44
+ <VendorPartNum>BB2001</VendorPartNum>
45
+ <ItemType>10</ItemType>
46
+ <Status>10</Status>
47
+ <Note/>
48
+ <UnitCost>450</UnitCost>
49
+ <QuickBooksClassName>Salt Lake City</QuickBooksClassName>
50
+ <RevisionLevel/>
51
+ <ScheduledFulfillmentDate>2010-05-18T14:03:32</ScheduledFulfillmentDate>
52
+ </PurchaseOrderItem>
53
+ </PurchaseOrder>
@@ -0,0 +1,146 @@
1
+ <Receipt>
2
+ <ID>92</ID>
3
+ <StatusID>10</StatusID>
4
+ <TypeID>20</TypeID>
5
+ <OrderTypeID>20</OrderTypeID>
6
+ <OrderID>66</OrderID>
7
+ <UserID>1</UserID>
8
+ <LocationGroupID>1</LocationGroupID>
9
+ <ReceiptItems>
10
+ <ReceiveItem>
11
+ <ID>350</ID>
12
+ <ItemNum>BTY100-Core</ItemNum>
13
+ <Description>Battery Pack</Description>
14
+ <LineNum>2</LineNum>
15
+ <ItemStatus>10</ItemStatus>
16
+ <ItemType>1</ItemType>
17
+ <DateLastModified>2011-08-09T11:05:45</DateLastModified>
18
+ <OrderNum>500100</OrderNum>
19
+ <OrderType>20</OrderType>
20
+ <OrderItemID>162</OrderItemID>
21
+ <OrderItemType>20</OrderItemType>
22
+ <ReceiptID>92</ReceiptID>
23
+ <Quantity>1</Quantity>
24
+ <UOMName>Each</UOMName>
25
+ <UOMID>1</UOMID>
26
+ <SuggestedLocationID>3</SuggestedLocationID>
27
+ <OriginalUnitCost>-95</OriginalUnitCost>
28
+ <BilledUnitCost>-95</BilledUnitCost>
29
+ <LandedUnitCost>-95</LandedUnitCost>
30
+ <DeliverTo/>
31
+ <CarrierID>1</CarrierID>
32
+ <PartTypeID>10</PartTypeID>
33
+ <TrackingNum/>
34
+ <PackageCount>1</PackageCount>
35
+ <DateScheduled>2007-08-29T00:00:00</DateScheduled>
36
+ <ReceivedReceipts>
37
+ <ReceivedReceipt>
38
+ <ItemType>1</ItemType>
39
+ <Quantity>1</Quantity>
40
+ <Reason/>
41
+ <LocationID>3</LocationID>
42
+ <Tracking/>
43
+ </ReceivedReceipt>
44
+ </ReceivedReceipts>
45
+ <LinkedOrders/>
46
+ <Part>
47
+ <PartID>74</PartID>
48
+ <PartClassID>0</PartClassID>
49
+ <TypeID>10</TypeID>
50
+ <UOM>
51
+ <UOMID>1</UOMID>
52
+ <Name>Each</Name>
53
+ <Code>ea</Code>
54
+ <Integral>true</Integral>
55
+ <Active>true</Active>
56
+ <Type>Count</Type>
57
+ <UOMConversions>
58
+ <UOMConversion>
59
+ <MainUOMID>1</MainUOMID>
60
+ <ToUOMID>17</ToUOMID>
61
+ <ToUOMCode>pr</ToUOMCode>
62
+ <ConversionMultiply>1.0</ConversionMultiply>
63
+ <ConversionFactor>2.0</ConversionFactor>
64
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
65
+ </UOMConversion>
66
+ <UOMConversion>
67
+ <MainUOMID>1</MainUOMID>
68
+ <ToUOMID>18</ToUOMID>
69
+ <ToUOMCode>pk</ToUOMCode>
70
+ <ConversionMultiply>1.0</ConversionMultiply>
71
+ <ConversionFactor>20.0</ConversionFactor>
72
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
73
+ </UOMConversion>
74
+ </UOMConversions>
75
+ </UOM>
76
+ <Num>BTY100</Num>
77
+ <Description>Battery Pack</Description>
78
+ <Details/>
79
+ <StandardCost>0</StandardCost>
80
+ <HasBOM>false</HasBOM>
81
+ <Configurable>false</Configurable>
82
+ <ActiveFlag>true</ActiveFlag>
83
+ <SerializedFlag>false</SerializedFlag>
84
+ <TrackingFlag>false</TrackingFlag>
85
+ <Weight>0</Weight>
86
+ <WeightUOM>
87
+ <UOM>
88
+ <UOMID>3</UOMID>
89
+ <Name>Pound</Name>
90
+ <Code>lbs</Code>
91
+ <Integral>false</Integral>
92
+ <Active>true</Active>
93
+ <Type>Weight</Type>
94
+ <UOMConversions>
95
+ <UOMConversion>
96
+ <MainUOMID>3</MainUOMID>
97
+ <ToUOMID>8</ToUOMID>
98
+ <ToUOMCode>kg</ToUOMCode>
99
+ <ConversionMultiply>1.0</ConversionMultiply>
100
+ <ConversionFactor>2.2046000957489014</ConversionFactor>
101
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
102
+ </UOMConversion>
103
+ </UOMConversions>
104
+ </UOM>
105
+ </WeightUOM>
106
+ <Width>0</Width>
107
+ <Height>0</Height>
108
+ <Len>0</Len>
109
+ <SizeUOM>
110
+ <UOM>
111
+ <UOMID>2</UOMID>
112
+ <Name>Foot</Name>
113
+ <Code>ft</Code>
114
+ <Integral>false</Integral>
115
+ <Active>true</Active>
116
+ <Type>Length</Type>
117
+ <UOMConversions>
118
+ <UOMConversion>
119
+ <MainUOMID>2</MainUOMID>
120
+ <ToUOMID>7</ToUOMID>
121
+ <ToUOMCode>in</ToUOMCode>
122
+ <ConversionMultiply>12.0</ConversionMultiply>
123
+ <ConversionFactor>1.0</ConversionFactor>
124
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
125
+ </UOMConversion>
126
+ <UOMConversion>
127
+ <MainUOMID>2</MainUOMID>
128
+ <ToUOMID>9</ToUOMID>
129
+ <ToUOMCode>m</ToUOMCode>
130
+ <ConversionMultiply>1.0</ConversionMultiply>
131
+ <ConversionFactor>3.2808001041412354</ConversionFactor>
132
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
133
+ </UOMConversion>
134
+ </UOMConversions>
135
+ </UOM>
136
+ </SizeUOM>
137
+ <UPC/>
138
+ <VendorPartNums>
139
+ <VendorPartNumber>
140
+ <Number>BTY100</Number>
141
+ </VendorPartNumber>
142
+ </VendorPartNums>
143
+ </Part>
144
+ </ReceiveItem>
145
+ </ReceiptItems>
146
+ </Receipt>
@@ -0,0 +1,10 @@
1
+ <Report>
2
+ <ID>164</ID>
3
+ <Name>New Report</name>
4
+ <Path>../reports/Custom/NewReport.jasper</Path>
5
+ <ReportTreeID>19</ReportTreeID>
6
+ <Description>Description of the report</Description>
7
+ <ActiveFlag>true</ActiveFlag>
8
+ <ReadOnly>false</ReadOnly>
9
+ <UserID>1</UserID>
10
+ </Report>
@@ -0,0 +1,7 @@
1
+ <ReportTree>
2
+ <ID>1</ID>
3
+ <Name>Company</name>
4
+ <ParentID>-1</ParentID>
5
+ <ReadOnly>true</ReadOnly>
6
+ <UserID>1</UserID>
7
+ </ReportTree>
@@ -0,0 +1,47 @@
1
+ <SalesOrder>
2
+ <Salesman>admin</Salesman>
3
+ <Number>500100</Number>
4
+ <Status>20</Status>
5
+ <Carrier>Will Call</Carrier>
6
+ <FirstShipDate>2007-08-29T00:00:00</FirstShipDate>
7
+ <CreatedDate>2007-08-29T00:00:00</CreatedDate>
8
+ <IssuedDate>2007-08-29T16:48:56</IssuedDate>
9
+ <TaxRatePercentage>0.0625</TaxRatePercentage>
10
+ <TaxRateName>Utah</TaxRateName>
11
+ <ShippingTerms>Prepaid &amp; Billed</ShippingTerms>
12
+ <PaymentTerms>COD</PaymentTerms>
13
+ <CustomerContact>Beach Bike</CustomerContact>
14
+ <CustomerName>Beach Bike</CustomerName>
15
+ <FOB>Origin</FOB>
16
+ <QuickBooksClassName>Salt Lake City</QuickBooksClassName>
17
+ <LocationGroup>SLC</LocationGroup>
18
+ <BillTo>
19
+ <Name>Beach Bike</Name>
20
+ <AddressField>555 Suntan Ave.</AddressField>
21
+ <City>Santa Barbara</City>
22
+ <Zip>93101</Zip>
23
+ </BillTo>
24
+ <Ship>
25
+ <Name>Beach Bike</Name>
26
+ <AddressField>555 Suntan Ave.</AddressField>
27
+ <Zip>93101</Zip>
28
+ <Country>US</Country>
29
+ <State>California</State>
30
+ </Ship>
31
+ <SalesOrderItem>
32
+ <ID>-1</ID>
33
+ <ProductNumber>BTY100</ProductNumber>
34
+ <SOID>93</SOID>
35
+ <Description>Battery Pack</Description>
36
+ <Taxable>true</Taxable>
37
+ <Quantity>1</Quantity>
38
+ <ProductPrice>95.00</ProductPrice>
39
+ <TotalPrice>95.00</TotalPrice>
40
+ <UOMCode>ea</UOMCode>
41
+ <ItemType>10</ItemType>
42
+ <Status>10</Status>
43
+ <QuickBooksClassName>Salt Lake City</QuickBooksClassName>
44
+ <NewItemFlag>false</NewItemFlag>
45
+ <LineNumber>1</LineNumber>
46
+ </SalesOrderItem>
47
+ </SalesOrder>
@@ -0,0 +1,32 @@
1
+ <SalesOrderItem>
2
+ <ID>-1</ID>
3
+ <ProductNumber>BTY100-Core</ProductNumber>
4
+ <SOID>94</SOID>
5
+ <Description>Battery Pack</Description>
6
+ <Taxable>true</Taxable>
7
+ <Quantity>1</Quantity>
8
+ <ProductPrice>-95.00</ProductPrice>
9
+ <TotalPrice>-95.00</TotalPrice>
10
+ <UOMCode>ea</UOMCode>
11
+ <ItemType>20</ItemType>
12
+ <Status>10</Status>
13
+ <QuickBooksClassName>Salt Lake City</QuickBooksClassName>
14
+ <NewItemFlag>false</NewItemFlag>
15
+ <LineNumber>2</LineNumber>
16
+ <KitItemFlag>false</KitItemFlag>
17
+ <AdjustmentAmount>2.99</AdjustmentAmount>
18
+ <AdjustPercentage>13</AdjustPercentage>
19
+ <CustomerPartNum>12345</CustomerPartNum>
20
+ <DateLastFulfillment>2010-05-18 14:02:21</DateLastFulfillment>
21
+ <DateLastModified>2010-05-18 14:02:21</DateLastModified>
22
+ <DateScheduledFulfillment>2010-05-18 14:02:21</DateScheduledFulfillment>
23
+ <ExchangeSOLineItem>1</ExchangeSOLineItem>
24
+ <ItemAdjustID>1</ItemAdjustID>
25
+ <QtyFulfilled>12</QtyFulfilled>
26
+ <QtyPicked>14</QtyPicked>
27
+ <RevisionLevel>3</RevisionLevel>
28
+ <TotalCost>2999.01</TotalCost>
29
+ <TaxableFlag>true</TaxableFlag>
30
+ <TaxID>1</TaxID>
31
+ <TaxRate>.0012</TaxRate>
32
+ </SalesOrderItem>
@@ -0,0 +1,127 @@
1
+ <Shipping>
2
+ <ID>33</ID>
3
+ <OrderNumber>50039</OrderNumber>
4
+ <OrderType>SO</OrderType>
5
+ <CreatedDate>2010-02-03T10:36:23</CreatedDate>
6
+ <DateLastModified>2010-02-03T10:36:23</DateLastModified>
7
+ <Carrier>Will Call</Carrier>
8
+ <Status>10</Status>
9
+ <FOB>Origin</FOB>
10
+ <Note/>
11
+ <CartonCount>1</CartonCount>
12
+ <Address>
13
+ <ID>178</ID>
14
+ <Attn>Michelle Morris</Attn>
15
+ <Street>1688 North 1500 West</Street>
16
+ <City>Island Park</City>
17
+ <Zip>83429</Zip>
18
+ <Default>false</Default>
19
+ <Residential>false</Residential>
20
+ <Type>Main Office</Type>
21
+ <State>
22
+ <ID>15</ID>
23
+ <Name>Idaho</Name>
24
+ <Code>ID</Code>
25
+ <CountryID>2</CountryID>
26
+ </State>
27
+ <Country>
28
+ <ID>2</ID>
29
+ <Name>UNITED STATES</Name>
30
+ <Code>US</Code>
31
+ </Country>
32
+ </Address>
33
+ <Cartons>
34
+ <Carton>
35
+ <ID>34</ID>
36
+ <ShipID>33</ShipID>
37
+ <CartonNum>1</CartonNum>
38
+ <TrackingNum>514917460800010</TrackingNum>
39
+ <FreightWeight>18</FreightWeight>
40
+ <FreightAmount>11.3</FreightAmount>
41
+ <ShippingItems>
42
+ <ShippingItem>
43
+ <ShipItemID>89</ShipItemID>
44
+ <ProductNumber>SP001</ProductNumber>
45
+ <ProductDescription>Replacement Spokes</ProductDescription>
46
+ <QtyShipped>100</QtyShipped>
47
+ <UOM>
48
+ <UOMID>1</UOMID>
49
+ <Name>Each</Name>
50
+ <Code>ea</Code>
51
+ <Integral>true</Integral>
52
+ <Active>true</Active>
53
+ <Type>Count</Type>
54
+ <UOMConversions>
55
+ <UOMConversion>
56
+ <MainUOMID>1</MainUOMID>
57
+ <ToUOMID>17</ToUOMID>
58
+ <ToUOMCode>pr</ToUOMCode>
59
+ <ConversionMultiply>1.0</ConversionMultiply>
60
+ <ConversionFactor>2.0</ConversionFactor>
61
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
62
+ </UOMConversion>
63
+ <UOMConversion>
64
+ <MainUOMID>1</MainUOMID>
65
+ <ToUOMID>18</ToUOMID>
66
+ <ToUOMCode>pk</ToUOMCode>
67
+ <ConversionMultiply>1.0</ConversionMultiply>
68
+ <ConversionFactor>20.0</ConversionFactor>
69
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
70
+ </UOMConversion>
71
+ </UOMConversions>
72
+ </UOM>
73
+ <Cost>0</Cost>
74
+ <SKU/>
75
+ <UPC/>
76
+ <OrderItemID>116</OrderItemID>
77
+ <OrderLineItem>1</OrderLineItem>
78
+ <CartonName>1</CartonName>
79
+ <CartonID>34</CartonID>
80
+ <Weight>0</Weight>
81
+ <WeightUOM>
82
+ <UOM>
83
+ <UOMID>3</UOMID>
84
+ <Name>Pound</Name>
85
+ <Code>lbs</Code>
86
+ <Integral>false</Integral>
87
+ <Active>true</Active>
88
+ <Type>Weight</Type>
89
+ <UOMConversions>
90
+ <UOMConversion>
91
+ <MainUOMID>3</MainUOMID>
92
+ <ToUOMID>8</ToUOMID>
93
+ <ToUOMCode>kg</ToUOMCode>
94
+ <ConversionMultiply>1.0</ConversionMultiply>
95
+ <ConversionFactor>2.2046000957489014</ConversionFactor>
96
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
97
+ </UOMConversion>
98
+ </UOMConversions>
99
+ </UOM>
100
+ </WeightUOM>
101
+ <DisplayWeight>0</DisplayWeight>
102
+ <DisplayWeightUOM>
103
+ <UOM>
104
+ <UOMID>3</UOMID>
105
+ <Name>Pound</Name>
106
+ <Code>lbs</Code>
107
+ <Integral>false</Integral>
108
+ <Active>true</Active>
109
+ <Type>Weight</Type>
110
+ <UOMConversions>
111
+ <UOMConversion>
112
+ <MainUOMID>3</MainUOMID>
113
+ <ToUOMID>8</ToUOMID>
114
+ <ToUOMCode>kg</ToUOMCode>
115
+ <ConversionMultiply>1.0</ConversionMultiply>
116
+ <ConversionFactor>2.2046000957489014</ConversionFactor>
117
+ <ToUOMIsIntegral>false</ToUOMIsIntegral>
118
+ </UOMConversion>
119
+ </UOMConversions>
120
+ </UOM>
121
+ </DisplayWeightUOM>
122
+ <Tracking/>
123
+ </ShippingItem>
124
+ </ShippingItems>
125
+ </Carton>
126
+ </Cartons>
127
+ </Shipping>
@@ -0,0 +1,28 @@
1
+ <Tag>
2
+ <TagID>376</TagID>
3
+ <Num>363</Num>
4
+ <PartNum/>
5
+ <Location>
6
+ <LocationID>2</LocationID>
7
+ <TypeID>20</TypeID>
8
+ <Name>Shipping</Name>
9
+ <Description>The place where items are packaged and shipped.</Description>
10
+ <CountedAsAvailable>true</CountedAsAvailable>
11
+ <Default>true</Default>
12
+ <Active>true</Active>
13
+ <Pickable>true</Pickable>
14
+ <Receivable>true</Receivable>
15
+ <LocationGroupID>1</LocationGroupID>
16
+ <LocationGroupName>SLC</LocationGroupName>
17
+ <SortOrder>10006</SortOrder>
18
+ <TagID>376</TagID>
19
+ <TagNumber>363</TagNumber>
20
+ </Location>
21
+ <Quantity>0</Quantity>
22
+ <QuantityCommitted>0</QuantityCommitted>
23
+ <WONum>N/A</WONum>
24
+ <DateCreated>2006-08-31T08:16:10</DateCreated>
25
+ <Tracking/>
26
+ <TypeID>10</TypeID>
27
+ <AccountID>1</AccountID>
28
+ </Tag>
@@ -0,0 +1,10 @@
1
+ <TaxRate>
2
+ <ID>2</ID>
3
+ <Name>Tax</Name>
4
+ <Description></Description>
5
+ <Rate>.05</Rate>
6
+ <TypeID>10</TypeID>
7
+ <VendorID>6</VendorID>
8
+ <DefaultFlag>true</DefaultFlag>
9
+ <ActiveFlag>true</ActiveFlag>
10
+ </TaxRate>
@@ -0,0 +1,14 @@
1
+ <Tracking>
2
+ <TrackingItem>
3
+ <PartTracking>
4
+ <PartTrackingID>3</PartTrackingID>
5
+ <Name>Expiration Date</Name>
6
+ <Abbr>ExpDate</Abbr>
7
+ <Description/>
8
+ <SortOrder>3</SortOrder>
9
+ <TrackingTypeID>30</TrackingTypeID>
10
+ <Active>true</Active>
11
+ </PartTracking>
12
+ <TrackingValue>2006-12-08T00:00:00</TrackingValue>
13
+ </TrackingItem>
14
+ </Tracking>
@@ -0,0 +1,12 @@
1
+ <TrackingItem>
2
+ <PartTracking>
3
+ <PartTrackingID>3</PartTrackingID>
4
+ <Name>Expiration Date</Name>
5
+ <Abbr>ExpDate</Abbr>
6
+ <Description/>
7
+ <SortOrder>3</SortOrder>
8
+ <TrackingTypeID>30</TrackingTypeID>
9
+ <Active>true</Active>
10
+ </PartTracking>
11
+ <TrackingValue>2006-12-08T00:00:00</TrackingValue>
12
+ </TrackingItem>