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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

how to enable a stringedit field after posting journal

(0) ShareShare
ReportReport
Posted on by 60

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 .

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,093 on at

    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?

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,035 Super User 2025 Season 2 on at

    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.

  • Muhammad Azam Khan Profile Picture
    60 on at

    I added in New Group

  • Muhammad Azam Khan Profile Picture
    60 on at

    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.

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Muhammad,

    What is parent control for your group? Did you add it to the grid?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans