05-20-2014, 02:14 PM
Once the record is created there is no way of changing that value from within the application, you will have to go directly into the database.
See if the next SQL and attached image help.
[attachment=0]<!-- ia0 -->Update_sequence_field.png<!-- ia0 -->[/attachment]
See if the next SQL and attached image help.
Code:
SELECT `account_no`,substr(`account_no`,1,3), concat(substr(`account_no`,1,3),lpad(substr(`account_no`,4),5,'0')) from `vtiger_account`;
UPDATE `vtiger_account` SET `account_no`= concat(substr(`account_no`,0,3),lpad(substr(`account_no`,3),5,'0')) where {whatever condition};
[attachment=0]<!-- ia0 -->Update_sequence_field.png<!-- ia0 -->[/attachment]
Joe
TSolucio
TSolucio