Gaudin Pierre created OFBIZ-13350:
-------------------------------------

             Summary: When adding invoice lines to an invoice, the parent line 
reference is not filled in.
                 Key: OFBIZ-13350
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13350
             Project: OFBiz
          Issue Type: Bug
          Components: accounting/invoice
    Affects Versions: 24.09
            Reporter: Gaudin Pierre
             Fix For: 24.09


The addTaxOnInvoice method, which adds taxes to an invoice, creates tax lines. 
However, these are only linked by the parentInvoiceItemSeqId. The 
parentInvoiceId value is no longer filled in as it was in later versions.

This means that the relationship between the two lines is no longer used. It is 
therefore possible to delete the parent line without deleting the child line. 
This results in data that is no longer consistent, as there remains a child 
line that references a parent line that no longer exists.

The proposal is therefore to restore the value of the parent line 
(parentInvoiceId) on the child line. 

Translated with DeepL.com (free version)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to