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

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

(0) ShareShare
ReportReport
Posted on by 6

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!

  • Suggested answer
    Hossein.K Profile Picture
    6,646 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
    6 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,646 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
    6 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,646 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
    6 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,646 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
    6 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,646 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
    6 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,978 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,821 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans