Job Queue for unlimited company

sandy_bsilsandy_bsil Member Posts: 40
Hi All,

I just went through the below link,

http://www.mibuso.com/forum/viewtopic.php?f=7&t=22633

I am getting confused..

1. I have installed NAS on NAV 2009 SP1, SQL 2005.
2. I have 12+1 [one dummy company] companies.. data for all 12+1 companies will be available in one table in NAV. I have to move them to the respective company's General Journal. I have few [based on Transaction Type] reports to do the same. Now i need to schedule the same on NAS.

3. I have imported the above customized objects. But getting confused with the setup.
a) In which company I have to do the Job Queue Setup.
b) In the Job Queue Entries, which object to run.. my customized reports or the CU 448??
c) What about the Job Queue in the other companies??

What i did..
1. After installing NAS, imported the customized Job Queue objects.
2. In the dummy company i created one Job Queue Entry to run a customized 50001 report and the company i selected was Company1.
3. In the Event Viewer i am getting an error

The value of COPYSTR parameter 3 is outside of the permitted range.

The current value is: -1.
The permitted range is: from 0 to 2147483647

I saw that in the Codeunit 50000 [Run NAS Accross Company], the
txtFromCompany := COPYSTR(strParamemter,1,STRPOS(strParamemter,'|')-1);
is returning this error..

So please let me know, whats the mistake i am doing..

Thanx in advance..
Sandeep B

Comments

  • MalajloMalajlo Member Posts: 294
    Do you have a pipe (|) in startup parameter?
    Change codeunit or change startup parameter.
Sign In or Register to comment.