How to retain cursor position while a form research is done in AX 2009 or AX 2012.



Recently, I faced some problems while refreshing a form.. You can solve those problems by following the below code..

Method 1:

void refreshForm()


int i;


i = BudgetHeader_ds.getposition();




If method 1 doesn’t work try using method 2..

Method 2:

void refreshForm()


    Common                  currentRecord;

    BudgetHeader      budgetHeaderLocal;


    currentRecord = BudgetHeader_ds.cursor();

    budgetHeaderLocal = BudgetHeader::find(currentRecord.RecId);




Happy Daxing.. 🙂


One thought on “How to retain cursor position while a form research is done in AX 2009 or AX 2012.

  1. Hello,

    This is Midhun and I am working for Win Wire Technologies. One of our client is Looking for AX Developer in Fremont, CA. If you are interested send me your updated resume along with contact details.

    Title: AX Developer with Fixed Asset Module
    Location: Fremont, CA
    Duration: Long Term


    AX Developer with experience in Fixed Asset Module

    • Responsible for closing fixed asset module in Dynamics AX 2012
    • Record monthly depreciation, including estimated depreciation on projects to be closed
    • Maintain the capital leases in Dynamics AX 2012 and maintain the related GL reconciliations
    • Record the cost of newly acquired and constructed fixed assets acquisitions, transfers and dispositions in the accounting system
    • Calculate and record the capitalized interest
    • Review monthly repair and maintenance charges
    • Reporting for fixed asset activity
    • Monthly reconciliation between ledger and sub ledger
    • Fixed asset and CIP roll forward
    • Performs mass addition transfers, assignments, postings, and deletions weekly while coordinating with RSP accounting manager
    • Monthly reporting to controllers and IT managers of AUC assets project status and fixed asset detail
    • Ad hoc reporting, as necessary
    • This position is required to assure compliance of Company operations to all applicable laws, regulations and standards, good business practices and company documented procedures (including knowledge of all standards, government occupational health and environmental regulations and statutes related to the site)
    • Prepare audit schedules relating to fixed assets and assist the auditors in their inquiries

    Thanks & Regards,

    Midhun Vejju

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s