RhSolutions-AddIn/Source/ExcelDNA/Functions.cs
2021-12-08 13:58:37 +03:00

19 lines
527 B
C#

using ExcelDna.Integration;
namespace RehauSku.Assist
{
public class Functions
{
[ExcelFunction]
public static object RAUNAME(string request)
=> SkuAssist.GetProduct(request, ProductField.Name);
[ExcelFunction]
public static object RAUSKU(string request)
=> SkuAssist.GetProduct(request, ProductField.Id);
[ExcelFunction]
public static object RAUPRICE(string request)
=> SkuAssist.GetProduct(request, ProductField.Price);
}
}