You need to modify the initValue() method of the table CustTable. This is a standard method already overridden by the Microsoft product team. You can create a chain of command of the method initValue() and update your code. Alternatively, you can create an event handler of the event onInitializedRecord() and develop your code.