You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Vince Clark (JIRA)" <ji...@apache.org> on 2009/02/16 18:14:59 UTC

[jira] Updated: (OFBIZ-2110) Add initialAccount field to SalesOpportunity entity

     [ https://issues.apache.org/jira/browse/OFBIZ-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vince Clark updated OFBIZ-2110:
-------------------------------

    Attachment: SalesOpportunityEntity.patch

All this patch does is add an "InitialAccount" field to the SalesOpportunity entity. I did not add any referential integrity so the only way it is being enforced as a partyId is the form. Not sure if this is the normal way to do things when referencing partyId's.

Also, as I commented in this issue, I don't know why it is called "InitialAccount" in the form. I inherited this name when I added it to the entity. But I think it should just be "Account". I don't see a reason to differentiate as "InitialAccount." If you go this route you will also need to change all references in applications/marketing/widget/sfa/forms/OpportunityForms.xml.

For clarity you should also change uiLabelMap.SfaInitialAccount.

> Add initialAccount field to SalesOpportunity entity
> ---------------------------------------------------
>
>                 Key: OFBIZ-2110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2110
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Vince Clark
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: SalesOpportunityEntity.patch
>
>
> There is a field in the SalesOpportunity form to link to a Party but no field in the entity to store it in.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.