web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Calling a Flowfield

(0) ShareShare
ReportReport
Posted on by 35

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?

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    94,353 Super User 2025 Season 2 on at
    RE: Calling a Flowfield

    Hi, This is possible, such as the simple example below.

    pastedimage1683595649236v1.png

    pastedimage1683595898667v2.png

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,901

#2
YUN ZHU Profile Picture

YUN ZHU 2,079 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 2,041

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans