i have a flowfield in ItemCard i want to transfer only its value to a customized normal field located in item journal and i need that field to be editable. Is it possible?
Hi, This is possible, such as the simple example below.
Source Code:
tableextension 50112 MyExtension extends "Item Journal Line" { fields { field(50100; ZYInventory; Decimal) { DataClassification = CustomerContent; } modify("Item No.") { trigger OnAfterValidate() var Item: Record Item; begin if Item.Get(Rec."Item No.") then begin Item.CalcFields(Inventory); ZYInventory := Item.Inventory; end; end; } } } pageextension 50112 MyExtension extends "Item Journal" { layout { addafter("Item No.") { field(Inventory; Rec.ZYInventory) { ApplicationArea = All; Caption = 'Inventory'; ToolTip = 'Inventory'; } } } }
Hope this helps.
Thanks.
ZHU
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156