Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

fetch XML

$
0
0

I have a simple fetch xml that  returns all items from a custom entity with a new_clearedFunds (date) of tomorrow.

how can i expand this so it excludes weekend ( SAT & SUN ) and any business closures ( which in our case are Bank holidays)

Ie

If today is Thursday and Friday and Monday is in our business closures dates, i want the records with  a new_clearedfunds date for the Tuesday

If today is Friday, and Monday is in our business closures dates, i want the records with  a new_clearedfunds date for the Tuesday

If today is Friday, and Monday is NOT our business closures dates, i want the records with  a new_clearedfunds date for the Monday

Is this possible with Fetch XML or should I just query the SQL tables direct in TSQL for my report ?


Dont ask me .. i dont know


Viewing all articles
Browse latest Browse all 8223

Trending Articles