Payments are now linked (associated with) the charges they cover. Conversely, charges are linked to the payment(s) to cover each. (More? Should probably add some explanation/examples (how to set Order IDs appropriately, for example), maybe a screenshot...)
Charge Types are ranked using the Order field (on the Charge Types form) - the lowest value being the highest rank.
Figure: Charge Types form - Order
NOTE
Charges for Payment/Processing Fees (typically for credit card payments) should be associated with the lowest possible Order ID (typically 0 or 1) to ensure they are given priority, and fully paid.
NOTE: Charges for Processing or Payment Fees for credit card payments must be associated with the lowest available Order ID (typically 0 or 1) in order to be properly mapped to the corresponding payment.
Charges may also be ordered/ranked (within type/category) using the Order field on the Charges form:
Figure: Charges form - Order
NOTE
Please note that this applies ONLY to reservations/payments created after your system is updated to amelia 17.04 - that is to say, these links will NOT exist for any previous/existing payments.
Charges/Payments added to reservations with prior payments may not be linked correctly, causing some discrepancies (in reporting).