Create record function in filament resource - Filament