AX 2012 SSRS print setting-报表打印输出设置

 1 static void callerreport_printsetting(Args _args)
 2 {
 3     LedgerJournalController controller  = new LedgerJournalController ();
 4     LedgerJournalTable    ledgerjournaltable;
 5     SRSPrintDestinationSettings    settings;
 6     Args    args    = new Args();
 7
 8     select firstonly ledgerjournaltable
 9         order by createddatetime desc;
10     controller.parmReportName(ssrsreportstr(LedgerJournal,Report));
11     controller.parmArgs(args);
12
13     settings    = controller.parmReportContract().parmPrintSettings();
14     settings.printMudiumType(SRSPrintMediumType::File);
15     settings.fileFormat(SRSReportFileFormat::PDF);
16     settings.fileName(@‘D\\:TEST.pdf‘);
17     if(controller.prompt())
18     {
19         controller.run();
20     }
21
22 }
时间: 2024-10-18 00:30:40

AX 2012 SSRS print setting-报表打印输出设置的相关文章

Upgrading AX 2009 SSRS Report To AX 2012 SSRS Report

In AX 2012, the old SSRS reports for AX 2009 is stored in the AOT node "Report Libraries". We can find it all in the view 'Application Explorer' of visual studio,  but we can't modify it as usual. Refer to the MSDN's essay, if we want to modify

AX 2012 SSRS 报表发布

在开发环境没有域管理里权限, 在AX ,和vs studio 2010,2012 中部署都失败, 最后,用ax 自己powershell管理终端成功把report 部署取ssrs上: Publish-axreport –reportname avtestreportsec -SkipReportServerAdminCheck 参考: 1.http://technet.microsoft.com/en-us/library/dd309703.aspx 2.http://blogs.msdn.co

AX 2012 SSRS Report Export To File

Args Args; SrsReportRunController controller; Common _record; SRSPrintDestinationSettings printSettings; ; controller= new SrsReportRunController(); controller.parmReportName("SysDataBaseLog.Report"); Args = new Args(); args.record(_record); con

【SSRS】入门篇(五) -- 设置报表格式

原文:[SSRS]入门篇(五) -- 设置报表格式 在上一节 [SSRS]入门篇(四) -- 向报表添加数据 我们设置好了报表,并可以预览到数据,如下图: 当报表完成后,有个重要的工作就是美化报表格式,这一节将讲解: 设置日期格式 设置货币格式 更改文本样式和列宽 设置日期格式:默认情况下,Data字段显示日期和时间信息:这边我们格式设置为中文日期. 1.单击"设计"选项页: 2.右键单击字段[Date],在弹出的菜单单击"文本框属性": 3.单击"数字&

Table Properties [AX 2012]

Table Properties [AX 2012] 1 out of 2 rated this helpful - Rate this topic Updated: July 20, 2012 Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012 This topic describes the properties that

View Properties [AX 2012]

View Properties [AX 2012] Other Versions This topic has not yet been rated - Rate this topic Updated: July 20, 2012 Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012 在 Views中的属性和在表中的一样,但因为视

Using Controls in a Form Design [AX 2012]

Using Controls in a Form Design [AX 2012] This topic has not yet been rated - Rate this topic Updated: January 27, 2012 Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynam

AX 2012 R3 Install And Configure Log

Base System Environment: (1).Windows Server 2012 R2; (2).SQL Server 2014; (3).SSDT 2008(Business Intelligence Development Studio in SQL Server 2008 for VS 2010); (4).Office 2013; (5).Visual Studio 2010; (6).Dynamics AX 2012 R3. 1.Install Windows Serv

Dynamics AX 2012 R2 安装额外的AOS

    众所周知,AX系统分为三层:Client,Application Server,Database Server.     我们添加额外的Application Server主要是出于以下两个原因: 使用多台服务器,分担不同的角色(如批处理任务,报表,服务). 增加基础架构的弹性.     AX中的集群服务器,并不依托于Windows服务器,而是通过自己的技术实现的.它可以提高性能,但没有提高可用性.当一台服务器挂了,客户端会失去连接,任何正在处理的任务都会被回滚.重启客户端后,会连接到集