|
15.05.2012, 18:11 | #1 |
Участник
|
dax-lessons: Display Barcode in SSRS report [Dynamics AX 2012, X++]
Источник: http://dynamicsaxgyan.wordpress.com/...amics-ax-2012/
============== Friends, Today let us learn how to quickly display barcode(s) in SSRS report, AX 2012. I will be using report data provider as a data source type. First , let us create a query by name SR_InventItemBarCode and drag and drop InventItemBarCode table as data source. Set the dynamic property on fields to “Yes” Create a new DP class and methods as shown below: PHP код:
In the below screen, I have added new report and a dataset, set the data source type as Report data provider and in the query I have picked the data provider class “SR_InventItemBarCodeDP” Once you select the DP class in the query and fields from the temporary Table “SR_TmpInventItemBarCode” you should find the fields in the Dataset Node as shown below. Now drag and drop the dataset on to Designs node. it will create a auto design as show below. Now , let us set some styles and layout templates on the Design and the data Region as shown below Right click on the AutoDesign1, select properties and set the Layout template as “ReportLayoutStyleTemplate” Right click on the DataSet1Table, select properties and set the Style template as “TableStyleTemplate” Now , we will set up some properties on the data field “BarCodeString” to look like Barcode. Right click on the BarcodeString field >> properties >> Select Style >> click on the ellipses button as shown below This will open Cell Style editor and select BC C128 Wide and Size as 20 pt as show below. [Chose based on your requirement] For more information on the type of barcodes, please visit http://en.wikipedia.org/wiki/Barcode#Types_of_barcodes Right click on the AutoDesign1 and chose preview: Below is the Barcode rendered on to the report. Happy Dax6ng, Источник: http://dynamicsaxgyan.wordpress.com/...amics-ax-2012/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. Последний раз редактировалось Poleax; 16.05.2012 в 12:26. Причина: оформление |
|
|
|