This is because findOne, findAll etc. are static and not prototype methods. So you can call them with
- CustDtlModel.findOne()
On actual instances you need to access the constructor property:
- var cm1 = new CustDtlModel();
- cm1.constructor.findOne(); // == CustDtlModel.findOne()