When adding 2 material lines to a purchase order, an incorrect price agreement was erroneously applied in specific situations

When 2 material lines were added to the same purchase order and these lines had different preferred suppliers based on purchase price agreements, the price agreement was incorrectly applied to the second material line.