Reply To: Owing calculation showing zero balances in error

#768
fearless359
Keymaster

I just uploaded an update that add a set_aging flag field to the si_preferences table. When loaded, the first access will update the database and set this field to 1 (true) for the preference ID of 1. All others will be 0 (false). You can then set the other preference records however you like to cause them to set the aging field. So no longer will the aging logic be tied to pref_id of 1, but to this new flag field setting.

I’ll have to look at the domain_id write up. It was written before I added foreign keys and likely does need to be updated to account for this.