Difference between revisions of "VbzCart/queries/qryRstkItms unsent"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(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 qryRstkItms_unsent_for_order AS
+
<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:
  1. REDIRECT Template:l/vc/table,
  2. REDIRECT Template:l/vc/query
  • Used by:
  • History:
    • 2008-12-04 Created for new restock process

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;