Filling Item Journal with tracking from code in 360

navnavnavnav Member Posts: 16
edited 2003-02-11 in Navision Attain
Hi All,

I want to fill in and post an item journal from code. The item has lot tracking.
In 310 :
- fill in the item journal line from code
- use the insertitemtrackingline function from Item Tracking Mngt codeunit.

However this function no longer exists.
A lot of code has been moved to form 6510 apparently, but that form ... is kind of difficult to follow.

Any ideas ?

Comments

  • DenSterDenSter Member Posts: 8,307
    What I would do in a case like this is:
    - Make sure lot tracking is on
    - turn on the debugger
    - fill in the Item Journal fields manually
    - watch the debugger work and catch the field that triggers the Item Tracking stuff
    - then you do ItemJnlLine.VALIDATE(That field you found), or you write the code and call the functions yourself

    It can take a long time to get there, but you'll figure out exactly what the thing is doing.

    HTH
Sign In or Register to comment.