Skip to main content

Notifications

Announcements

No record found.

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 493

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

  • ChazKimRP Profile Picture
    ChazKimRP 380 on at
    RE: The Sales Line Does Not Exist error when enter the Serial No in the Po

    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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans