Login  Register

Users - Creating a very simple commission model

Posted by Vinay Agarwal on Apr 20, 2006; 6:57pm
URL: http://ofbiz.116.s1.nabble.com/Users-Creating-a-very-simple-commission-model-tp138633.html

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