[jira] [Commented] (OFBIZ-10856) Customer Party getting set as 'organizationPartyId' in one the Account transaction for Customer Invoice

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10856) Customer Party getting set as 'organizationPartyId' in one the Account transaction for Customer Invoice

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-10856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805648#comment-16805648 ]

Chinmay Patidar commented on OFBIZ-10856:
-----------------------------------------

Provided the patch with the resolution. The problem was due to the wrong use of the variables from which the value was getting assigned.

Additionally, I would like to bring the attention towards the record which gets created in this affected area of code. Even if the tax amount is zero we do create the record. Is it a required behavior? 

> Customer Party getting set as 'organizationPartyId' in one the Account transaction for Customer Invoice
> -------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-10856
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10856
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Release Branch 14.12, Trunk, 17.12.01, Release Branch 16.11, Release Branch 18.12
>            Reporter: Chinmay Patidar
>            Assignee: Chinmay Patidar
>            Priority: Critical
>         Attachments: OFBIZ-10856.patch
>
>
> During the research over some of the unposted transactions, it was found that the customer party Id is getting set as organization party Id for one of the transactions belonging to a customer return invoice.
> Steps to regenerate:
> Simply create a return and receive it so as to eventually generate the return invoice. Inspect the return invoice's transaction. One of the transaction would be containing the customer party Id as the organization party Id.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)