Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

X++ code for return line return status update to received when disposition code of credit only is used

(0) ShareShare
ReportReport
Posted on by 2,654

Hi,

Can you anyone point me to the piece of code used for updating a return sales line return status to RECEVIED and setting the return qty value when the user changes the return disposition code to a code of type CREDIT ONLY?

I have been trying to debug it but I can't find it at all - I need to call it programmatically and was hoping someone could advise - I think it is linked to the ReturnTable form code but I'm not 100% sure.

Thanks 

  • Suggested answer
    Kauto Profile Picture
    2,654 on at
    RE: X++ code for return line return status update to received when disposition code of credit only is used

    Found it, it exists on the main SalesLine table method salesline.ReturnUpdateBasedOnDispCode()

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,336 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=%27Domingo+Garcia%27+currently+at+Licensing++Regulation+Department+site%3A%2F%2Flinkedin.com%2Fin" - Nested quantifier +.