VbzCart/queries/qryRstkReq Item status Req info

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< VbzCart‎ | queries
Revision as of 00:35, 4 December 2008 by Woozle (talk | contribs) (New page: ==Details== * '''Returns''': Data from {{vbzcart/query|qryRstkReq_Item_status}} with some additional info about the request * '''Requires''': {{vbzcart/query|qryRstkReq_Item_status}}, {{vb...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Details

  • Returns: Data from
  1. REDIRECT Template:l/vc/query with some additional info about the request
  1. REDIRECT Template:l/vc/table
  • Used by: sfrmItem_Rstks (MS Access)
  • History:
    • 2008-11-23 Created for new restock process

SQL

<mysql>CREATE OR REPLACE VIEW qryRstkReq_Item_status_Req_info AS SELECT

 rqis.*,
 IFNULL(rq.WhenOrdered,rq.WhenCreated) AS WhenMade,
 rq.WhenClosed,
 rq.WhenKilled

FROM qryRstkReq_Item_status AS rqis LEFT JOIN rstk_req AS rq ON rqis.ID_RstkReq=rq.ID ORDER BY WhenMade,ID_RstkReq;</mysql>