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

Community site session details

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

Delete PO Line Error,line not exist

(0) ShareShare
ReportReport
Posted on by 10

hi,

    When i try to delete PO Line from PO Form,the error[The Purchase Line does not exist. Identification fields and values],but i can see the record in table brower,someone know how can i fix it?and the error from Basic code..

pastedimage1676864694566v1.pngpastedimage1676864727871v2.pngpastedimage1676864823584v4.png

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,688 Moderator on at
    RE: Delete PO Line Error,line not exist

    Hi,

    Can you check if there are shipment or invoices posted? or any customization done?

    Thanks.

  • Dynamics BC Marin Profile Picture
    10 on at
    RE: Delete PO Line Error,line not exist

    hi Verma

    yes,we have customization,but when i use debug model to run project and delete record,i see the code stop like pic3,Could you help me to see how to check customization code?

  • Suggested answer
    Nitin Verma Profile Picture
    21,688 Moderator on at
    RE: Delete PO Line Error,line not exist

    Hi,

    You need to start debugging the code from Delete function, and go step by step, it will let your what is the actual problem, or you need to connect with your developer on this.

    Thanks.

  • Dynamics BC Marin Profile Picture
    10 on at
    RE: Delete PO Line Error,line not exist

    hi,

         yes,i try to debug,but when i jump to GetCaptionClass(table 39),and i push F11, no more code continue ,VS CODE always stay on GetCaptionClass(table 39)..but i will try more,thanks

  • Suggested answer
    Nitin Verma Profile Picture
    21,688 Moderator on at
    RE: Delete PO Line Error,line not exist

    Hi,

    You need to connect with your developer in this code, to rectify the custom code.

    Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,688 Moderator on at
    RE: Delete PO Line Error,line not exist

    Hi,

    Please refer the below link for the system requirement to install BC

    learn.microsoft.com/.../system-requirement-business-central

  • Dynamics BC Marin Profile Picture
    10 on at
    RE: Delete PO Line Error,line not exist

    hi,

     i am developer actually..i can see record run into onaftergetrecord() and onaftergetcurRecord(),i will try debugging,thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,688 Moderator on at
    RE: Delete PO Line Error,line not exist

    Thanks, I am sure you will find something which is breaking.

    Thanks

  • Dynamics BC Marin Profile Picture
    10 on at
    RE: Delete PO Line Error,line not exist

    thanks Nitin,we have some custom code in Page Trigger delete(),,the error happened.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,255

#2
Sumit Singh Profile Picture

Sumit Singh 2,665

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,401

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans