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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Adding new field which will contain multiplication values of other two fields

(0) ShareShare
ReportReport
Posted on by


Dear All,

I want to add a new field in invoice journal.

Path: Accounts payable-> Inquiry->Journals-> Invoice Journal.

In Invoice Journal screen, the currency field contains USD or EURO(suppose).

i want to add new field 'totalamount' which will calculate the multiplication of
currency and invoice amount only for USD(USD * exchange value= EURO ) values and
wants to see value only in EURO .

Exchange rate is already there in exchange rate field.

My question is in which method and where i should write the logic.

Regards,

Soni

*This post is locked for comments

  • Suggested answer
    Deepak Agarwal Profile Picture
    on at
    RE: Adding new field which will contain multiplication values of other two fields

    write your code on Modified method of AMountCur

    like

    TotalAmount = AmountCur * exchRate;

    super();

    Note: ExchRate will be for 100 not for 1 amount. SO you may need to divide by 100 first.

  • Suggested answer
    Deepak Agarwal Profile Picture
    on at
    RE: Adding new field which will contain multiplication values of other two fields

    You can override this method from any of one

    1. Form-> DS-> Table-> Field ,method

    or

    2.  Form -> Design- #*****- field- method

  • Suggested answer
    ZeeshanAli Profile Picture
    on at
    RE: Adding new field which will contain multiplication values of other two fields

    Hey Deepak ! I want to add 2 fields in 3rd field. like 1. Start KM & 2. End KM in 3. Total

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans