Void an invoice with incorrect SDSO09 flag price adjustment history indicator
After technical focus, I noticed that in the orginal invoice document, the SDSO09 was put to blank whereas adjustment was present in the file F4074. It happens during the sales order repricing by basket (RPRC) : each first line per basket repricing group has '1' in the flag SO09 : all others belonging to the basket group are blank. Hence, during the credit memo entry (option 6 / P42025), the related adjustments are not duplicated due to blank value in SO09 preventing a complete voiding (of course, the net amount is correct).