hi everyone,
do someone know where is the code that creates the double reservation entry when inserting an item tracking line in a transfer order?
i cannot find a single, significant use of "in-transit code" field when inserting an item tracking line in the transfer order, neither with code coverage :shock:
P.S.: i'd like to crush this area of nav...too much spaghetti even for an italian... ](*,)
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog0
Answers
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I was wrong when talking about the in-transit location code, it's not used in reservation entries.
ok, now, i've to dig into the next step: each of these reservation entries generates 2 item ledger entries, and it's here where the in-transit code comes into play: one ile is generated (negative) for the transfer from, one ile (positive) for the in transit code. I have to write 2 new fields in the ILE only on the "transfer from" entry, and not in the entry related to in-transit...i'll let you know
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
So, i'm going to manage my 2 new fields in the codeunit as always, and then i'll blank them in the inserttransferentry function.
Thanks a lot!
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
(but you're right, i should have remarked it, if anyone will read this post)
EDIT: wait, i've a doubt...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Thus, you're right as always kamil: i must check if the location code is "use as in-transit" (i hoped i could avoid an extra table read during the posting process )
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog