Running A code unit through a LS Schedular Using NAS

HayanHayan Member Posts: 110
Dear All,

I created a Job in LS Schedular and i assigned it a code unit that i created, my task is to make this code unit run automatically with other jobs, but when i assign this codeunit to a Schedular Job Type Filter HO example, it is giving an error. but if i run this Job manually from the Schedular it will be succesfull, can anybody help on this, is there any specific Criteria for running a code unit thru NAS when assigned to LSSchedular.

Best
HAYAN

Comments

  • ara3nara3n Member Posts: 9,256
    You need to modify LS Scheduler to get the last error and then see why it's erroring out in NAS.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • HayanHayan Member Posts: 110
    How do i modify it to Get Last error?
  • ara3nara3n Member Posts: 9,256
    Turn on Code coverage and see where Codeunit.RUN is run and go change that code.
    If you don't have development skills contact your solution center to modify it for you.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.