• Home
  • About Me
  • Contact Me
  • Downloads
  • White Papers
  • Web Sites
  • Post List
  • Articles
  • FAQ

Olof Simren - Microsoft Dynamics 365 Business Central Blog

  • Home
  • About Me
  • Contact Me
  • Downloads
  • White Papers
  • Web Sites
  • Post List
  • Articles
  • FAQ

Subcontracting Part 4: Warehouse Receipts

September 3, 2014 Posted by Olof Simren Development, Manufacturing, Warehouse 9 Comments

This is the fourth post related to subcontracting in Dynamics NAV. The topic is how to use warehouse receipts together with subcontracting purchase orders (previous parts are here: Part 1, Part 2, Part 3).

It is a quite common requirement to be able to use the warehouse receipts to process receipts of subcontracting purchase orders. It could for example be that your location is setup to use the ‘Directed Put-Away and Pick’ (sometimes referred to as advanced warehousing) and therefore you are required to use the warehouse receipts or it could simply be that the warehouse receipts are used standalone and you want your receiving personnel to receive subcontracting purchase orders the same way as they are receiving regular purchase orders (and transfer receipts and sales return receipts).

In standard Dynamics NAV it is only possible to receive inventory on purchase orders through warehouse receipts. A purchase order with just a subcontracting operation on the line does not even create a warehouse request.

This is how it is (and always have been) in Dynamics NAV. But Microsoft has also (many years ago) provided a solution that can enable the warehouse receipts for subcontracting purchase orders (don’t ask me why this is not part of standard Dynamics NAV). It is at PartnerSource as article 916968 for Navision 4.0, but it still applies to version 5, 2009 and 2013.

The way it is suggested to do it is as follows:

Add a Boolean field called Subcontracting to the warehouse receipt line table (you might also want to add it to the page as an indication to the user, then make it non-editable).

Subcontracting-Field-in-Warehouse-Receipt-Line-Dynamics-NAV

It also makes sense to add the above field to the posted warehouse receipt table to be part of history after the receipt has been posted.

Then make the following two changes to codeunit 5750 (Whse.-Create Source Document).

Change-to-Codeunit-5750-Dynamics-NAV

The above change is to be able to insert the purchase line on the warehouse receipt.

2nd-Change-to-Codeunit-5750-Dynamics-NAV

The above change is to insert a 1 in the quantity per unit of measure field in the warehouse receipt table instead of the 0 value that is on subcontracting purchase orders and also to set the Boolean subcontracting field that will be used later when posting the receipt.

Then also do the following two changes to codeunit 5760 (Whse.-Post Receipt).

Change-to-Codeunit-5760-Dynamics-NAV

The above change is in order to only post inventory transaction if the Boolean subcontracting field is false. In other words don’t post inventory transactions when receiving a subcontracting purchase order since you are not really receiving inventory (just finishing the operation).

2nd-Change-to-Codeunit-5760-Dynamics-NAV

The above change is to not create a put-away document for received subcontracting purchase order.

The third and last codeunit to change is codeunit 5772 (Whse.-Purch. Release). This is so that a warehouse request is created even for subcontracting purchase orders. Without the warehouse request you will not be able to retrieve the purchase line into the warehouse receipt.

Change-to-Codeunit-5772-Dynamics-NAV

That’s it, time to test it! 🙂

We create a subcontracting production order on the WHITE location in a Cronus database (which as you might know is a location setup to use ‘Directed Put-Away and Pick’). In my example I will use the FIFA painted bicycle also used in Part 1, Part 2 and Part 3.

Subcontracting-Production-Order-On-Warehouse-Location-Dynamics-NAV

We then use the subcontracting worksheet to create a purchase order on the WHITE location, which is released and sent to the vendor along with the parts.

Subcontracting-Purchase-Order-Dynamics-NAV

The next step is then to receive the purchase order when the material is returned from the subcontracting. To do this we create a new warehouse receipt and use the Get Source Documents function to retrieve the purchase order line (see blog post about how to work with warehouse receipts).

The purchase line is retrieved and the field Subcontracting is checked on the line. This way the receiving personnel can verify that this is a subcontracting purchase order that they are about to receive and they also know that no put-away will be created.

Warehouse-Receipt-Dynamics-NAV

The receipt is confirmed by posting it.

The subcontracting purchase order has now been received.

Subcontracting-Purchase-Order-Received-Dynamics-NAV

And the operation on the production order has also been updated accordingly and the capacity ledger entries has been created, just like it would if we were receiving directly on the purchase order.

Subcontracting-Capacity-Ledger-Entries-Dynamics-NAV

Nice! 🙂

With this modification the receiving personnel can receive subcontracting purchase orders the same way as regular purchase orders (with the exception that you don’t get a warehouse put-away). This is great and I think a lot less confusing compared to having to have separate procedures for receiving subcontracting purchase orders or to use a different location just to work around the issue.

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X

Related


Discover more from Olof Simren - Microsoft Dynamics 365 Business Central Blog

Subscribe to get the latest posts sent to your email.

Tags: Production OrdersPurchase OrdersReceiptsSubcontractingWarehouse
9 Comments
Share
7

About Olof Simren

I am a Microsoft Dynamics NAV and 365 Business Central Expert, I started implementing Microsoft Dynamics NAV in 2002, back then it was called Navision Attain. Throughout the years there has been many exciting implementations in different parts of the world, all of them with different challenges but with one common theme; manufacturing. As a consultant, I bring over 20 years of experience in implementing Microsoft Dynamics NAV and 365 Business Central within manufacturing and distribution companies. The services I offer includes project management, consultation, development and training. Feel free to contact me if you need help with anything related to Microsoft Dynamics NAV or 365 Business Central. I work through my company Naviona where I team up with other skilled Microsoft Dynamics NAV and 365 Business Central Experts.

You also might be interested in

Activate WMS Functionality for Existing Location

Dec 2, 2015

This blog post describes how you activate the ‘Directed Put-away[...]

Total Cost Allocation for Multiple Outputs

Jul 29, 2014

To allocate the total costs posted against a production order[...]

Processing of Shipments

Mar 9, 2015

There are four ways to process shipments of inventory in[...]

9 Comments

Leave your reply.
  • jane.kim
    · Reply

    October 20, 2016 at 9:50 PM

    HI Olof

    thanks for your answer
    i have an question

    step
    1. posted purchase receipt (subcontract ) – 50 quantity -> 50 output quantity(Production journal)
    2. posted purchase invoice – 50 quantity /50 cost/ total amount 25,000
    3. I would like to reverse the purchase invoice.
    When I try to handle the post purchase credit invoice, i receive an error message.
    —————————
    Applies-to Entry must have a value in Item Journal Line: Journal Template Name=, Journal Batch Name=, Line No.=0. It cannot be zero or empty.
    —————————
    when i try to handle the appl-to item entry field click
    —————————
    Prod. Order No. must be equal to ” in Purchase Line: Document Type=Credit Memo, Document No.=SW-PCM000003, Line No.=20000. Current value is ‘SW-RO000055’.
    —————————
    Can you tell me how to handle?
    thank you

    • Olof Simren
      · Reply

      Author
      October 20, 2016 at 10:31 PM

      Hi Jane,
      Do you have the ‘Exact Cost Reversing Mandatory’ in the Purchase & Payable activated?
      If so, try to turn it off.

      /Olof

  • jane.kim
    · Reply

    October 21, 2016 at 3:01 AM

    HI Olof

    thanks for your answer!!
    I turn off the field, but I get the same message
    what’s wrong? i don’t know

    • Olof Simren
      · Reply

      Author
      October 21, 2016 at 11:58 AM

      Hi Jane,
      Is the subcontracting operation the last operation on the routing?
      This complicates things a bit (not only crediting, but also other things such as tracking and scraps).
      If it is try doing a process with an additional operation (such as QC after the subcontracting one).
      That’s all I can think of right now.

      /Olof

  • Manish
    · Reply

    February 5, 2017 at 12:23 PM

    Hey Olof,

    For one of my client i am using advance warehousing feature with Quality Management as an add on module.

    Lot tracking is active.At time of warehouse receipt ,lot is must which needs to be specified on Production order and not on warehouse receipt.
    The second issue is the material has to be received in quarantine location which has bin with bin type as receive,which is mandatory for warehouse receiving.I would like to use Put away to transfer inventory from receiving bin to storage Bin.But system is giving me error.

    Your guidance is required on this…

    • Olof Simren
      · Reply

      Author
      February 9, 2017 at 2:47 PM

      Hi Manish,
      I would recommend to have an operation (such as QC) after the subcontracting operation in the routing. This way you can add the lot number afterwards from the production journal when posting the output, you can also then post the output into the quarantine location if you want.

      /Olof

  • Barak
    · Reply

    March 6, 2018 at 10:21 AM

    Hi,
    Great manual,

    Is there a way for the purchase to continue as our usual purchase reciept which means we will have an automatic Put-away after the receipt? right now it is stuck on Receive bin which is a problem for us

    • Olof Simren
      · Reply

      Author
      March 6, 2018 at 12:36 PM

      Hi Barak,
      I believe that would require a modification, I understand what you mean, but since the warehouse receipts required this modification to work with subcontracting I think put-aways would require the same.

      /Olof

  • Richard L
    · Reply

    September 23, 2020 at 10:44 AM

    Hi,

    Thank you for the tips on subcontracting, they are very helpful.
    I have a problem I wondered if you could help with, we have an item that we have changed to be produced instead of purchased so that we can assign a BOM to account for free issue components that need to be sent alongside the subcontract work.

    However we need to be able to still setup the purchase order to have multiple drops over time (e.g. We want 100 total, but would want them delivered in drops of 20 once per month).
    I couldn’t easily see a way to achieve this with a subcontracted purchase order as you’re unable to have multiple lines on the purchase order that relate back to to the production order and can also standardly only have the full quantity.

    Can you think of a way to achieve this at all please?

Leave a Reply

Your email is safe with us.
Cancel Reply

Subscribe to My Blog via Email

Check Out Our Apps in AppSource

My Dynamics NAV Partner

Naviona, LLC

Categories

  • Assembly (3)
  • Development (35)
  • Finance (14)
  • General (28)
  • Inventory (24)
  • Manufacturing (36)
  • Miscellaneous (27)
  • Purchase (9)
  • Sales (11)
  • Warehouse (7)

Tags

.net Add-in AI AppSource Assembly Assembly BOM Business Central CAL Capacity Consumption Contact Copilot Costs Customer Development Dimensions Excel Finance Flushing General Ledger Inventory Item Item Tracking Low-Level Code MRP NAV 2015 NAV 2016 Output Planning Production Production BOM Production Orders Purchase Orders Receipts Reporting Reports Routing Sales Sales Order Stockkeeping Unit Subcontracting Task List Warehouse Warehouse Shipment Work Center

Recent Posts

  • Business Central Configuration Audit using Vibe Coding
  • Copilot in Planning Parameter Worksheet
  • Copilot in Planning Worksheet
  • Copilot Inventory Queries
  • Record Deletion Tool for Business Central in AppSource
  • Reopen Finished Production Orders
  • XML Buffer and CSV Buffer Tables
  • Functionality Improvements in NAV 2017
  • Reversing Production Output and Consumption
  • Return Merchandise Authorization (RMA)

Categories

  • Assembly
  • Development
  • Finance
  • General
  • Inventory
  • Manufacturing
  • Miscellaneous
  • Purchase
  • Sales
  • Warehouse

Contact Us

We're currently offline. Send us an email and we'll get back to you, asap.

Send Message

Categories

  • Assembly (3)
  • Development (35)
  • Finance (14)
  • General (28)
  • Inventory (24)
  • Manufacturing (36)
  • Miscellaneous (27)
  • Purchase (9)
  • Sales (11)
  • Warehouse (7)

Tags

.net Add-in AI AppSource Assembly Assembly BOM Business Central CAL Capacity Consumption Contact Copilot Costs Customer Development Dimensions Excel Finance Flushing General Ledger Inventory Item Item Tracking Low-Level Code MRP NAV 2015 NAV 2016 Output Planning Production Production BOM Production Orders Purchase Orders Receipts Reporting Reports Routing Sales Sales Order Stockkeeping Unit Subcontracting Task List Warehouse Warehouse Shipment Work Center

Recent Posts

  • Business Central Configuration Audit using Vibe Coding
  • Copilot in Planning Parameter Worksheet
  • Copilot in Planning Worksheet
  • Copilot Inventory Queries
  • Record Deletion Tool for Business Central in AppSource
  • Reopen Finished Production Orders
  • XML Buffer and CSV Buffer Tables
  • Functionality Improvements in NAV 2017
  • Reversing Production Output and Consumption
  • Return Merchandise Authorization (RMA)

Recent Comments

  • Olof on Business Central Configuration Audit using Vibe Coding
  • Andrew Trayfoot on Business Central Configuration Audit using Vibe Coding
  • Barrett Allen on Reopen Finished Production Orders
  • Kateryna on Business Central Configuration Audit using Vibe Coding
  • Takeshi Setoya on Reopen Finished Production Orders
  • Steve on Consignment Inventory
  • Olof Simren on Copilot in Planning Worksheet
  • Omaer Amjad on Copilot in Planning Worksheet

© 2026 · Olof Simren

  • Home
  • About Me
  • Contact Me
  • Downloads
  • White Papers
  • Web Sites
  • Post List
  • Articles
  • FAQ
Prev Next