Hello, NAV Developers.
I need help regarding Item Tracking Lines form.
The version I am using is NAV 6.0 SP1 (6.00.29626).
I am trying to add lot numbers and expiration date for each item to Inventory Posting report [Report 702] called from Output journal.
Since lot numbers, Expiration date, and Quantity for each items are being selected in Item Tracking Lines form, I have been looking at the codes of the form to find the variables that store those values, but I am having trouble finding where those values are being saved.
It seems that they are being saved in Currform.“lot no.”, Currform.“Expiration date” and so on, but when there are multiple lines of entry, these variables only contain value for the last line of entry.
Since the form shows what I have keyed if I re-enter the form after keying in those fields as below,
.I have tried to look for codes that reload previous values for the form, but OnOpenForm() trigger doesn’t do much
Does this have to to with ReservEngineMgt code unit?
Where does this form store those keyed-in values and reload them when reopened?
If I can find where these values are saved, I think I can read those variables and show them in the report.
I have read through materials regarding form, but can’t really find where those values are being saved.
Can someone guide me where to look at to accomplish this?
Thanks for reading this post.
snam