Browse files

update copyright for .mql ext

  • Loading branch information...
1 parent b37c5c8 commit cc63d03c323795c4a190eb2c8ec54c7cfa258742 @gpazo gpazo committed Jan 2, 2014
Showing with 216 additions and 216 deletions.
  1. +1 −1 dbscripts/metasql/accountNumbers-detail.mql
  2. +1 −1 dbscripts/metasql/addresses-detail.mql
  3. +1 −1 dbscripts/metasql/allocations-detail.mql
  4. +1 −1 dbscripts/metasql/apAging-detail.mql
  5. +1 −1 dbscripts/metasql/apApplications-detail.mql
  6. +1 −1 dbscripts/metasql/apOpenItems-detail.mql
  7. +1 −1 dbscripts/metasql/apOpenItems-selectedpayments.mql
  8. +1 −1 dbscripts/metasql/apOpenItems-selectpayments.mql
  9. +1 −1 dbscripts/metasql/arAging-detail.mql
  10. +1 −1 dbscripts/metasql/arApplications-detail.mql
  11. +1 −1 dbscripts/metasql/arHistory-detail.mql
  12. +1 −1 dbscripts/metasql/arOpenApplications-detail.mql
  13. +1 −1 dbscripts/metasql/arOpenItems-detail.mql
  14. +1 −1 dbscripts/metasql/arOpenItems-f_detail.mql
  15. +1 −1 dbscripts/metasql/backlog-detail.mql
  16. +1 −1 dbscripts/metasql/bankrec-checks.mql
  17. +1 −1 dbscripts/metasql/bankrec-clearedbalance.mql
  18. +1 −1 dbscripts/metasql/bankrec-receipts.mql
  19. +1 −1 dbscripts/metasql/bankrecHistory-reconciled.mql
  20. +1 −1 dbscripts/metasql/bankrecHistory-unreconciled.mql
  21. +1 −1 dbscripts/metasql/billingSelections-detail.mql
  22. +1 −1 dbscripts/metasql/bom-detail.mql
  23. +1 −1 dbscripts/metasql/bomItems-detail.mql
  24. +1 −1 dbscripts/metasql/bookings-detail.mql
  25. +1 −1 dbscripts/metasql/briefEarnedCommission-detail.mql
  26. +1 −1 dbscripts/metasql/briefSalesHistory-detail.mql
  27. +1 −1 dbscripts/metasql/capacityUOMs-detail.mql
  28. +1 −1 dbscripts/metasql/cashReceipts-detail.mql
  29. +1 −1 dbscripts/metasql/ccpayments.mql
  30. +1 −1 dbscripts/metasql/charass-populate.mql
  31. +1 −1 dbscripts/metasql/checkRegister-detail.mql
  32. +1 −1 dbscripts/metasql/checks-detail.mql
  33. +1 −1 dbscripts/metasql/contact-muststayactive.mql
  34. +1 −1 dbscripts/metasql/contact-uses.mql
  35. +1 −1 dbscripts/metasql/contactmerge-contactused.mql
  36. +1 −1 dbscripts/metasql/contactmerge-delete.mql
  37. +1 −1 dbscripts/metasql/contactmerge-deselect.mql
  38. +1 −1 dbscripts/metasql/contactmerge-merge.mql
  39. +1 −1 dbscripts/metasql/contactmerge-merged.mql
  40. +1 −1 dbscripts/metasql/contactmerge-populate.mql
  41. +1 −1 dbscripts/metasql/contactmerge-purge.mql
  42. +1 −1 dbscripts/metasql/contactmerge-restore.mql
  43. +1 −1 dbscripts/metasql/contactmerge-search.mql
  44. +1 −1 dbscripts/metasql/contactmerge-select.mql
  45. +1 −1 dbscripts/metasql/contactmerge-selectcol.mql
  46. +1 −1 dbscripts/metasql/contacts-detail.mql
  47. +1 −1 dbscripts/metasql/contracts-detail.mql
  48. +1 −1 dbscripts/metasql/costedBOM-detail.mql
  49. +1 −1 dbscripts/metasql/costelem_unusedbyitem.mql
  50. +1 −1 dbscripts/metasql/countSlip-detail.mql
  51. +1 −1 dbscripts/metasql/countTag-detail.mql
  52. +1 −1 dbscripts/metasql/countTags-create.mql
  53. +1 −1 dbscripts/metasql/countTags-detail.mql
  54. +1 −1 dbscripts/metasql/creditCards-detail.mql
  55. +1 −1 dbscripts/metasql/creditMemo-editlist.mql
  56. +1 −1 dbscripts/metasql/creditMemoCreditCards-detail.mql
  57. +1 −1 dbscripts/metasql/crm_strictcountrycheck.mql
  58. +1 −1 dbscripts/metasql/crmaccountmerge-pickdatasources.mql
  59. +1 −1 dbscripts/metasql/crmaccountmerge-wip.mql
  60. +1 −1 dbscripts/metasql/crmaccounts-detail.mql
  61. +1 −1 dbscripts/metasql/currencyConversions-detail.mql
  62. +1 −1 dbscripts/metasql/customers-detail.mql
  63. +1 −1 dbscripts/metasql/customers-statement.mql
  64. +1 −1 dbscripts/metasql/depositesRegister-detail.mql
  65. +1 −1 dbscripts/metasql/detailedInventoryHistory-detail.mql
  66. +1 −1 dbscripts/metasql/distributeInventory-locations.mql
  67. +1 −1 dbscripts/metasql/employees-detail.mql
  68. +1 −1 dbscripts/metasql/events-detail.mql
  69. +1 −1 dbscripts/metasql/expiredInventory-detail.mql
  70. +1 −1 dbscripts/metasql/freightPrices-detail.mql
  71. +1 −1 dbscripts/metasql/frozenItemSites-detail.mql
  72. +1 −1 dbscripts/metasql/glseries-checkeditable.mql
  73. +1 −1 dbscripts/metasql/glseries-detail.mql
  74. +1 −1 dbscripts/metasql/glseries-postjournal.mql
  75. +1 −1 dbscripts/metasql/gltransactions-detail.mql
  76. +1 −1 dbscripts/metasql/incidents-detail.mql
  77. +1 −1 dbscripts/metasql/invalidBillsofMaterials-detail.mql
  78. +1 −1 dbscripts/metasql/inventoryAvailability-byCustOrSO.mql
  79. +1 −1 dbscripts/metasql/inventoryAvailability-general.mql
  80. +1 −1 dbscripts/metasql/inventoryAvailabilitybyWorkorder-detail.mql
  81. +1 −1 dbscripts/metasql/inventoryHistory-detail.mql
  82. +1 −1 dbscripts/metasql/inventoryLocator-detail.mql
  83. +1 −1 dbscripts/metasql/invoiceInformation-detail.mql
  84. +1 −1 dbscripts/metasql/invoiceRegister-detail.mql
  85. +1 −1 dbscripts/metasql/invoices-detail.mql
  86. +1 −1 dbscripts/metasql/invoices-print.mql
  87. +1 −1 dbscripts/metasql/issueToShipping-detail.mql
  88. +1 −1 dbscripts/metasql/itemCost-detail.mql
  89. +1 −1 dbscripts/metasql/itemCost-list.mql
  90. +1 −1 dbscripts/metasql/itemPricingSchedule-detail.mql
  91. +1 −1 dbscripts/metasql/itemReceipt-populateEdit.mql
  92. +1 −1 dbscripts/metasql/itemReceipt-populateNew.mql
  93. +1 −1 dbscripts/metasql/itemReceipt-sourceItemSite.mql
  94. +1 −1 dbscripts/metasql/itemSites-detail.mql
  95. +1 −1 dbscripts/metasql/itemSources-detail.mql
  96. +1 −1 dbscripts/metasql/itemSources-prices.mql
  97. +1 −1 dbscripts/metasql/itemSources-search.mql
  98. +1 −1 dbscripts/metasql/itemcostdetail_detail.mql
  99. +1 −1 dbscripts/metasql/items-detail.mql
  100. +1 −1 dbscripts/metasql/itemsWithoutItemSources-detail.mql
  101. +1 −1 dbscripts/metasql/journals-detail.mql
  102. +1 −1 dbscripts/metasql/manufacture-jobcosting.mql
  103. +1 −1 dbscripts/metasql/metasqls-detail.mql
  104. +1 −1 dbscripts/metasql/mrpDetail-detail.mql
  105. +1 −1 dbscripts/metasql/mrpDetail-item.mql
  106. +1 −1 dbscripts/metasql/openVouchers-populate.mql
  107. +1 −1 dbscripts/metasql/openpurchaseorders-detail.mql
  108. +1 −1 dbscripts/metasql/opensalesorders-detail.mql
  109. +1 −1 dbscripts/metasql/opportunities-detail.mql
  110. +1 −1 dbscripts/metasql/opportunitiesByCRM-detail.mql
  111. +1 −1 dbscripts/metasql/orders-detail.mql
  112. +1 −1 dbscripts/metasql/package-items.mql
  113. +1 −1 dbscripts/metasql/packingList-getreport.mql
  114. +1 −1 dbscripts/metasql/packingList-shipment.mql
  115. +1 −1 dbscripts/metasql/packingListBatch-detail.mql
  116. +1 −1 dbscripts/metasql/packingListBatch-print.mql
  117. +1 −1 dbscripts/metasql/packingListBatchByShipVia-print.mql
  118. +1 −1 dbscripts/metasql/packingListBatchByShipVia-shipVia.mql
  119. +1 −1 dbscripts/metasql/partiallyShippedOrders-detail.mql
  120. +1 −1 dbscripts/metasql/pendingAvailability-detail.mql
  121. +1 −1 dbscripts/metasql/pendingBOMChanges-detail.mql
  122. +1 −1 dbscripts/metasql/poDeliveryDateVariances-detail.mql
  123. +1 −1 dbscripts/metasql/poHistory-detail.mql
  124. +1 −1 dbscripts/metasql/poItems-detail.mql
  125. +1 −1 dbscripts/metasql/poItems-list.mql
  126. +1 −1 dbscripts/metasql/poPriceVariances-detail.mql
  127. +1 −1 dbscripts/metasql/poReturns-detail.mql
  128. +1 −1 dbscripts/metasql/postCountTags-post.mql
  129. +1 −1 dbscripts/metasql/postJournals-detail.mql
  130. +1 −1 dbscripts/metasql/postJournals-post.mql
  131. +1 −1 dbscripts/metasql/pricelist-detail.mql
  132. +1 −1 dbscripts/metasql/prices-detail.mql
  133. +1 −1 dbscripts/metasql/pricingFreight-detail.mql
  134. +1 −1 dbscripts/metasql/projects-detail_nohierarchy.mql
  135. +1 −1 dbscripts/metasql/prospects-detail.mql
  136. +1 −1 dbscripts/metasql/purchase-purchaserequests.mql
  137. +1 −1 dbscripts/metasql/purchaseOrderItems-detail.mql
  138. +1 −1 dbscripts/metasql/purchaseOrders-detail.mql
  139. +1 −1 dbscripts/metasql/qoh-detail.mql
  140. +1 −1 dbscripts/metasql/quoteItems-detail.mql
  141. +1 −1 dbscripts/metasql/quoteItems-list.mql
  142. +1 −1 dbscripts/metasql/quotes-detail.mql
  143. +1 −1 dbscripts/metasql/receipt-detail.mql
  144. +1 −1 dbscripts/metasql/receipt-receiveAll.mql
  145. +1 −1 dbscripts/metasql/receivings-detail.mql
  146. +1 −1 dbscripts/metasql/reorderExceptionsByPlannerCode-detail.mql
  147. +1 −1 dbscripts/metasql/reports-detail.mql
  148. +1 −1 dbscripts/metasql/reservations-detail.mql
  149. +1 −1 dbscripts/metasql/returnAuthorizations-detail.mql
  150. +1 −1 dbscripts/metasql/runningAvailability-detail.mql
  151. +1 −1 dbscripts/metasql/salesAccounts-detail.mql
  152. +1 −1 dbscripts/metasql/salesHistory-detail.mql
  153. +1 −1 dbscripts/metasql/salesOrderItems-detail.mql
  154. +1 −1 dbscripts/metasql/salesOrderItems-list.mql
  155. +1 −1 dbscripts/metasql/salesOrderStatus-detail.mql
  156. +1 −1 dbscripts/metasql/salesOrders-detail.mql
  157. +1 −1 dbscripts/metasql/saletype-table.mql
  158. +1 −1 dbscripts/metasql/schedule-plannedorders.mql
  159. +1 −1 dbscripts/metasql/scripts-detail.mql
  160. +1 −1 dbscripts/metasql/selectPayments-applyallcredits.mql
  161. +1 −1 dbscripts/metasql/shipments-detail.mql
  162. +1 −1 dbscripts/metasql/shippingForm-shipment.mql
  163. +1 −1 dbscripts/metasql/slowMovingInventoryByClassCode-detail.mql
  164. +1 −1 dbscripts/metasql/standardJournalHistory-detail.mql
  165. +1 −1 dbscripts/metasql/substituteAvailability-detail.mql
  166. +1 −1 dbscripts/metasql/summarizedBacklogByWarehouse-counts.mql
  167. +1 −1 dbscripts/metasql/summarizedBacklogByWarehouse-detail.mql
  168. +1 −1 dbscripts/metasql/summarizedBacklogByWarehouse-qtys.mql
  169. +1 −1 dbscripts/metasql/summarizedBacklogByWarehouse-totals.mql
  170. +1 −1 dbscripts/metasql/summarizedBankrecHistory-detail.mql
  171. +1 −1 dbscripts/metasql/summarizedGLTransactions-detail.mql
  172. +1 −1 dbscripts/metasql/summarizedSalesHistory-detail.mql
  173. +1 −1 dbscripts/metasql/taxAuthorities-detail.mql
  174. +1 −1 dbscripts/metasql/taxBreakdown-detail.mql
  175. +1 −1 dbscripts/metasql/taxHistory-detail.mql
  176. +1 −1 dbscripts/metasql/timePhasedAvailability-detail.mql
  177. +1 −1 dbscripts/metasql/timePhasedBookings-detail.mql
  178. +1 −1 dbscripts/metasql/timePhasedSales-detail.mql
  179. +1 −1 dbscripts/metasql/timePhasedUsageStatisticsByItem-detail.mql
  180. +1 −1 dbscripts/metasql/todolist-detail.mql
  181. +1 −1 dbscripts/metasql/trialBalances-detail.mql
  182. +1 −1 dbscripts/metasql/uiforms-detail.mql
  183. +1 −1 dbscripts/metasql/unbalancedQOHByClassCode-detail.mql
  184. +1 −1 dbscripts/metasql/undefinedManufacturedItems-detail.mql
  185. +1 −1 dbscripts/metasql/uninvoicedReceivings-detail.mql
  186. +1 −1 dbscripts/metasql/uninvoicedShipments-detail.mql
  187. +1 −1 dbscripts/metasql/unpostedCashReceipts-detail.mql
  188. +1 −1 dbscripts/metasql/unpostedReceipts-detail.mql
  189. +1 −1 dbscripts/metasql/unusedPurchasedItems-detail.mql
  190. +1 −1 dbscripts/metasql/uoms-item.mql
  191. +1 −1 dbscripts/metasql/updateListPrices-update.mql
  192. +1 −1 dbscripts/metasql/updatePrices-add.mql
  193. +1 −1 dbscripts/metasql/updatePrices-availsched.mql
  194. +1 −1 dbscripts/metasql/updatePrices-createselsched.mql
  195. +1 −1 dbscripts/metasql/updatePrices-dropselsched.mql
  196. +1 −1 dbscripts/metasql/updatePrices-remove.mql
  197. +1 −1 dbscripts/metasql/updatePrices-selsched.mql
  198. +1 −1 dbscripts/metasql/updatePrices-update.mql
  199. +1 −1 dbscripts/metasql/updatePrices-updatechar.mql
  200. +1 −1 dbscripts/metasql/updateReorderLevels-post.mql
  201. +1 −1 dbscripts/metasql/updateReorderLevels-query.mql
  202. +1 −1 dbscripts/metasql/updateReorderLevels-update.mql
  203. +1 −1 dbscripts/metasql/usageStatistics-detail.mql
  204. +1 −1 dbscripts/metasql/validLocationsByItem-detail.mql
  205. +1 −1 dbscripts/metasql/vendorAPHistory-detail.mql
  206. +1 −1 dbscripts/metasql/vendors-detail.mql
  207. +1 −1 dbscripts/metasql/voucher-editlist.mql
  208. +1 −1 dbscripts/metasql/voucherItem-distributions.mql
  209. +1 −1 dbscripts/metasql/voucherItem-receipts.mql
  210. +1 −1 dbscripts/metasql/voucherRegister-detail.mql
  211. +1 −1 dbscripts/metasql/whereUsed-detail.mql
  212. +1 −1 dbscripts/metasql/workOrderHistory-detail.mql
  213. +1 −1 dbscripts/metasql/workOrderMaterial-detail.mql
  214. +1 −1 dbscripts/metasql/workOrderSchedule-detail.mql
  215. +1 −1 dbscripts/metasql/workOrderSchedule-parameterlist.mql
  216. +1 −1 dbscripts/metasql/workOrderVariance-material.mql
View
2 dbscripts/metasql/accountNumbers-detail.mql
@@ -1,7 +1,7 @@
-- Group: accountNumbers
-- Name: detail
-- Notes: used by accountNumbers
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT accnt_id, *,
View
2 dbscripts/metasql/addresses-detail.mql
@@ -1,7 +1,7 @@
-- Group: addresses
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT ON (addr_country, addr_state, addr_city, addr_line1, addr_number)
View
2 dbscripts/metasql/allocations-detail.mql
@@ -1,7 +1,7 @@
-- Group: allocations
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT source_id, type, order_number, item_number, totalqty, relievedqty, balanceqty, duedate,
View
2 dbscripts/metasql/apAging-detail.mql
@@ -1,7 +1,7 @@
-- Group: apAging
-- Name: detail
-- Notes: used by dspTimePhasedOpenAPItems
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT apaging_vend_id, apaging_vend_number, apaging_vend_name,
View
2 dbscripts/metasql/apApplications-detail.mql
@@ -1,7 +1,7 @@
-- Group: apApplications
-- Name: detail
-- Notes: used by dspAPApplications
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT apapply.*,
View
2 dbscripts/metasql/apOpenItems-detail.mql
@@ -1,7 +1,7 @@
-- Group: apOpenItems
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT apopen_id, apopen_ponumber, apopen_docnumber,
View
2 dbscripts/metasql/apOpenItems-selectedpayments.mql
@@ -1,7 +1,7 @@
-- Group: apOpenItems
-- Name: selectedpayments
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *,
View
2 dbscripts/metasql/apOpenItems-selectpayments.mql
@@ -1,7 +1,7 @@
-- Group: apOpenItems
-- Name: selectpayments
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *,
View
2 dbscripts/metasql/arAging-detail.mql
@@ -1,7 +1,7 @@
-- Group: arAging
-- Name: detail
-- Notes: used by dspTimePhasedOpenARItems
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT araging_cust_id, araging_cust_number, araging_cust_name,
View
2 dbscripts/metasql/arApplications-detail.mql
@@ -1,7 +1,7 @@
-- Group: arApplications
-- Name: detail
-- Notes: used by dspARApplications
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT arapply.*,
View
2 dbscripts/metasql/arHistory-detail.mql
@@ -1,7 +1,7 @@
-- Group: arHistory
-- Name: detail
-- Notes: used by dspCustomerARHistory, dspCustomerInformation
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT aropen_id, applyid,
View
2 dbscripts/metasql/arOpenApplications-detail.mql
@@ -1,7 +1,7 @@
-- Group: arOpenApplications
-- Name: detail
-- Notes: used by applyARCreditMemo, cashReceipt
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *,
View
2 dbscripts/metasql/arOpenItems-detail.mql
@@ -1,7 +1,7 @@
-- Group: arOpenItems
-- Name: detail
-- Notes: used by arWorkBench, dspAROpenItems
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("totalOnly") ?>
View
2 dbscripts/metasql/arOpenItems-f_detail.mql
@@ -5,7 +5,7 @@
-- display class. Used to be printed version got an extra parameter. Formatted
-- values slow things down considerably on screen version otherwise. This
-- should go away if/when we get OpenRPT to do its own formatting.
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("totalOnly") ?>
View
2 dbscripts/metasql/backlog-detail.mql
@@ -2,7 +2,7 @@
-- Name: detail
-- Notes:
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT
View
2 dbscripts/metasql/bankrec-checks.mql
@@ -1,7 +1,7 @@
-- Group: bankrec
-- Name: checks
-- Notes: used by reconcileBankaccount
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("summary") ?>
View
2 dbscripts/metasql/bankrec-clearedbalance.mql
@@ -1,7 +1,7 @@
-- Group: bankrec
-- Name: clearedbalance
-- Notes: used by reconcileBankaccount
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT (COALESCE(SUM(amount),0.0) + <? value("begBal") ?>) AS cleared_amount,
View
2 dbscripts/metasql/bankrec-receipts.mql
@@ -1,7 +1,7 @@
-- Group: bankrec
-- Name: receipts
-- Notes: used by reconcileBankaccount
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("summary") ?>
View
2 dbscripts/metasql/bankrecHistory-reconciled.mql
@@ -1,7 +1,7 @@
-- Group: bankrecHistory
-- Name: reconciled
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("treeView") ?>
View
2 dbscripts/metasql/bankrecHistory-unreconciled.mql
@@ -1,7 +1,7 @@
-- Group: bankrecHistory
-- Name: unreconciled
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT gltrans_id, gltrans_date, formatDate(gltrans_date) AS f_date,
View
2 dbscripts/metasql/billingSelections-detail.mql
@@ -1,7 +1,7 @@
-- Group: billingSelections
-- Name: detail
-- Notes: used by dspBillingSelections
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cobmisc_id, cohead_id,
View
2 dbscripts/metasql/bom-detail.mql
@@ -1,7 +1,7 @@
-- Group: bom
-- Name: detail
-- Notes: used by dspIndentedBOM, dspSingleLevelBOM, dspSummarizedBOM
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT <? if exists("bySingleLvl") ?>
View
2 dbscripts/metasql/bomItems-detail.mql
@@ -1,7 +1,7 @@
-- Group: bomItems
-- Name: detail
-- Notes: used by bom, booItem
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT bomitem_id, item_id, *,
View
2 dbscripts/metasql/bookings-detail.mql
@@ -1,7 +1,7 @@
-- Group: bookings
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT coitem_id AS id, coitem_cohead_id AS altId,
View
2 dbscripts/metasql/briefEarnedCommission-detail.mql
@@ -1,7 +1,7 @@
-- Group: briefEarnedCommission
-- Name: detail
-- Notes: used by dspBriefEarnedCommissions
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cohist_salesrep_id, salesrep_number, salesrep_name, cust_number, cust_name,
View
2 dbscripts/metasql/briefSalesHistory-detail.mql
@@ -1,7 +1,7 @@
-- Group: briefSalesHistory
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT
View
2 dbscripts/metasql/capacityUOMs-detail.mql
@@ -1,7 +1,7 @@
-- Group: capacityUOMs
-- Name: detail
-- Notes: used by dspCapacityUOMsByClassCode, dspCapacityUOMsByProductCategory
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT item_id, item_number,
View
2 dbscripts/metasql/cashReceipts-detail.mql
@@ -4,7 +4,7 @@
-- There are 2 display modes for this query:
-- 1) Legacy mode which uses A/R Application information
-- 2) Version 3.3.0 upgrade mode which uses Cash Receipt information
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("LegacyDisplayMode") ?>
View
2 dbscripts/metasql/ccpayments.mql
@@ -1,7 +1,7 @@
-- Group: ccpayments
-- Name: list
-- Notes: list credit card payments, optionally by customer
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT ccpay_id AS id,
View
2 dbscripts/metasql/charass-populate.mql
@@ -1,7 +1,7 @@
-- Group: charass
-- Name: populate
-- Notes: Populate characteristic assignments combobox
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("name") ?>
View
2 dbscripts/metasql/checkRegister-detail.mql
@@ -5,7 +5,7 @@
-- check number(optional), and recipient(optional), optionally restricted
-- to 'new' (un-posted/replaced/deleted) checks for viewing check runs.
-- fills in the check item detail if showDetail is passed.
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT checkhead_id AS checkid,
View
2 dbscripts/metasql/checks-detail.mql
@@ -1,7 +1,7 @@
-- Group: checks
-- Name: detail
-- Notes: used by printChecks
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT checkhead.*, form_report_name AS report_name
View
2 dbscripts/metasql/contact-muststayactive.mql
@@ -3,7 +3,7 @@
-- Notes: This query determines whether a given contact should be kept
-- active because other active records depend on it.
-- Todo - should this be moved to the cntctAfterTrigger?
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT EXISTS(
View
2 dbscripts/metasql/contact-uses.mql
@@ -1,7 +1,7 @@
-- Group: contact
-- Name: uses
-- Notes: Find and report uses of the contact
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if not exists('core') ?>
View
2 dbscripts/metasql/contactmerge-contactused.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: contactused
-- Notes: Checks to see if this contact is used anywhere
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cntctused(<? value("cntct_id") ?>) AS used;
View
2 dbscripts/metasql/contactmerge-delete.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: delete
-- Notes: Delete a contact
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
DELETE FROM cntct WHERE (cntct_id=<? value("cntct_id") ?>);
View
2 dbscripts/metasql/contactmerge-deselect.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: deselect
-- Notes: Removes contact selection
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
DELETE FROM cntctsel
View
2 dbscripts/metasql/contactmerge-merge.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: merge
-- Notes: Merge contact selections
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cntctmerge(
View
2 dbscripts/metasql/contactmerge-merged.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: merged
-- Notes: Lists all merged contacts
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cntct_id,
View
2 dbscripts/metasql/contactmerge-populate.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: populate
-- Notes: Queries selected contact info
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cntct.*,
View
2 dbscripts/metasql/contactmerge-purge.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: purge
-- Notes: Purge contact(s) that was/were previously merged
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
DELETE FROM cntct WHERE cntct_id IN
View
2 dbscripts/metasql/contactmerge-restore.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: restore
-- Notes: Restore a contact that was previously merged
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cntctrestore(cntctmrgd_cntct_id) AS result
View
2 dbscripts/metasql/contactmerge-search.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: search
-- Notes: Search for contacts
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cntct_id,
View
2 dbscripts/metasql/contactmerge-select.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: select
-- Notes: Processes contact selections
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cntctselect(
View
2 dbscripts/metasql/contactmerge-selectcol.mql
@@ -1,7 +1,7 @@
-- Group: contactmerge
-- Name: selectcol
-- Notes: Selects a specific column
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cntctselectcol(<? value("cntct_id") ?>, <? value("col_number") ?>);
View
2 dbscripts/metasql/contacts-detail.mql
@@ -1,7 +1,7 @@
-- Group: contacts
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT ON (length(cntct_last_name)=0, length(cntct_first_name)=0, cntct_last_name, cntct_first_name, cntct_number)
View
2 dbscripts/metasql/contracts-detail.mql
@@ -1,7 +1,7 @@
-- Group: contracts
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT contrct_id,
View
2 dbscripts/metasql/costedBOM-detail.mql
@@ -1,7 +1,7 @@
-- Group: costedBOM
-- Name: detail
-- Notes: used by dspCostedIndentedBOM, dspCostedSingleLevelBOM, dspCostedSummarizedBOM
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT
View
2 dbscripts/metasql/costelem_unusedbyitem.mql
@@ -2,7 +2,7 @@
-- Name: unusedbyitem
-- Notes: list the cost elements that can be applied to an item that have
-- not already been applied to that item. takes an item_id and type.
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("item_id") ?>
View
2 dbscripts/metasql/countSlip-detail.mql
@@ -1,7 +1,7 @@
-- Group: countSlip
-- Name: detail
-- Notes: used by dspCountSlipEditList, dspCountSlipsByWarehouse
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cntslip_id,
View
2 dbscripts/metasql/countTag-detail.mql
@@ -1,7 +1,7 @@
-- Group: countTag
-- Name: detail
-- Notes: used by dspCountTagEditList
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *,
View
2 dbscripts/metasql/countTags-create.mql
@@ -1,7 +1,7 @@
-- Group: countTags
-- Name: create
-- Notes: used by createCountTagsByParameterList
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT createCountTag(itemsite_id, <? value("comments") ?>, <? value("priority") ?>, <? value("freeze") ?>, <? value("location_id") ?>)
View
2 dbscripts/metasql/countTags-detail.mql
@@ -1,7 +1,7 @@
-- Group: countTags
-- Name: detail
-- Notes: used by dspCountTagsByClassCode, dspCountTagsByItem, dspCountTagsByWarehouse
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT invcnt_id, invcnt_tagnumber, warehous_code,
View
2 dbscripts/metasql/creditCards-detail.mql
@@ -1,7 +1,7 @@
-- Group: creditCards
-- Name: detail
-- Notes: used by cashReceipt, customer, salesOrder
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT ccard_id, ccard_seq,
View
2 dbscripts/metasql/creditMemo-editlist.mql
@@ -1,7 +1,7 @@
-- Group: creditMemo
-- Name: editlist
-- Notes: used by creditMemoEditList
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *,
View
2 dbscripts/metasql/creditMemoCreditCards-detail.mql
@@ -1,7 +1,7 @@
-- Group: creditMemoCreditCards
-- Name: detail
-- Notes: used by arWorkBench, returnAuthorization, returnAuthorizationWorkbench
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cmhead_number, cmhead_freight, cmhead_curr_id,
View
2 dbscripts/metasql/crm_strictcountrycheck.mql
@@ -3,7 +3,7 @@
-- Notes: select details about countries used throughout the database
-- that do not match country.country_name
--
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("count") ?>
View
2 dbscripts/metasql/crmaccountmerge-pickdatasources.mql
@@ -2,7 +2,7 @@
-- Name: pickdatasources
-- Notes: Show the records the user has selected to merge crm accounts. Emphasize
-- the particular fields in each record that s/he has selected.
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT c.crmacct_id,
View
2 dbscripts/metasql/crmaccountmerge-wip.mql
@@ -4,7 +4,7 @@
-- data to purge. this includes those that have been started
-- but not completed as well as those that have been completed
-- but neither purged nor undone.
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT
View
2 dbscripts/metasql/crmaccounts-detail.mql
@@ -1,7 +1,7 @@
-- Group: crmaccounts
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT ON (crmacct_number)
View
2 dbscripts/metasql/currencyConversions-detail.mql
@@ -3,7 +3,7 @@
-- Notes: used by currencyConversions
-- the N in round(curr_rate, N) has to be SCALE - 1 of curr_rates
-- NUMERIC(p, SCALE) type definition
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT curr_rate_id, currConcat(curr_id) AS f_curr,
View
2 dbscripts/metasql/customers-detail.mql
@@ -1,7 +1,7 @@
-- Group: customers
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT ON ( cust_number )
View
2 dbscripts/metasql/customers-statement.mql
@@ -27,7 +27,7 @@
-- CASE WHEN (aropen_doctype IN ('C', 'R')) THEN -1
-- ELSE 1 END) > 0)
--ORDER BY cust_number;
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT araging_cust_id AS cust_id,
View
2 dbscripts/metasql/depositesRegister-detail.mql
@@ -1,7 +1,7 @@
-- Group: depositesRegister
-- Name: detail
-- Notes: used by dspDepositsRegister
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT trans_id, trans_date, trans_source,
View
2 dbscripts/metasql/detailedInventoryHistory-detail.mql
@@ -1,7 +1,7 @@
-- Group: detailedInventoryHistory
-- Name: detail
-- Notes: used by dspDetailedInventoryHistoryByLocation, dspDetailedInventoryHistoryByLotSerial
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT
View
2 dbscripts/metasql/distributeInventory-locations.mql
@@ -1,7 +1,7 @@
-- Group: distributeInventory
-- Name: locations
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT id, type, locationname, defaultlocation,
View
2 dbscripts/metasql/employees-detail.mql
@@ -1,7 +1,7 @@
-- Group: employees
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT emp_id, warehous_code, emp_active, emp_code, emp_number,
View
2 dbscripts/metasql/events-detail.mql
@@ -1,7 +1,7 @@
-- Group: events
-- Name: detail
-- Notes: used by eventManager
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT evntlog_id, evntlog_ord_id, evntlog_newdate,
View
2 dbscripts/metasql/expiredInventory-detail.mql
@@ -1,7 +1,7 @@
-- Group: expiredInventory
-- Name: detail
-- Notes: used by dspExpiredInventoryByClassCode
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT itemsite_id, itemloc_id, warehous_code, item_number, uom_name,
View
2 dbscripts/metasql/freightPrices-detail.mql
@@ -1,7 +1,7 @@
-- Group: freightPrices
-- Name: detail
-- Notes: used by dspFreightPricesByCustomer, dspFreightPricesByCustomerType
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT itemid, sourcetype, ipshead_name, source, ipsfreight_qtybreak, ipsfreight_price,
View
2 dbscripts/metasql/frozenItemSites-detail.mql
@@ -1,7 +1,7 @@
-- Group: frozenItemSites
-- Name: detail
-- Notes: used by dspFrozenItemSites
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT itemsite_id, warehous_code, item_number,
View
2 dbscripts/metasql/glseries-checkeditable.mql
@@ -1,7 +1,7 @@
-- Group: glseries
-- Name: checkeditable
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT gltrans_id
View
2 dbscripts/metasql/glseries-detail.mql
@@ -1,7 +1,7 @@
-- Group: glseries
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *,
View
2 dbscripts/metasql/glseries-postjournal.mql
@@ -1,7 +1,7 @@
-- Group: glseries
-- Name: postjournal
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT postJournals(<? value("sequence") ?>) AS result;
View
2 dbscripts/metasql/gltransactions-detail.mql
@@ -1,7 +1,7 @@
-- Group: gltransactions
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT gltrans_id, gltrans_accnt_id,gltrans_date,gltrans_created,gltrans_source,
View
2 dbscripts/metasql/incidents-detail.mql
@@ -1,7 +1,7 @@
-- Group: incidents
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT ON (incdt_number) incdt_id AS id,
View
2 dbscripts/metasql/invalidBillsofMaterials-detail.mql
@@ -1,7 +1,7 @@
-- Group: invalidBillsofMaterials
-- Name: detail
-- Notes: used by dspInvalidBillsOfMaterials
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT itemsite_id, parent.item_id AS pitem_id,
View
2 dbscripts/metasql/inventoryAvailability-byCustOrSO.mql
@@ -2,7 +2,7 @@
-- Name: byCustOrSO
-- Notes: query to get item availability by either customer id/type/pattern
-- or by cohead_id
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT id, altid, cohead_id,
View
2 dbscripts/metasql/inventoryAvailability-general.mql
@@ -1,7 +1,7 @@
-- Group: inventoryAvailability
-- Name: general
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT itemsite_id, altId,
View
2 dbscripts/metasql/inventoryAvailabilitybyWorkorder-detail.mql
@@ -1,7 +1,7 @@
-- Group: inventoryAvailabilitybyWorkorder
-- Name: detail
-- Notes: used by dspInventoryAvailabilityByWorkOrder
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *, 'qty' AS woinvav_qoh_xtnumericrole,
View
2 dbscripts/metasql/inventoryHistory-detail.mql
@@ -1,7 +1,7 @@
-- Group: inventoryHistory
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT invhist_id, invdetail_id, invhist_transdate AS sortdate,
View
2 dbscripts/metasql/inventoryLocator-detail.mql
@@ -1,7 +1,7 @@
-- Group: inventoryLocator
-- Name: detail
-- Notes: used by dspInventoryLocator
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- Lot/Serial Characteristics additions by Specter Vision Solutions, Inc.
-- See www.xtuple.com/CPAL for the full text of the software license.
View
2 dbscripts/metasql/invoiceInformation-detail.mql
@@ -1,7 +1,7 @@
-- Group: invoiceInformation
-- Name: detail
-- Notes: used by dspInvoiceInformation
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT arapply_id,
View
2 dbscripts/metasql/invoiceRegister-detail.mql
@@ -1,7 +1,7 @@
-- Group: invoiceRegister
-- Name: detail
-- Notes: used by dspInvoiceRegister
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT *
View
2 dbscripts/metasql/invoices-detail.mql
@@ -1,7 +1,7 @@
-- Group: invoices
-- Name: detail
-- Notes: used by reprintInvoices, unpostedInvoices, dspRecurringInvoices
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT invchead_id, cust_id,
View
2 dbscripts/metasql/invoices-print.mql
@@ -1,7 +1,7 @@
-- Group: invoices
-- Name: print
-- Notes: used by printInvoices
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT invchead_id, invchead_id AS docid,
View
2 dbscripts/metasql/issueToShipping-detail.mql
@@ -1,7 +1,7 @@
-- Group: issueToShipping
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *,
View
2 dbscripts/metasql/itemCost-detail.mql
@@ -1,7 +1,7 @@
-- Group: itemCost
-- Name: detail
-- Notes: used by dspItemCostSummary, dspItemCostsByClassCode, dspItemCostHistory
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT
View
2 dbscripts/metasql/itemCost-list.mql
@@ -1,7 +1,7 @@
-- Group: itemCost
-- Name: list
-- Notes: used by maintainItemCosts, bomItem
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
-- The order of checking for item_id first is important.
View
2 dbscripts/metasql/itemPricingSchedule-detail.mql
@@ -1,7 +1,7 @@
-- Group: itemPricingSchedule
-- Name: detail
-- Notes: used by itemPricingSchedule
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
View
2 dbscripts/metasql/itemReceipt-populateEdit.mql
@@ -2,7 +2,7 @@
-- Name: populateEdit
-- Notes: used by enterPoitemReceipt, splitReceipt
------PURCHASE ORDER----------
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT pohead_number AS order_number, poitem_linenumber AS orderitem_linenumber,
View
2 dbscripts/metasql/itemReceipt-populateNew.mql
@@ -2,7 +2,7 @@
-- Name: populateNew
-- Notes: used by enterPoitemReceipt
---------PURCHASE ORDERS-------------
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT pohead_number AS order_number, poitem_linenumber AS orderitem_linenumber,
View
2 dbscripts/metasql/itemReceipt-sourceItemSite.mql
@@ -1,7 +1,7 @@
-- Group: itemReceipt
-- Name: sourceItemSite
-- Notes: used by enterPoitemReceipt
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("poitem_id") ?> -- this should never be called
View
2 dbscripts/metasql/itemSites-detail.mql
@@ -2,7 +2,7 @@
-- Name: detail
-- Notes:
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT itemsite_id,warehous_code,itemsite_qtyonhand, itemsite_active,
View
2 dbscripts/metasql/itemSources-detail.mql
@@ -1,7 +1,7 @@
-- Group: itemSources
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if not exists("defaultOnly") ?>
SELECT itemsrc_id,
View
2 dbscripts/metasql/itemSources-prices.mql
@@ -1,7 +1,7 @@
-- Group: itemSources
-- Name: prices
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT itemsrcp_id, itemsrc_id,
View
2 dbscripts/metasql/itemSources-search.mql
@@ -1,7 +1,7 @@
-- Group: itemSources
-- Name: search
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT itemsrc_id AS id,
View
2 dbscripts/metasql/itemcostdetail_detail.mql
@@ -1,7 +1,7 @@
-- Group: itemcostdetail
-- Name: detail
-- Notes: dspItemCostDetail
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT id, item.item_id, seqnumber, item_number,
View
2 dbscripts/metasql/items-detail.mql
@@ -1,7 +1,7 @@
-- Group: items
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT
View
2 dbscripts/metasql/itemsWithoutItemSources-detail.mql
@@ -1,7 +1,7 @@
-- Group: itemsWithoutItemSources
-- Name: detail
-- Notes: used by dspItemsWithoutItemSources
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT item_id, item_number,
View
2 dbscripts/metasql/journals-detail.mql
@@ -1,7 +1,7 @@
-- Group: journals
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT sltrans.*,
View
2 dbscripts/metasql/manufacture-jobcosting.mql
@@ -1,7 +1,7 @@
-- Group: manufacture
-- Name: jobcosting
-- Notes: used by dspJobCosting
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *, 0 AS cost_xttotalrole,
View
2 dbscripts/metasql/metasqls-detail.mql
@@ -1,7 +1,7 @@
-- Group: metasqls
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists('byPackage') ?>
View
2 dbscripts/metasql/mrpDetail-detail.mql
@@ -1,7 +1,7 @@
-- Group: mrpDetail
-- Name: detail
-- Notes: used by dspMRPDetail
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT formatQty(itemsite_qtyonhand) AS f_qoh,itemsite_qtyonhand
View
2 dbscripts/metasql/mrpDetail-item.mql
@@ -1,7 +1,7 @@
-- Group: mrpDetail
-- Name: item
-- Notes: used by dspMRPDetail
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT itemsite_id, item_type, item_number,
View
2 dbscripts/metasql/openVouchers-populate.mql
@@ -1,7 +1,7 @@
-- Group: openVouchers
-- Name: populate
-- Notes: used by openVouchers
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT vohead_id, COALESCE(pohead_id, -1), vohead_number,
View
2 dbscripts/metasql/openpurchaseorders-detail.mql
@@ -1,7 +1,7 @@
-- Group: openpurchaseorders
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT
View
2 dbscripts/metasql/opensalesorders-detail.mql
@@ -1,7 +1,7 @@
-- Group: opensalesorders
-- Name: detail
-- Notes:
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT
View
2 dbscripts/metasql/opportunities-detail.mql
@@ -1,7 +1,7 @@
-- Group: opportunities
-- Name: detail
-- Notes: used by opportunityList
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT ON (incdtpriority_order, ophead_target_date, ophead_name, ophead_id)
View
2 dbscripts/metasql/opportunitiesByCRM-detail.mql
@@ -1,7 +1,7 @@
-- Group: opportunitiesByCRM
-- Name: detail
-- Notes: used by crmaccount
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT ophead_id, *,
View
2 dbscripts/metasql/orders-detail.mql
@@ -1,7 +1,7 @@
-- Group: orders
-- Name: detail
-- Notes: used by dspOrders
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT source_id, type, order_type, order_status, order_number, duedate,
View
2 dbscripts/metasql/package-items.mql
@@ -4,7 +4,7 @@
-- and tables so we never miss anything and do not have to maintain the
-- data
-- TODO: is there a better sort order?
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT *,
View
2 dbscripts/metasql/packingList-getreport.mql
@@ -1,7 +1,7 @@
-- Group: packingList
-- Name: getreport
-- Notes: get the reportname should be used for a packing list or pick list
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists('sohead_id') ?>
View
2 dbscripts/metasql/packingList-shipment.mql
@@ -1,7 +1,7 @@
-- Group: packingList
-- Name: shipment
-- Notes: used by printPackingList
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT shiphead_order_id, shiphead_order_type, shiphead_shipform_id, cohead_number AS number
View
2 dbscripts/metasql/packingListBatch-detail.mql
@@ -1,7 +1,7 @@
-- Group: packingListBatch
-- Name: detail
-- Notes: used by packingListBatch
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT cohead_id, pack_shiphead_id,
View
2 dbscripts/metasql/packingListBatch-print.mql
@@ -1,7 +1,7 @@
-- Group: packingListBatch
-- Name: print
-- Notes: used by packingListBatch
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT pack_id, pack_head_id, pack_head_type, pack_shiphead_id,
View
2 dbscripts/metasql/packingListBatchByShipVia-print.mql
@@ -1,7 +1,7 @@
-- Group: packingListBatchByShipVia
-- Name: print
-- Notes: used by printPackingListBatchByShipVia
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT DISTINCT pack_head_id, pack_head_type, pack_shiphead_id, getSoStatus(cohead_id) AS orderhead_status,
View
2 dbscripts/metasql/packingListBatchByShipVia-shipVia.mql
@@ -1,7 +1,7 @@
-- Group: packingListBatchByShipVia
-- Name: shipVia
-- Notes: used by printPackingListBatchByShipVia
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
View
2 dbscripts/metasql/partiallyShippedOrders-detail.mql
@@ -1,7 +1,7 @@
-- Group: partiallyShippedOrders
-- Name: detail
-- Notes: used by dspPartiallyShippedOrders
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT CASE WHEN (cohead_holdtype IN ('P', 'C', 'R')) THEN -1
View
2 dbscripts/metasql/pendingAvailability-detail.mql
@@ -1,7 +1,7 @@
-- Group: pendingAvailability
-- Name: detail
-- Notes: used by dspPendingAvailability
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
<? if exists("showIndented") ?>
View
2 dbscripts/metasql/pendingBOMChanges-detail.mql
@@ -1,7 +1,7 @@
-- Group: pendingBOMChanges
-- Name: detail
-- Notes: used by dspPendingBOMChanges
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT bomitem_id, actiondate, action,
View
2 dbscripts/metasql/poDeliveryDateVariances-detail.mql
@@ -1,7 +1,7 @@
-- Group: poDeliveryDateVariances
-- Name: detail
-- Notes: used by dspPoDeliveryDateVariancesByItem, dspPoDeliveryDateVariancesByVendor
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT <? if exists("byItem") ?>
View
2 dbscripts/metasql/poHistory-detail.mql
@@ -1,7 +1,7 @@
-- Group: poHistory
-- Name: detail
-- Notes: used by dspPoHistory
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT poitem_id, poitem.*,
View
2 dbscripts/metasql/poItems-detail.mql
@@ -1,7 +1,7 @@
-- Group: poItems
-- Name: detail
-- Notes: used by dspPoItemsByVendor, dspPoItemsByItem, dspPoItemsByDate
--- Copyright (c) 1999-2012 by OpenMFG LLC, d/b/a xTuple.
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.
SELECT pohead_id, poitem_id, pohead_number, poitem_status,