Skip to main content



No record found.

Microsoft Dynamics AX forum

Get customer closed transaction Marked records SpecTrans

Posted on by 458


I need to get all the marked records for a customer in AX 2012 

AR>all customers > Collect tab > Closed transaction editing.

I have written some code related to spectrans but I need to get the voucher number as well.

I am able to get the count with the below code , but I need tthe values of the record as well. eg. Voucher number

specTransManager = SpecTransManager::newRefTableId(Custtable, tableNum(CustSettlement), true);
if(specTransManager.getSpecTransCount() > 0)



Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans