Hi,
Using Item Table as sample, As your aware, Inventory is a calculated flow field. if i was to create another Field inside the items table and wanting to transfer the value from Inventory to the new field.
understanding that each timewe go to the page, it will need to update. this can be handled on the events. How do i transfer the value across?
i thought it was this but i get nother back.:
local procedure UpdateInvST(ItemNo: Code[20])
var
Item: Record Item;
begin
if Item.Get(ItemNo) then begin
Item.CalcFields(Inventory);
Item.InvST := Item.Inventory;
Item.Modify();
end;
end;