2021-12-03 12:57:22 +03:00
|
|
|
|
using ExcelDna.Integration;
|
2021-11-11 16:33:40 +03:00
|
|
|
|
|
|
|
|
|
namespace Rehau.Sku.Assist
|
|
|
|
|
{
|
2021-11-29 15:50:24 +03:00
|
|
|
|
public class Functions
|
2021-11-11 16:33:40 +03:00
|
|
|
|
{
|
2021-11-29 11:26:25 +03:00
|
|
|
|
[ExcelFunction]
|
2021-12-03 12:57:22 +03:00
|
|
|
|
public static object RAUNAME(string request)
|
2021-12-03 22:25:20 +03:00
|
|
|
|
=> SkuAssist.GetProduct(request, ProductField.Name);
|
2021-12-03 14:15:16 +03:00
|
|
|
|
|
|
|
|
|
[ExcelFunction]
|
|
|
|
|
public static object RAUSKU(string request)
|
2021-12-03 22:25:20 +03:00
|
|
|
|
=> SkuAssist.GetProduct(request, ProductField.Id);
|
2021-12-03 14:15:16 +03:00
|
|
|
|
|
2021-12-03 22:25:20 +03:00
|
|
|
|
[ExcelFunction]
|
|
|
|
|
public static object RAUPRICE(string request)
|
2021-12-05 16:32:25 +03:00
|
|
|
|
=> SkuAssist.GetProduct(request, ProductField.Price);
|
2021-11-11 16:33:40 +03:00
|
|
|
|
}
|
|
|
|
|
}
|