To create a party with a manual party ID
See in ./applications/party/data/PartyDemoData.xml

-----Original Message-----
From: R. S. <[email protected]>
Reply-To: [email protected]
To: [email protected]
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&amp;&amp;partyId==null" 
name="partyId" title="${uiLabelMap.PartyPartyId}"><ignored/></field>
        <field use-when="partyGroup==null&amp;&amp;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>

Reply via email to