handli茶形式:异常ng when duplicate code entered

When using forms to add to a list (where the code can be entered), users can accidently re-enter an existing code which triggers a model roll back, as it's considered a duplicate.

There's also no notification the model is rolling back so it looks like the app is spinning its wheels. This leads to confusion and potentially the user trying again (to no avail and another roll back).

Ideally, there should be some form of exception handling to prevent this scenario, including,

- notification that the code is already in use, and

- the option to accept that the data (inclusive of parent-child relationship) will be updated, or

- the option to cancel the process from running all together.

1 Comment
u06gr8
Contributor

This would be incredibly useful.

A way to get around this would be to allow for automatic generation of a code on create, which has been suggested here (link below). The ability to add a form to a process would allow even more flexibility here.

https://community.anaplan.com/t5/Idea-Exchange/NUX-Forms-Exception-handling-when-duplicate-code-ente...

Forms are a fantastic new release, the above mentioned would help take them to the next level.