[Kmymoney-devel] Need a solution for a puzzling message

aga agander93 at gmail.com
Sat Feb 7 23:08:34 UTC 2015


When a file is being loaded, and any due schedules are being entered, a 
less than helpful message may be received -
"The expected next check number <b>%1</b> has already been used in 
account <b>%2</b>." "<center>Do you want to replace it with the next 
available number?</center>", num, m_account.name()) + QString("</qt>"), 
i18n("Duplicate number")".
(void TransactionEditor::assignNextNumber(void)) line c.452

No indication is given that this relates to a schedule, nor which 
schedule is involved.  The same code is invoked on creating a new 
transaction, but in this case, the origin is obvious.  A flag could be 
created that triggers an expanded message instead, but might there be a 
better way?

Please could someone suggest how best to deal with this?  Obviously, a 
debug message on the console could help slightly, but might not get noticed.

Allan



More information about the KMyMoney-devel mailing list