Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Item Reclass Journal in code to change Lot and Bin

$
0
0
Hello

I am creating a warehouse reclass jnl in code to reclass an item to a new lot and move it to a diff bin.
If I try and post the journal within the code I only get a ILEs created and no warehouse entries (also I get my line left in the reclass journal batch!); however if I comment out the line to do the post bit (CODEUNIT.RUN(CODEUNIT::"Item Jnl.-Post Line",ItemJnlLine) and I go to the reclass batch page and post it manually I get ILEs and warehouse entries correctly.

Anyone seen something this before?
What am I missing?

Viewing all articles
Browse latest Browse all 10032

Trending Articles



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