[ 
https://issues.apache.org/jira/browse/OFBIZ-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Singh Pandya updated OFBIZ-2735:
--------------------------------------

    Attachment: Set_Status_of_FinAccountTrans_OFBIZ-2735.patch

Here is the patch of implementation.

This patch contains the following -
- Call service via ECA when create-store operation is performed at entity 
FinAccountTrans to set the 
  status.
- Add a condition so that updateFinAccountBalancesFromTrans will be called only 
when 
  FinAccountTrans.statusId = FINACT_TRNS_APPROVED.
- Add a constraint to add and subtract amount (statusId = FINACT_TRNS_APPROVED).
- Recalculate the amount field of FinAccount Entity.
- Get all the Payments associated with finAccountTrans and set their 
finAccountTransId to null.

> Implement a service to set the status of FinAccountTrans entity.
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-2735
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2735
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Sumit Pandit
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: Set_Status_of_FinAccountTrans_OFBIZ-2735.patch
>
>


-- 
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