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

From Woozle Writes Code
< VbzCart‎ | docs‎ | queries
Jump to navigation Jump to search
imported>Woozle
(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 (Woozle moved page VbzCart/VbzCart/queries/qryRstkItms unsent to VbzCart/docs/queries/qryRstkItms unsent without leaving a redirect: part 2)
 
(One intermediate revision by one other user not shown)
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:55, 25 February 2024

About

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;