Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1E087200CE3 for ; Sun, 30 Jul 2017 08:03:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1BEB2164794; Sun, 30 Jul 2017 06:03:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 612EC164793 for ; Sun, 30 Jul 2017 08:03:05 +0200 (CEST) Received: (qmail 54990 invoked by uid 500); 30 Jul 2017 06:03:04 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 54981 invoked by uid 99); 30 Jul 2017 06:03:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2017 06:03:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id EF97C1A1B24 for ; Sun, 30 Jul 2017 06:03:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id pf_S-Yxyz8TF for ; Sun, 30 Jul 2017 06:03:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 877A95FE37 for ; Sun, 30 Jul 2017 06:03:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 62532E0DF0 for ; Sun, 30 Jul 2017 06:03:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 386C424654 for ; Sun, 30 Jul 2017 06:03:00 +0000 (UTC) Date: Sun, 30 Jul 2017 06:03:00 +0000 (UTC) From: "Paul Foxworthy (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-6330) The invoiceTaxTotal value is missing from createAcctgTransForPurchaseInvoice service MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 30 Jul 2017 06:03:06 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-6330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16106339#comment-16106339 ] Paul Foxworthy commented on OFBIZ-6330: --------------------------------------- Hi all, I now have a script to demonstrate this on the demo site. _Add a supplier for service product SV-1000._ Catalog Edit Product With Product ID: SV-1000 https://demo-trunk.ofbiz.apache.org/catalog/control/EditProduct?productId=SV-1000 click on Suppliers In Add Product Supplier, enter Last Price of 100 and Supplier Product Id of SV-10000. Click Create _Enter an order of the service product_ Order-Order Entry (https://demo-trunk.ofbiz.apache.org/ordermgr/control/orderentry) Select Supplier of Acct Big Supplier, click Continue on Purchase Order screenlet Click Continue again Choose Product SV-1000 Click Finalize Order Click Continue multiple times, then Create Order Click Approve Order _Because this is a service, no shipment is necessary. Order status will be set to Completed, and an purchase invoice will be created. If you do this with the initial demo data, the invoice will have an ID of 10000. Click on link from Order to Invoice Click on "Status To Ready" _In Transactions, the GL entries don't balance. The item and tax are there, but the accounts payable amount should be $101, not $100._ _The GL entries have been added to the suspense journal because they don't balance._ > The invoiceTaxTotal value is missing from createAcctgTransForPurchaseInvoice service > ------------------------------------------------------------------------------------ > > Key: OFBIZ-6330 > URL: https://issues.apache.org/jira/browse/OFBIZ-6330 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: Trunk > Reporter: Kongrath Suankaewmanee > Assignee: Paul Foxworthy > Labels: tax, vat > Attachments: GeneralLedgerServices.patch, OFBIZ-6330_TaxAccountingOnPurchasesAndReturns-alternative.patch, OFBIZ-6330_TaxAccountingOnPurchasesAndReturns_inline.patch, OFBIZ-6330_TaxAccountingOnPurchasesAndReturns.patch, OFBIZ-6330_TaxAccountingOnPurchasesAndReturns.patch, pic01.PNG, pic02.png > > > Hi All, > Scenario: The sum of debit and credit in InvoiceAcctgTransEntriesPdf of purchase invoice are not equal. > Question: I'm not sure why the createAcctgTransForPurchaseInvoice service did not call the method to get invoiceTaxTotal. > {code} > > > > {code} > And the invoiceTaxTotal value needs to add to totalAmountFromInvoice via code below: > {code} > > > > > > > {code} > That it should work like the createAcctgTransForSalesInvoice service of the sales invoice. -- This message was sent by Atlassian JIRA (v6.4.14#64029)