Update queries.py
Browse files- queries.py +3 -2
queries.py
CHANGED
@@ -283,8 +283,9 @@ queries = {
|
|
283 |
*
|
284 |
from `fynd-db.finance_recon_tool_asia.09_seller_net_collection_daily`
|
285 |
where
|
286 |
-
|
287 |
-
|
|
|
288 |
''',
|
289 |
|
290 |
|
|
|
283 |
*
|
284 |
from `fynd-db.finance_recon_tool_asia.09_seller_net_collection_daily`
|
285 |
where
|
286 |
+
-- settlement_type = 'NA'
|
287 |
+
|
288 |
+
(case when settlement_type in ('collection','Claim','rectify','rectify_R', 'Sale_NR') and collection_partner = 'fynd' then 'Yes' when settlement_type = 'refund' and refund_partner = 'fynd' then 'Yes' else 'No'end ) = 'No'
|
289 |
''',
|
290 |
|
291 |
|