Reversing a Delivery clears the credit flag on the Return

Description

When an act.supplierDelivery is reversed, it’s details are copied to an act.supplierReturn.
This overwrites the act.supplierReturn credit flag value which should always be true.

This also accurs when an act.supplierReturn is reversed; the resulting act.supplierDelivery’s credit flag is copied from the return.

Exclude the credit flag when reversing deliveries and returns, and provide a migration script to correct existing act.supplierReturn, act.supplierReturnItem, act.supplierDelivery and act.supplierDeliveryItem acts.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created June 26, 2024 at 2:45 AM
Updated June 27, 2024 at 11:34 PM
Resolved June 27, 2024 at 11:34 PM
Who's Looking?