This commit is contained in:
2022-12-24 00:28:29 +00:00
parent 7ee75920fe
commit 72d746cffe
16 changed files with 2493 additions and 17385 deletions

View File

@@ -21,9 +21,13 @@ namespace Sockeye.PickList
return new HeadOfficePickList() as IAyaPickList;
case SockType.User:
return new UserPickList() as IAyaPickList;
case SockType.Report:
return new ReportPickList() as IAyaPickList;
case SockType.Vendor:
return new VendorPickList() as IAyaPickList;
case SockType.Product:
return new ProductPickList() as IAyaPickList;
//@##### WARNING: BE SURE TO ADD NEW TYPES BELOW OR USERS WON"T BE ABLE TO EDIT THE TEMPLATE FOR THEM
@@ -45,6 +49,8 @@ namespace Sockeye.PickList
values.Add(SockType.HeadOffice);
values.Add(SockType.Report);
values.Add(SockType.User);
values.Add(SockType.Vendor);
values.Add(SockType.Product);
//### NEW ONES HERE

File diff suppressed because one or more lines are too long

View File

@@ -355,6 +355,22 @@ namespace Sockeye.Biz
}
#endregion
#region Product
{
List<FormField> l = new List<FormField>();
l.Add(new FormField { TKey = "ProductLicenseInterval", FieldKey = "ProductLicenseInterval" });
l.Add(new FormField { TKey = "ProductMaintInterval", FieldKey = "ProductMaintInterval" });
l.Add(new FormField { TKey = "ProductVendorCode", FieldKey = "ProductVendorCode" });
l.Add(new FormField { TKey = "ProductOurCode", FieldKey = "ProductOurCode" });
l.Add(new FormField { TKey = "Tags", FieldKey = "Tags" });
l.Add(new FormField { TKey = "Wiki", FieldKey = "Wiki" });
l.Add(new FormField { TKey = "Attachments", FieldKey = "Attachments", Requireable = false });
_formFields.Add(SockType.Product.ToString(), l);
}
#endregion
//******************************************************