Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 581F8795D for ; Sat, 27 Aug 2011 15:20:09 +0000 (UTC) Received: (qmail 86151 invoked by uid 500); 27 Aug 2011 15:20:08 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 86080 invoked by uid 500); 27 Aug 2011 15:20:08 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 86072 invoked by uid 99); 27 Aug 2011 15:20:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Aug 2011 15:20:07 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kusumakar.ofbiz@gmail.com designates 209.85.213.44 as permitted sender) Received: from [209.85.213.44] (HELO mail-yw0-f44.google.com) (209.85.213.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Aug 2011 15:20:02 +0000 Received: by ywe9 with SMTP id 9so4241556ywe.31 for ; Sat, 27 Aug 2011 08:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=S+EotEX75G3pOz1hsBpLUuiWvMxIVbp8uA/EGlBYnXY=; b=SqTC/kw4Pgf7E5s621A+faMh3Q9ADbV6FAjxTlStEN6FiDWFoC1GcIN9TJT5jiUMEK sOeNuXwbAiGebQ1gFWFjtr2HoymddBjKjNBGjZUVw5Mmw6ocbC9SB4bBTYHHnzN9huw5 jZCSLQHo2Q7rqotJnOJ2t+ATy0hIdZfE+iv8k= MIME-Version: 1.0 Received: by 10.236.9.38 with SMTP id 26mr14396754yhs.13.1314458381603; Sat, 27 Aug 2011 08:19:41 -0700 (PDT) Received: by 10.236.203.199 with HTTP; Sat, 27 Aug 2011 08:19:41 -0700 (PDT) In-Reply-To: <1314457192128-3773092.post@n4.nabble.com> References: <4E5715AD.7040309@gmail.com> <1314330472.2854.40.camel@hans-laptop> <1314331723019-3769969.post@n4.nabble.com> <1314339039.2854.53.camel@hans-laptop> <1314457192128-3773092.post@n4.nabble.com> Date: Sat, 27 Aug 2011 20:49:41 +0530 Message-ID: Subject: Re: Automatic Creation of Commission Invoice From: Surya Kusumakar To: user@ofbiz.apache.org Content-Type: multipart/alternative; boundary=20cf303bf9ece8517f04ab7e3049 --20cf303bf9ece8517f04ab7e3049 Content-Type: text/plain; charset=ISO-8859-1 Hi Carlos, There is one more issue on Commission Run screen, the Commission invoice which is shown on Commission Run screen is actually Sales Invoice (Sales Order one) with Paid status, but it should be Commission Invoice with In Process status. There is some bug in code, Commission Invoice is actually not getting created. -- Thanks & Regards Surya Kusumakar On Sat, Aug 27, 2011 at 8:29 PM, cguZZman wrote: > 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. > --20cf303bf9ece8517f04ab7e3049--