Login  Register

Re: Users - Creating a very simple commission model

Posted by Si Chen-2 on Apr 20, 2006; 8:52pm
URL: http://ofbiz.116.s1.nabble.com/Users-Creating-a-very-simple-commission-model-tp138633p138634.html

Vinay,

I'd suggest that you create a JIRA issue to track this.  I have actually thought about this a fair bit, and I'm sure others will have comments as well.

Si

Vinay Agarwal wrote:

Of course, I would like feedback and help wherever possible.

 

-----Original Message-----
From: [hidden email] [[hidden email]] On Behalf Of Vinay Agarwal
Sent: Thursday, April 20, 2006 10:58 AM
To: 'OFBiz Users / Usage Discussion'
Subject: [OFBiz] Users - Creating a very simple commission model

 

Hello,

 

I need commission defined for each order. I plan to implement a very simple commission model as follows and would like to get it in the main code if it is desirable.

 

Regards,

Vinay Agarwal

 

1. Assuming commission depends upon product price, add following fields to ProductPrice

commission (double)

commissionPartyId (id)

2. I will assume the commission amount will be generated manually/offline, therefore, it needs to be entered with price

3. New entity OrderItemCommission which contains

orderId (id)

orderItemSeqId (id)

partyId (id)

commission (double)

4. Order cancellation, completion, and return (and possibly others) need to create commission invoice. I need most help here.

 


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

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