How to set currency in ofbiz?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set currency in ofbiz?

Balaji Sundar
I want to set the currency to INR.

While creating the product store i set it to INR and while adding price to a product i set it to INR.

But in the product page, the price is $0.00.

If i change to USD, it works!

So, what i guess is that there must be a configuration file or something that sets the currency to INR globally.

So, How to set currency in ofbiz?
Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

Bilgin Ibryam
Change also currency.uom.id.default field in general.properties

Bilgin

Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

BJ Freeman
In reply to this post by Balaji Sundar
are there any errors in the error or debug logs


Balaji Sundar sent the following on 8/4/2008 4:25 AM:

> I want to set the currency to INR.
>
> While creating the product store i set it to INR and while adding price to a
> product i set it to INR.
>
> But in the product page, the price is $0.00.
>
> If i change to USD, it works!
>
> So, what i guess is that there must be a configuration file or something
> that sets the currency to INR globally.
>
> So, How to set currency in ofbiz?

Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

BJ Freeman
In reply to this post by Bilgin Ibryam
shouldn't that change when the language is set in the UI also?

Bilgin Ibryam sent the following on 8/4/2008 4:47 AM:
> Change also currency.uom.id.default field in general.properties
>
> Bilgin
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

BJ Freeman
change productscreens.xml
                <property-to-field field="defaultCurrencyUomId"
resource="general" property="currency.uom.id.default" default="USD"/>

so it gets it from the session instead?

BJ Freeman sent the following on 8/4/2008 4:53 AM:

> shouldn't that change when the language is set in the UI also?
>
> Bilgin Ibryam sent the following on 8/4/2008 4:47 AM:
>> Change also currency.uom.id.default field in general.properties
>>
>> Bilgin
>>
>>
>>
>>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

Balaji Sundar
In reply to this post by BJ Freeman
I did not find any errors while creating product store , catalog, catagory, product or the price.
If i change in the general.properties file, it only shows up first in the dropdown list and does nothing else.

All i want is the currency to be set to INR globlally.


BJ Freeman wrote
shouldn't that change when the language is set in the UI also?

Bilgin Ibryam sent the following on 8/4/2008 4:47 AM:
> Change also currency.uom.id.default field in general.properties
>
> Bilgin
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

BJ Freeman
there is a service that can be called, I am check it see if it is called
when the language is changed.
it might also be something to add to the my page or preferences.


Balaji Sundar sent the following on 8/4/2008 5:32 AM:

> I did not find any errors while creating product store , catalog, catagory,
> product or the price.
> If i change in the general.properties file, it only shows up first in the
> dropdown list and does nothing else.
>
> All i want is the currency to be set to INR globlally.
>
>
>
> BJ Freeman wrote:
>> shouldn't that change when the language is set in the UI also?
>>
>> Bilgin Ibryam sent the following on 8/4/2008 4:47 AM:
>>> Change also currency.uom.id.default field in general.properties
>>>
>>> Bilgin
>>>
>>>
>>>
>>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

Balaji Sundar
In reply to this post by BJ Freeman
Thanks a lot.....

changing in productscreens.xml did the trick!!!!

BJ Freeman wrote
change productscreens.xml
                <property-to-field field="defaultCurrencyUomId"
resource="general" property="currency.uom.id.default" default="USD"/>

so it gets it from the session instead?

BJ Freeman sent the following on 8/4/2008 4:53 AM:
> shouldn't that change when the language is set in the UI also?
>
> Bilgin Ibryam sent the following on 8/4/2008 4:47 AM:
>> Change also currency.uom.id.default field in general.properties
>>
>> Bilgin
>>
>>
>>
>>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

Balaji Sundar
In reply to this post by BJ Freeman
Problem is now the other way.....!!!

I am not able to revert to USD now.

I changed INR to USD and it is not affecting.

I changed in store, accounting and in product also in general.properties file and ProductScreens.xml file...... but of no use.... it just wont revert back.
I even restarted the server.. it did not help....

I even cleard the cookies and sessions...
no use...

I planned to revert because, the vat which i set in tax authority did not take affect if i use INR. But it was affecting when it was USD...

Wat should i do now? I really need INR and vat working together... it is not happening here... vat is working with only USD and not INR..

Can anyone help me on this?



BJ Freeman wrote
change productscreens.xml
                <property-to-field field="defaultCurrencyUomId"
resource="general" property="currency.uom.id.default" default="USD"/>

so it gets it from the session instead?

BJ Freeman sent the following on 8/4/2008 4:53 AM:
> shouldn't that change when the language is set in the UI also?
>
> Bilgin Ibryam sent the following on 8/4/2008 4:47 AM:
>> Change also currency.uom.id.default field in general.properties
>>
>> Bilgin
>>
>>
>>
>>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

BJ Freeman
I don't think there is a trigger to convert defaults.
there are services that can do the basics but not a comprehensive say
and seca in each module to convert from one to another.
I think the best road is to find out why INR does not work and fix it.
to that end, I probably will not put any effort since my plate is full,
and I don't understand VAT.
Hopefully someone will pick up the ball, and do something.

Balaji Sundar sent the following on 8/4/2008 11:57 PM:

> Problem is now the other way.....!!!
>
> I am not able to revert to USD now.
>
> I changed INR to USD and it is not affecting.
>
> I changed in store, accounting and in product also in general.properties
> file and ProductScreens.xml file...... but of no use.... it just wont revert
> back.
> I even restarted the server.. it did not help....
>
> I even cleard the cookies and sessions...
> no use...
>
> I planned to revert because, the vat which i set in tax authority did not
> take affect if i use INR. But it was affecting when it was USD...
>
> Wat should i do now? I really need INR and vat working together... it is not
> happening here... vat is working with only USD and not INR..
>
> Can anyone help me on this?
>
>
>
>
> BJ Freeman wrote:
>> change productscreens.xml
>>                 <property-to-field field="defaultCurrencyUomId"
>> resource="general" property="currency.uom.id.default" default="USD"/>
>>
>> so it gets it from the session instead?
>>
>> BJ Freeman sent the following on 8/4/2008 4:53 AM:
>>> shouldn't that change when the language is set in the UI also?
>>>
>>> Bilgin Ibryam sent the following on 8/4/2008 4:47 AM:
>>>> Change also currency.uom.id.default field in general.properties
>>>>
>>>> Bilgin
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

Balaji Sundar
OK,
I will try to find why vat does not work with INR
thanks


BJ Freeman wrote
I don't think there is a trigger to convert defaults.
there are services that can do the basics but not a comprehensive say
and seca in each module to convert from one to another.
I think the best road is to find out why INR does not work and fix it.
to that end, I probably will not put any effort since my plate is full,
and I don't understand VAT.
Hopefully someone will pick up the ball, and do something.

Balaji Sundar sent the following on 8/4/2008 11:57 PM:
> Problem is now the other way.....!!!
>
> I am not able to revert to USD now.
>
> I changed INR to USD and it is not affecting.
>
> I changed in store, accounting and in product also in general.properties
> file and ProductScreens.xml file...... but of no use.... it just wont revert
> back.
> I even restarted the server.. it did not help....
>
> I even cleard the cookies and sessions...
> no use...
>
> I planned to revert because, the vat which i set in tax authority did not
> take affect if i use INR. But it was affecting when it was USD...
>
> Wat should i do now? I really need INR and vat working together... it is not
> happening here... vat is working with only USD and not INR..
>
> Can anyone help me on this?
>
>
>
>
> BJ Freeman wrote:
>> change productscreens.xml
>>                 <property-to-field field="defaultCurrencyUomId"
>> resource="general" property="currency.uom.id.default" default="USD"/>
>>
>> so it gets it from the session instead?
>>
>> BJ Freeman sent the following on 8/4/2008 4:53 AM:
>>> shouldn't that change when the language is set in the UI also?
>>>
>>> Bilgin Ibryam sent the following on 8/4/2008 4:47 AM:
>>>> Change also currency.uom.id.default field in general.properties
>>>>
>>>> Bilgin
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to set currency in ofbiz?

rajsaini
In reply to this post by BJ Freeman
VAT should work as I had it working for one of the project. Best thing
is to create a some data on a demo or public server and let others to
poke in to find why it is not working. I can certainly help a bit if I
have access to the system.

Thanks,

Raj

BJ Freeman wrote:

> I don't think there is a trigger to convert defaults.
> there are services that can do the basics but not a comprehensive say
> and seca in each module to convert from one to another.
> I think the best road is to find out why INR does not work and fix it.
> to that end, I probably will not put any effort since my plate is full,
> and I don't understand VAT.
> Hopefully someone will pick up the ball, and do something.
>
> Balaji Sundar sent the following on 8/4/2008 11:57 PM:
>  
>> Problem is now the other way.....!!!
>>
>> I am not able to revert to USD now.
>>
>> I changed INR to USD and it is not affecting.
>>
>> I changed in store, accounting and in product also in general.properties
>> file and ProductScreens.xml file...... but of no use.... it just wont revert
>> back.
>> I even restarted the server.. it did not help....
>>
>> I even cleard the cookies and sessions...
>> no use...
>>
>> I planned to revert because, the vat which i set in tax authority did not
>> take affect if i use INR. But it was affecting when it was USD...
>>
>> Wat should i do now? I really need INR and vat working together... it is not
>> happening here... vat is working with only USD and not INR..
>>
>> Can anyone help me on this?
>>
>>
>>
>>
>> BJ Freeman wrote:
>>    
>>> change productscreens.xml
>>>                 <property-to-field field="defaultCurrencyUomId"
>>> resource="general" property="currency.uom.id.default" default="USD"/>
>>>
>>> so it gets it from the session instead?
>>>
>>> BJ Freeman sent the following on 8/4/2008 4:53 AM:
>>>      
>>>> shouldn't that change when the language is set in the UI also?
>>>>
>>>> Bilgin Ibryam sent the following on 8/4/2008 4:47 AM:
>>>>        
>>>>> Change also currency.uom.id.default field in general.properties
>>>>>
>>>>> Bilgin
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>
>>>>        
>>>      
>
>
>