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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Importing closed customer and vendor transactions into AX 2012

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I am trying to figure out a way to import customer and vendor transactions that have already been closed into AX 2012 r2 CU6.

 

I can the transactions in just fine using the DIEF, but I run into problems with marking them as closed or settled. As far as I know, there is nowhere in the general journal form to mark if a line has been previously settled before posting it. That makes sense, but there has to be a work around somehow.

 

Or if no one is sure how to import closed AP/AR transactions, can you at least shed some light on what actually lets AX know if a transaction is settled? Is it just whenever the settled amount field in the custtrans or vendortrans tables equals the amount field? Or is there something else?

 

 

Thank you for the help.

 

Phil

*This post is locked for comments

I have the same question (0)
  • Dick Wenning Profile Picture
    8,705 Moderator on at

    example is vendor, but in general the same

    blogs.msdn.com/.../dynamics-ax-export-import-framework-for-vendor-balance-migration.aspx

  • Dick Wenning Profile Picture
    8,705 Moderator on at

    but why importing settled amounts?

  • Community Member Profile Picture
    on at

    Dick,

    It seems like the link you posted only describes how to import open cust or vendor transactions and not settled ones, I could very well have overlooked something though.

    And we want to import the settled transactions for reporting purposes. So that we can run reports against customers or vendors and return detail that would not be in the general ledger transactions.

    Thank you,

    Phil

  • Dick Wenning Profile Picture
    8,705 Moderator on at

    why not import it like open trans and settle them after.

    settlement from code is not so hard

    invCustTrans = CustTrans::find(this.recidInvoice);

    payCustTrans = CustTrans::find(this.recidPayment);

    custTable = CustTable::find(this.CustAccount);

    invCustTrans.transData().markForSettlement(custTable);

    payCustTrans.transData().markForSettlement(custTable);

    custtrans::settleTransact(custTable

  • André Arnaud de Calavon Profile Picture
    305,583 Super User 2026 Season 1 on at

    Hi Phil,

    In the past with older AX versions I created import jobs and imported first the "invoice" transacions and posted them. In a second run I imported the "payment" transactions and this file contained information on the invoices being setlled. I have not done this with DIXF (aka DIEF) yet. You probably have to customize the entity to be able to specify the settlements. The code suggestion from Dick to mark settlements could be applied in the correct way then.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dserp Profile Picture

dserp 4

#2
dekion Profile Picture

dekion 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans