Hello,
My company updated to Sage 50 2020. Since then a program, we wrote, that was working before (Sage 50 2017) stop working.
Diving into the code I found that the CompanyIdentifier is not longer being populated and comes NULL, basically I am using, to troubleshot, the code provided on
{
try
{
// Use the PeachtreeSession class to get list of companies opened
// from the default Sage 50 datapath in INI file.
companyIdList = apiSession.CompanyList(apiSession.Configuration.ServerName);
{
foreach (CompanyIdentifier company in companyIdList)
{
Console.WriteLine(company.Path);
{
this.companyId = company;
}
}