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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Purchase Order - Accidentally Deleted Line Items that have been Received

(3) ShareShare
ReportReport
Posted on by 23
We have a large open PO with quarterly releases and accidentally deleted line items that have been received and invoiced.  Why would BC allow you delete line items that have been received and can you change any system settings to prevent this from happening in the future?  
Categories:
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    4,985 Most Valuable Professional on at
    Moved from D365 Finance to the BC forum
  • Sohail Ahmed Profile Picture
    11,148 Super User 2025 Season 2 on at
    In Business Central, the system should not allow deletion of purchase lines that are fully or partially received/invoiced — unless those lines are not properly linked or the deletion happened before posting. If lines were deleted post-receipt/invoice, it may be due to:
     
    Customizations bypassing standard checks
     
    Using "Delete Line" before posting the receipt/invoice
     
    Manual modifications in earlier versions or via configuration packages
     
     
    ✅ To prevent this in future:
     
    Restrict permissions for deleting PO lines using Permission Sets
     
    Enable Change Log to track such actions
     
    Train users on proper handling of posted documents
     
     
    ✅ Mark this answer as verified if it helps you.
     
     
  • Suggested answer
    RockwithNav Profile Picture
    8,637 Super User 2025 Season 2 on at
    BC won't - Check if anything working on top as a custom solution.
     
  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at
    Hi, There are standard controls here that cannot be deleted.
    Is this caused by a third-party customization? I recommend that you contact your partner to investigate this issue.
    Qty. Rcd. Not Invoiced must be equal to '0' in Purchase Line: Document Type=Order, Document No.=106015, Line No.=10000. Current value is '2'.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    1,282 on at
    Hii There,
    as per this scenirio its possible when user was updated status to OPEN . and then if the QTY to Invoice and Receive is same as Quantity it will allow to delete line so YUN ZHU as per you case you not invoiced QTY . 
     
    so please check the status of ORDER also .
     
    so as per requirement you can create a customization for this to prevent deleting from this from page , 
    if you want to check the code feasibility will check . 
     
     
     
    if you found answer please mark it answered.
     
    Thank You .
    KAMAL Khakhkhar.
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,774 Super User 2025 Season 2 on at
    BC system has only restriction that PO cannot be deleted if Qty. Received <> Qty. Invoiced. If all received items are invoiced, then PO can be deleted. Normally if You press Post from the PO to create receipt+invoice (or just invoice) the PO will be deleted automatically (if all quantity was received and invoiced by this action). So normally in PO list it is not intended to keep PO's that have been received and invoiced. For large orders - the Blanked Orders are used - you enter the yearly quantity and from this generate partial PO each month/quarter.

    Of course if You really want to prevent deletion, just remove the permissions for users to Delete from table 38 (Purchase Header). Or create a customization with the needed validations.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans