Error while posting Purchase Invoices in different currency

While posting Purchase invoice I’m getting an error that party account creditor currency and document currency should be same. please guide me to resolve the error

What is your suppliers currency that you have created ?

And looks like your company currency is OMR.

If your supplier invoice is in AED… you need to create Creditor account head with the currency as AED and set that account head under the Suppliers “Default Payable Account”

Thanks for the solution
My supplier currency is AED.
I understood your point and i’ll try this but sir i have lot of supplier’s there currency is also different for them I’m not getting such error only for one particular supplier I’m getting this error.
Plus I’m getting same error in one of my customer too.