KRACOEUS-8002 changing scheduleidfk to just schedule id