From notifications-return-24561-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Fri Mar 29 11:49:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 44B64180651 for ; Fri, 29 Mar 2019 12:49:02 +0100 (CET) Received: (qmail 16994 invoked by uid 500); 29 Mar 2019 11:49:01 -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 16842 invoked by uid 99); 29 Mar 2019 11:49:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2019 11:49:01 +0000 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 D8706E298F for ; Fri, 29 Mar 2019 11:49:00 +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 931EF2459A for ; Fri, 29 Mar 2019 11:49:00 +0000 (UTC) Date: Fri, 29 Mar 2019 11:49:00 +0000 (UTC) From: "Ingo Wolfmayr (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (OFBIZ-10878) Get billing party by parent invoice type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ingo Wolfmayr created OFBIZ-10878: ------------------------------------- Summary: Get billing party by parent invoice type Key: OFBIZ-10878 URL: https://issues.apache.org/jira/browse/OFBIZ-10878 Project: OFBiz Issue Type: Improvement Components: accounting Affects Versions: Trunk, Release Branch 17.12, Release Branch 18.12 Reporter: Ingo Wolfmayr Attachments: InvoiceworkerImprove.patch The fallback to get the billing party uses the invoicetypeId form the invoice. SALES_INVOICE & PURCHASE_INVOICE I would propose to use match it against the parentInvoiceTypeID from INVOICE_TYPE CUST_RTN_INVOICE a.s.o. will then work as well. Patch is attached. Nothing complicated. -- This message was sent by Atlassian JIRA (v7.6.3#76005)