Multi Currency field error

Hi Community,

I have a custom page where I have a multi currency field. When I am calling MoneyModule.RecalcBaseValue.call method I am getting undefined exception. Please help me how can I fix this issue. Thanks

 

Like 0

Like

2 comments

I think it is conflicting on my dependencies declaration, aside from 

MoneyModule, MultiCurrencyEdit, MultiCurrencyEditUtilities

i am declaring also a css page, this css page is for the layout of my custom page. When I tried to remove my css page on the declaration, now it is working, Now how can I declare multi currency dependencies and my css page at the same time, without causing conflict to each other?

Fulgen Ninofranco,

It seems like the incorrect order of passed parameters to the function() is the cause of the issue. Please note that the order of dependencies in the dependencies array enumeration must correspond to the order of parameters in the enumeration passed to the factory function.

Try to add a css page declaration to the end of the dependencies array.

 

Show all comments