0

Purchase Header Table / NAV

Hello Community,

I am looking to prepare a jet report measuring the ratio with which the "Vendor Order No." field is not filled.
For this I am looking to calculate as follows:
[count of purchase header entries where vendor order no is not entered] / [count of all purchase header entries] *** with certain additional filters ***


The formula for just the purchase header table I am using is shown below and functions properly:
=NL("Count","Purchase Header",,"Document Date",[date range],"Location Code",[specified location],"Assigned User ID",[specified user],"Document Type","Order|Return Order")
=NL("Count","Purchase Header",,"Document Date",[date range],"Location Code",[specified location],"Assigned User ID",[specified user],"Document Type","Order|Return Order","Vendor Order No.","@@")

My question is, if I am looking at historical data, where do I need to look [which table]?
Do I need to search in the Purchase Header Archive table? [if so, how do I ensure I am not counting multiple versions more than once, but only the very last version in the archive?]
Or do I need to construct something using the Purch. Rcpt. Header table?

…I guess this is more of a Navision question, any help that could be given is greatly appreciated…

Thank you and best regards,
Nicolai

1 comment

Please sign in to leave a comment.