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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Vinay Agarwal
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
Reply | Threaded
Open this post in threaded view
|

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

Si Chen-2
I like your style.  :)  I'll get to it soon.  Si

Vinay Agarwal wrote:

> 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.
>
>
>  

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