Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Get Serial No. in Sales Order

Posted on by 9
Hi all,
 
i am working on report extension on Standard Sales - Pro Forma Inv (Report 1302)
 
i want to display the serial no. for each /Sales Line/ item, the no. showed in Item /Item Tracking Line/, after my study, it should store in Table /Reservation Entry/ actually.
 
i tried with below coding, but there is nothing to show in RDLC report, anyone can help? thanks
 
        addfirst(Line)
        {
 
            dataitem(/Reservation Entry/; /Reservation Entry/)
            {
                DataItemLink = /Source ID/ = field(/Document No./), /Source Ref. No./ = field(/Line No./), /Item No./ = field(/No./);
                DataItemLinkReference = Line;
 
                column(Serial_No_; /Reservation Entry/./Serial No./)
                {
 
                }
                trigger OnPreDataItem();
                begin
 
                end;
 
            }
        }
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Get Serial No. in Sales Order
    Hi,
     
    Try addfirst("Sales Line") and check if it works.

    Best Regards,
    Dengliang Li
     

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans