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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Purchase order default over receipt code from the vendor or item

(1) ShareShare
ReportReport
Posted on by 3,328
Hi All
is there a way to automatically assign/set over receipt codes on purchase line instead of manually selecting 
I have the same question (0)
  • Suggested answer
    Ben Baxter Profile Picture
    7,151 Super User 2026 Season 1 on at
    Almost, but I think it requires a customization.  Both the Vendor and Item Card have a field to store a default Over-Receipt Code:
     
    On the Vendor Card > Receiving Tab > Over-Receipt Code
    On the Item Card > Inventory > Over-Receipt Code
     
    However, filling the field on either, or both, records will not default the Over-Receipt Code on the Purchase Lines.  The customization would be on Validation of the Item or Quantity to check the field values on the master records (Item first, then Vendor; Item wins if both have value) and populate the Over-Receipt Code if either record allows for it.
     
    Best Regards,
    Ben Baxter
    Accent Software Inc
  • Suggested answer
    Aziz Skhiri Profile Picture
    433 on at

    Hello , the Standard Setup (Recommended)


    1. Create Over-Receipt Codes
      Go to Over-Receipt Codes (search for it).

      • Define a code with a Tolerance % (e.g., 10%).

      • Optionally mark one as Default so it applies broadly.

      • You can require approval if needed.


      •  
    2. Assign the Code

      • On the Item Card (Inventory FastTab) → Over-Receipt Code field.

      • Or on the Vendor Card.
        Item-level assignment usually takes priority. 

      •  
      Once assigned, the system automatically applies the over-receipt logic to purchase orders and warehouse receipts for that item/vendor. You don’t need to select the code manually on the purchase line in most cases.

    you can add a simple Event Subscriber to automatically populate the Over-Receipt Code on the Purchase Line from the Item (or Vendor).

    [EventSubscriber(ObjectType::Table, Database::"Purchase Line", 'OnAfterAssignItemValues', '', true, true)]
     


       
     
     
  • Suggested answer
    Teagen Boll Profile Picture
    3,344 Super User 2026 Season 1 on at
    Follow the advice from the other posters for the setup. If you set the over receipt code on the Vendor and Items you can then change the quanity to receive on a PO that is released to more than the original quanity (up to that over receipt percentage).

    See below functionality:
     
    1. PO created with 100 units (no over receipt code):
     
    2. I set the PO as "Released" and then change the quantity to receive
     
    3. Over-receipt code is automatically filled in.
     
    So as long as you have the settings on your item and vendor, you can just release the PO and ignore the over-receipt code field. It will auto-populate once you change the quantity to receive.
     
    Best,
    Teagen Boll
    Social: LinkedIn
  • Suggested answer
    Grigorios Mavrogeorgis Profile Picture
    2,757 Super User 2026 Season 1 on at
    Hi, yes,
    no need to pick it manually every time. Set it on the Item Card or Vendor Card, the Over-Receipt Code field is right there on the Inventory FastTab (Item) or Invoicing FastTab (Vendor), and BC pulls it onto the purchase line by itself once you enter the line, no extra click needed on your side.
    Item Card takes priority over Vendor Card if both have one set, worth knowing if you get a value on the line you did not expect. There is also a Default checkbox on the Over-Receipt Codes page itself, that one applies globally when nothing more specific is set on item or vendor, so it acts as the fallback.

    I've seen cases though where the line grabs a code you didn't expect, like a 100% tolerance instead of the 10% you actually wanted, so I'd still glance at the line before posting, especially if you have workflow approvals tied to a specific code, otherwise the approval step can trip up on you.
     
    Glad to help - follow up if anything is unclear.  
    ►  If this solved it, marking it verified helps others too.      
    Regards,
    Grigorios Mavrogeorgis
    Business Central Consultant & AL Developer

    Work: Gmsoft Limited
    Blog:  insidebusinesscentral
    LinkedIn: linkedin.com/in/gregorymavrogeorgis

     
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 695 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 422 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 328 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans