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

Post PO invoice after SalesInvoice for Intercompany order

(0) ShareShare
ReportReport
Posted on by 230

Hi All,

After Sales Invoice posting ( batch / manual)  I want to post  the related intercompany purchase invoice and pass some infomation from SalesInvc to PurchaseInvoice... Looking for suggestion as to where to write the logic and some code snippet.

Thanks in advance

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Krishnendu,

    You can trigger the posting of related purchase order On the on CustInvoiceJour\insert method, after super() call.

    You can check this post regarding code for posting PO invoice.

  • Suggested answer
    Microsoft Profile Picture
    on at

    PO invoice is posed by method in class:formletterService.postPurchaseOrderInvoice(FormLetterContract _contract).

    in class: formLetterCOntact.

    There are a list of paramters common for this class and you can add some additional parameter to the list. hope it will work.

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 March 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... 632 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 624

#3
CP04-islander Profile Picture

CP04-islander 301

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans