VbzCart/queries/qryItms to restock w 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 21:31, 3 December 2008 by Woozle (talk | contribs) (New page: ==Details== * '''Returns''': Same data as {{vbzcart/query|qryItms_to_restock}} but with additional info as needed for creating a restock request * '''Requires''': {{vbzcart/query|qryItms_t...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Details

  • Returns: Same data as
  1. REDIRECT Template:l/vc/query but with additional info as needed for creating a restock request
  • Requires: qryItms_to_restock, qryCat_Items
  • Used by:
  • History:
    • 2008-11-20 created for new restock process
    • 2008-11-22 +ID_Supplier; using qryCat_Items instead of cat_items + cat_titles (+cat_depts would also have been needed to get ID_Supplier)

SQL

<mysql>CREATE OR REPLACE VIEW qryItms_to_restock_w_info AS SELECT

 qir.*,
 i.ID_Supplier,
 i.isInPrint,
 i.PriceBuy,
 i.PriceSell,
 i.QtyMin_Rstk_Title

FROM

   qryItms_to_restock AS qir
 LEFT JOIN qryCat_Items AS i ON qir.ID_Item=i.ID;</mysql>