2. 2
Index
INDEX 2
INTRODUCTION 3
MINIMUN REQUIREMENT 4
DATABASE INSTALLATION 5
GESTOR AGENTE CLIENTE 8
CARPETA CONFIG 8
APPSETTINGS.CONFIG 8
AGENTE CLIENTE 9
CARPETA CONFIG 9
APPSETTINGS.CONFIG.PRO 9
CERTIFICATES 10
PRESS-TPV 17
CONFIG FOLDER 17
APPSETTINGS.CONFIG 17
CONNECTIONSTRING.CONFIG 20
PARAMETER TABLE 20
MSCTD 20
WINDOWS 7 OR UPPER 21
BACK UP 23
ANNEX A. SQL EXPRESS 2008 R2 INSTALLATION 24
ANEX B: GAF AUDIT FILE - MALAYSIA 29
FICHERO CONNECTIONSTRING.CONFIG 29
3. 3
INTRODUCTION
Pressto-Net is a group of web applications and desktop to have a complete control of the Pressto
stores from an operative point of view as well as financial and marketing.
It contains:
1. Sistema TPV: desktop application for all the operations in the store.
2. Agente cliente: for the information transfer between the store and Pressto central server. Sending
of information goes both ways:
a. From the store to server: information is processed and it is shown in the reporting system,
as well as being back up.
b. From server to store: to update applications as well as system configuration.
3. Gestor agente cliente: this application will keep “agente cliente” updated.
4. Maintenance area: it is the web system that can be accessed from internal area on the Pressto
website, from there system configuration can be updated, such as:
a. Prices
b. Promotions
c. Customer groups
5. Reporting Area: web system that can be accessed from internal area on the Pressto website. It is a
Group reports, some of them are on real time so the control on the store can be complete.
4. 4
MINIMUN REQUIREMENT
In order to be able to use Pressto-Net system, it is necessary to meet several minimum requirements,
hardware as well as software.
Hardware:
• 2-core processor, 4 –corerecommended
• 2 Gb RAM, 4 Gb recommended
• Hard disk mínimum 20 Gb, ssdtechnologyrecommended
Software:
• Framework 3.5
• Crystalreportsruntime 13.0.5
• SqlServer 2008 r2 express (seeannex A forinstallation)
• OPOS
• Power Shell 1.0 (only Windows xp)
• Framework 2.0 sp1 (only Windows xp)
• Windows installer 4.5 (only Windows xp)
5. 5
DATABASE INSTALLATION
Data base will be sent from Pressto IT department, in back up format of SQL Server 2008.
In order to restore that data base
• Run Sql server management studio:
• On the data base rightclick and select restore data base
6. 6
• Select file that contains database and click on the data base to be restored and fill in the name.
• Two users have to be created, to do so, in security/users rightclick and select new user. User area
“pressto_admin” password “pressto_admin” and “pressto_user” password “pressto_user”.
• Execute script Permisos.sqlontherestoreddatabase
8. 8
GESTOR AGENTE CLIENTE
In order to install “gestor agente cliente” file Pressto.GestorAgenteCliente.zip has to be unzipped in the file
c:PresstoPressto.GestorAgenteCliente.
A shortcut has to be created and has to be copied on Windows start up so when computer starts can be
executed.
CONFIG FOLDER
In this folder is where system configuration is saved.
APPSETTINGS.CONFIG
This file has to be edited with notepad and parameters need to be checked:
• codigoEstablecimiento: store code has to be in here.
• claveEstablecimiento: store password to log in internal area.
9. 9
AGENTE CLIENTE
For “agente cliente” installation “gestor agente cliente” has to be executed, this will connect to server and
will download “agente cliente”. Downloading process can be seen on the “agente cliente” log.
Once it has been download an error will be shown telling us that configuration files are missing, they have
to be copie don the config folder and be configurated.
CONFIG FOLDER
It is in this folder where all system paramets are configurated.
APPSETTINGS.CONFIG.PRO
This file has to be edited with notepad and parameters have to be cheked:
• tiempoEsperaActualizacionTPV: time between connections to check that it is updated, by default in
Spain it is configurated 96000000, 3 hours
• tiempoEsperaSincronizacion: time between data sending connections to central office, in Spain it
is configurated 30000000, 50 minutes.
• codigoEstablecimiento: store code has to be here
• claveEstablecimiento: store password to log in internal area
CONNECTIONSTRINGS.CONFIG.PRO
In this file connection string to data base has to be changed, to do so, we open sql server
managementstudio and file connectionstrings.config has to be open with notepad.
On the line presstoBDTienda, the name on “server name” has to be copied on “Data Source”. As well as this
name of data base has to be modified on “Initialcatalog”
12. 12
A window will open where the type of certifícate is required, we will select “computer account”
On the following window we need to select “Local Computer (the computer where console is
being executed)” , then we finish and accept.
Then the certifícate option will show on the window console menu.
13. 13
Now certificates have to be imported, wcfclienteemisorpressto.pfx certificate into
“Personal”. To do so, we right click on Personal and then on “All Tasks” and “Import”.
14. 14
Certificate Import wizard will open, where certificate to be imported need to be selected, in this
case “wcfclienteemisorpressto.pfx”
15. 15
A password will be required, this is “123”
Before finishing, wizard will show certificate data.
16. 16
Once certificate has been imported, it will be on folder Personal/Certificates.
Certificate “wcfserverEmisorPressto.pfx” also has to be imported, this time from “Trusted People”
storage.
17. 17
Press-TPV
New Press-TPV systema has been developed under .net and uses SQLserver 2008 in itsexpressverwsion
as data base management. Some programs have to be installed and configurated before installation and
configuration of Presst-Tpv system.
To install tpv, file Pressto.tpv.zip has to be unzipped in the folder c:PresstoPressto.TPV.
CONFIG FOLDER
It is in this folder where all the system parameters have to be configured.
APPSETTINGS.CONFIG
This file has to be edited with notepad and check the parameters:
• proveedorBDCrystalReports
o It shows which is the supplier that CrystalReports will use to access to data base.
o Default value:SQLNCLI10
• codificacion
o It shows the type of coding that systems uses
o Default value: utf-8
• codificacionBD
o It shows character encoding that database uses
o Default value: iso-8859-15
• usarIdiomaSistema
o It shows if language that it is used it is the one that has been configured on Windows ori t
has been configured on the language key.
• usarMonedaSistema
o It shows if the currency that it is used it is the one that has been configuredon Windows orit
has been configure don the currency key.
• usarCalendarioSistema
18. 18
o It shows if configured calendar it is the one in Windows ori t is under calendar key.
• usarIdiomaSistemaParaInformes
o It shows if language that is it is used it is the one which have been configured in Windows
or under the language report key.
o Currently there are only two languages: Spanish and English, therefore if another language,
different to en-GB and es-ES are going to be used, value 0 will have to be configured on this
parameter.
• iniciarProcesosSegundoPlano
o It has to be activated in order to use secondary processes such as conveyor or tracking
system with scanners.
• iniciarLecturasQRSegundoPlano
o It has to be active if scanners for the tracking system want to be used, no need to have the
corresponding tpv window on screen.
• identificadorLectorInalambricoQRMostrador
o Scanner has to be configured with a letter and it has to be entered the letter for the scanner
device is going to be used at the counter.
• Idioma
o If parameter usarIdiomaSistema has value 0, it has to be entered the language that tpv is
going to use.
• Moneda
o If parameter usarMonedaSistema has value 0, it has to be entered the language of the
currency we want the tpv system to use.
• Calendario
o If the parameter usarCalendarioSistema has value 0, it has to be entered the language that
calendars will be using.
• idiomaInformes
o If parameter usarIdiomaSistemaParaInformes has value 0, it has to be entered the language
reports will be using.
• ProveedorMapas
o It shows map supplier for the routes tasks
o Possiblevalues
• CarruselBAM
19. 19
o It has to be active if conveyor is used
• procesoAsincronoRespuestaBAM
o It shows if information to be sent to conveyor is done in an asynchronous way.
• confirmacionEnvio
o It shows if once information has been sent to conveyor, a confirmation is expected before
starting following action.
• directorioCompartidoBAM
o It shows the folder where orders that have to be executed in the conveyor are stored.
• usuarioDirectorioCompartido
o User with access to the folder where orders to be excuted by conveyor are stored.
• contraseñaDirectorioCompartido
o user password which has been configured in usuarioDirectorioCompartido
• guardarCopiaAutomat
o It shows if copy of all the orders that are sent to conveyor.
• tiempoReintentoConsultaDirectorioCompartido
o Time between readings reattempts of orders to be executed by conveyor.
• numeroReintentosConsultaDirectorioCompartido
o Number of reading reattempts of orders to be executed by conveyor.
• truncarDescripcionPrendaParaCarrusel
o It shows if the length of description is cut short when shown on the conveyor screen.
• longitudDeTruncado
o It shows the number of characters to shorten garment description.
• ID_BRAZO
o It shows the number of unloading arm where garment will be downloaded.
20. 20
CONNECTIONSTRING.CONFIG
In this file connection string to the data base has to be changed, to do so we have to open program SQL
server management studio and the file connectionstrings.configwithnotepad.
We copy the name that is shown in “Name of server” where it is said “DataSource”. Besides we change the
name of data base where it is said “Initialcatalog”.
<connectionStrings>
<addname="Pressto_Entities" connectionString="Data
Source=localhostpressto;InitialCatalog=PresstoTienda7240014;Persist Security Info=True;User
ID=pressto_admin;Password=pressto_admin;MultipleActiveResultSets=True;Pooling=true;Min Pool
Size=5;Max Pool Size=20;" providerName="System.Data.SqlClient" />
<addname="DefaultConnection" connectionString="Data Source = |SQL/CE|" />
</connectionStrings>
PARAMETER TABLE
There are several parameters that can only be modified from the data base, they are all in the parameter
table.
MSCTD
TPV system uses transactionsystemdefinedby Framework 3.5. This transaction system is supported by a
service a operative system level, MSCTD (Microsoft DistributedTransactionCoordinator) in order to carry
out some operations/transactions in customer-server environment. For this, it is necessary the correct
configuration DTC as well as configuration of any installed firewall.
21. 21
WINDOWS 7 ORUPPER
Configuration of DistributedTransactionCoordinator
Control panel – Administrative tools – Component services – Computers – My Computer –
Distributedtransactioncoordinator – Local DTC
Right click on Local DTC and select Properties, click the security tab, set the following options on the
security tab as follow:
22. 22
Windows firewall has to be configurated so it will not block the distributed Transaction Coordinator.
Some anti-virus software can block the transaction coordinator, so it can be generated a bat file with the
wizard line “net startmsdtc”
23. 23
BACK UP
Back up are created from sql server, but with a script and a programmed task in Windows.
Copy the file DailyBackUp.sql on c:presstoBackup. A programmed task in Windows has to be created
where command can be executed:
sqlcmd -S localhostpressto -U sa -P pressto -i c:presstoBackupDailyBackUp.sql
24. 24
ANNEX A. SQL EXPRESS 2008 R2
INSTALLATION
• Download SqlServer 2008 R2 express from:http://www.microsoft.com/en-
us/download/details.aspx?id=30438
• Execute the downloaded file and click on installation
• Select new SQL server stand-alone installation or add features to an existing installation
• If status on all the lines is “passed” click on “continue”, if not, click on the line and check steps to be
reviewed.
26. 26
• If status on all lines is “passed” click on “next”, if no, click on the line to check the steps to solve.
• On the following screen select “perform a new installation of SQL Server 2008”.
• On the following screen, just click on “next”.
• Click on “I accept the license terms”
27. 27
• Click on “Select all” and then “next”
• Select “default instance” and then “next”
• Click on next
• On “Account name” choose SYSTEM and “StartupType” AUTOMATIC and click on “next”.
28. 28
• Select mixed mode on Authentication Mode, type in password “pressto” and click on “next”
• Click on “next” on the following Windows until installation is finished.
• Once is finished click on “close”
29. 29
Anex B: GAF Audit file - Malaysia
GAF Audit File is a compulsory software in Malysia that has the purpose to generate a xml
format file with all the transactions in a time period.
In order to install it GAFAuditFile.zip file needs to be unzipped into folder
c:presstoGAFAuditFile
CONNECTIONSTRING.CONFIG FILE
In this file connection string to data base has to be changed, to do so, we open sql server management
studio and the file connectiostrings.config with notepad.
We copy the name on “server name” with the name that is show non “Data Source”. Besides this we
change data base name where it is said “Initialcatalog”
<addname="GAFAuditFile.My.MySettings.PresstoTienda" connectionString="Data
Source=localhostpressto;InitialCatalog=PresstoTienda4580002;Persist Security
Info=True;User
ID=pressto_admin;Password=pressto_admin;MultipleActiveResultSets=True;Pooling=true;Mi
n Pool Size=5;Max Pool Size=20;" />