Add functionality for store credit either in fin account or billing account while performing return. ----------------------------------------------------------------------------------------------------
Key: OFBIZ-2502 URL: https://issues.apache.org/jira/browse/OFBIZ-2502 Project: OFBiz Issue Type: Improvement Components: order Affects Versions: SVN trunk Reporter: Santosh Malviya Priority: Minor Fix For: SVN trunk 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). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.