I have just spent half a day modifying report 206 ‘Sales -Invoice’ to discover the existence of report 10572 ‘Sales - Invoice GB’. Does anyone know what the difference is (will I have to redo my modifications) ?
Forgive my ignorance, but why don’t you just export both as text and compare it with Beyond Compare or any other tool ?
I dont have a copy of the unmodified object handy. I just wondered if someone knew.
The 10xxx object range is reserved for COuntry localizations by the NTR. In the future we can expect to see less use of these objects, since they are a complete nightmare, and designed just to cause problems with international implmentations. basically this report has sepcific modifications for the UK, sorry I can’t remember exactly what, since I haven’t done a GB install for years, but I think it was something to do with tax or rounding or something. basically if you have 206 working, and your client is happy, I would stick with it.
Hi Bob, As far as I remember there are 2 changes to the GB invoice reports: 1) “Bank Sort Code” added to the header section (PageLoop, Header (1)), and maybe one or two other controls have been moved around a bit / added to this section. 2) There is a problem that when Navision prints a report, it automatically reserves space for all sections, irregardless of whether they will be printed or not. Only after that, it validates the CurrReport.SHOWOUTPUT(TRUE/FALSE) conditions on the sections. It means that if you have a lot of sections for a dataitem, Navision assumes that they will all be printed, and may create a page break too early. So the user may get one page which is only half filled in, and a blank page with just a footer. To avoid this, you can indent the data item under a new data item, and move the CurrReport.SHOWOUTPUT condition to the OnPreDataItem. If this way, the report only reserves paper space for sections which are actually printed. In the GB report, you will see a couple of such data items added, with just a statement like this on the OnPreDataitem trigger: IF NOT XYZ THEN CurrReport.BREAK; I don’t know if I explained this very well? I don’t think there are any legal modifications to the report. If you have already done a lot of work on report 206, then just check the PageLoop, Header(1) section and make it look like report 10572, and you won’t be able to tell the difference between the two when you run them.
Hi Lars Thanks for that. Informative and educational. What a star. [:)] Bob