RegistrationSettingReport.frx
12.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReferencedAssemblies="System.dll System.Core.dll System.Drawing.dll System.Windows.Forms.dll System.Data.dll System.Xml.dll Sungero.Domain.Shared Sungero.CoreEntities.Shared Sungero.Reporting.Shared CommonLibrary Sungero.CoreEntities.Server Sungero.Domain Sungero.Domain.Interfaces Sungero.Company.Shared Sungero.Company.Server Sungero.Docflow.Shared Sungero.Docflow.Server" ReportInfo.CreatorVersion="2020.2.12.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
using Sungero.Company;
using Sungero.Domain.Shared;
using Sungero.CoreEntities;
using Sungero.Core;
using Resources = Sungero.Docflow.Reports.Resources;
namespace FastReport
{
public class ReportScript
{
}
}
</ScriptText>
<Dictionary>
<SungeroSqlDataConnection Name="Sungero_Connection" Restrictions="DontModify, DontEdit, DontDelete, HideAllProperties" ConnectionStringExpression="[SungeroConnectionString]">
<TableDataSource Name="Table" Alias="RegistrationSettings" DataType="System.Int32" Enabled="true" CanEdit="true" SelectCommand="${SourceQuery}">
<Column Name="BusinessUnit" DataType="System.String" PropName="Column"/>
<Column Name="DocumentKind" DataType="System.String" PropName="Column"/>
<Column Name="RegistrationSetting" DataType="System.String" PropName="Column"/>
<Column Name="NumberExample" DataType="System.String" PropName="Column"/>
<Column Name="Departments" DataType="System.String" PropName="Column"/>
<Column Name="DocumentRegister" DataType="System.String" PropName="Column"/>
<Column Name="RegistrationSettingUri" DataType="System.String" PropName="Column"/>
<Column Name="DocumentRegisterUri" DataType="System.String" PropName="Column"/>
<Column Name="SettingType" DataType="System.String" PropName="Column"/>
<Column Name="Id" DataType="System.Int32" PropName="Column"/>
<Column Name="DocumentFlow" DataType="System.String" PropName="Column"/>
<CommandParameter Name="ReportSessionId" DataType="16" IsDbType="true" Expression="[ReportSessionId]"/>
</TableDataSource>
</SungeroSqlDataConnection>
<SungeroParameter Name="SungeroConnectionString" Restrictions="DontModify, DontEdit, DontDelete, HideAllProperties, DontShow" Id="f4f36055-0526-48b0-a633-a062865e4358" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="ParamsDescriprion" Id="d8158429-708b-4947-a03d-770c775601de" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="SourceDataTableName" Id="c20d9088-3955-454c-ad68-b28e306911f9" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="BusinessUnit" Id="4f7d857e-ed19-4205-bf2f-de14c49f8398" IsRequired="false" IsCollection="false" InternalDataType="Sungero.Company.IOurCompany, Sungero.Domain.Interfaces" IsSimpleDataType="false" EntityTypeId="eff95720-181f-4f7d-892d-dec034c7b2ab"/>
<SungeroParameter Name="Direction" Id="d6b64f07-bb6c-4293-af08-41488afa9119" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="DirectionLabel" Id="4d2a3728-1c3f-4bcf-a4ba-413035b4d0b0" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="HyperlinkServer" Id="9d0fe12a-488b-4d86-a407-9c269212759a" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="SettingType" Id="4a857abd-d7da-410a-90d0-c89a4f0ba166" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="FilterDepartmentsForBusinessUnits" Id="5ed07b75-162e-40d8-980b-05e3b58f8fb9" IsRequired="false" IsCollection="false" InternalDataType="System.Boolean" IsSimpleDataType="true" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="ReportSessionId" Id="71312a6d-ad5b-400d-a7cc-31dfb8160a15" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="ReportDate" Id="7f417eb9-602f-4ba0-ad2f-50435a5f078a" IsRequired="false" IsCollection="false" InternalDataType="System.DateTime" IsSimpleDataType="true" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" BottomMargin="9" FirstPageSource="15" OtherPagesSource="15" Watermark.Font="Arial, 60pt">
<ReportTitleBand Name="ReportTitle1" Width="1047.06" Height="75.6" CanGrow="true">
<TextObject Name="Text1" Width="330.75" Height="56.7" CanGrow="true" Text="[ParamsDescriprion]" Font="Arial, 8pt"/>
<TextObject Name="Text2" Left="803.25" Width="245.7" Height="18.9" Text="[ReportDate]" Format="Date" Format.Format="d" HorzAlign="Right" VertAlign="Center" Font="Arial, 8pt"/>
<TextObject Name="Text3" Left="330.75" Top="18.9" Width="444.15" Height="18.9" Text="[Sungero.Docflow.Reports.Resources.RegistrationSettingReport.ReportName]" HorzAlign="Center" Font="Arial, 12pt, style=Bold"/>
</ReportTitleBand>
<GroupHeaderBand Name="GroupHeader1" Top="79.6" Width="1047.06" Height="37.8" CanGrow="true" StartNewPage="true" Guides="75.6,66.15,66.15,66.15,66.15" KeepWithData="true" RepeatOnEveryPage="true" Condition="[RegistrationSettings.BusinessUnit]" SortOrder="None">
<TextObject Name="Text10" Width="1039.5" Height="28.35" CanGrow="true" Text="[RegistrationSettings.BusinessUnit]" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
<ChildBand Name="Child1" Top="121.4" Width="1047.06" Height="28.35">
<TableObject Name="Table1" Top="9.45" Width="1039.5" Height="18.9">
<TableColumn Name="Column1" Width="0"/>
<TableColumn Name="Column2" Width="283.5"/>
<TableColumn Name="Column12" Width="245.7"/>
<TableColumn Name="Column3" Width="113.4"/>
<TableColumn Name="Column4" Width="245.7"/>
<TableColumn Name="Column11" Width="151.2"/>
<TableRow Name="Row1">
<TableCell Name="Cell17" Font="Arial, 10pt"/>
<TableCell Name="Cell12" Border.Lines="All" Text="[Sungero.Docflow.Reports.Resources.RegistrationSettingReport.RegistrationSetting]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt, style=Bold"/>
<TableCell Name="Cell3" Border.Lines="All" Text="[Sungero.Docflow.Reports.Resources.RegistrationSettingReport.Departments]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt, style=Bold"/>
<TableCell Name="Cell13" Border.Lines="All" Text="[Sungero.Docflow.Reports.Resources.RegistrationSettingReport.SettingType]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt, style=Bold"/>
<TableCell Name="Cell4" Border.Lines="All" Text="[Sungero.Docflow.Reports.Resources.RegistrationSettingReport.DocumentRegister]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt, style=Bold"/>
<TableCell Name="Cell11" Border.Lines="All" Text="[Sungero.Docflow.Reports.Resources.RegistrationSettingReport.NumberExample]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt, style=Bold"/>
</TableRow>
</TableObject>
</ChildBand>
<GroupHeaderBand Name="GroupHeader3" Top="153.75" Width="1047.06" Height="28.35" KeepWithData="true" Condition="[RegistrationSettings.DocumentFlow]" SortOrder="None">
<TableObject Name="Table2" Width="1039.5" Height="28.35" Border.Lines="All">
<TableColumn Name="Column5" Width="488.25"/>
<TableColumn Name="Column6" Width="488.25"/>
<TableColumn Name="Column7" Width="63"/>
<TableRow Name="Row2" Height="28.35">
<TableCell Name="Cell5" Fill.Color="Gainsboro" Text="[RegistrationSettings.DocumentFlow]" VertAlign="Center" Font="Arial, 10pt, style=Bold"/>
<TableCell Name="Cell6" Fill.Color="Gainsboro" Font="Arial, 10pt"/>
<TableCell Name="Cell7" Fill.Color="Gainsboro" Font="Arial, 10pt"/>
</TableRow>
</TableObject>
<GroupHeaderBand Name="GroupHeader2" Top="186.1" Width="1047.06" Height="28.35" CanGrow="true" KeepWithData="true" RepeatOnEveryPage="true" Condition="[RegistrationSettings.DocumentKind]" SortOrder="None">
<TableObject Name="Table1" Width="1039.5" Height="28.35" Border.Lines="All">
<TableColumn Name="Column13" Width="488.25"/>
<TableColumn Name="Column14" Width="488.25"/>
<TableColumn Name="Column15" Width="63"/>
<TableRow Name="Row3" Height="28.35">
<TableCell Name="Cell14" Fill.Color="WhiteSmoke" Text=" [RegistrationSettings.DocumentKind]" VertAlign="Center" Font="Arial, 8pt, style=Bold"/>
<TableCell Name="Cell15" Fill.Color="WhiteSmoke" Font="Arial, 10pt"/>
<TableCell Name="Cell16" Fill.Color="WhiteSmoke" Font="Arial, 10pt"/>
</TableRow>
</TableObject>
<DataBand Name="Data1" Top="218.45" Width="1047.06" Height="28.35" CanGrow="true" DataSource="Table">
<TextObject Name="Text5" Width="283.5" Height="28.35" Border.Lines="All" Cursor="Hand" Hyperlink.Expression="[RegistrationSettings.RegistrationSettingUri]" CanGrow="true" GrowToBottom="true" Text="[RegistrationSettings.RegistrationSetting]" Padding="2, 1, 2, 1" Duplicates="Merge" Font="Arial, 8pt, style=Underline" TextFill.Color="Blue">
<Highlight>
<Condition Expression="Value == Sungero.Docflow.Reports.Resources.RegistrationSettingReport.SettingNotFound" Font="Arial, 7.8pt" ApplyFont="true"/>
<Condition Expression="Value == Sungero.Docflow.Reports.Resources.RegistrationSettingReport.DefaultSetting" TextFill.Color="Black" Font="Arial, 7.8pt, style=Italic" ApplyFont="true"/>
<Condition Expression="Value == Sungero.Docflow.Reports.Resources.RegistrationSettingReport.RegisterNotFound" Font="Arial, 7.8pt" ApplyFont="true"/>
</Highlight>
</TextObject>
<TextObject Name="Text6" Left="283.5" Width="245.7" Height="28.35" Border.Lines="All" Cursor="Hand" CanGrow="true" GrowToBottom="true" Text="[RegistrationSettings.Departments]" Padding="2, 1, 2, 1" Duplicates="Merge" Font="Arial, 8pt"/>
<TextObject Name="Text7" Left="642.6" Width="245.7" Height="28.35" Border.Lines="All" Cursor="Hand" Hyperlink.Expression="[RegistrationSettings.DocumentRegisterUri]" CanGrow="true" GrowToBottom="true" Text="[RegistrationSettings.DocumentRegister]" Padding="2, 1, 2, 1" Font="Arial, 8pt, style=Underline" TextFill.Color="Blue"/>
<TextObject Name="Text8" Left="888.3" Width="151.2" Height="28.35" Border.Lines="All" CanGrow="true" GrowToBottom="true" Text="[RegistrationSettings.NumberExample]" Padding="2, 1, 2, 1" Font="Arial, 8pt"/>
<TextObject Name="Text9" Left="529.2" Width="113.4" Height="28.35" Border.Lines="All" Cursor="Hand" CanGrow="true" GrowToBottom="true" Text="[RegistrationSettings.SettingType]" Padding="2, 1, 2, 1" Duplicates="Merge" Font="Arial, 8pt"/>
<Sort>
<Sort Expression="[RegistrationSettings.Id]"/>
</Sort>
</DataBand>
</GroupHeaderBand>
</GroupHeaderBand>
</GroupHeaderBand>
<PageFooterBand Name="PageFooter1" Top="250.8" Width="1047.06"/>
</ReportPage>
</Report>