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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

(0) ShareShare
ReportReport
Posted on by 28

hi

I have created a new PO then Confirm + PickingList + PackingSlip + Invoice. It is successfully done.

After Invoiced , I went to Journal - Invoice - Voucher transaction

6036.a2.jpg

Kindly let me know during PO invoiced, when and where ( class or methods ) exactly General Journal Entry and General Journal Accouting Entry table get created or update.

Note - I debugged the process but unable to get the proper solution.

Please give me more shed on this.

Thanks!

I have the same question (0)
  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    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
    28 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    thanks bro,

    my requirement is

    1. I have added one check box during PO creation like "Misc. PO" and charges code during new PO creation.

    2. the charges code having matser. in this master they setup main account with charges code.

    Suppose I have checked misc PO = yes and select charges code = xyz and having main account 13510.

    So, during Product receipt it shpould check if posting type "Purchase price variance" is there then only it should replace with my charges account 13510. this is only applicable for "misc PO"

    for normal PO , it should work as standard.

    Kindly help me where i can put the above condition , so that i can hit charges code main account during product receipt for misc purchase order instead of Purchase price variance.

    Kindly help me with the class name and method plaese

    please give me more shed on this.

    thanks!

  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    Hi, Posting account in this section is affected from PO posting profile. to reach it you should go to Inventory management/setup/posting/posting profile/purchase order tab.

    In this tab, you can set GL account for each step. And also to stick dimension, you should use Account structure in GL

  • @rp@n Profile Picture
    28 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    Thanks Bro,

    I will explain you , what happened now.

    1. Create a new PO - Confirm - Product receipt - Invoiced.

    After PRODUCT RECEIPT - Go to Product Receipt Journal - Voucher

    6557.a3.jpg

    It is fine.

    Please let me know ,during Product receipt of PO from where the above GL account and posting type is considering?

    Please give me more shed on this

  • Hossein.K Profile Picture
    6,648 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    Yes ,of course. please explain your requirement in details

  • @rp@n Profile Picture
    28 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    Hi bro,

    Account structure is already there. PO Invoice posting is happened perfectly. No issue.

    Shall I explain you my requirement in details ? So, that you can help me in right way...

  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    Do you set up account structure?

  • @rp@n Profile Picture
    28 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    Thanks Hussain,

    You mean to say the general ledger entry on Voucher transaction? Which i am looking for?

  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    Hi,

    there are two classes that make PO and PO line:

    AxPurchLine, AxPurchTable

    you can check them.

  • @rp@n Profile Picture
    28 on at
    RE: General Journal Entry and General Journal Acconuting Entry table get created or updated in PO invoiced

    Hi Ludwig,

    2117.a2.jpg

    Note -  During debugging, i am not able to get the code where General Journal Entry & General Journal Accounting Entry get hit.

    Kindly let me know the exact Class and method name please

    Please give me more shed on this.

    Thanks!

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 708 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 589 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 553

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans