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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

How to invoice only quantities that passed quality order

(6) ShareShare
ReportReport
Posted on by 126

Issue Description

I have an item that is linked to a quality order in the purchase process. The item sampling is set to 100%, with no blocking, and “Per updated quantity” = Yes.
I have also configured the Quality associations as shown in the attached screenshots.

Scenario

  1. Created a purchase order for 1,000 pcs of an item.

  2. First product receipt posted for 100 pcs → automatically generated a quality order for 100 pcs.

    I completed the quality order and marked it as Pass.

       
  3. Second product receipt posted for 50 pcs → automatically generated another quality order for 50 pcs.

    This quality order is still open (not yet completed).

       
     

Issue

Now, I want to generate a vendor invoice only for the 100 pcs that already passed the quality order.

  • When I go to generate the invoice, the system defaults the quantity to 150 pcs (includes both receipts).

  • I tried to use Match product receipts and selected only the first receipt (100 pcs). The invoice quantity updates correctly to 100 pcs.

  • However, when I try to Post the invoice, I receive an error message saying that some quantities are still under a quality order

Question

How can I post the vendor invoice only for the quantities that have passed the quality order, while excluding the quantities that are still under inspection?

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,417 Super User 2026 Season 1 on at

    Hi,

     

    In Dynamics 365 Supply Chain Management, when dealing with quality orders linked to product receipts, the system enforces validation rules to ensure that only approved quantities are invoiced. Based on your scenario, here's how you can handle invoicing only the quantities that have passed quality inspection:

     

    Issue Summary

     

    You posted two product receipts:

     

    • 100 pcs → Quality order completed and passed.

    • 50 pcs → Quality order still open.


    •  
     

    When attempting to invoice only the 100 pcs, the system blocks the posting due to the remaining quantity still under inspection.

     

    Recommended Approach

     

    1. Use the "Match product receipts" feature:

       

      • As you did, select only the product receipt that corresponds to the 100 pcs.

      • This ensures the invoice quantity reflects only the passed items.

    2. Enable the parameter to allow partial invoicing:

       

      • Go to Procurement and sourcing > Setup > Parameters.

      • Under the Invoice tab, check if the option “Allow invoice posting for receipts under quality order” is disabled. If enabled, it may block invoicing until all quality orders are completed.

      • Disable this option to allow invoicing for receipts that have passed quality checks.

    3. Review Quality Associations:

       

      • Ensure that the quality association is not enforcing a block on invoicing for open quality orders.

      • You may need to adjust the blocking settings or quality order policies to allow partial invoicing.

    4. Alternative Workaround:

       

      • If the system still blocks the invoice, consider temporarily adjusting the quality order status or using a custom workflow to bypass the restriction, ensuring compliance with your internal QA policies.


    5.  
     

    This setup allows you to maintain strict quality control while still processing invoices for approved quantities.

     

    Thanks and best regards,

    Daniele

    Note: This response was prepared with support from Copilot to ensure clarity and completeness.

  • Jonas "Jones" Melgaard Profile Picture
    5,010 Most Valuable Professional on at
    Hi @DAnny3211, your reply looks to be incorrect. 
    I don't have time right now to write my own reply, but I trust you are able to either correct your own reply or make a new one. 
    Also please keep the new AI policies in mind.
     
    ---
     
    Background information:
     
    1: The invoice tab is found in the Accounts Payable module, not the Procurement and Sourcing module. As a rule of thumb, the parameters in the modules affects the documents in the module.
     
    2: The parameter for quality orders does not exist on the invoice, as it's not tied to the invoice process. Rather it's tied to the physical process that might be triggered when posting an invoice in the Accounts Payable module.
     
  • Verified answer
    André Arnaud de Calavon Profile Picture
    303,674 Super User 2026 Season 1 on at
    Hi Abdulla,

    Can you tell us if you are using self-billing if you talk about generating the vendor invoice? By default, there is no relation between lines selection (quantity defaulting) and the status of a quality order. As you experienced, you get the error upon posting the invoice. 
     
    You can consider a customization to default only the quantity of the passed quality orders.


    PS, you can ignore the reply from Danny3211 as Copilot was not able to correctly understand this typical Dynamics 365 scenario. It was a wishful thinking of AI, but in my opinion incorrect and not helpful at all.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 254

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 188 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 131 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans