Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Discount percentage is not applied to serialized inventory IDs in an inventory issue batch in Microsoft Dynamics SL


Symptoms

Consider the following scenario in Inventory in Microsoft Dynamics SL Feature Pack 1 (FP1):
  • You previously applied the correction for issue 21644 that is described in the Microsoft Knowledge Base (KB) article 2275103. For more information about issue 21644, click the following article number to view the article in the Microsoft Knowledge Base:
    2275103 "Quantity mismatch between Lot transaction and inventory transaction records" error message in Microsoft Dynamics SL
  • You enter a sales order in the Sales Orders (40.100.00) screen that contains a serialized inventory ID to which a discount percentage is applied.
  • You process the sales order and the resulting shipper to a closed status, and you print the Sales Journal (40.690.00) report.
  • You review the resulting inventory issues batch in the Issues (10.020.00) screen.
When you do this, you notice that the value in the Extended Price box is calculated to be more than you expect for the serialized inventory ID. You expect the discount percentage to be applied to the serialized inventory ID. However, the discount percentage is not applied as expected.

↑ Back to the top


Workaround

To work around this problem, apply the following SQL trigger to your Microsoft Dynamics SL application database:
create trigger MBS22071_intran_disc_amt on intran for update as
update intran set intran.tranamt = soshipline.curytotinvc
from intran join soshipline on intran.invtid = soshipline.invtid
and intran.shipperid = soshipline.shipperid
join soshipheader on soshipline.shipperid = soshipheader.shipperid
where soshipheader.inbatnbr = intran.batnbr and intran.trantype = 'IN'
and intran.tranamt <> soshipline.curytotinvc

↑ Back to the top


Resolution

Hotfix information for Microsoft Dynamics SL

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Dynamics SL Service Pack that contains this hotfix as specified in the "Status" section in this article.

To resolve this problem, click the "View and request hotfix downloads" link at the top of this article to obtain the hotfix.

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft website:

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.


Microsoft Dynamics SL 7.0 Feature Pack 1 (FP1)
Changed Files
Date
File Version
4010000.exe 12-Nov 20107.03.41112.00
4011000.exe12-Nov 20107.03.41112.00
4011700.exe12-Nov 20107.03.41112.00
4040000.exe12-Nov 20107.03.41112.00
4069001.exe12-Nov 20107.03.41112.00
4069002.exe12-Nov 20107.03.41112.00
4099000.exe12-Nov 20107.03.41112.00
4144000.exe12-Nov 20107.03.41112.00
DMGPOReceiptBO.dll12-Nov 20107.03.41112.00
DMGPurchOrderBO.dll12-Nov 20107.03.41112.00
DMGSalesOrderBO.dll12-Nov 20107.03.41112.00
Bug22071OM.sql26-Aug 2010
Messages.msg26-Aug 2010

Installation information

Install this hotfix by following the installation instructions that are included in the hotfix download.

Prerequisites

For information about the prerequisites for this hotfix, see the installation instructions that are included in the hotfix download.

Restart requirement

If you are prompted, restart the computer after you install the hotfix.

Removal information

You cannot remove this hotfix.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This problem was reported as issue number 22071.


↑ Back to the top


More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbsolomon, kbhotfixserver, kbqfe, kbmbsmigrate, kbmbspartner, kbtshoot, kbbug, kb, kbexpertisebeginner, kbexpertiseinter, kbautohotfix, kbsurveynew

↑ Back to the top

Article Info
Article ID : 2466668
Revision : 2
Created on : 2/3/2017
Published on : 2/3/2017
Exists online : False
Views : 112