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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

x++ code to split project invoice proposal amount into two

(0) ShareShare
ReportReport
Posted on by 1,244

Hi,

Greetings!

I want to split project invoice proposal into two entries while posting.

eg. Proposal invoice amount = 1000

A custom table has relevant records, let's say for the above record the amount split is 900, 100

In the invoice journal's voucher transactions, the entries would be for amounts 900 and 100 instead of 1000

This should be achieved using x code. Which could be the best place to do the split, maybe

ProjPost.postTurnover()
?

With best regards,

Abhinay

I have the same question (0)
  • Verified answer
    huijij Profile Picture
    19,813 on at

    Hi Abhinay:

    You can check his code logic by selecting the split button on the project invoice proposal form and switching to AOT to see if it works.Right click in the blank of the form and click on the form name, it will locate the resource in the AOT.

  • Abhinay Tharwal Profile Picture
    1,244 on at

    Hi Judy,

    Thank you for your suggestion, I will look into it.

    For now we are going with additional postings in GL to counter the project invoice proposal postings.

    //BR, Abhinay

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 677 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 620

#3
Subra Profile Picture

Subra 483

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans