Skip to content

Additional "Lifetime" fields #243

@aligentjim

Description

@aligentjim

I've been asked to investigate implementing some additional "Lifetime" fields, similar to the existing "Lifetime Sales Value" field. The fields the client requires seem quite generic and generally applicable, so we were considering doing this as a modification to OroCRM and submitting a PR to get the functionality back into the OroCRM core.

The customer would like:

  • Lifetime Number of Sales - Number of times the customer has purchased. Use case: Identify customers who have made multiple purchases.
  • Lifetime Refund Value - Total value of refunds issued to the customer. Use case: Identify customers who have received large refunds for follow up.
  • Lifetime Number of Refunds - Number of times the customer has received a refund. Use case: identify customers who have received multiple refunds.

We're not asking for the Oro team to implement these additional fields (although you can if you like). What I'd like to do via this issue is to establish whether a Pull Request containing this functionality is likely to be accepted and merged (assuming it meets all applicable quality and style guidelines). We would implement the functionality in sympathy with the existing Oro code base using the "Lifetime Sales Value" field as a template. If a PR containing this functionality isn't likely to be merged we'd create our own bundle and implement it as a separate component instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions