Hi,
If sales order is copied to AR invoice, system does not allow you to change unit price and discount fields. In this case there is no use of ADOC table.
You have to compare sales order unit price and discount field with AR invoice. Try above queries posted members.
Thanks & Regards,
Nagarajan