How to Print Discount Group Name in the Sale Order Lines. in Microsoft Dynamics AX 2009

How to Print Discount Group Name in the Sale Order Lines.

Solution.

I write this Method in SalesLine Table Method Section.

display str DiscountGroupName()
{
return pricediscgroup::find(0,1,inventtablemodule::find(this.ItemId,2).linedisc).Name;
}

Now create a new StringEdit Control  in SaleLine form in Overview Section of SalesLine lines area.

and use the above method in Method Property.

Arif

For any SSRS work please contact : SMS +923328244088
Skype: arifcomputerwala


Comments

Post a Comment

Popular posts from this blog

How to import data in Ax2009 from a CSV file

July 2017 update: Form Adaptors Replaced by Type Providers

X++ to C# Comparisons