Hans, Surya thanks for you response. Surya, I follow your points and I can see the invoces now. but when I select an invoice and select the action Commision Run and clic the Run button, I get this error: org.ofbiz.webapp.control.RequestHandlerException: Unknown request [processCommissionRun]; this request does not exist or cannot be called directly.
I saw the code of the controller of accounting and really it does not exist. I'm using ofbiz 10.4. then I saw the trunk version of the controller and yes, there does exist. looks like I need to move to the trunk version. Surya Kusumakar-2 wrote: > > Hello Carlos, > > If you want to create automatic Commission invoice, you need to take care > of > these points : > > 1. Sales Order should have been placed by selecting additional > party(Person) > from the Additional Party page. > 2. Sales Order should be completed and invoice should be in Paid status. > 3. Role for additional party should be Sales Representative. > 4. Commission Agreement should exist for the product(s) added in order > w.r.t > the additional party. > > Once you run all these point you will be able to search Commission Invoice > in Commission Run screen. > > You can refer these links as example : > > 1. Sales Order using DemoRepAll as Sales Representative : > https://demo-trunk.ofbiz.apache.org:8443/ordermgr/control/orderview?orderId=WSCO10011. > > 2. Commission Agreement : > https://demo-trunk.ofbiz.apache.org:8443/ap/control/EditAgreement?agreementId=9000 > > 3. Commission Invoice (Commission Run screen) : > https://demo-trunk.ofbiz.apache.org:8443/ap/control/CommissionRun > > HTH > > -- > Regards > Surya Kusumakar > -- View this message in context: http://ofbiz.135035.n4.nabble.com/Automatic-Creation-of-Commission-Invoice-tp3769941p3773092.html Sent from the OFBiz - User mailing list archive at Nabble.com.
