Some doc stuff
This commit is contained in:
@@ -10,7 +10,7 @@ VALUES
|
||||
(%(barcode)s, %(name)s, %(group_id)s, %(location_id)s, %(tax_group_id)s, %(sales_units)s, %(net_unit_price)s)
|
||||
RETURNING item_id INTO new_item_id;
|
||||
|
||||
-- Delete any old snacks with the same barcode in the given location
|
||||
-- Delete (i.e. mark as inactive) any old snacks with the same barcode in the given location
|
||||
PERFORM garfield.snack_delete(snack_id)
|
||||
FROM garfield.snacks
|
||||
WHERE snack_barcode = %(barcode)s
|
||||
|
||||
Reference in New Issue
Block a user