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

How to connect a sales order to project?

(0) ShareShare
ReportReport
Posted on by 174

Hello,

is there a way to get the original sales order from project invoices?

I need to put on my project invoce what sales order it is related to. 

Like this project id is related to this sales order.

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    303,302 Super User 2026 Season 1 on at

    Hi Radek,

    The project invoice line has a reference to the Inventory transaction on the field LotID (InventTransID). In the inventory transaction there is a reference number which is the sales order for your scenario.

  • RadekM Profile Picture
    174 on at

    I'm not sure if I get it good here. No data output

    salesline::find(ProjItemTrans::find(projInvoiceItem.ProjTransId).inventtransid).SalesId;

  • RadekM Profile Picture
    174 on at

    Okay my bad. I Should use findInventTransId

    SalesLine::findInventTransId(ProjItemTrans::find(projInvoiceItem.ProjTransId).inventtransid).SalesId;

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 399

#3
Adis Profile Picture

Adis 251 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans