Quantcast
Channel: Microsoft Dynamics NAV
Viewing all articles
Browse latest Browse all 64865

Forum Post: RE: Link Invoice No. with Customer item sales in report NAV 2009

$
0
0

hi,

if you talk about the report 113 Customer / Item Sales

this report is made to group and totalize data, it uses temporary tables for putting down the calculations of nav flowfileds.

If you enter the value of the field "Document No." in the section on value and checks the entry field the system will display the first invoice recorded. (one to many lookup .. only the first extracted)

How-To:

> Duplicate the report and add a new dataitem "Value Entry 2" under section dell'integer to display the parameter definition in Article documents, should be indented from the dataitem all'integer

> Then go on dataitem just created and write:

OnAfterGetRecord

SETRANGE ("Item No.", "Value Entry". "Item No.");  > filter by cod. cuurentrcord current article from the value of the entry dataitem

other filters can be set ...

ex:

SETRANGE("Posting Date", Value Entry "." Posting Date ") etc.. etc..

Setfilter ("Posting Date" .. if you need more data filters ..)

(in this case you are setting filters such as the standard links sections.. but you have integer dataitem whitout links availables)

> Create a new section Value "Entry Body 2" and fill in the field "Document No." them in > you can extract all documents related to current item printed on first value entry section.


Viewing all articles
Browse latest Browse all 64865

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>