Login  Register

Users - FW: [JIRA] Created: (OFBIZ-853) Simple Commission Mechanism

Posted by Vinay Agarwal on Apr 21, 2006; 5:14pm
URL: http://ofbiz.116.s1.nabble.com/Users-FW-JIRA-Created-OFBIZ-853-Simple-Commission-Mechanism-tp138675.html

I plan to start implementing this weekend--I would appreciate comments.

-----Original Message-----
From: Vinay Agarwal (JIRA) [mailto:[hidden email]]
Sent: Thursday, April 20, 2006 1:56 PM
To: [hidden email]
Subject: [JIRA] Created: (OFBIZ-853) Simple Commission Mechanism

Simple Commission Mechanism
---------------------------

         Key: OFBIZ-853
         URL: http://jira.undersunconsulting.com/browse/OFBIZ-853
     Project: [OFBiz] Open For Business
        Type: New Feature
  Components: accounting, ecommerce, order  
    Versions: SVN    
 Environment: All
    Reporter: Vinay Agarwal
 Assigned to: Jira Administrator


I want to create a very simple commission model that can be expanded as
needed. Components are as follows (Modified from email)

1. New entity OrderItemCommission which contains
orderId (id)
orderItemSeqId (id)
partyId (id)
commission (double)

2. Create a getcommission service to be expanded/replaced by ofbiz admin
Input: ShoppingCartItem and salesChannelEnumId
Output: Map of partyId's and commission's (double).

3. Add function ShoppingCart.makeOrderItemCommission
Similar to makeOrderItems, return a List of OrderItemCommission entities

4. Expand ShoppingCart.makeCartMap to add result from previous step.

5. Add COMMISSION_INVOICE to InvoiceTypes.

6. Modify InvoiceServices.createInvoiceForOrder (and others) to create
COMMISSION_INVOICE for each party.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.undersunconsulting.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users