You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "R. S." <ru...@meinkino.com> on 2010/05/06 10:11:44 UTC
Create PartyGroup
Hi,
during the creation of Party Group, I noticed that the field "Party ID"
is missing. So I looked at the event createpartygroup, if the field
"Party ID" is missing then one automatically assigned. But I wanted my
own award. So I commented out the fields (see below) and the field was
there.
My question is, what is checked in these lines, which I commented out?
Thank you.
Regards
Rudolf
<form name="EditPartyGroup" type="single" target="updatePartyGroup"
default-map-name="partyGroup"
focus-field-name="groupName" header-row-style="header-row"
default-table-style="basic-table">
<alt-target use-when="partyGroup==null" target="createPartyGroup"/>
<auto-fields-service service-name="updatePartyGroup"/>
#### This are commented out lines. ##################
*<!-- <field use-when="partyGroup!=null" name="partyId"
title="${uiLabelMap.PartyPartyId}"
tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="partyGroup==null&&partyId==null"
name="partyId" title="${uiLabelMap.PartyPartyId}"><ignored/></field>
<field use-when="partyGroup==null&&partyId!=null"
name="partyId" title="${uiLabelMap.PartyPartyId}"
tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display
also-hidden="false"/></field>-->*/*
*/
<field name="groupName" tooltip="${uiLabelMap.CommonRequired}"
widget-style="required"></field>
<field name="partyTypeId"><ignored/></field>
<field name="description"
title="${uiLabelMap.CommonDescription}"><text/></field>
<field name="preferredCurrencyUomId">
<drop-down allow-empty="true">
<entity-options key-field-name="uomId"
description="${abbreviation} - ${description}" entity-name="Uom">
<entity-constraint name="uomTypeId"
operator="equals" value="CURRENCY_MEASURE"/>
<entity-order-by field-name="abbreviation"/>
</entity-options>
</drop-down>
Re: Create PartyGroup
Posted by Atul Vani <at...@hotwaxmedia.com>.
you can try creating a webapp with the same name (in this case 'partymgr') and then overload forms and screens as per your customization requirements.
Thanks & Regards
Atul Vani
----- Original Message -----
From: "R. S." <ru...@meinkino.com>
To: user@ofbiz.apache.org
Sent: Friday, May 7, 2010 4:10:04 PM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi
Subject: Re: Create PartyGroup
Thank you eric.
I have anothere question. I'm already on despair.
I don't know where to get individual fields for CreatePartyGroup.
Because when I want create a partygroup only the necessary fields should
be visible.I don't want to show all the fields. How can I realized that.
I am grateful for any help.
Regards
Rudolf
eric schrieb:
> To create a party with a manual party ID
> See in ./applications/party/data/PartyDemoData.xml
>
> -----Original Message-----
> From: R. S. <ru...@meinkino.com>
> Reply-To: user@ofbiz.apache.org
> To: user@ofbiz.apache.org
> Subject: Create PartyGroup
> Date: Thu, 06 May 2010 10:11:44 +0200
> Mailer: Thunderbird 2.0.0.24 (X11/20100411)
>
>
> Hi,
> during the creation of Party Group, I noticed that the field "Party ID"
> is missing. So I looked at the event createpartygroup, if the field
> "Party ID" is missing then one automatically assigned. But I wanted my
> own award. So I commented out the fields (see below) and the field was
> there.
> My question is, what is checked in these lines, which I commented out?
> Thank you.
>
> Regards
> Rudolf
>
> <form name="EditPartyGroup" type="single" target="updatePartyGroup"
> default-map-name="partyGroup"
> focus-field-name="groupName" header-row-style="header-row"
> default-table-style="basic-table">
> <alt-target use-when="partyGroup==null" target="createPartyGroup"/>
> <auto-fields-service service-name="updatePartyGroup"/>
>
> #### This are commented out lines. ##################
>
> *<!-- <field use-when="partyGroup!=null" name="partyId"
> title="${uiLabelMap.PartyPartyId}"
> tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
> <field use-when="partyGroup==null&&partyId==null"
> name="partyId" title="${uiLabelMap.PartyPartyId}"><ignored/></field>
> <field use-when="partyGroup==null&&partyId!=null"
> name="partyId" title="${uiLabelMap.PartyPartyId}"
> tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display
> also-hidden="false"/></field>-->*/*
> */
> <field name="groupName" tooltip="${uiLabelMap.CommonRequired}"
> widget-style="required"></field>
> <field name="partyTypeId"><ignored/></field>
> <field name="description"
> title="${uiLabelMap.CommonDescription}"><text/></field>
> <field name="preferredCurrencyUomId">
> <drop-down allow-empty="true">
> <entity-options key-field-name="uomId"
> description="${abbreviation} - ${description}" entity-name="Uom">
> <entity-constraint name="uomTypeId"
> operator="equals" value="CURRENCY_MEASURE"/>
> <entity-order-by field-name="abbreviation"/>
> </entity-options>
> </drop-down>
>
>
Re: Create PartyGroup
Posted by "R. S." <ru...@meinkino.com>.
Thank you eric.
I have anothere question. I'm already on despair.
I don't know where to get individual fields for CreatePartyGroup.
Because when I want create a partygroup only the necessary fields should
be visible.I don't want to show all the fields. How can I realized that.
I am grateful for any help.
Regards
Rudolf
eric schrieb:
> To create a party with a manual party ID
> See in ./applications/party/data/PartyDemoData.xml
>
> -----Original Message-----
> From: R. S. <ru...@meinkino.com>
> Reply-To: user@ofbiz.apache.org
> To: user@ofbiz.apache.org
> Subject: Create PartyGroup
> Date: Thu, 06 May 2010 10:11:44 +0200
> Mailer: Thunderbird 2.0.0.24 (X11/20100411)
>
>
> Hi,
> during the creation of Party Group, I noticed that the field "Party ID"
> is missing. So I looked at the event createpartygroup, if the field
> "Party ID" is missing then one automatically assigned. But I wanted my
> own award. So I commented out the fields (see below) and the field was
> there.
> My question is, what is checked in these lines, which I commented out?
> Thank you.
>
> Regards
> Rudolf
>
> <form name="EditPartyGroup" type="single" target="updatePartyGroup"
> default-map-name="partyGroup"
> focus-field-name="groupName" header-row-style="header-row"
> default-table-style="basic-table">
> <alt-target use-when="partyGroup==null" target="createPartyGroup"/>
> <auto-fields-service service-name="updatePartyGroup"/>
>
> #### This are commented out lines. ##################
>
> *<!-- <field use-when="partyGroup!=null" name="partyId"
> title="${uiLabelMap.PartyPartyId}"
> tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
> <field use-when="partyGroup==null&&partyId==null"
> name="partyId" title="${uiLabelMap.PartyPartyId}"><ignored/></field>
> <field use-when="partyGroup==null&&partyId!=null"
> name="partyId" title="${uiLabelMap.PartyPartyId}"
> tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display
> also-hidden="false"/></field>-->*/*
> */
> <field name="groupName" tooltip="${uiLabelMap.CommonRequired}"
> widget-style="required"></field>
> <field name="partyTypeId"><ignored/></field>
> <field name="description"
> title="${uiLabelMap.CommonDescription}"><text/></field>
> <field name="preferredCurrencyUomId">
> <drop-down allow-empty="true">
> <entity-options key-field-name="uomId"
> description="${abbreviation} - ${description}" entity-name="Uom">
> <entity-constraint name="uomTypeId"
> operator="equals" value="CURRENCY_MEASURE"/>
> <entity-order-by field-name="abbreviation"/>
> </entity-options>
> </drop-down>
>
>
Re: Create PartyGroup
Posted by eric <er...@free.fr>.
To create a party with a manual party ID
See in ./applications/party/data/PartyDemoData.xml
-----Original Message-----
From: R. S. <ru...@meinkino.com>
Reply-To: user@ofbiz.apache.org
To: user@ofbiz.apache.org
Subject: Create PartyGroup
Date: Thu, 06 May 2010 10:11:44 +0200
Mailer: Thunderbird 2.0.0.24 (X11/20100411)
Hi,
during the creation of Party Group, I noticed that the field "Party ID"
is missing. So I looked at the event createpartygroup, if the field
"Party ID" is missing then one automatically assigned. But I wanted my
own award. So I commented out the fields (see below) and the field was
there.
My question is, what is checked in these lines, which I commented out?
Thank you.
Regards
Rudolf
<form name="EditPartyGroup" type="single" target="updatePartyGroup"
default-map-name="partyGroup"
focus-field-name="groupName" header-row-style="header-row"
default-table-style="basic-table">
<alt-target use-when="partyGroup==null" target="createPartyGroup"/>
<auto-fields-service service-name="updatePartyGroup"/>
#### This are commented out lines. ##################
*<!-- <field use-when="partyGroup!=null" name="partyId"
title="${uiLabelMap.PartyPartyId}"
tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="partyGroup==null&&partyId==null"
name="partyId" title="${uiLabelMap.PartyPartyId}"><ignored/></field>
<field use-when="partyGroup==null&&partyId!=null"
name="partyId" title="${uiLabelMap.PartyPartyId}"
tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display
also-hidden="false"/></field>-->*/*
*/
<field name="groupName" tooltip="${uiLabelMap.CommonRequired}"
widget-style="required"></field>
<field name="partyTypeId"><ignored/></field>
<field name="description"
title="${uiLabelMap.CommonDescription}"><text/></field>
<field name="preferredCurrencyUomId">
<drop-down allow-empty="true">
<entity-options key-field-name="uomId"
description="${abbreviation} - ${description}" entity-name="Uom">
<entity-constraint name="uomTypeId"
operator="equals" value="CURRENCY_MEASURE"/>
<entity-order-by field-name="abbreviation"/>
</entity-options>
</drop-down>