Just as a note:
for some customization I trigger on created to do some business logic.
that business logic then may set the status to hold.

Sumit Pandit (JIRA) sent the following on 7/11/2009 5:33 AM:
> Add statusId field to the FinAccountTrans entity and verify that existing 
> functionality is not broken.
> ------------------------------------------------------------------------------------------------------
> 
>                  Key: OFBIZ-2720
>                  URL: https://issues.apache.org/jira/browse/OFBIZ-2720
>              Project: OFBiz
>           Issue Type: Improvement
>           Components: accounting
>     Affects Versions: SVN trunk
>             Reporter: Sumit Pandit
>              Fix For: SVN trunk
> 
> 
> A) Add statusId field to the FinAccountTrans entity.
> 
> B) Seed data: "Created", "Approved".
> 
> C) Create a database upgrade script that sets the statusId to "Approved" to 
> all the records with statusId set to null, no ECA should be triggered when 
> this update is done.
> 
> D) Verify that all the existing code that is using the FinAccountTrans entity 
> works fine; the idea is that if there is code that:
> 1) creates new FinAccountTrans records, then it should create them in the 
> "Approved" status
> 2) if there are accounting transactions posted when FinAccountTrans records 
> are created/updated, this should now happen only when the status is "Approved"
> 
> Thanks Jacopo for the Guidance.
> 
> 

-- 
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply via email to