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