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 :
Small and medium business | Business Central, N...
Answered

Adding the "Vendor Item No." in the Purchase Order Lines

(0) ShareShare
ReportReport
Posted on by 71

Hello,

I need to add the "Vendor Item No." (in addition to the Item No.) on the purchase order lines. I tried to use the Personalize tool but the field "Vendor Item No." is not available among those selectable.

How can I add it when I create an order? I suppose I need to customize fhe form. Is there any documentation. Is there any useful techical documentation on that?

Regards
I have the same question (0)
  • Suggested answer
    Vaishnavi J Profile Picture
    3,062 on at

    Hi,

    If you want vendor item no in Purchase invoice lines you can use design method but that is only applicable for Sandbox environments.

    if you want to go for customization below is the logic you can follow

    pageextension 50105 PurchaseInvoice extends "Purch. Invoice Subform"
    {
        layout
        {
            addafter("No.")
            {
                field("Vendor Item No."; Rec."Vendor Item No.")
                {
                    ApplicationArea = All;
                }
            }
        }
    }

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much

  • Verified answer
    Alfredo_Iorio Profile Picture
    1,264 on at

    Have you tried Item Reference?

    The Vendor Item number in the Item card is used by the replenishment worksheet.

    If can use the item reference (Old Item Cross Reference table) if you want to show the vendor reference in a purchase order.

    That will take care of validating the vendor number in the purchase header so the correct reference will show on the purchase lines.

  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Hi

    You have 2 ways to do that

    1) Use Item reference No that is already available there but you need to add it to item card

    2) Use Design Mode to add it to that page  https://yzhums.com/21735/  

    pastedimage1657636176936v2.png

    pastedimage1657636150582v1.png

  • Suggested answer
    Gianluca Natili Profile Picture
    71 on at

    Using the Item Reference should be the right approach. In my case, I have to exchange these two field. I don't know why in my BC is used the Vendor Item No. instead of the Item Reference.

    Thanks

  • Gianluca Natili Profile Picture
    71 on at

    Thank you, I think I'll use the Item ref.

    But the Design Mode, is not used only in Sandbox?

  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Correct. design mode is only in Sandbox. But per that article you can create extension and then upload back to production. Just be careful if you have other development in production because it is a chance of conflict. Or ask your BC partner to do this.

  • Gianluca Natili Profile Picture
    71 on at

    Thank you, it is very useful for future needs. In my case I think I will change the field used, field Item References instead of Vendor Item 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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans