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 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. |
[ 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Vijaywargiya reassigned OFBIZ-2877: ------------------------------------------ Assignee: Ashish Vijaywargiya > 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. |
In reply to this post by Nicolas Malin (Jira)
[ 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. |
In reply to this post by Nicolas Malin (Jira)
[ 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 Thanks Ashish and Sumit for suggestion. Here is the updated patch with separate files for migration services in Accounting component. > 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, 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Vijaywargiya closed OFBIZ-2877. -------------------------------------- Resolution: Fixed Thanks Parimal & Sumit - Done at r809984. -- Ashish > 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, 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. |
Free forum by Nabble | Edit this page |