Ninad077 commited on
Commit
db155f0
·
verified ·
1 Parent(s): f9809c9

Update queries.py

Browse files
Files changed (1) hide show
  1. 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
- -- settlement_type = 'NA'
287
- (case when settlement_type in ('collection','Claim','rectify','rectify_R') and collection_partner = 'fynd' then 'Yes' when settlement_type = 'refund' and refund_partner = 'fynd' then 'Yes' else 'No'end ) = 'No'
 
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