Login  Register

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

Posted by Si Chen-2 on Apr 21, 2006; 5:32pm
URL: http://ofbiz.116.s1.nabble.com/Users-FW-JIRA-Created-OFBIZ-853-Simple-Commission-Mechanism-tp138675p138676.html

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