Notifications
Announcements
No record found.
The value of DELSTR parameter 2 is outside the permitted range when preview report in dynamics NAV 2013. Customer+ Sales Person/ Purchaser table.
*This post is locked for comments
What is the Report ID?
Is it a standard report or customized?
I make a custom report. when i am going to preview this report the error comes. No error during compile.
Thank You
There is something wrong in parameters which you have used in DELSTR function.
Please check with Debugger
I already checked with debugger. But debugger didn't find anything.
Can you show us the code with DELSTR statement and where did you write this code?
CompanyINFO.GET;
CompanyINFO.CALCFIELDS(CompanyINFO.Picture);
FormatAddr.Company(CompanyAddr,CompanyINFO);
Code in "Customer- OnPreDataItem" Trigger.
Expanded Data Type Data Source Name Include Caption1 DataItem Customer <Customer> No0 Column Customer.City City_Customer Yes0 Column Customer."No." No_Customer Yes0 Column Customer.Name Name_Customer Yes0 Column Customer."Balance (LCY)" BalanceLCY_Customer Yes0 Column Customer."Credit Limit (LCY)" CreditLimitLCY_Customer Yes1 DataItem Salesperson/Purchaser <Salesperson/Purchaser> No0 Column "Salesperson/Purchaser".Name Name_SalespersonPurchaser Yes0 Column CompanyINFO.Picture Logo No0 Column CompanyAddr[1] CompanyAddr1 No0 Column CompanyAddr[2] CompanyAddr2 No0 Column CompanyAddr[3] CompanyAddr3 No0 Column CompanyAddr[4] CompanyAddr4 No0 Column CompanyAddr[5] CompanyAddr5 No0 Column CompanyAddr[6] CompanyAddr6 No
Hi, as Mohana asked there is at least a code line with DELSTR statement, can you please post it?
Sorry Sir, I don't write any code related to DELSTR. But still error is coming. I am new in NAV so i don't have too much knowledge to solve this problem. I sent all which i write on report.
Ok, so I suppose the error is raised inside Format Address codeunit: composing the address the function GeneratePostCodeCity is called and inside it there are a few DELSTR, I guess it's one of them failing.
On Company Information table all the fields like City, Post Code, County and Country are properly filled?
I filled all fields in Company Details Table but still find same error.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.