I came across a similar scenario when business decision was taken to not to use 
parts of inventory, parts of accounting and entire fulfillment applications of 
Ofbiz and using only the e-commerce (Order, PO and Product modules apart from 
general framework). We decided to integrate Ofbiz with third party commercial 
solutions in real time for our inventory and accounting needs. This was 
challenging as modules we were intending to use had lot of dependencies on 
other modules by the way of data processing and ECA's. My advice, if you do not 
want to use a particular module or some data, follow the procedure

1) Identify the entities you are using
2) Examine the seed data related to those entities, remove the instance data 
and NOT the entity definition data (usually available in "*typedata.xml").
3) Make sure you do not touch *typedata.xml" or any setup data, if you make a 
mistake here, there are high chances you may end up in failing ECA's
4) Examine the services you are using and associated ECA's, if required disable 
those ECA's (Important when you do not want to use a module linked thru ECA's)
        (Example, while receiving the inventory, there are a few accounting 
entries created, so you have dependency on accounting setup data. Solution, 
provide the data or disable the ECA, though I would avoid disabling the ECA 
unless I am very sure it does not impact any other use case).
5) If you add yr business specific entity attributes, extend the entity rather 
than adding the attribute to default schema.


-Abhai


-----Original Message-----
From: BJ Freeman [mailto:[email protected]]
Sent: Thursday, June 10, 2010 6:13 AM
To: [email protected]
Subject: Re: Customizing seed data

from a maintainence point of view you would have to do that every time
you upgraded the code since the update would overwrite all your mods.
Unless there is something that may cause confusion I just leave it in.



=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation  
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Jonatan Soto sent the following on 6/10/2010 2:20 AM:
> Hi,
>
> i am currently setup a production + development environment and I want to
> know if there is a guideline of how to customize seed data. I understand
> that seed data is maintained along the ofbiz code but for me doesn't make
> sense to have a very large list of languages, currencies, uom's and so on,
> so I think it's a good practice to 'eliminate' everything the business is
> not gonna use. Please correct me if I'm wrong.
>
> As I could checked it out I saw I possible approach where I may convert seed
> data to ext data and comment it out the data I will never use. Am I right?
>
> Best regards,
>
> Jonatan Soto
>


http://www.mindtree.com/email/disclaimer.html

Reply via email to