VbzCart/docs/queries/qryRstks unsent: Difference between revisions

From Woozle Writes Code
< VbzCart‎ | docs‎ | queries
Jump to navigation Jump to search
imported>Woozle
(new query)
 
imported>Woozle
m (→‎About: used by: ?)
Line 2: Line 2:
* '''Returns''': Restocks created and not terminated but not yet ordered from supplier
* '''Returns''': Restocks created and not terminated but not yet ordered from supplier
* '''Requires''': {{vbzcart/query|qryRstks_active}}
* '''Requires''': {{vbzcart/query|qryRstks_active}}
* '''Used by''':
* '''History''':
* '''History''':
** '''2008-12-04''' Created for new restock process
** '''2008-12-04''' Created for new restock process
==SQL==
==SQL==
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryRstks_unsent AS
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryRstks_unsent AS

Revision as of 01:44, 5 December 2008

About

  • Returns: Restocks created and not terminated but not yet ordered from supplier
  • Requires: Template:Vbzcart/query
  • Used by:
  • History:
    • 2008-12-04 Created for new restock process

SQL

<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryRstks_unsent AS SELECT

 *

FROM

 qryRstks_active

WHERE WhenOrdered IS NULL;</mysql> <section end=sql />