Hi Faraj,
I assume the WHT calculation is required in your LC. So if your DC is AED then system converts it to LC by taking the Exchange rate and then calculates 5% on that. Please check if it is calculating correctly in LC and if not, please give some more info like exch rate, DC & LC amount for the entry.
Thanks & Regards
Ramesh