Doc_MatchInv doesn't work correctly with negatives

Description

Test case:

Purchase Order: -1 Azalea

  • No Posting
    Material Receipt: -1 Azalea

  • 14120 DB -15

  • 21190 CR -15
    Invoice Vendor: -1 Azalea

  • 51400 DB -15

  • 21100 CR -15

Now, the MatchInv is intended to close the transit accounts, but:
MatchInv: -1 Azalea

  • 21190 DB +15 *

    (this must be negative!)

    *

  • 51400 CR +15 *

    (this must be negative!)

    *

Environment

None

Status

Assignee

Carlos Ruiz

Reporter

Carlos Ruiz

Labels

Tested By

None

Priority

Major