I'm running version 8 with no source code, it seems all the xml packages are using stored procedures which are locked?
I need to know whether I can include a product in a feed, right now I am doing:
C#/VB.NET Code:
SELECT p.*,
pv.*,
FROM product p (NOLOCK)
left outer join productVariant pv (NOLOCK) on pv.productID = p.productID
WHERE
p.deleted = 0 AND pv.deleted = 0 -- delete
AND p.published = 1 AND pv.published = 1 -- published
This is currently returning products that have their inventory threshold set, so they should be hidden if inventory reachs x.