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 :
Microsoft Dynamics AX (Archived)

Link type : Active , Delay and Passive

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

I read in blog but i not understand difference between Active and Delay

Active

Active link type update the child data sources without any delay when you select the parent table record. When you deal with more records it will be affect application performance.

Delay

Delay form data source link type is also same as active method the different is delay method won't update immediately when you select the parent record.
It will update the child data source when you select the parent table, Ax use pause statement before update the child data source.
For example, if we are dealing with lot of records so, when the user click or scroll the order, order details will update without any delay if we use active method. 

So, We can use delay method because of performance improvement.

Can you please explain why link type ACTIVE will effect application performance issue and link type DELAY is NOT?

Please give me more shed on this.

Thanks!

Arpan

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    If you quickly switch between ten records, Active link will execute ten database queries; one for every record you active. A delayed link will wait until you pause at the last record and execute the query just for this one. Execution many queries that you don't actually need obviously has a negative impact on performance.

  • @rp@n Profile Picture
    30 on at

    Thanks a lot Martin,

    Passive

    Passive form data source link type won't update the child data source automatically.
    For example if we select the parent table order then order details child data source won't update. If we need to update the child data source we need to call the child data source execute query method by program (code).

    Form > Parent Table >Active() : ChildTable_ds.executeQuery() 

    Is't correct ? If yes then what is the use of link type : Passive ?

    Please give me more shed on this.

    Arpan

  • Suggested answer
    Rohin Profile Picture
    4,624 on at

    I believe that: Passive form data source link type won't update the child data source immediately(not "automatically" , you used). It updates but after a delay like Martin suggested above

  • Verified answer
    Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Obviously, you'll use a passive link if you don't want the query to execute automatically for whatever reason.

  • @rp@n Profile Picture
    30 on at

    Thanks Visvash,

    So, we no need to write code

    Form > Parent Table >Active() : ChildTable_ds.executeQuery()   right?

    Please give me more shed on this.

    Arpan

  • Rohin Profile Picture
    4,624 on at

    I don't believe so. If you want to perform any specific action while selecting parent record , you may call .

  • @rp@n Profile Picture
    30 on at

    I mean to say for Specific Link type : Passive.

    Code is required or not ? In some blog i saw it's require.

    Please give me more shed on this.

    Arpan

  • Verified answer
    Rohin Profile Picture
    4,624 on at

    Apologize Arpan,

    I was suggesting you about Delayed link type(as your thread title says) . For passive Like Martin says "you'll use a passive link if you don't want the query to execute automatically for whatever reason." so you have to call your executequery method

  • @rp@n Profile Picture
    30 on at

    Thanks Visvash

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans