join to accessories based on product structure

This commit is contained in:
Paul Trowbridge 2021-01-13 00:16:38 -05:00
parent 89737cf358
commit 3e12704241
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ FROM
--the item master could have multiple since its defined per plant but will take the first item for now
AND up.pckg ? (i.uomp->>0)
AND COALESCE(i.BRANDING,'') = up.branding
AND COALESCE(i.ACCS,'') = up.ACCS
AND COALESCE(i.ACCS_PS,'') = up.ACCS
AND COALESCE(i.SUFFIX,'') = up.suffix
AND APLNT <> 'I'
)