coalesce promo for use in uniqueness test
This commit is contained in:
parent
00cf371bc5
commit
e030cce8b3
@ -55,7 +55,7 @@ gld AS (
|
||||
,null::jsonb discj
|
||||
,null::text dhincr
|
||||
,plnt
|
||||
,o.promo
|
||||
,COALESCE(o.promo,'') promo
|
||||
,null::text return_reas
|
||||
,o.terms
|
||||
,null::text custpo
|
||||
@ -156,7 +156,7 @@ gld AS (
|
||||
GROUP BY
|
||||
o.fspr
|
||||
,plnt
|
||||
,o.promo
|
||||
,COALESCE(o.promo,'')
|
||||
,o.terms
|
||||
,o.bill_cust
|
||||
,ship_cust
|
||||
@ -202,7 +202,7 @@ gld AS (
|
||||
,null::jsonb discj
|
||||
,null::text dhincr
|
||||
,plnt
|
||||
,o.promo
|
||||
,COALESCE(o.promo,'') promo
|
||||
,null::text return_reas
|
||||
,o.terms
|
||||
,null::text custpo
|
||||
@ -296,7 +296,7 @@ gld AS (
|
||||
GROUP BY
|
||||
o.fspr
|
||||
,plnt
|
||||
,o.promo
|
||||
,COALESCE(o.promo,'')
|
||||
,o.terms
|
||||
,o.bill_cust
|
||||
,ship_cust
|
||||
@ -342,7 +342,7 @@ gld AS (
|
||||
,null::jsonb discj
|
||||
,null::text dhincr
|
||||
,plnt
|
||||
,o.promo
|
||||
,COALESCE(o.promo,'') promo
|
||||
,null::text return_reas
|
||||
,o.terms
|
||||
,null::text custpo
|
||||
@ -434,7 +434,7 @@ gld AS (
|
||||
GROUP BY
|
||||
o.fspr
|
||||
,plnt
|
||||
,o.promo
|
||||
,COALESCE(o.promo,'')
|
||||
,o.terms
|
||||
,o.bill_cust
|
||||
,ship_cust
|
||||
|
Loading…
Reference in New Issue
Block a user