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
Hi
Even I was having same error while printing Sales Invoice. I found that there was no Country/Region code updated in Customer Master as a result in Sales Header "Bill to Country/Region" code was Empty. Hence it was Throwing Error.
I updated Country/Region Code in customer master and I reselected Customer in Sales Invoice. Now, the problem got resolved No Error :-)
Hi folks,
Finally I have been able to find what was raising the particular error I
reported on the forum. It was as a result of a setup mismatch between
the Country/Region record and that of the General Ledger Setup as
regards the address format field value.
In the Country/Region records the address format is set as "city+postcode" while in the
General Ledger Setup it is set as "postcode + city".
Hi,
It sounds great. Could you verify the solution?
Best Regards,
MMV
Hi folks,
Finally I have been able to find what was raising the particular error I
reported on the forum. It was as a result of a setup mismatch between
the Country/Region record and that of the General Ledger Setup as
regards the address format field value.
In the Country/Region records the address format is set as "city+postcode" while in the
General Ledger Setup it is set as "postcode + city".
yeah I did and below is a sample of the code in OnPreDataItem trigger:
CompanyInfo.GET;
CompanyInfo.CALCFIELDS(CompanyInfo.Picture);
FormatAddr.Company(CompanyAddr,CompanyInfo);
Hi,
Have you used CompanyINFO.GET before you could pass it to FormatAddr?
Best Regards,
MMV
I opened a sales order and then went ahead to do order confirmation. I previewed it
and it gave me no errors. All company information including address and picture showed
up
Try to run sales order confirmation report from sales order and select Print Company Address in the request page? please us know if you get same error
I have checked country/region record and there are no empty records.
The variable companyinfo is also declared once.
Do you have blank country/region ? also check if you record variable companyinfo is declared twice i.e. local and global?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156