[OFBiz] Users - Support for Billing Account inPartyProfileDefault

Vinay Agarwal VinayKAgarwal at hotmail.com
Thu Apr 13 10:10:49 CDT 2006


Chris,
Do you anticipate many new type of default entries? From what I can recall
from all commercial sites I have used, PartyProfileDefault is missing only a
few things, e.g. default email, default phone, default shipping method,
default gift wrap etc. May be we can add these items without changing its
structure.
Vinay

-----Original Message-----
From: users-bounces at lists.ofbiz.org [mailto:users-bounces at lists.ofbiz.org]
On Behalf Of Chris Howe
Sent: Thursday, April 13, 2006 6:46 AM
To: users at lists.ofbiz.org
Subject: Re: [OFBiz] Users - Support for Billing Account
inPartyProfileDefault

I know that it would be a litte work, but would it be
better (more flexible) for PartyProfileDefault entity
to be a type and value type of entity, ie

    <entity entity-name="PartyProfileDefault"
            package-name="org.ofbiz.party.party"
            title="Party Profile Defaults">
      <field name="partyId" type="id-ne"></field>
      <field name="productStoreId"
type="id-ne"></field>
      <field name="profileDefaultType"
type="id"></field>
      <field name="value" type="id"></field>
      <prim-key field="partyId"/>
      <prim-key field="productStoreId"/>

and add a PartyProfileType entity.  That way every
additional "default" someone thinks up doensn't need
to change the entity and 75% of the entity won't
remain empty.
=============Vinay wrote:

Hello,

 

PartyProfileDefault is missing support for billing
account id so that it can
be selected by default in ecommerce checkout screens.
Using input from
Chris, here's a two line patch to fix that. It does
add another field to
PartyProfileDefault. If it makes sense, it can be
incorporated in SVN. I can
make Jira issue if that is preferred.

 

Regards,

Vinay Agarwal
 
_______________________________________________
Users mailing list
Users at lists.ofbiz.org
http://lists.ofbiz.org/mailman/listinfo/users


More information about the Users mailing list