VbzCart/queries/qryRstkItms unsent: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
New page: ==About== * '''Returns''': items from restock requests which have not yet been submitted to the supplier * '''Requires''': {{vbzcart/table|rstk_req_item}}, {{vbzcart/query|qryRstks_unsent}... |
m →SQL: oops, wrong name |
||
| Line 6: | Line 6: | ||
** '''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 | <section begin=sql /><mysql>CREATE OR REPLACE VIEW qryRstkItms_unsent AS | ||
SELECT | SELECT | ||
rqi.* | rqi.* | ||
FROM | FROM | ||
rstk_req_item AS rqi LEFT JOIN qryRstks_unsent AS rq ON rqi.ID_Restock=rq.ID; | rstk_req_item AS rqi LEFT JOIN qryRstks_unsent AS rq ON rqi.ID_Restock=rq.ID; | ||
Latest revision as of 01:40, 5 December 2008
About
- Returns: items from restock requests which have not yet been submitted to the supplier
- Requires: rstk_req_item, qryRstks_unsent
- Used by:
- History:
- 2008-12-04 Created for new restock process
SQL
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryRstkItms_unsent AS SELECT
rqi.*
FROM
rstk_req_item AS rqi LEFT JOIN qryRstks_unsent AS rq ON rqi.ID_Restock=rq.ID;
