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 :
Microsoft Dynamics AX (Archived)

Classes used for posting the Project Packing Slip through ItemRequirement form

(0) ShareShare
ReportReport
Posted on by 4,624

Hi,

I am looking for classes used to post the packing slip from Item Requirement form. I used debugger and found some classes used :-

1. SalesFormLetter_PackingSlipProject

2. SalesFormLetter_PackingSlip

3. SalesFormLetter

4. FormLetterService

 Actually, my intention is to find how AX creates Ledger transaction when it post Project packing slip. I need to do some Modification, so please let me know what classes involved for creating Ledger transactions for Project Packing slip through Item Requirement form.

*This post is locked for comments

I have the same question (0)
  • Rohin Profile Picture
    4,624 on at

    Thanks Sukrut , Let me try this and update you.

  • Rohin Profile Picture
    4,624 on at

    Sorry Sukrut, I was on vacation so i couldn't tested it.

    Now i tested it. I put the debugger in LedgerVocuherTransObject class (on InitFromLedgerPostingTranasaction() method) and try to post the Packing slip for ItemRequirement. But it didn't go there. Please suggest.

  • Rohin Profile Picture
    4,624 on at

    thanks Sukrut, I put breakpoint on same line that you highlighted but debugger doesn't hit there. Did you work on your environment??

    BTW, I am not seeing any insert() method overridden on GeneralJournalAccountEntry table in my Environment(AX 2012 R2 CU8) and also tried to put the breakpoint in findOrCreateLedgerVoucherObject() method of FormLeterJournalPost class but didn't hit debugger there. please suugest.

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Please override the insert method on table GeneralJournalAccountEntry and also unmark the checkbox Execute business process in CIL on options window(if not). Place breakpoint in the method transferLines of class LedgerPostingGeneralJournalController and execute the process.

  • Rohin Profile Picture
    4,624 on at

    Ohh! Thats the reason my debugger is not hitting any breakpoint suggested by Sukrut because i have checked "Exceute Bussiness logic in CIL" now I unchecked this option(thanks Chaitanya pointing to that side). Now its Working .

    Thanks to both.

  • Rohin Profile Picture
    4,624 on at

    In addition to above, Chaitanya can you please tell me what exactly does "LedgerPostingGeneralJournalController " Class.

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    LedgerPostingGeneralJournalController class helps in managing data(at the time of transfer to general journal) in Ledgerposting tables like
    GeneralJournalEntry, GeneralJournalAccountEntry, LedgerEntry and TaxTransGeneralJournalAccountEntry.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans