Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

site drop down need in report dialog

(0) ShareShare
ReportReport
Posted on by 2

hi all,

i need site in report dialog. So, i did the below code in dialog

dialogSite     = dialog.addField(extendedTypeStr(InventSiteId), "@SYS122446");

site.jpg

i wants only HK in site drop down. how i will do this?

please give me more shed on this.

thanks!

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: site drop down need in report dialog

    yes, rite nikoloas,

    in EDT -- table reference, relation is missing. i make it siteid

    now it's proper working

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: site drop down need in report dialog

    We can see that InventSite EDT is customized on VAR layer. Please right click it and compare between VAR and SYP/SYS. What differences do you see?

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: site drop down need in report dialog

    hi Sergei,

    siteid.jpg

    i not found any changes. please suggset if any

  • Verified answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,091 on at
    RE: site drop down need in report dialog

    Hi @rp@n,

    If you check InventSiteId EDT in AOT, do you see any changes for it? (especially changes in relations)

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: site drop down need in report dialog

    my code is working fine in Test environment. means in site drop down it's coming site, name.

    i think some one do any modification in site or something.

    any way my code is correct.

    thanks Nikoloas

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: site drop down need in report dialog

    hi Nikoloas,

    yes, i did db synch and full CIL

    both are done  and successful but still get the same output for site drop down

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: site drop down need in report dialog

    I don't know what screenshot you would want. I tried to add InventSiteId dialog field to Tutorial_RunBaseBatch class and the lookup worked ok, showing a list of sites.

    So something is wrong in your system, not your code. Perhaps you have copied database from another system, breaking object id values.

    Did you do full compilation, CIL and db sync as suggested? Was it succesful? Did it help?

    Based on your recent questions, it seems that your project team has some trouble with environment setup, deployments and data migrations. It could make sense to try to get additional help to your team to ensure success of your project. Since you are still in dev/test phase, it's a good time to fix things.

  • Vishal Dhavgaye Profile Picture
    Vishal Dhavgaye 405 on at
    RE: site drop down need in report dialog

    I dont see you packing your variables, but try clearing out your usage data.

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: site drop down need in report dialog

    nikoloas, send e the screen shot please

  • nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: site drop down need in report dialog

    No, I mean full x++ compilation, full CIL and database synchronization. My recommendation is to run those regularly in your dev system (you can automate it to happen every night - but that's another discussion).

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans