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)

Is there a way to see/ bring up customer invoices from Payment journals?

(0) ShareShare
ReportReport
Posted on by 120

Once you save the customer payment in "payment journals", you can select "Edit lines" to bring up information on the particular payment. The part that interests me is the invoice field. The invoice number is visible in this field (obviously).

My question is: is there a way to somehow bring up and view this invoice without having to copy down the number, go into "customer invoices", and filtering the results with the copied invoice number to bring up a copy of the invoice.

Basically, if you're in payment journals, is there a way to see the invoice number that a payment corresponds to and then bring that invoice up without having to leave payment journals.

I hope that was easy to understand.

Much appreciated!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Dan Emreus Profile Picture
    1,162 on at

    You can always add an new button to your form that opens the invoice based on the invoice-number.

    The button should have a new method that should look something like this:

    void clicked()

    {

       CustInvoiceJour     custInvoiceJour;

       Args                args = new Args();

       select firstOnly custInvoiceJour where custInvoiceJour.InvoiceId == LedgerJournalTrans.MarkedInvoice;

       args.record(custInvoiceJour);

       if (custInvoiceJourLocal.SalesId)

       {

           // Sales order invoice

           new MenuFunction(menuitemOutputStr(SalesInvoiceCopy), MenuItemType::Output).run(args);

       }

       else

       {

           // Free text invoice

           new MenuFunction(menuitemOutputStr(FreeTextInvoiceCopy), MenuItemType::Output).run(args);

       }

       super();

    }

     

    /Dan

  • JoeTesla Profile Picture
    120 on at

    Great, thanks Dan.

    I'll try it out today.

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

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans