functions of a custom dll

navuser1navuser1 Member Posts: 1,329
edited 2015-08-13 in NAV Three Tier
Dear all,

I have registered a dll(Automation) in a client PC & call its function in a custom Page and as well as in Posting Routing (CU 12). The same code (Dll functions) is working fine in Page GUI but it fails most of the times in Posting Routing in NAV 2013 R2 Database.

What could be possible causes in this type of behaviours ?
IF ISCLEAR(Navuser1Automation) THEN
   CREATE(Navuser1Automation,FALSE,TRUE)

 IF Navuser1Automation.Function1  THEN BEGIN
   //...Code1...
   IF  Navuser1Automation.Function2(2015,'SD') THEN BEGIN   <===This Line Failed while calling through Posting Routing (CU-12)
     //...Code2...
   END
 END;
Now or Never
Sign In or Register to comment.