Add to pick view.
authorMaxime Bourget <bmx007@gmail.com>
Sun, 16 Jun 2013 16:55:56 +0000 (17:55 +0100)
committerMaxime Bourget <bmx007@gmail.com>
Sun, 16 Jun 2013 16:55:56 +0000 (17:55 +0100)
sql/create_topick_view.sql [new file with mode: 0644]

diff --git a/sql/create_topick_view.sql b/sql/create_topick_view.sql
new file mode 100644 (file)
index 0000000..a677f6c
--- /dev/null
@@ -0,0 +1,13 @@
+
+Create View    `0_topick` AS select
+`move`.`sku` AS `sku`,
+`move`.`location` AS `location`,
+`move`.`orderLink` AS `order_link`,
+`move`.`itemLink` AS `item_link`,
+`move`.`base` AS `base`,
+`move`.`variation` AS `variation`,
+`move`.`orderId` AS `order_id`,
+`move`.`detailId` AS `detail_id`,
+`move`.`quantity` AS `quantity`,
+`move`.`id` AS `id`,
+`move`.`type` AS `type` from `test_mop`.`move`