This commit is contained in:
20
source/Plugins/AyaNova.Plugin.PTI/Connect.cs
Normal file
20
source/Plugins/AyaNova.Plugin.PTI/Connect.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using PeachtreeAccounting;
|
||||
|
||||
namespace AyaNova.PlugIn.PTI
|
||||
{
|
||||
public class Connect
|
||||
{
|
||||
public PeachtreeAccounting.Application app;
|
||||
public PeachtreeAccounting.Login login = new PeachtreeAccounting.LoginClass();
|
||||
//Test comment for subversion testing
|
||||
public Connect()
|
||||
{
|
||||
//Using name and password which are actually the peachtree issued company name and
|
||||
//sdk key issued to us, not anything to do with what is in the end users
|
||||
//peachtree accounting database. This is our own authentication to be able to use the sdk
|
||||
app = (PeachtreeAccounting.Application)login.GetApplication("AyaNova", "3D2376WFT270X1G");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user