Skip to main content

Notifications

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

Copy Lines to revert from Sales Shipments miss "EC %" from sales Line in BC v.20

Posted on by 4
Hello, we have detected that in the process of bringing lines to revert from sales returns, it does not bring the "EC %" data to the lines, when the type of document is from shipment history, however, it does do it correctly when the origin is invoice line.
We have been able to resolve this with the event shown below, but we think it is appropriate to inform as we believe this should be moved correctly just like from other source line types. 
It could be possible to fix it in the next releases?
 
Thanks for the attention!
Please let me know if i'm placing this question in the right forum.
Best regards
 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Copy Document Mgt.", 'OnBeforeCopySalesShptLinesToBuffer', '', false, false)]
    local procedure OnBeforeCopySalesShptLinesToBuffer(var FromSalesLine: Record "Sales Line"; var FromSalesShptLine: Record "Sales Shipment Line"; var ToSalesHeader: Record "Sales Header")
 
 
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 71,839 Super User 2024 Season 2 on at
    Copy Lines to revert from Sales Shipments miss "EC %" from sales Line in BC v.20
    Hi, I suggest you submit it to the following two places so that Microsoft employees can take a look and solve it.
     
    Thanks
    ZHU

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,336 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans