"Force Doc. Balance must be equal to 'Yes' in Gen. Journal Template: Name=***. Current value is 'No'."
If a User attempts to record a fee expense as a Deposit Line (ex. bank fee, document type Empty) with a negative amount under Credit Amount, and adds a Customer entry (ex. payment) with a positive Credit Amount and attempts to post the Deposit (Total Deposit Lines = Total Deposit Amount), the system throws an error, creates the Posted Bank Deposit Header, but does not record GL entries.
This seems to originate from the system completing the first section of this post (see second bold section) before posting the journal lines.
During the journal lines preparation, the system reads journal lines with positive credit amounts or negative debit amounts as "Corrections".
During the posting process, if the Posting Date, Document Type or Document No on a specific line being processed were different than the last "processed" line's information, the system ensures that the Journal Template's "Force Doc. Balance" is set to true.
If the Journal Templat's "Force Doc. Balance" field is false, the system throws an error and before the journal entries post, but NOT before posting the Posted Deposit Header -- leaving the Posted Bank Deposit document in the system, but not the related entries.
This is what I was able to find by analyzing some of the code.
Hopefully this will help someone.