I found that some reports use Integer Data Item to show fields value instead of using it’s own data item to show fields value in the report. For example report 405 - order This report use Integer Data Item to show purchase line value. We can just use purchase line data item to show all the line record value. It is misleading and confuse. Can anyone explain why we need to use Integer data Item in the report ?
Because the purchase lines are buffered (and modified!) internally in a temporary record, which is then printed using the Integer data item.
Integer is a virtual table, ie there is no real Navision table corresponding with this DataItem. You use Integer when you need to put something on a report which doesn’t fit with the available sections. One problem with the Navision report writer is that it is quite rigid in the order that it processes things and you can’t move the Header, Body and Footer sections to suit. So you use Integer. I notice that this is your first posting - it will be a while before you fully understand the use of the Integer table. Keep looking at existing reports and searching this site for specific information. cheers, Dan.
Integer is used for several purposes: 1) to avoid blank page at the end 2) to print sections (body/header/footer) at a place as you wish 3) to print multiple copies 4) to print details of buffer tables - and with this buffer tables, you almost can do all kinds of reports including dynamic sortings without adding extra keys