web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

x++ Mark SO transaction for settlement

(0) ShareShare
ReportReport
Posted on by 332

Hello

I have issue in x mark SO transaction for settlement 

The transaction is marked but when invoiced the so the SO no settlement  happened

Custvendopentransmanager    manager;
                                manager = custvendopentransmanager::construct(salesTable);
                                manager.updateTransMarked(transOpen,true);
                          

this code mark the transaction but didn't settlement  the invoice with marked transaction

After invoice the record is still exist in the SpecTrans 

- so i need to same system behavior when mark transaction for not invoiced SO

Thank you in advance 

 

I have the same question (0)
  • Verified answer
    huijij Profile Picture
    19,811 on at

    Hi

    Please go through the link for the code example about settlement transactions:

    docs.microsoft.com/.../settletransact-obsolete

  • Ahmed Osama Ibrahim Profile Picture
    332 on at

    Judy Jee Thank you

    This sample used to settle t transaction in my case I have one trans need to mark it with a sales order not invoiced , when invoice th SO the settlement happened

  • Verified answer
    Ahmed Osama Ibrahim Profile Picture
    332 on at

    Done            

     ttsbegin;
                                    // If transactions were marked, write back to originating record if needed
                                    manager.updateOriginatorForMarkedTrans();
    
                                    // update all SpecTrans records with date used to calculate discount
                                    manager.updateSpecTransWithSelectedDate();
                                    ttscommit;

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans