Hi, has anyone managed to use the PopulateCombo function in the Pastel SDK to update Inventory Categories successfully?
So far I've tried this but the SDK throws an error:

public void popComb()
{
ComboBox comboBox1 = new ComboBox();


comboBox1.Items.Add("Test");
try
{
pasSDK.PopulateCombo(ecCodeTypes.ecInventoryCatego ry, comboBox1);
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
}
}