I have added one customized enum field called "Type" in Inventory management--> Setup--> Posting.. in which sales order--> packing Slip and mapped main account for each element of the enum field. I have the same enum field in sales order create form. Now, while posting the packing slip in sales order, I have to take the respective main account from Invent posting against enum element selected in the sales order creation and post it.
Now my problem is, I can't able find out out the exact method where normally Ax retrieve the main account from invent posting table.. Could anyone tell me, in which class and method i have to customize the above scenario... i have searched through the SalesFormLetter_PackingSlip, SalesPackingSlipJournalPost, SalesFormLetter classes but cant able to figure it out.. Thanks in advance..!
*This post is locked for comments
Hi ievgen Miroshnikov,
Thanks for the reply.. As you said I have put the debugger in the accountItemLedgerDimension method and try to post the packing slip of sales order but the debugger is not triggered. Any more suggestion?
Hi Anand S,
You can try to put a break point at accountItemLedgerDimension method of InventPosting table to see how it is triggered.
Mohamed Amine Mahmoudi
100
Super User 2025 Season 1
Community Member
48
Zain Mehmood
6
Moderator