Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
- Fixed grammar issues.
Browse files Browse the repository at this point in the history
- Added DB.
  • Loading branch information
FANMixco committed Jul 16, 2020
1 parent 1946160 commit bf518fb
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 7 deletions.
155 changes: 155 additions & 0 deletions DB/DBScript.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
USE [master]
GO
/****** Object: Database [CRM_UiPath] Script Date: 7/16/2020 3:38:36 PM ******/
CREATE DATABASE [CRM_UiPath]
CONTAINMENT = NONE
ON PRIMARY
( NAME = N'CRM_UiPath', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\CRM_UiPath.mdf' , SIZE = 8192KB , MAXSIZE = UNLIMITED, FILEGROWTH = 65536KB )
LOG ON
( NAME = N'CRM_UiPath_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\CRM_UiPath_log.ldf' , SIZE = 8192KB , MAXSIZE = 2048GB , FILEGROWTH = 65536KB )
GO
ALTER DATABASE [CRM_UiPath] SET COMPATIBILITY_LEVEL = 140
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [CRM_UiPath].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [CRM_UiPath] SET ANSI_NULL_DEFAULT OFF
GO
ALTER DATABASE [CRM_UiPath] SET ANSI_NULLS OFF
GO
ALTER DATABASE [CRM_UiPath] SET ANSI_PADDING OFF
GO
ALTER DATABASE [CRM_UiPath] SET ANSI_WARNINGS OFF
GO
ALTER DATABASE [CRM_UiPath] SET ARITHABORT OFF
GO
ALTER DATABASE [CRM_UiPath] SET AUTO_CLOSE OFF
GO
ALTER DATABASE [CRM_UiPath] SET AUTO_SHRINK OFF
GO
ALTER DATABASE [CRM_UiPath] SET AUTO_UPDATE_STATISTICS ON
GO
ALTER DATABASE [CRM_UiPath] SET CURSOR_CLOSE_ON_COMMIT OFF
GO
ALTER DATABASE [CRM_UiPath] SET CURSOR_DEFAULT GLOBAL
GO
ALTER DATABASE [CRM_UiPath] SET CONCAT_NULL_YIELDS_NULL OFF
GO
ALTER DATABASE [CRM_UiPath] SET NUMERIC_ROUNDABORT OFF
GO
ALTER DATABASE [CRM_UiPath] SET QUOTED_IDENTIFIER OFF
GO
ALTER DATABASE [CRM_UiPath] SET RECURSIVE_TRIGGERS OFF
GO
ALTER DATABASE [CRM_UiPath] SET DISABLE_BROKER
GO
ALTER DATABASE [CRM_UiPath] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
GO
ALTER DATABASE [CRM_UiPath] SET DATE_CORRELATION_OPTIMIZATION OFF
GO
ALTER DATABASE [CRM_UiPath] SET TRUSTWORTHY OFF
GO
ALTER DATABASE [CRM_UiPath] SET ALLOW_SNAPSHOT_ISOLATION OFF
GO
ALTER DATABASE [CRM_UiPath] SET PARAMETERIZATION SIMPLE
GO
ALTER DATABASE [CRM_UiPath] SET READ_COMMITTED_SNAPSHOT OFF
GO
ALTER DATABASE [CRM_UiPath] SET HONOR_BROKER_PRIORITY OFF
GO
ALTER DATABASE [CRM_UiPath] SET RECOVERY SIMPLE
GO
ALTER DATABASE [CRM_UiPath] SET MULTI_USER
GO
ALTER DATABASE [CRM_UiPath] SET PAGE_VERIFY CHECKSUM
GO
ALTER DATABASE [CRM_UiPath] SET DB_CHAINING OFF
GO
ALTER DATABASE [CRM_UiPath] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF )
GO
ALTER DATABASE [CRM_UiPath] SET TARGET_RECOVERY_TIME = 60 SECONDS
GO
ALTER DATABASE [CRM_UiPath] SET DELAYED_DURABILITY = DISABLED
GO
ALTER DATABASE [CRM_UiPath] SET QUERY_STORE = OFF
GO
USE [CRM_UiPath]
GO
/****** Object: Schema [Dictionary] Script Date: 7/16/2020 3:38:36 PM ******/
CREATE SCHEMA [Dictionary]
GO
/****** Object: Schema [Users] Script Date: 7/16/2020 3:38:36 PM ******/
CREATE SCHEMA [Users]
GO
/****** Object: Table [Dictionary].[Roles] Script Date: 7/16/2020 3:38:36 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [Dictionary].[Roles](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Role] [nvarchar](50) NOT NULL,
[Updated] [datetime] NOT NULL,
[IsActive] [bit] NOT NULL,
CONSTRAINT [PK_Roles] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
/****** Object: Table [Users].[Users] Script Date: 7/16/2020 3:38:36 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [Users].[Users](
[ID] [int] IDENTITY(1,1) NOT NULL,
[FirstName] [nvarchar](100) NOT NULL,
[LastName] [nvarchar](100) NOT NULL,
[Email] [nvarchar](255) NOT NULL,
[RoleID] [int] NOT NULL,
[Registered] [datetime] NOT NULL,
[IsActive] [bit] NOT NULL,
CONSTRAINT [PK_Users] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET IDENTITY_INSERT [Dictionary].[Roles] ON
GO
INSERT [Dictionary].[Roles] ([ID], [Role], [Updated], [IsActive]) VALUES (1, N'Admin', CAST(N'2020-07-12T09:09:18.910' AS DateTime), 1)
GO
INSERT [Dictionary].[Roles] ([ID], [Role], [Updated], [IsActive]) VALUES (2, N'Editor', CAST(N'2020-07-12T09:09:36.180' AS DateTime), 1)
GO
SET IDENTITY_INSERT [Dictionary].[Roles] OFF
GO
SET IDENTITY_INSERT [Users].[Users] ON
GO
INSERT [Users].[Users] ([ID], [FirstName], [LastName], [Email], [RoleID], [Registered], [IsActive]) VALUES (1, N'Federico', N'Navarrete', N'[email protected]', 1, CAST(N'2020-07-12T09:13:18.833' AS DateTime), 1)
GO
INSERT [Users].[Users] ([ID], [FirstName], [LastName], [Email], [RoleID], [Registered], [IsActive]) VALUES (2, N'Marcos', N'Soriano', N'[email protected]', 2, CAST(N'2020-07-12T09:13:42.950' AS DateTime), 1)
GO
INSERT [Users].[Users] ([ID], [FirstName], [LastName], [Email], [RoleID], [Registered], [IsActive]) VALUES (3, N'Maria', N'Alba', N'[email protected]', 2, CAST(N'2020-07-12T09:14:17.510' AS DateTime), 1)
GO
SET IDENTITY_INSERT [Users].[Users] OFF
GO
ALTER TABLE [Dictionary].[Roles] ADD CONSTRAINT [DF_Roles_Updated] DEFAULT (getdate()) FOR [Updated]
GO
ALTER TABLE [Dictionary].[Roles] ADD CONSTRAINT [DF_Roles_IsActive] DEFAULT ((1)) FOR [IsActive]
GO
ALTER TABLE [Users].[Users] ADD CONSTRAINT [DF_Users_Registered] DEFAULT (getdate()) FOR [Registered]
GO
ALTER TABLE [Users].[Users] ADD CONSTRAINT [DF_Users_IsActive] DEFAULT ((1)) FOR [IsActive]
GO
ALTER TABLE [Users].[Users] WITH CHECK ADD CONSTRAINT [FK_Users_Roles] FOREIGN KEY([RoleID])
REFERENCES [Dictionary].[Roles] ([ID])
GO
ALTER TABLE [Users].[Users] CHECK CONSTRAINT [FK_Users_Roles]
GO
USE [master]
GO
ALTER DATABASE [CRM_UiPath] SET READ_WRITE
GO
10 changes: 3 additions & 7 deletions Main.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,7 @@
</Sequence>
<Sequence DisplayName="Search in Ebay" sap:VirtualizedContainerService.HintSize="200,68.8" sap2010:WorkflowViewState.IdRef="Sequence_8">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="CurrentPath">
<Variable.Default>
<mva:VisualBasicValue x:TypeArguments="x:String" ExpressionText="Directory.GetCurrentDirectory()" />
</Variable.Default>
</Variable>
<Variable x:TypeArguments="x:String" Default="[Directory.GetCurrentDirectory()]" Name="CurrentPath" />
</Sequence.Variables>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
Expand Down Expand Up @@ -279,7 +275,7 @@
</sap:WorkflowViewStateService.ViewState>
</ui:CloseApplication>
</Sequence>
<Sequence DisplayName="Send Emails Through Outlook" sap:VirtualizedContainerService.HintSize="200,68.8" sap2010:WorkflowViewState.IdRef="Sequence_14">
<Sequence DisplayName="Send Emails Through Outlook" sap:VirtualizedContainerService.HintSize="375.2,368.8" sap2010:WorkflowViewState.IdRef="Sequence_14">
<Sequence.Variables>
<Variable x:TypeArguments="sd1:DataTable" Name="UsersDataTable" />
</Sequence.Variables>
Expand All @@ -294,7 +290,7 @@
<scg:Dictionary x:TypeArguments="x:String, Argument" />
</ui:ExecuteQuery.Parameters>
</ui:ExecuteQuery>
<ui:SendOutlookMail Account="{x:Null}" Bcc="{x:Null}" Cc="{x:Null}" MailMessage="{x:Null}" TimeoutMS="{x:Null}" Body="Hey Federico,&#xA;&#xA;I'm UiPath, and I'm attaching you the cotization of the latest Medical Masks from Ebay.&#xA;&#xA;Best regards,&#xA;Your Bot" DisplayName="Send Outlook Mail Message" sap:VirtualizedContainerService.HintSize="333.6,146.4" sap2010:WorkflowViewState.IdRef="SendOutlookMail_1" IsBodyHtml="False" IsDraft="False" Subject="[&quot;Medical Masks Cotization on &quot; + DateTime.Now.ToString(&quot;yyyy-MM-dd&quot;)]" To="[UsersDataTable.Rows(0)(&quot;Email&quot;).ToString()]">
<ui:SendOutlookMail Account="{x:Null}" Bcc="{x:Null}" Cc="{x:Null}" MailMessage="{x:Null}" TimeoutMS="{x:Null}" Body="Hey Federico,&#xD;&#xA;&#xD;&#xA;I'm UiPath, and I'm attaching you the quotation of the latest Medical Masks from Ebay.&#xD;&#xA;&#xD;&#xA;Best regards,&#xD;&#xA;Your Bot" DisplayName="Send Outlook Mail Message" sap:VirtualizedContainerService.HintSize="333.6,146.4" sap2010:WorkflowViewState.IdRef="SendOutlookMail_1" IsBodyHtml="False" IsDraft="False" Subject="[&quot;Medical Masks Quotation on &quot; + DateTime.Now.ToString(&quot;yyyy-MM-dd&quot;)]" To="[UsersDataTable.Rows(0)(&quot;Email&quot;).ToString()]">
<ui:SendOutlookMail.Files>
<scg:List x:TypeArguments="InArgument(x:String)" Capacity="4">
<InArgument x:TypeArguments="x:String">MedicalMasks.xlsx</InArgument>
Expand Down
Binary file modified MedicalMasks.xlsx
Binary file not shown.

0 comments on commit bf518fb

Please sign in to comment.