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

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

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... 467 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans