20 lines
546 B
C#
20 lines
546 B
C#
using ExcelDna.Integration;
|
|
using RehauSku.Assistant;
|
|
|
|
namespace RehauSku
|
|
{
|
|
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);
|
|
}
|
|
} |