Today  I was debugging the logic written for Custom AIF services  using X++ job before deploy it as AIF service, I got strange error


Stack trace: ‘unchecked’ cannot be called on the client.”. 


5-6-2015 2-30-14 PM


It was due that Service class was set as run  at “Called from”, Only solution is to change run at to Server. Job will successfully run.

5-6-2015 2-30-53 PM