Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / ExtendedDataType FormR...
Finance forum
Unanswered

ExtendedDataType FormRef confussion

Posted on by 75
Hello,
 
I am going to explain my case:
 
When i open the form /SalesQuotationProjTable/, there is the quotation colum where each QuotationId has it's blue link. When i click, it change the form, so there is some code going on.
 
Now, I don't find how to proper follow the code. Let me explain:
 
- In the form code i don't see any jumpref related to the edt, so my guess is that is hyperlink is related with the related table / formref.
- My next steps were going to the edt (QuotationIdBase) and looking the related table (SalesQuotationTable).
- In the related table (SalesQuotationTable), the FormRef is SalesQuotationJumpRef (display that points to the class also called SalesQuotationJumpRef)
 
Well, breakpoints in this class (SalesQuotationJumpRef) doesn't work. Also, I extended the class to show some info messages without success.
 
What i am doing wrong? 
 
Thanks,
Eisenberk.
 
  • Eisenberk Profile Picture
    Eisenberk 75 on at
    ExtendedDataType FormRef confussion
    Hi Martin and Girish,
     
    If the procediment is correct I don't understand why is not hitting the breakpoint or showing my custom info message in the SalesQuotationJumpRef extended class. I don't thing is something related to the debugger or the model. I extended others objects succesfully. That's why I said the formref (which calls SalesQuotationJumpRef) was not working in my case.
     
    Returning to my use case.. When i click on the QuotationId, I go tho the same form with a more detailed view of the record. I know it changes some visibility elements, etc. 
     
    What i want to do is to do some design changes (visibility property) when i go to this more detailed view, for example in the ActionPaneHeader. Maybe i can look for another workaround, but at this point is just the desire to understand what's going on (in the code) when i click the blue link given by the EDT in the column QuotationId.
     
     
    Regards,
    Eisenberk.
  • GirishS Profile Picture
    GirishS 27,803 Super User on at
    ExtendedDataType FormRef confussion
    Hi Edura,
     
    When you click on Quotation hyperlink from List page it will open the same form which is SalesQuotationProjTable.
    I am not sure why the debugger is not hitting.
    Can you tell us what is the functionality you are looking for?
     
    Thanks,
    Girish S.
  • Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    ExtendedDataType FormRef confussion
    Your description sounds correct to me. QuotationIdBase EDT says that the related table is SalesQuotationTable and the table says that SalesQuotationJumpRef menu item should be used.
     
    Please explain your problem to us. It's not clear to me what you mean by "formRef is not working"? You began by confirming that the link does work.
  • Eisenberk Profile Picture
    Eisenberk 75 on at
    ExtendedDataType FormRef confussion
    Hi Martin,
     
    My question is whether I have described the correct procedure when I click on the quotation hyperlink. Debugger is setup correctly so i don't understant why formRef is not working. In Dynamics 2012 worked this way.
     
    Thanks.
  • Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    ExtendedDataType FormRef confussion
    What is your question here? Note that such logic is usually handled by AX kernel, not in X++.
     
    If you need help with setting up the debugger for standard code, please create a new thread for it, because this topic doesn't belong under ExtendedDataType FormRef confussion.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans