Skip to main content

Notifications

Business Central forum
Answered

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

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
  • Gianluca Natili Profile Picture
    Gianluca Natili 71 on at
    RE: Adding the "Vendor Item No." in the Purchase Order Lines

    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.

  • Suggested answer
    MahGah Profile Picture
    MahGah 15,419 on at
    RE: Adding the "Vendor Item No." in the Purchase Order Lines

    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
    Gianluca Natili 71 on at
    RE: Adding the "Vendor Item No." in the Purchase Order Lines

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

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

  • Suggested answer
    Gianluca Natili Profile Picture
    Gianluca Natili 71 on at
    RE: Adding the "Vendor Item No." in the Purchase Order Lines

    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

  • Suggested answer
    MahGah Profile Picture
    MahGah 15,419 on at
    RE: Adding the "Vendor Item No." in the Purchase Order Lines

    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

  • Verified answer
    Alfredo_Iorio Profile Picture
    Alfredo_Iorio 1,260 on at
    RE: Adding the "Vendor Item No." in the Purchase Order Lines

    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
    Vaishnavi J Profile Picture
    Vaishnavi J 3,056 on at
    RE: Adding the "Vendor Item No." in the Purchase Order Lines

    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

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,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans