Dear Experts,
I want to bring these two financial dimension fields in overview grid of journal how to do it . Thanks in advance. Movement journal
Thanks and Regards,
Shabir Ahmad
*This post is locked for comments
Dear Experts,
I want to bring these two financial dimension fields in overview grid of journal how to do it . Thanks in advance. Movement journal
Thanks and Regards,
Shabir Ahmad
*This post is locked for comments
If you want to show the dimension in the grid of the lines, you should add the method to the datasorce, which is the datasource of your lines-grid. This should be InventJournalTrans. Also this table is the only table, where dimensions are stored.
Heinz Schweda first of all sorry for late reply:
Next thing is as you mentioned that the code will be on the form datasource, so on which table datasource the code would be as you wrote above: please check the image for your kind info.
Thanks and Regards,
Shabir Ahmad
First of all sorry for late reply, the next thing is i declare variable in declaration class of Form and when i tried to do your 2nd point to write the code in init method after super(). I got the error as shown above in the image the error is "Argument '_tabPageControlContainer' is incompatible with the required type".
Thanks and Regards,
Shabir Ahmad
Hi Shabir,
my code is designed to put it in the methods-node of your datasource in your form. Afterwards you have to create a StringEdit-Objekt in your grid (or another fieldgroup), set the property DataSource to SalesTable, set the property DataMethod to the name of your new method (e.x. showDimensionCostCenter).
Alternativly you can add the method to the methods node in the table SalesTable, in this case you have to remove the parameter _salesTable and use "this" within the method instead. Adding a control to your form works the same way as written above.
In both scenarios you should think about display method caching.
Kind regards,
Heinz
Heinz Schweda ,
Thanks for your code and effort you put on it, but please tell me, how should i add this code to form, Form Data-source or make new group in overview grid and then right this code there.
Thanks and Regards,
Shabir Ahmad
Crispin John Augustine,
sorry for late reply, may i know about this process, means that should i make first a group for fields or what?? Or Should i write this code directly to the form.
Thanks for your kind response.
Thanks and best regards,
Shabir Ahmad
Thanks to both of you,Crispin John Augustine and Heinz Schweda,
Crispin John Augustine i am happy with your way of field group and please share the code for display dimensions on overview grid.
Thanks and Regards,
Shabir Ahmad
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156