In this repository you will find an extensibility project for PRIMAVERA ERP which provides new functionalities to the end customer.
With this feature you will have a service of geolocation with different maps, markers and routes integrated in the ERP v10.
This repository provides access to one project:
Folder | Description |
---|---|
_external | GMap.NET Custom DLLs |
Entities | Classes for used database tables |
Factory | Map factory that generates the possible maps |
Helpers | Classes to help / centralize variable declaration ... |
Images | Images used on the toolbar |
Manager | Abstract class of the available map providers |
Providers | Classes of the map providers |
SQL | SQL script for creation of necessary database objects |
UserControls | Geolocation tabs seen on the screens of Client, Supplier and Other Third Parties |
- PRIMAVERA ERP v10.0 (or higher).
- Visual Studio 2017 / 2019
- SQL Server and SQL Server Management Studio
- DevExpress WinForms Component - Download
To start using this repository with Visual Studio you need:
- A local installation of PRIMAVERA ERP 10.
- Reference to .NET Framework 4.7.1
- Add/update your PRIMAVERA references on the project.
- Run the SQL script from the
SQL
folder on your Database that corresponds to used company on PRIMAVERA ERP.
This will provide the tables for the Geolocation extension. - Compile project.
- Set
Apl
PRIMAVERA ERP folder as the output path for your solution. - Copy all references in
_external
folder plus the resulting DLL from this project to theApl
PRIMAVERA ERP folder. 7.1 You need to copySQLite.Interop_x64.dll
orSQLite.Interop_x86.dll
depending on the operative system architecture and rename the file toSQLite.Interop.dll
. - Finally you can start using the project.
The Geolocation extension requires a client key for some map providers.
Some features are only available when a key is provided.
Even without the client key, it's possible to explore the map and manage user markers.
To obtain keys and related information, follow these links:
For Google Map is also necessary to activate Maps Static Map API
and Directions API
, both with a billing
account mandatory association.
All the references contained in folder _external
have to be used for successfully build the solution.
Both GMap.NET.Core
and GMap.NET.WindowsForms
use a specific version of System.Data.SQLite
, int this case, 1.0.115
, and the code was modified to accept some custom modifications, so, if there's a need to add and/or change something on those references refer to the official GitHub repository for GMap.NET here.
Information for developers about PRIMAVERA ERP here
Everyone is free to contribute to the repository.
Any bugs detected in the code can be reported in the Issues section of this repository.
Unless otherwise specified, the code samples are released under the MIT license.