Difference between revisions of "VbzCart/queries/qryOrders Pulled"
Jump to navigation
Jump to search
(New page: ==About== * '''Used by''': {{vbzcart|table|ord_msg}} * '''History''': ** '''2009-07-10''' Adapted from MS Access (replaces qryOrderPulls_active) *** qryOrderPulls_active derived its list o...) |
(usage correction) |
||
Line 1: | Line 1: | ||
==About== | ==About== | ||
− | * '''Used by''': {{vbzcart| | + | * '''Used by''': {{vbzcart/query|qryPkgs_Pull_status}} |
* '''History''': | * '''History''': | ||
** '''2009-07-10''' Adapted from MS Access (replaces qryOrderPulls_active) | ** '''2009-07-10''' Adapted from MS Access (replaces qryOrderPulls_active) |
Latest revision as of 13:26, 10 July 2009
About
- Used by:
- REDIRECT Template:l/vc/query
- History:
- 2009-07-10 Adapted from MS Access (replaces qryOrderPulls_active)
- qryOrderPulls_active derived its list of pulled orders from ord_pull; qryOrders_Pulled lists all core_orders where ID_Pull is set
- 2009-07-10 Adapted from MS Access (replaces qryOrderPulls_active)
SQL
<mysql>CREATE OR REPLACE VIEW qryOrders_Pulled AS SELECT
op.*
FROM core_orders AS o LEFT JOIN ord_pull AS op
ON o.ID_Pull=op.ID
WHERE o.ID_Pull IS NOT NULL;</mysql>