web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Edit in Excel - Changes made to read-only fields will be reverted

(0) ShareShare
ReportReport
Posted on by 3,944

I opened a General Journal Batch with 4 rows using "Edit in Excel" function. I added two rows in between by copying them from the first 2 rows. I changed the Line number. When I click on Publish, I get following warning message "Changes made to read-only fields will be reverted, Continue?". I clicked on "Yes" and it does add the new rows in General Journal Batch in BC. What is the meaning of that error. Also, how can I see the "Line No" column in the General Journals Page in BC? it is not available in Personalization --> "+Fields" List.

pastedimage1684020719934v1.png

Thanks in advance.

I have the same question (0)
  • Suggested answer
    Ramiz Profile Picture
    597 on at
    RE: Edit in Excel - Changes made to read-only fields will be reverted

    Hi,

    "Changes made to read-only fields will be reverted, Continue?" means there are some fields that are read only. The Editable property is false for those field like EU 3-Party Trade, so you cant modify that.

    If you change the value in excel for a read only field, it wont be updated. That's why the warning appears.
    pastedimage1684149743090v1.png

    In order to add Line No on General Journal Page, you need to create a page extension.

    layout
        {
            addafter("Posting Date")
            {
                field("Line No."; Rec."Line No.")
                {
                    ApplicationArea = All;
                }
            }
        }

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,035 Moderator on at
    RE: Edit in Excel - Changes made to read-only fields will be reverted

    Here it works even if I enter the data manually.

    I do not have to drag the like you do.

  • DinB Profile Picture
    3,944 on at
    RE: Edit in Excel - Changes made to read-only fields will be reverted

    Thanks, when I add new rows at the bottom it does not update in BC when I click on "Publish". The update works however if I drag the blue corner handle to the bottom shown in screenshot below. But I get that same warning about Read Only fields.

    pastedimage1684081846646v1.png

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,035 Moderator on at
    RE: Edit in Excel - Changes made to read-only fields will be reverted

    When you want to insert lines using edit in excel you should not insert them in between existing lines in your worksheet.

    Put them in the bottom of your excel sheet even though you use primary keys that would place them in the middel of existing rows.

    After you publish and refresh your data they will be sorted correctly.

    You can can see the line numbers using page inspection CTRL+ALT+F1.  If you want them to permanently show in the Business Central page. You will either needs to wait a couple of months until Microsoft release an announced change where all fields will be available through personalization or you will have to do it in AL Code.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,180

#2
Sumit Singh Profile Picture

Sumit Singh 3,041

#3
YUN ZHU Profile Picture

YUN ZHU 2,245 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans