Announcements
Hi all,
I have created a new field called Unit Price in the Transfer Line table and then I added that field in Transfer Order subform as well. Now when I create a Transfer order and select Item no I want also the Unit price(In my Transfer Line) of that Item to populate directly from the Item card. The same way description and unit of measure populate.
Am using NAV 2015.
Thank you for your constant assistance.
Thank you ZUH
thank you Josh
Hi, as Josh mentioned, you need to add some code to the OnValidate trigger of the “Item No.” field in Transfer Line table (5741).
For example:
trigger OnValidate()
var
Item: Record Item;
begin
if Item.Get("Item No.") then
"Unit Price" := Item."Unit Price";
end;
Hope this will help.
Thanks.
ZHU
Add your code to the OnValidate trigger of the “Item No.” field
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156