I kindly need your feedback on the following 3 questions:
I need to have a unique auto-genarated ID per entity. So I am extending BaseIntegerIdEntity for this purpose.
However, the generated Ids are incremental per user session only. For example, if the same user creates 2 records in the same session, he will get id 1 and then id 2. Next time he logs in, he might get id 101, id 102, although IDs between 2 and 101 are not taken. How can I override this behavior? Moreover, the ID is showing with , seperators. For example, 1201 is showing as 1,201. How can I remove the separator?
I need to disable some fields (that are part of the entity uniqueness) when updating and not when adding. So basically disallowing the user from updating those attributes, but he can set them upon creation. What is the best way to implement this?
When building a screen where some fields span more than one row, the layout of the screen gets corrupted.
For example, in the attached image of the items screen, when I increment the rows of the field “Long Description” to 2, some kind of separator shows between the fields “Mrc Price” and “Otc Discount” so that the later field stays aligned with the field “Type”. How to remove this separator and having the fields show just one after the other with equal separation regardless of the number of rows for each?
Many Thanks in advance.