You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sumit Pandit (JIRA)" <ji...@apache.org> on 2009/09/01 12:11:32 UTC

[jira] Commented: (OFBIZ-2877) Add a new field nanmed - "statusId" to "GlReconciliation" entity.

    [ https://issues.apache.org/jira/browse/OFBIZ-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749836#action_12749836 ] 

Sumit Pandit commented on OFBIZ-2877:
-------------------------------------

Thank you Parimal for patch, Here a quick change -  please create a new file in Accounting component ( services_upgrade.xml) and move the Migration service in it.
Thanks Ashish Vijaywargiya for your review and suggestion.

> 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
>            Assignee: Ashish Vijaywargiya
>             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.