VbzCart/docs/pieces/catalog/building: Difference between revisions

From Woozle Writes Code
< VbzCart‎ | docs‎ | pieces‎ | catalog
Jump to navigation Jump to search
imported>Woozle
No edit summary
imported>Woozle
m (2 revision(s))
(No difference)

Revision as of 13:54, 22 August 2007

Version

This is being revised yet again for the 2007 VbzCart-MySQL migration project; the previous version is here: VbzCart catalog building 2006.

Process

This is only a draft, as the process is still being worked out.

  1. Update the list of all catalog-based items ([calc Items Updates saved])
    • Generate a list of all the items currently available from suppliers (query)
    • Add any new items to [calc Items Updates saved]
  2. For all items in [calc Items Updates saved] where ID_Item IS NULL, create new records in cat_items and update the corresponding records in [calc Items Updates saved]
  3. Update all data in cat_items from data stored in [calc Items Updates saved]
  4. In cat_items, clear all isForSale flags except for items either in stock or found in [calc Items Updates saved]