How to change defaultOrganizationPartyCurrencyUomId

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

How to change defaultOrganizationPartyCurrencyUomId

Schumann
Dear Gurus,

How should I change the "defaultOrganizationPartyCurrencyUomId" from "American Dollar - USD" to other currency? (The example below is located in PartyForms.xml).

        <field name="preferredCurrencyUomId">
            <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}">
                <entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom">
                    <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/>
                    <entity-order-by field-name="description"/>
                </entity-options>
            </drop-down>
        </field>

Best Regards

Schumann Ye
KTK Group Co., Ltd.
Mobile:+86-1800-150-1800
Email: [hidden email]<mailto:[hidden email]>
******************************************************
Add: Industrial Park,Yaoguan Town,Wujin District, Changzhou City, JiangSu Province,China
Zip Code: 213102
Website: http://www.ktk.com.cn<http://www.ktk.com.cn/>   http://www.wjjh.com<http://www.wjjh.com/>



Reply | Threaded
Open this post in threaded view
|

Re: How to change defaultOrganizationPartyCurrencyUomId

Rishi Solanki
Schumann,
Here you go:
https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?partyId=Company

Your question is not clear, what do you want to achieve. Want to change
currency for particular party or store or business/application?


Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
www.hotwax.co

On Tue, Mar 27, 2018 at 4:41 PM, Schumann Ye <[hidden email]>
wrote:

> Dear Gurus,
>
> How should I change the "defaultOrganizationPartyCurrencyUomId" from
> "American Dollar - USD" to other currency? (The example below is located in
> PartyForms.xml).
>
>         <field name="preferredCurrencyUomId">
>             <drop-down allow-empty="true" no-current-selected-key="${
> defaultOrganizationPartyCurrencyUomId}">
>                 <entity-options key-field-name="uomId"
> description="${description} - ${abbreviation}" entity-name="Uom">
>                     <entity-constraint name="uomTypeId" operator="equals"
> value="CURRENCY_MEASURE"/>
>                     <entity-order-by field-name="description"/>
>                 </entity-options>
>             </drop-down>
>         </field>
>
> Best Regards
>
> Schumann Ye
> KTK Group Co., Ltd.
> Mobile:+86-1800-150-1800
> Email: [hidden email]<mailto:[hidden email]>
> ******************************************************
> Add: Industrial Park,Yaoguan Town,Wujin District, Changzhou City, JiangSu
> Province,China
> Zip Code: 213102
> Website: http://www.ktk.com.cn<http://www.ktk.com.cn/>
> http://www.wjjh.com<http://www.wjjh.com/>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

答复: How to change defaultOrganizationPartyCurrencyUomId

Schumann
Dear Rishi,

Yes, you’re right. It’s my bad.
Sorry that I confused all.

The following quoted part that you replied is definitely what I need. The field "BASE_CURRENCY_UOM_ID" does the trick.
I'd like to know further how can a newbie like me know the field is being read into "defaultOrganizationPartyCurrencyUomId"?
(What I did is to search overall project to find out where these 2 terms had been used. But I could not find any class (java file) using the term "defaultOrganizationPartyCurrencyUomId".)

"Schumann,
I replied you in another thread where you asked for currency. As I asked you what you want to achieve with set of options, to help you better.

Anyways, if you are looking for in which entity this data store against party then it is PartyAcctgPreference.  If you are looking for something else then please let me know."

Advanced thanks for your guide.

Regards,
Rishi Solanki

-----邮件原件-----
发件人: Rishi Solanki <[hidden email]>
发送时间: 2018年3月27日 21:46
收件人: ofbizuser <[hidden email]>
主题: Re: How to change defaultOrganizationPartyCurrencyUomId

Schumann,
Here you go:
https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?partyId=Company

Your question is not clear, what do you want to achieve. Want to change currency for particular party or store or business/application?


Rishi Solanki
Sr Manager, Enterprise Software Development HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
www.hotwax.co

On Tue, Mar 27, 2018 at 4:41 PM, Schumann Ye <[hidden email]>
wrote:

> Dear Gurus,
>
> How should I change the "defaultOrganizationPartyCurrencyUomId" from
> "American Dollar - USD" to other currency? (The example below is
> located in PartyForms.xml).
>
>         <field name="preferredCurrencyUomId">
>             <drop-down allow-empty="true" no-current-selected-key="${
> defaultOrganizationPartyCurrencyUomId}">
>                 <entity-options key-field-name="uomId"
> description="${description} - ${abbreviation}" entity-name="Uom">
>                     <entity-constraint name="uomTypeId" operator="equals"
> value="CURRENCY_MEASURE"/>
>                     <entity-order-by field-name="description"/>
>                 </entity-options>
>             </drop-down>
>         </field>
>
> Best Regards
>
> Schumann Ye
> KTK Group Co., Ltd.
> Mobile:+86-1800-150-1800
> Email: [hidden email]<mailto:[hidden email]>
> ******************************************************
> Add: Industrial Park,Yaoguan Town,Wujin District, Changzhou City,
> JiangSu Province,China Zip Code: 213102
> Website: http://www.ktk.com.cn<http://www.ktk.com.cn/>
> http://www.wjjh.com<http://www.wjjh.com/>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: 答复: How to change defaultOrganizationPartyCurrencyUomId

Rishi Solanki
I tried to give you some direct link where you will get all these
information, but not able to find on OFBiz Wiki.

Consider a business scenario;

A company doing business from one country say USA and will have one product
store for USA. Now she expand her business to one more country and setup
one more store for that. Now see what all setting should be applicable in
that case;

- Company party will have PartyAcctgPreference.baseCurrencyUomId as USD.
- USAStore will also have the ProductStore.defaultCurrencyUomId as USD.
- OtherStore will have the ProductStore.defaultCurrencyUomId as any other
currency.
- general.properties set the default currency to USD.

The above setup will enable an Organization to run business in two country,
where the business run with base currency as USD. In other country store
item prices and ordering uses the other country currency.

Below are some old document links, but all is true today as well.

- https://cwiki.apache.org/confluence/display/OFBIZ/How+to+Setup+a+Company
- https://cwiki.apache.org/confluence/display/OFBIZ/Currency

HTH!

--
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
www.hotwax.co

On Wed, Mar 28, 2018 at 5:44 AM, Schumann Ye <[hidden email]>
wrote:

> Dear Rishi,
>
> Yes, you’re right. It’s my bad.
> Sorry that I confused all.
>
> The following quoted part that you replied is definitely what I need. The
> field "BASE_CURRENCY_UOM_ID" does the trick.
> I'd like to know further how can a newbie like me know the field is being
> read into "defaultOrganizationPartyCurrencyUomId"?
> (What I did is to search overall project to find out where these 2 terms
> had been used. But I could not find any class (java file) using the term
> "defaultOrganizationPartyCurrencyUomId".)
>
> "Schumann,
> I replied you in another thread where you asked for currency. As I asked
> you what you want to achieve with set of options, to help you better.
>
> Anyways, if you are looking for in which entity this data store against
> party then it is PartyAcctgPreference.  If you are looking for something
> else then please let me know."
>
> Advanced thanks for your guide.
>
> Regards,
> Rishi Solanki
>
> -----邮件原件-----
> 发件人: Rishi Solanki <[hidden email]>
> 发送时间: 2018年3月27日 21:46
> 收件人: ofbizuser <[hidden email]>
> 主题: Re: How to change defaultOrganizationPartyCurrencyUomId
>
> Schumann,
> Here you go:
> https://demo-trunk.ofbiz.apache.org/partymgr/control/editpar
> tygroup?partyId=Company
>
> Your question is not clear, what do you want to achieve. Want to change
> currency for particular party or store or business/application?
>
>
> Rishi Solanki
> Sr Manager, Enterprise Software Development HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
> www.hotwax.co
>
> On Tue, Mar 27, 2018 at 4:41 PM, Schumann Ye <[hidden email]>
> wrote:
>
> > Dear Gurus,
> >
> > How should I change the "defaultOrganizationPartyCurrencyUomId" from
> > "American Dollar - USD" to other currency? (The example below is
> > located in PartyForms.xml).
> >
> >         <field name="preferredCurrencyUomId">
> >             <drop-down allow-empty="true" no-current-selected-key="${
> > defaultOrganizationPartyCurrencyUomId}">
> >                 <entity-options key-field-name="uomId"
> > description="${description} - ${abbreviation}" entity-name="Uom">
> >                     <entity-constraint name="uomTypeId" operator="equals"
> > value="CURRENCY_MEASURE"/>
> >                     <entity-order-by field-name="description"/>
> >                 </entity-options>
> >             </drop-down>
> >         </field>
> >
> > Best Regards
> >
> > Schumann Ye
> > KTK Group Co., Ltd.
> > Mobile:+86-1800-150-1800
> > Email: [hidden email]<mailto:[hidden email]>
> > ******************************************************
> > Add: Industrial Park,Yaoguan Town,Wujin District, Changzhou City,
> > JiangSu Province,China Zip Code: 213102
> > Website: http://www.ktk.com.cn<http://www.ktk.com.cn/>
> > http://www.wjjh.com<http://www.wjjh.com/>
> >
> >
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

答复: 答复: How to change defaultOrganizationPartyCurrencyUomId

Schumann
Dear Rishi,

It's surely helpful, thanks.
Now the issue is solved.

Have a nice day.
Schumann

-----邮件原件-----
发件人: Rishi Solanki <[hidden email]>
发送时间: 2018年3月29日 14:37
收件人: ofbizuser <[hidden email]>
主题: Re: 答复: How to change defaultOrganizationPartyCurrencyUomId

I tried to give you some direct link where you will get all these information, but not able to find on OFBiz Wiki.

Consider a business scenario;

A company doing business from one country say USA and will have one product store for USA. Now she expand her business to one more country and setup one more store for that. Now see what all setting should be applicable in that case;

- Company party will have PartyAcctgPreference.baseCurrencyUomId as USD.
- USAStore will also have the ProductStore.defaultCurrencyUomId as USD.
- OtherStore will have the ProductStore.defaultCurrencyUomId as any other currency.
- general.properties set the default currency to USD.

The above setup will enable an Organization to run business in two country, where the business run with base currency as USD. In other country store item prices and ordering uses the other country currency.

Below are some old document links, but all is true today as well.

- https://cwiki.apache.org/confluence/display/OFBIZ/How+to+Setup+a+Company
- https://cwiki.apache.org/confluence/display/OFBIZ/Currency

HTH!

--
Sr Manager, Enterprise Software Development HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
www.hotwax.co

On Wed, Mar 28, 2018 at 5:44 AM, Schumann Ye <[hidden email]>
wrote:

> Dear Rishi,
>
> Yes, you’re right. It’s my bad.
> Sorry that I confused all.
>
> The following quoted part that you replied is definitely what I need.
> The field "BASE_CURRENCY_UOM_ID" does the trick.
> I'd like to know further how can a newbie like me know the field is
> being read into "defaultOrganizationPartyCurrencyUomId"?
> (What I did is to search overall project to find out where these 2
> terms had been used. But I could not find any class (java file) using
> the term
> "defaultOrganizationPartyCurrencyUomId".)
>
> "Schumann,
> I replied you in another thread where you asked for currency. As I
> asked you what you want to achieve with set of options, to help you better.
>
> Anyways, if you are looking for in which entity this data store
> against party then it is PartyAcctgPreference.  If you are looking for
> something else then please let me know."
>
> Advanced thanks for your guide.
>
> Regards,
> Rishi Solanki
>
> -----邮件原件-----
> 发件人: Rishi Solanki <[hidden email]>
> 发送时间: 2018年3月27日 21:46
> 收件人: ofbizuser <[hidden email]>
> 主题: Re: How to change defaultOrganizationPartyCurrencyUomId
>
> Schumann,
> Here you go:
> https://demo-trunk.ofbiz.apache.org/partymgr/control/editpar
> tygroup?partyId=Company
>
> Your question is not clear, what do you want to achieve. Want to
> change currency for particular party or store or business/application?
>
>
> Rishi Solanki
> Sr Manager, Enterprise Software Development HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
> www.hotwax.co
>
> On Tue, Mar 27, 2018 at 4:41 PM, Schumann Ye
> <[hidden email]>
> wrote:
>
> > Dear Gurus,
> >
> > How should I change the "defaultOrganizationPartyCurrencyUomId" from
> > "American Dollar - USD" to other currency? (The example below is
> > located in PartyForms.xml).
> >
> >         <field name="preferredCurrencyUomId">
> >             <drop-down allow-empty="true"
> > no-current-selected-key="${ defaultOrganizationPartyCurrencyUomId}">
> >                 <entity-options key-field-name="uomId"
> > description="${description} - ${abbreviation}" entity-name="Uom">
> >                     <entity-constraint name="uomTypeId" operator="equals"
> > value="CURRENCY_MEASURE"/>
> >                     <entity-order-by field-name="description"/>
> >                 </entity-options>
> >             </drop-down>
> >         </field>
> >
> > Best Regards
> >
> > Schumann Ye
> > KTK Group Co., Ltd.
> > Mobile:+86-1800-150-1800
> > Email: [hidden email]<mailto:[hidden email]>
> > ******************************************************
> > Add: Industrial Park,Yaoguan Town,Wujin District, Changzhou City,
> > JiangSu Province,China Zip Code: 213102
> > Website: http://www.ktk.com.cn<http://www.ktk.com.cn/>
> > http://www.wjjh.com<http://www.wjjh.com/>
> >
> >
> >
> >
>