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

when Voucher lines get created on Product receipt and Invoice on Purchase order?

(0) ShareShare
ReportReport
Posted on by 30

Hi All,

Kindly please let me know when  Voucher lines get created on Product receipt and Invoice on Purchase order?

where i need to put breakpoint to see vochers lines get created or not.

Please give me more shed on this.

thanks!

I have the same question (0)
  • Suggested answer
    Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at

    Hi,

    Voucher for Product receipt will only be generated once you have confirmed the PO.

    However, you need to make sure the Posting of the PO is configured in Inventory management-> Posting setup

  • @rp@n Profile Picture
    30 on at

    Thanks Ramit,

    Kindly let me know which class and method are called during voucher creation of Product receipt and invoiced.

    Please give me more shed on this

  • Suggested answer
    Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at

    I am sure, someone having technical understanding on this will shed light on this in forum, I am more of a functional consultant.

    @tech team- please help here.

  • @rp@n Profile Picture
    30 on at

    thanks Ramit,

    meanwhile could you please clear me 2 things...

    I have created a new PO and confirmed. As you said the voucher lines on product receipt got created during po confirmation. I am talking about journal > product receipt > vouchers

    3010.S2.jpg

    It is disabled. It is enabled, when i do the Product Receipt. and able to see the Voucher lines with GL account. 

  • Suggested answer
    Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at

    Can you check two settings?

    1: Please check if this the purchase type is Journal in the PO if yes, then change to "Purchase Order

    2:In the AP parameter- general tab- check if the "Post product receipt in ledger" is set as "yes", if not, change that to 'Yes'

    Then test

  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at

    Hi,

    in process of PO:

    -FormletterJournalPost class, is used for insert vouchers and post them(go to Classes\FormletterJournalPost \Post).

    - InventoryMainAccDimensionListProvider class, is used for invoke purchline items such as itemid and .... and finally In this way,fetch posting profile by this method  InventPosting::accountItemLedgerDimension

  • @rp@n Profile Picture
    30 on at

    Thanks bro,

    Kindly confirm the below things...

    1. In product receipt journal- Voucher button- lines

    I needs to add some condition based on Posting type = Purchase price Varience ( PPV )

    @ where I can put the condition?

    2. In invoice journal- Voucher button- lines

    I needs to add some condition based on Posting type = Purchase price Varience ( PPV )

    @ where I can put the condition?

    Please give me more shed on this

    Thanks!

  • @rp@n Profile Picture
    30 on at

    Kindky  please anyone reply me on this.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello @rp@n, What kind of condition do you need for posting purchase price variances and why is that needed?

    Best regards, Ludwig

  • @rp@n Profile Picture
    30 on at

    Hi Ludwig,

    During PO creation, I have added 2 fields like Misc PO check box and Charges code. 

    The charges code is coming from master and they mapped GL account with charges code.

    If user select the Misc PO to yes and mention Charges code during new PO creation. Then it considered as a Misc PO.

    Now doing Product receipt and Invoiced , if they found PPV posting type then it should not consider and instead of this it should take the GL account from Charges code because this is Misc PO.

    That's why I need to put condition.

    If the PO is Misc PO then pick the GL account from charges code if PPV posting type is there then only

    Else 

    It should work like standard ( normal PO ) - No changes required.

    Kindly suggest me where I can put the condition for product receipt and invoiced? So, that I can hit charges code GL account . ( for Misc PO only)

    @ As Hussein suggested, shall I use this class for our requirement?

    Please give me more shed on this 

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
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans