I have this scenario…
April - purchase 10 different items encoded in 1 Purchase Invoice w/c was also properly received and paid.
May - we returned Item #4 because it did not fits the required size
Under the Purchase Receipt, i tried to create Purchase return and it automatically updates the all items in the table. so i deleted the other items and retained the item #4. However, as I click the submit button, the debit note for the whole 10 items are created as well. When I try to edit the details under debit note, I can’t edit it anymore. I have to cancel it together with the Purchase Return. How can I resolve this issue?