Hi all,
I have created function (Codeunit), and use NAS to schedule to run it. In my function, i called many functions in others Page, I start NAS Service and got an error from Event viewer: Your program license does not permit use of the datatype Page. This message to indicate that: My license can not use Page datatype in NAS? so can i upgrade license to support Page datatype in NAS?
Thanks all.
0
Comments
BTW if you're going to use pages (Role tailored client), you need to update your license (for free, if you're a solution center).
PS: if you do some modification, remember to restart nas
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I want to show my function. I stock in products from another system to my system, so i use InStream to read file CSV (Because, NAS can not use XML Port!), I need to assign LOT. When assigning LOT, I call function SetSource from Page Item Tracking Lines: ItemTracking: FORM Item Tracking Lines
If I use FORM datatype, I got an error: You cannot use C/AL variables of type FORM when running the Application Server for Microsoft Dynamics NAV Classic., so I try to use Page datatype, I still got an other error: Your program license does not permit use of the datatype Page.
Because some functions in Page Item Tracking Lines are more complicated, so it is to hard to copy it to table or codeunit (as einsTeIn.NET said).
I hope that upgrade license will solve my problem ? [-o<
Jokes apart, forget to call the same functions of the form, and follow this topic (to get inspiration, at least).
http://www.mibuso.com/forum/viewtopic.php?f=23&t=47186&hilit=tracking
and search mibuso for createreserventry or similar...
In the topic i linked above, you'll find the method to populate the reservation entry table (actually, achieving the same result as filling the form)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I am very concerned about this case. Thank for your suggestion.
So i hope you can share run-able codeunit or function for assigning the Lot. :thumbsup:
I and my colleague (waynenl) have found the solution base on your suggestion.
I'm glad you solved it. And I hope you don't have to mess with item tracking anymore, it's so painful... ](*,)
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog