Checking a clean NAV 2013 database and I don't see any code in Job Task No. OnValidate trigger: is it still empty in your environment?
Please check also "Job No." field of "Job Planning Line" table and "Job Task No." field of "Job Task" table have the same type (Code20) by default.