Skip to content

Wylath/CorpManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Corp Management is a project of management in Company.

Requirements

  • Platform: Windows (x64)
  • SqlServer >= 2014
  • MS Visual Studio >= 15 (2017)

Optional :

  • Microsoft Visual Studio Installer Projects in Visual Studio

Getting Started

Guide for the database

  • The folder "sql/base" content the requests for create the database : "CreateDB.sql"
  • The folder "sql/old" content the requests for the full data in database : "TDB_xxxx_xx_xx.sql"
  • The folder "sql/update" content the last requests for update the database.

Installation & configuration

Open the file "App.config" in "CorpManagement" and define the different value for the access to database :

server : access route for the database (example : "22.22.22.222, 1433", ip and port)
database : DB name
uid : login app access
password

Optional :

domain : not used

You can connect to the database with 3 different ways (see DBConnect.cs in DB folder). With domain name + uid + password; or uid + password; or without uid/password, but with Windows authentication.

Define the directory for save the files for each elements :

DirectoryFilesServicing (example : DirectoryFilesServicing="\\22.22.22.222\FileDB\Servicing")
DirectoryFilesVehicle
DirectoryFilesTires
DirectoryFilesInvoice
DirectoryFilesInsurance
DirectoryFilesArticle
DirectoryFilesEquipment

Warning :

You need one user in the database with a 'matricule' number to start the application for the first time. By default the number is "11223344", you can change that in 'AllUserViewModel.cs' -> "username" ('ViewModel' folder). Remember to create the tables with the 'CreateDB.sql' (folder: 'sql/base'), execute the 'TDB_.sql' file (folder: sql/old) and finally 'user_example.sql'.

You will have by default a user 'Toto' in your Db to start the application.

In your request for user table, you will need to define idprofilelevel (1 for Admin) for the access level, the status (1:active/0:inactive user), the gradepoint (3 for 0 point) and most importantly the 'matricule' number.

Reporting issues

Issues can be reported via the Github issue tracker.

Copyright

Copyright Wylath © 2021-2022

Authors & Contributors

Wylath

About

Corp Management is a project of management in Company.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published