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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to Skip "Select a Record Type to Create" Dialog

(0) ShareShare
ReportReport
Posted on by 90

So i had my own Custom Table & Form. the apps basically run their own system without anything to do with AX core function. Just a supportive apps for our Purchasing Dept works. but these custom apps use VendTable as Master Vendor data for lookup on my form & DirPartyTable to get Vendor Name as view only. I want to avoid using Display Method as it kill filter function (Ctrl + G), so i override write() & validatewrite() methode on both VendTable & DirPartyTable.

Now my issue are, everytime i create new record on my custom table via my form, AX automatically give me "Select a Record Type to Create" form
pastedimage1594888202427v1.png

i dont want to create new record on VendTable or DirPartyTable, but just on my custom table only. is there some way to prevent this dialog showing up?

Thank you.

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,162 Moderator on at

    I guess something is not correct in you data source relations. You can try to locate the issue and fix it.

    Or as quick&dirty fix you can comment out the super() in the create method of those data sources.

  • ITIPG Profile Picture
    90 on at

    seems like this "Select a Record Type to Create" dialog start to show up when i join DirPartyTable to Vendtable on datasource and i notice that DirPartyTable had Derived Data Source where other table like InventTable or VendTable didnt have it.

    im kinda lost to where i should check now.

  • nmaenpaa Profile Picture
    101,162 Moderator on at

    Perhaps you can illustrate it to us with a screenshot?

  • ITIPG Profile Picture
    90 on at

    pastedimage1594968046974v2.png

    Those pic up there show the Derived Data Source.

    pastedimage1594968135781v3.png

    and this is my DirPartyTable property.

    pastedimage1594968327812v4.png

    and every time i create new record to my custom table, those dialog showing up.

    what i need basically just want to display Vendor Name as view only.

  • Suggested answer
    nmaenpaa Profile Picture
    101,162 Moderator on at

    You could try to change the LinkType to Delayed or OuterJoin.

  • ITIPG Profile Picture
    90 on at

    Using Outerjoin still trigger the dialog to show up.

    While using Delayed/Active, Name show up on the 1st line only, like pict bellow it display vendor name of 2nd line/active cursor.

    pastedimage1594970324066v4.png

    if i put cursor to 1st line, the Name displayed there change to 1st Vendor Name.

    pastedimage1594970303498v3.png

  • Suggested answer
    nmaenpaa Profile Picture
    101,162 Moderator on at

    And what if you comment out / remove the super() call in the create() method of the dir party data source?

  • ITIPG Profile Picture
    90 on at

    override Create Method didnt work either.

    anyway i accidently click action/Reported as abusive to your reply. sorry for that & i cant seems to find a way to cancel my report. Maybe if Mod read this, you can ignore my report. T_T...

  • nmaenpaa Profile Picture
    101,162 Moderator on at

    You said that you have overridden the Create method. But did you also remove the super() call?

  • ITIPG Profile Picture
    90 on at

    yes.

    and just now i have try few thing.

    1. i make Create method on my custom table datasource and remove super(). Nothing seems change.

    2. i make CreateRecord method on both DirPartyTable & my own custom table and remove super(). the same, nothing change.

    3. i make CreateRecord method on my Form method and remove super(). this one kill new lines button function. i click and nothing happen.

    with that i assume that Create or CreateRecord method doesnt exist on Datasource Method but it exist on Form Method.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans