Featured Post

Dynamics GP 2016 R2 is Now Available .. and #MSDynGP will Always be Avilable

The Microsoft Dynamics GP team announced today that Microsoft Dynamics GP 2016 R2 has released . Dynamics GP 2016 R2 continues the grea...

Wednesday, April 12, 2017

Sales Transactions Entry - Trade Discount and Markdown


When thinking of sales invoice discount, there is always a distinction between what's called a discount per item (Markdown) and the discount per invoice (Trade Discount). The difference is primarily represented with the allocation of item discount per item which is in turn deducted from the extended item price.

In Dynamics GP, there is a predefined set of accounts for both; discount per item and discount per invoice. The discount per item is configured on the item card level, while the discount per invoice is configured on the customer card level as illustrated below:

Item Card Accounts - Markdown

Customer Card Accounts - Trade Discount

The markdown amount is the difference between the unit cost of the item in Invoicing and the reduced price. For example, if the unit cost of an item is $100 and you mark it down 10%, $10 will be posted to the Markdown account. This account will be posted to if you've chosen to use posting accounts for the item rather than the customer in the Invoicing or Sales Order Processing modules.

On the other hand, the trade discount amount filled out on the sales transaction entry under the "Trade Discount" is deducted from the overall sales document amount, without being deducted from each item prices. So item prices are not affected but rather the whole invoice.


Sales Transaction Entry

Trade Discount into Markdown 

In standard Dynamics GP, there is no link between the trade discount and the markdown, which means trade discount can not be distributed into line items. Although, the system keeps track and does distribute the trade discount (which is filled out on the invoice level) into line items without any effect on the application level. Here is a quick technical view on the Sales Transaction Entry tables:


 Here is a screen shot for an invoice which doesn't have Trade Discount

Sales Header versus Details

 Here is a screen shot for an invoice which have Trade Discount



In this essence, this article is meant to provide an important piece of information, which seems to be the bases for creating an additional important feature in Dynamics GP, which distribute the invoice discount and reflect it on an average base on the line items level.

Best Regards, 
Mahmoud M. AlSaadi

Thursday, February 23, 2017

Smartlist Export Failure - Excel Cannot open file because the File Fomrat or File Extension is not valid


I have received recently a quite "weird" support case, in which the smart list is failing to export data into Excel addressing that Excel can not open the file. Here is the exact error message:

"Excel Cannot open file because the  file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file"


Smart list export error

After several troubleshooting attempts suspecting that Excel is the source root cause, it rather appeared that "data" which is being exported is the root-cause of this error. It was found out that the data contains special characters.  Here is the screen shot of the "corrupted" data record which was failing the whole process:


An arrow Symbol (Special Character)


Best Regards, 
Mahmoud M. AlSaadi