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 :
Finance | Project Operations, Human Resources, ...
Answered

PO invoicing issue

(0) ShareShare
ReportReport
Posted on by 134

Hello Dears,

Please your help in below issue, when user trying to invoice PO that was related to SO but it is not now, error appears  as insuffient inventory transaction with status picked.

0333.pastedimage1673175410219v1.png

 

Thanks in advance.

Best regards,

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,349 Super User 2026 Season 1 on at

    Hi Roaa,

    Can you explain what exactly is the case when the "PO was related to SO but it is not now"? Can you provide the procedure and steps how this can be reproduced?

  • Suggested answer
    365Consultancy Profile Picture
    10 on at

    When you invoice the PO it tries to post the packing slip for the related SO due to (probably) marking. If there is no inventory to pick upon posting packing slip then you get this error. Check the marking between the two orders and see if you can remove that as you mention these are not related to each other anymore.

  • REEBAS Profile Picture
    134 on at

    The senario as below:

    there was a sales order related to this PO but due to some issues and dealy from vendor side we decided to seprate this PO(from database) and then invoice the sales order using stock instead of waiting vendor, and when items are received, user trying to invoice it after receiving but this error appears.

  • André Arnaud de Calavon Profile Picture
    303,349 Super User 2026 Season 1 on at

    Hi Roaa,

    What exactly do you mean with separating the PO (from database)? Did you do data manipulation in the Dynamics database? If so, what changes were done exactly and why?

  • REEBAS Profile Picture
    134 on at

    yes due to businsess need we have to lookng for a workaround solution, so we set salesid field for PO as null.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    303,349 Super User 2026 Season 1 on at

    Hi Roaa,

    There are references on the inventory transactions which manages the reservations and the link between a PO and SO. Just removing a reference on the SQL database on the purchase order header is not a supported way to manipulate data. It will bypass all X++ business logic.

    Try to remove the references from the user interface. If this is not possible, an x++ script would be recommended to remove the references. This should be tested carefully in a non-production environment first.

  • REEBAS Profile Picture
    134 on at

    thanks for detailed explaination, I found  solution for that which is to cancel or correct product recipt cause it reads project even when I remove it from purchase order lines,

    beacuse when removing the connection the purchase was alraedy received.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 375

#3
Adis Profile Picture

Adis 268 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans