Announcements
Dear All,
I added one Stringedit field in ledgerjournaltransvendpaym in overview tab, I want to edit able after posting journal.
I tried to enable on active method of ledgerjournaltrans datasouce, below code I written but I did not succeed.
element.design().controlName("StringEdit").enabled(true);
this string edit does not belong any data source.
please help me how can I edit this field .
Hi Muhammad,
What is parent control for your group? Did you add it to the grid?
I added custom table datasource join with ledgerjournaltrans and join type is active
but when journal is posted then my custom table datasource and all controls disable.
I tried to enable by code but not working.
if I allow edit ledgerjournalTrans datasource that time my custom table is editable.
I added in New Group
Hi Muhammad,
The journal lines gets in a read only state when the journal is posted. Changing the properties on one control does not give write access as the datasource is set to read only.
You can alternatively create an edit method which could write to the field with some x++ coding. Another option is to put the field in a new table linked to the journal line. That table will not be blocked when the journal is posted.
Hi Muhammad,
How exactly have you added that field? Have you added it to the grid or to an existing group or you created a new group?
André Arnaud de Cal...
294,206
Super User 2025 Season 1
Martin Dráb
232,968
Most Valuable Professional
nmaenpaa
101,158
Moderator