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 .

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,091 on at
    RE: how to enable a stringedit field after posting journal

    Hi Muhammad,

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

  • RE: how to enable a stringedit field after posting journal

    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.

  • RE: how to enable a stringedit field after posting journal

    I added in New Group

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,516 Super User 2025 Season 1 on at
    RE: how to enable a stringedit field after posting journal

    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.

  • Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,091 on at
    RE: how to enable a stringedit field after posting journal

    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?

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