Skip to main content

Notifications

Microsoft Dynamics AX forum
Unanswered

DialogField bound with parm method of RefRecId type, but a Int64 control is build.

Posted on by 6
Hi Experts,
 
I am facing a strange issue with DialogField.
 
The following method is in contract class
 
    public DWFS_FilmFabricCountryOrigRecId parmFabricCountryOrig(DWFS_FilmFabricCountryOrigRecId _fabricCountryOrig = fabricCountryOrig)
    {
        fabricCountryOrig = _fabricCountryOrig;
        return fabricCountryOrig;
    }
 
The EDT DWFS_FilmFabricCountryOrigRecId is extends RefRecId, and the Reference Table is set. I am sure that the settings are correct because when I drag this EDT to table, relation will be added automatically.
 
However, when a DialogField is bound with this method in UIBuilder class, a FormInt64Control is generated instead of a FormReferenceControl.
 
Can anyone tell me what I am missing?
 
Thanks.

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,480 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,388 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans