Some dependencies are mandatory, e.g. partyId in invoice, however, a lot
of components are now dependent on accounting because of FixedAsset.
For example, a workeffort may have a fixedAssetId. However,
fixedAssetId is optional in workeffort yet this relationship causes
another dependency.
Bruno Busco wrote:
So in general we are not trying to have absolute components
independance from each other.
We need only to define and agree on a components functional
hierarchical dependance and enforce it so that an higher level
component should be removed without any issue.
-Bruno
2010/2/6 Rishi Solanki <[email protected]>:
No worries Jacopo our ultimate goal is to work in Profit of OFBiz project,
what you understand from Initial question in that case the answer was right.
Learn a lot from each commiter commits and all discussions and conclusion
drawn by you guys. Happy to working in OFBiz with great community.
:-)
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.
On Sat, Feb 6, 2010 at 3:43 PM, Jacopo Cappellato <
[email protected]> wrote:
I am really sorry Rishi (and Christopher): I completely misunderstood
Christopher's initial question and I have caused confusion!
Yes, I agree that we should move the view to the accounting component.
Kind regards,
Jacopo
On Feb 6, 2010, at 9:41 AM, Rishi Solanki wrote:
Hi Jacopo,
Chris is asking to move view entity in to accounting which is currently
in
the Party component. It is looking fine to me.
Please let me know if I misunderstood something.
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.
On Sat, Feb 6, 2010 at 1:31 PM, Jacopo Cappellato <
[email protected]> wrote:
Hi Christopher,
no, the PartyAcctgPreference entity is defined in the accounting
component
(it is used to define accounting preferences for a given organization)
and
so it cannot be moved to the party component.
Kind regards,
Jacopo
On Feb 5, 2010, at 11:46 PM, Christopher Snow wrote:
In the party component, there is a view dependent on the accounting
component:
<view-entity entity-name="PartyAcctgPrefAndGroup"
package-name="org.ofbiz.party.party"
title="PartyAcctgPreference and PartyGroup Entity">
<member-entity entity-alias="PTYACCPREF"
entity-name="PartyAcctgPreference"/>
<member-entity entity-alias="PTYGROUP" entity-name="PartyGroup"/>
<alias entity-alias="PTYACCPREF" name="partyId"/>
<alias entity-alias="PTYACCPREF" name="baseCurrencyUomId"/>
<alias entity-alias="PTYGROUP" name="groupName"/>
<view-link entity-alias="PTYACCPREF" rel-entity-alias="PTYGROUP">
<key-map field-name="partyId"/>
</view-link>
</view-entity>
Should this view be relocated to the accounting component?
Many thanks in advance...