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

Parimal Gain updated OFBIZ-2877:
--------------------------------

    Attachment: OFBIZ-2877.patch

Attached patch for the work.

Thanks to sumit

> Add a new field nanmed - "statusId" to "GlReconciliation" entity.
> -----------------------------------------------------------------
>
>                 Key: OFBIZ-2877
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2877
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Sumit Pandit
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-2877.patch
>
>
> Add a new field to GlReconciliation entity, statusId; Purpose to add this 
> field is to identify Reconciliation status - it is in Created or Reconciled 
> status.
> This will affect in following area - 
> Entity changes - 
> 1) Update entity definition.
> 2) Seed data for status - Created and Reconciled.
> 3) Status Valid change.
> Service Changes - 
> 1) Need to write a migration service which will set the status of 
> GlReconciliation based on following criteria - 
>       If reconciliationBalance = null -> set status to "CREATED"  
>       If reconciliationBalance != null -> set status to "RECONCILED" 
> 2) Implement a new service - setGlReconciliationStatus
> 3) createGlReconciliation 
>       on create a new GlReconciliation record set its status to default 
> "CREATED"  if statusId not existed in parameters.
> 4) createGlReconciliationEntry
>       It will out a optional field - statusId = RECONCILED if 
> GlReconcilition.statusId == CREATED.
>       then Call an eca from it - setGlReconciliationStatus if 
> parameters.statusId existed. 
> 5) Service which assign FinAccountTrans to GlReconciliation - Before 
> assignment need to verify that GlReconciliation.statusId == CREATED.
> 6) Everywhere status should change by rule of StatusValid change.
>  UI Changes - 
> 1) Add a field statusId at create/update/list glreconciliation form.
> 2) Assign FinAccountTrans to GlReconciliation - in dropdown show only those 
> GlReconciliations whose statusId == Created.
> 3) And every place where it is require.

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