Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Renaming "No." column inside a subform listPart

Posted on by 87

I have been trying to rename the 'No.' column of lines inside the Sales Order Page and Sales Quote Page.

pastedimage1669041031017v1.png

I have used the following code to modify it.

pastedimage1669041074249v2.png

The same code has worked for the Item Card Page but it is not working for the 'Sales Order Subform' or 'Sales Quote Subform'

What mistake am i doing here? Please tell me.

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,760 Super User 2024 Season 2 on at
    RE: Renaming "No." column inside a subform listPart

    Hi, just adding some info.

    Changing caption/name of existing field (Two ways)

    https://yzhums.com/21067/

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    RE: Renaming "No." column inside a subform listPart

    Hi Astha,

    Please do modify the caption in Sales Line Table>> No. field

    Thanks

    Verify this answer if it helps you

  • Suggested answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,201 Moderator on at
    RE: Renaming "No." column inside a subform listPart

    Hi Astha Gangwar,

    Looks like you don't have permission to modify this field in the Sales Sub-Form.

    And you cannot extend the AccessByPermission property.

    You can try extending the sales line table and modify the "No." caption.. It will work.

    tableextension 50108 MyExtension extends "Sales Line"
    {
        fields
        {
            modify("No.")
            {
                Caption = 'Part No.';
            }
        }
    }

    Best Regards.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,023 Moderator on at
    RE: Renaming "No." column inside a subform listPart

    Hi,

    You can go with the below image, change Variant code field with your field and then check if it works.

    pastedimage1669044819048v1.png

    Thanks

  • Suggested answer
    Dallefeld Profile Picture
    Dallefeld 11,423 User Group Leader on at
    RE: Renaming "No." column inside a subform listPart

    Why would you rename this field? If the type is G/L Account, then Part No. does not make sense or type is Resource, then Part No. doesn't make sense. This is a training issue and customization that doesn't teach that in many, many screens two fields work together. Please ask yourself, "does this customization bring real value or does it confuse the issue", "Can you users learn to use No. instead of Part No."?

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,537 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,520 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans