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 :
Microsoft Dynamics NAV (Archived)

The Sales Line Does Not Exist error when enter the Serial No in the Po

(0) ShareShare
ReportReport
Posted on by 559

My User have a Po with Serialized item , when he tried to enter the Serial no for on of the items he got the below error 

5025.error.png

i enable the Debug and give me this part of the code 

("Source Subtype" = 2)

    THEN BEGIN

      SalesLine.GET("Source Subtype","Source ID","Source Ref. No.");

      IF SalesLine."Shipment No." <> '' THEN

        EXIT(FALSE);

    END;

 

  EXIT(TRUE);

 

OnBeforeAssistEditTrackingNo(VAR TempTrackingSpecification : Record "Tracking Specification";VAR SearchForSupply : Boolean;CurrentSignFactor : Integer;LookupMode : 'Serial No.,Lot No.';MaxQuantity : Decimal)

 

 

OnAfterAssistEditTrackingNo(VAR TrackingSpecification : Record "Tracking Specification";VAR TempGlobalEntrySummary : Record "Entry Summary")

 

 

*This post is locked for comments

I have the same question (0)
  • ChazKimRP Profile Picture
    380 on at

    Can you elaborate a bit more on what you were doing to have this error produced? Was the PO originally created through the Special Order>Get Sales Order? Did you check the sales header table to see if that order is there or got deleted?

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans