Ага
По ссылке fed даже примерчик небольшой есть для вызова статического метода
X++:
using System;
using Bcn = Microsoft.Dynamics.BusinessConnectorNet;
class DemoCallXppFromCSharp
{
public static void Main()
{
bool boolStringsSame;
Bcn.Axapta axp;
axp = new Bcn.Axapta();
try
{
axp.Logon(null, null, null, null);
}
catch (Exception excepn)
{
Console.WriteLine(excepn.ToString());
return;
}
boolStringsSame = axp.CallStaticClassMethod
("DemoBcnClass", // The class name.
"AreStringsTheSameMethod", // The method being called.
"H64", "L8"); // These two strings are not the same.
Console.WriteLine(boolStringsSame);
}
}
}