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.


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

Reply via email to