Is there any table in SAP that stores the Terms discount for any invoice prior to doing the incoming payment?
We are writing a small program that will take a source file and post incoming payments automatically but wonder if the terms discount is already stored someplace in a table before we go do the actual calculations ourselves outside the standard functionality. I would love to just to a validation check rather than this elaborate date calculations and amt differences to determine if the discount is allowed or not.
Thanks for any feedback