Skip to main content

Notifications

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

Delete PO Line Error,line not exist

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

Categories:
  • RE: Delete PO Line Error,line not exist

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

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Delete PO Line Error,line not exist

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

    Thanks

  • 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
    Nitin Verma 21,091 Super User 2024 Season 1 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

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 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.

  • 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
    Nitin Verma 21,091 Super User 2024 Season 1 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.

  • 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
    Nitin Verma 21,091 Super User 2024 Season 1 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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans