Hi,
Steps to reproduce :
open BPartner / Customer Accounting :
on Customer Receivables, create a new combination (eg *-21510) and use it.
Then, on Customer Prepayment, open the dialog box and select same values (Org=* and Account=21510).
When clicking on OK button, a popup will ask if we want to create a new combination. It shouldn't as it already exists.
In this case, it should only close the dialog box and update the content of the Customer Prepayment field.
Not sure about the best way to deal with it.
Maybe add a check on the : onEvent / ok part ; something like that :
if (needconfirm) {
// Check if the combination already exists (see action_Save ; where comment is "Check if already exists")
// if (MAccount.get(<all dimensions from dialog>) == null {
FDialog.ask(m_WindowNo, this, "CreateNewAccountCombination?", new Callback<Boolean>() {
}
}
}
It would need to create a new method 'exists' which will be used in action_Save and here.
WDYT ?
Nicolas