Hello All,
I have a integer number in my new table. this no should be unique as per another column in same table.
eg : city1 in table can have 1, 2, 3.... value and city 2 can have same set of 1,2,3 columns value,
also when user creates new record in table , integer value should get populated with next available number.
this feature is already existing for purchline creation.
Kindly help me or suggest me where i can change my code to get next available number when user clicks "new" button?