Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. AND ( b.transaction_date >= '" + getDay(strDate,15) + "' AND b.transaction_date <= '" + strDate + "' )
  2. LEFT JOIN customer_ledger c ON c.reference_number = a.reference_number
  3. AND c.transaction_date = a.transaction_date
  4. AND c.internal_id = a.internal_id AND (c.transaction_type = a.transaction_type) AND c.transaction_date >= '" + getDay(strDate, 30 + 15) + "'
  5. AND c.transaction_date <= '" + getDay(strDate, 1 + 15) + "'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement