Item Reclass. Journal

LambaLamba Member Posts: 260
Hi,

In std form Item Reclass. Journal, i have to flow the item's inventory field data from the item table
i used the following code on the Onvalidate() trigger and even the same code on the onaftergetcurrentrecord():

CLEAR(iteminventory);
item.RESET;
item.SETRANGE("No.","Item No.");
item.calcfields(item.Inventory);
iteminventory :=item.Inventory;

i tried using message, it shows zero at all times.

Answers

Sign In or Register to comment.