Skip to content

Contact Us    Now Hiring

@meritweb on TwitterMerit Solutions on LinkedInMerit Solutions YouTube Video SeriesMerit Solutions on FacebookSubscribe to Merit Matters Blog

   

Microsoft Test Manager Tips

Exploring Microsoft Test Manager, you can find some shortcuts that will be helpful for the work. One of them is Pausing and Resuming manual test.

When running a manual test in Test Runner, there may be a need for returning to MTM while running a test. You can click on the Pause button (from two different places), but that will not return you to MTM to view any details about the Test Plan or Test Cases.

Continue reading "Microsoft Test Manager Tips"

SMTP4DEV

Testing e-mail functionality in your Microsoft Dynamics AX/GP application/customization using external e-mail servers has always been a frustrating process. If your test e-mail somehow avoids anti-spam and other SMTP server services, it will still take several minutes to receive. Sometimes, it can take 5 – 10 minutes for your sent e-mail to arrive at the destination - and you can never be sure if your test e-mail is late or if delivery has failed due to an error in your application.

Wouldn't it be great to have a mock application that pretends to be a SMTP server and shows you what you sent immediately? That is exactly what SMTP4DEV does.

SMTP4DEV is free and you can download it from CodePlex at http://smtp4dev.codeplex.com. All you have to do is unpack and run, and make sure your mock SMTP server is listening.

Once you have SMTP4DEV running and listening, you can use the sample C# code to send an e-mail to your mock SMTP server. Notice the From and To e-mail addresses; they can be anything.

Execute the sample C# code and your test e-mail will immediately show in SMTP4DEV.

Now stop listening on port 25 and execute the same sample C# code again. Since SMTP server is no longer available, SmtpClient will throw an exception.

 

How to Work with Miscellaneous Charges in Foreign Currency in Microsoft Dynamics AX

To work with miscellaneous charges, you must create miscellaneous charges codes. You create these miscellaneous charges codes in Accounts Payable and in Accounts Receivable in Microsoft Dynamics AX as follows:

  • To create the miscellaneous charges codes in Accounts Payable, click Accounts Payable, expand Setup, expand Misc. Charges, and then click Misc. charges codes.
  • To create the miscellaneous charges codes in Accounts Receivable, click Accounts Receivable, expand Setup, expand Misc. Charges, and then click Misc. charges codes.
The following are the codes that you can use when you configure miscellaneous charges codes.

In Accounts Payable

  • The Item - Vendor charge code is used in purchase orders.
  • The Ledger Account- Vendor (Expense - Vendor) charge code is used in purchase orders.
  • The Ledger Account - Ledger Account (Expense - Ap Accrual) charge code is used in purchase orders.
  • The Item - Ledger Account (Item - Ap Accrual) charge code is used in purchase orders and in purchase invoices.

    To use these charge codes in a purchase order, click Accounts Payable, click Purchase order, click Setup, and then click Misc. charges

To use the Item - Ledger Account (Item - Ap Accrual) charge code in a purchase invoice, click Accounts Payable, expand Inquiries, expand Journals, click Invoice, click Misc. charges, and then click Adjustment.

In Accounts Receivable

  • The Customer - Ledger Account (Customer - Income/revenue) charge code is used in sales orders and in free text invoices.
  • The Ledger Account - Ledger Account (Expense - Ap Accrual) charge code is used in sales orders and in free text invoices. To use these charge codes, click Accounts Receivable, click Sales order, click Setup, and then click Misc. charges.

NOTE: You cannot select the Item option when you configure miscellaneous charges in Accounts Receivable.

Charge codes for foreign currency

When you use foreign currency in miscellaneous charges, you must consider the configuration of the miscellaneous charges code that is used in the transaction to achieve the expected result.

In Accounts Payable

  • Use the Item - Vendor charge code when the currency that is used by the miscellaneous charges code is the same currency that is used in the purchase order. The exchange rate is taken from the purchase invoice posting date. The exchange rate cannot be changed.
  • Use the Ledger Account - Vendor (Expense - Vendor) charge code when the currency that is used by the miscellaneous charges code is the same currency that is used in the purchase order. The exchange rate is taken from the purchase invoice posting date. The exchange rate cannot be changed.
  • Use the Item - Ledger Account (Item - Ap Accrual) charge code when the currency that is used by the miscellaneous charges code may differ from the currency that is used in the purchase order. The exchange rate is taken from one of the following:
    • The exchange rate is taken from the purchase invoice posting date. You cannot change the exchange rate.
    • The exchange rate is taken from the invoice adjustment after you specify the currency and the exchange rate date.
  • Use the Ledger Account - Ledger Account (Expense - Ap Accrual) charge code when the currency that is used by the miscellaneous charges code may differ from the currency that is used in the purchase order. The exchange rate is taken from the purchase invoice posting date. You cannot change this date even though the currencies in the purchase order and in the miscellaneous charges are different.

In Accounts Receivable

  • Use the Customer- Ledger Account (Customer - Income/revenue) charge code when the currency that is used by the miscellaneous charges code is the same currency that is used in the sales order or in the free-text invoice. The exchange rate is taken from the sales invoice posting date. The exchange rate cannot be changed.
  • Use the Ledger Account - Ledger Account (Expense - Ap Accrual) charge code when the currency that is used by the miscellaneous charges code may differ from the currency that is used in the sales order or in the free-text invoice.

The exchange rate is taken from the posting date of the sales invoice or from the posting date of the free-text invoice. The exchange rate cannot be changed in the currencies in the sales order.