Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Modify Description

Posted on by 42
Dear Members,
 
Is there any way to modify the description in Item ledger entries in business central? Please help me with this issue.
 
 
Thanks in Advance,
Sneha
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 64,134 Super User on at
    Modify Description
    Hi, If you just want to complete the Item Description, here is a standard method, I hope it can give you some hints.
    More details:
    Dynamics 365 Business Central: How to keep “Description” in Item Ledger Entries (Copy Item Descr. to Entries)
     
    Hope this helps.
    Thanks.
    ZHU
  • Matteo Fiocco Profile Picture
    Matteo Fiocco 75 on at
    Modify Description

    To modify the description in Item Ledger Entries, you'll need to update your AL code to include the RIMD permission set, which allows you to modify data in the table.

    Here's the updated code:

    codeunit 50101 "Modify Item Ledger Entry"
    {
    Permissions = tabledata "Item Ledger Entry" = rimd;

    trigger OnRun()
    var
    ItemLedgerEntry: Record "Item Ledger Entry";
    begin
    if ItemLedgerEntry.Get(<Entry No.>) then begin
    ItemLedgerEntry.Description := 'New Description';
    ItemLedgerEntry.Modify();
    end;
    end;
    }

    Make sure to replace <Entry No.> with the specific entry number you want to update. This codeunit will grant the necessary permissions to read, insert, modify, and delete data in the "Item Ledger Entry" table.

    Deploy the extension and run the codeunit to apply the changes.

    If you need further assistance, feel free to ask!

  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 7,256 Super User on at
    Modify Description
    Once they are posted its not possible to modify them out of the box. But can I confirm why you need to modify them, perhaps there is another option.
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans