Ninad077 commited on
Commit
932dfd8
·
verified ·
1 Parent(s): 2b34b87

Update queries.py

Browse files
Files changed (1) hide show
  1. queries.py +24 -24
queries.py CHANGED
@@ -311,30 +311,30 @@ queries = {
311
 
312
 
313
  # Query 18
314
- # '18. PPD seller amount validation': '''
315
- # select
316
- # *
317
- # from
318
- # (SELECT
319
- # *
320
- # FROM
321
- # `fynd-db.Outstanding.09_Payable_File`
322
- # where
323
- # expected_payout_date <= current_date()
324
- # and order_type = "PPD"
325
- # and lower(collection_partner) = "seller") as A
326
- # left join
327
- # (select
328
- # bag_id,
329
- # txn_id,
330
- # collected_amount
331
- # from
332
- # `fynd-db.finance_recon_tool_asia.05_partner_collection`) as B
333
- # on
334
- # A.bag_id = B.bag_id
335
- # where
336
- # B.bag_id is not null
337
- # ''',
338
 
339
 
340
  # Query 19
 
311
 
312
 
313
  # Query 18
314
+ '18. PPD seller amount validation': '''
315
+ select
316
+ *
317
+ from
318
+ (SELECT
319
+ *
320
+ FROM
321
+ `fynd-db.Outstanding.09_Payable_File`
322
+ where
323
+ expected_payout_date <= current_date()
324
+ and order_type = "PPD"
325
+ and lower(collection_partner) = "seller") as A
326
+ left join
327
+ (select
328
+ bag_id,
329
+ txn_id,
330
+ collected_amount
331
+ from
332
+ `fynd-db.finance_recon_tool_asia.05_partner_collection`) as B
333
+ on
334
+ A.bag_id = B.bag_id
335
+ where
336
+ B.bag_id is not null
337
+ ''',
338
 
339
 
340
  # Query 19