[
https://issues.apache.org/jira/browse/OFBIZ-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730896#action_12730896
]
Sumit Pandit commented on OFBIZ-2720:
-------------------------------------
Hello Jacopo,
Here we are updating entity using store value tag in minilang(<store-value
value-field="finAccountTrans"/>).
Though an eeca is being called on entity "FinAccountTrans" therefore I would
ask to user to comment the eca.
Let me know if we need to use any alternate approach.
> 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
>
> Attachments: AddedStatusIdToFinAccountTrans.patch,
> AddedStatusIdToFinAccountTrans.patch
>
>
> 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.