hi all,
i need site in report dialog. So, i did the below code in dialog
dialogSite = dialog.addField(extendedTypeStr(InventSiteId), "@SYS122446");
i wants only HK in site drop down. how i will do this?
please give me more shed on this.
thanks!
hi all,
i need site in report dialog. So, i did the below code in dialog
dialogSite = dialog.addField(extendedTypeStr(InventSiteId), "@SYS122446");
i wants only HK in site drop down. how i will do this?
please give me more shed on this.
thanks!
yes, rite nikoloas,
in EDT -- table reference, relation is missing. i make it siteid
now it's proper working
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?
hi Sergei,
i not found any changes. please suggset if any
Hi @rp@n,
If you check InventSiteId EDT in AOT, do you see any changes for it? (especially changes in relations)
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
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
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.
I dont see you packing your variables, but try clearing out your usage data.
nikoloas, send e the screen shot please
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).
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,409
Most Valuable Professional
nmaenpaa
101,156