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
Sohail Ahmed
1,014
YUN ZHU
950
Super User 2025 Season 1
Mansi Soni
624