Create/post Unposted invoice issue

Hi Experts,

i am facing an error to Create/post Unposted invoice , steps:
Click on Data Exchange → Cockpit Data Import → External System Data–>Open an Entry No–> Create/post Unposted invoice -->invoice. IT showing error "Currency Factor must not be 0 in Purchase Header Doc

This error in nav5.0

can any one suggest me how to resolve this issue.

Is this customize module or system in NAV ?

this is customised module

Even if it is a customized module or not, then try to check out the currency code used in the purchase header you are trying to create. The error clearly states that it has something to do with the currency factor. The factor cannot be 0, if you have specified a currency code in the record.