Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-2502

Add functionality for store credit either in fin account or billing account while performing return.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • Trunk
    • order
    • None

    Description

      Currently OFBiz creates a Store Credit as a Payment associated with a Billing Account (creating a new BA if one doesn't already exist). Do same for fin account.
      Following are the steps to do this:
      (1) Add a field to the ProductStore entity to specify whether returns should go on a Financial Account or a Billing Account.
      (2) Extend the processCreditReturn service to look at that setting and if set for a Financial Account find one for the customer (create one if necessary) and add a credit transaction to it for the credit and associate that credit transaction to the ReturnItem it came from (just like currently done with BillingAccount Payment).

      Attachments

        1. OFBIZ-2502.patch
          30 kB
          mridul.pathak
        2. OFBIZ-2502.patch
          29 kB
          mridul.pathak
        3. FinAccountOrBillingAccount.patch
          45 kB
          Santosh Malviya

        Activity

          People

            vikasmayur Vikas Mayur
            santoshmalviya Santosh Malviya
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: