Fixes for Write-Off Documents and credit note alignment

Purchase To Pay: Supplier Ledger Version 10.67

Previously, when writing off an invoice, the write-off document (purchase credit) was not accessible via View Source Document in Journal Transactions. In addition, the reason code and write-off limits were not properly aligned when writing off a credit note.
These are now fixed.