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, ...
Suggested Answer

settlement mark needs to be automate while uploading data in to Journal lines in AX 2012 r3

(0) ShareShare
ReportReport
Posted on by 30

Hi All,

AR- Payment Journal - Lines

here in Lines, user insert record through templates. They called one button "Upload" and the record get inserted on lines. It is working fine as of now.

The requirement is while doing the import lines, customer wants to mark =  YES on settlement form based on INVOICE, SALESID , AMOUNT ETC... not to do MANUAL

I have checked, the mark is called, CustTransOpen.editMarkTrans() which is written in form > ds ( CustTransOpen) > method ( editMarkTrans() ) .

Can you please guide me how i will do check mark yes in settlement form during upload data in to Journal lines?

Please give me more shed on this.

Thanks!

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,148 Super User 2025 Season 2 on at

    Hi @rp@n,

    The settlement details are maintained by a class SpecTransManager. You can interact with this class to mark open transactions for settlement.

  • @rp@n Profile Picture
    30 on at

    Thanks Andre,

    Could you please provide me the code.  It would be helpful for me. 

    Thanks!

  • André Arnaud de Calavon Profile Picture
    301,148 Super User 2025 Season 2 on at

    Hi @rp@n,

    It has been a very long time ago when I did something myself with this class. You can look at the payment proposals in the standard application for an example how this class is used.

  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at

    Hi @rp@n,

    Please override write method in CustTransOpen data source and in this method update the mark to yes.

  • Suggested answer
    OsmanIstanbul Profile Picture
    2,818 on at

    Hi

    İf you want to settle automatically and do not provide any transaction for settle then you can just change settle type as automatic on journal lines. But if you want to determine transactions to be settled, then you can insert settle trans to specttrans table by help of your class.

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans