Wrong accounting facts by using the GL Distribution - Line_ID is not transfered

Description

In the method distribute() from Fact.java is the line_id for factLine with 0 defined and later not updated, so the posting has always Line_ID=null in the destination-accounting-record.

Queries like taxcorrection by discount or write off are searching for accounting facts with line_id = null and get wrong information.

Environment

None

Activity

Show:
Carlos Ruiz
October 26, 2016, 3:16 PM

Assignee

PatricG

Reporter

PatricG

Labels

None

Tested By

None

Components

Affects versions

Priority

Critical
Configure