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 :
Microsoft Dynamics AX (Archived)

how Retrieve suspended transaction ?

(0) ShareShare
ReportReport
Posted on by 2,050

i created new customize form which content suspended transaction so now i need to Retrieve suspended transaction 

so after research about that i found this way on frmSuspendedTrans

try
            {
                DataRow dataRow = this.gridView1.GetDataRow(this.gridView1.GetSelectedRows()[0]);
                this.suspendedTransactionId = (string)dataRow["SUSPENDEDTRANSACTIONID"];
            }
            catch (Exception)
            {
                this.suspendedTransactionId = null;
            }
            finally
            {
                base.Close();
            }


but i was wondering about this suspendedTransactionId what is that if gridView1 pass date and me also try to pass date but show empty when i try to retrieve suspended transaction

*This post is locked for comments

I have the same question (0)
  • mohammed.mqi Profile Picture
    2,050 on at

    Any ideaa for this please

  • Ghetz Profile Picture
    3,013 on at

    I cant really understand your problem. Why dont you just add RetailSuspendedTransactions Table as datasource for your form??

    If you query the RetailSuspendedTransactions table, can you see the data is there when you apply the date filter?

  • mohammed.mqi Profile Picture
    2,050 on at

    thanks for replay

    i just want Retrieve suspended transaction to Retail POS

    for continue Retrieved suspended transaction

  • Ghetz Profile Picture
    3,013 on at

    OK.. My understsding is that the suspended transactions interface is not easily available.

    Please check these links and see if you get some ideas:

    [View:https://community.dynamics.com/ax/f/33/t/200407]

    Similar issues:

    [View:http://stackoverflow.com/questions/34851376/how-to-extend-recall-transaction-screen-in-ax-2012-pos]

    [View:https://community.dynamics.com/ax/f/33/t/192449]

    [View:https://stackoverflow.com/questions/31613898/retrieve-item-lines-from-suspended-transactions-microsoft-dynamics-2012-ax-for]

  • mohammed.mqi Profile Picture
    2,050 on at

    thanks for replay

    i already read and review your link but i didn't find any way to retrieved suspended transaction

  • Nirvana115 Profile Picture
    4,921 on at

    Hi Mohammed,

    you can find the suspended transaction in this Table : [crt].[SALESTRANSACTION] when the Field : [DELETEDDATETIME] = NULL

    Use a select statement to retrieved suspended transaction.

    Best,

  • mohammed.mqi Profile Picture
    2,050 on at

    thanks for replay

    yes that's what i already did it

    but i can't select statement to retrieved suspended transaction

    it's show me nothing when i try to retrieve

    and this is my code which i used

    private void Select_Click(object sender, EventArgs e)
            {
                SetSelectedSuspendedTrans();
            }
    
    
            private void SetSelectedSuspendedTrans()
            {
                try
                {
                    DataRow dataRow = (dataGridView1.Rows[0].DataBoundItem as DataRowView).Row;
                    this.suspendedTransactionId = dataRow.ToString();
                }
                catch (Exception)
                {
                    this.suspendedTransactionId = null;
                }
                finally
                {
                    base.Close();
                }
            }


  • mohammed.mqi Profile Picture
    2,050 on at

    any idea for this

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans