From c9da16f1d6ee5e1bfa393234498654969b943d31 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 14 Jan 2021 19:35:25 +0000 Subject: [PATCH] --- server/AyaNova/biz/AyaFormFieldDefinitions.cs | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/server/AyaNova/biz/AyaFormFieldDefinitions.cs b/server/AyaNova/biz/AyaFormFieldDefinitions.cs index 1bc44ae3..01aad9f3 100644 --- a/server/AyaNova/biz/AyaFormFieldDefinitions.cs +++ b/server/AyaNova/biz/AyaFormFieldDefinitions.cs @@ -481,6 +481,40 @@ namespace AyaNova.Biz l.Add(new AyaFormFieldDefinition { TKey = "PartCustom16", FieldKey = "PartCustom16", IsCustomField = true }); _ayaFormFields.Add(AyaType.Part.ToString(), l); + } + #endregion + + #region PartAssembly + { + + List l = new List(); + l.Add(new AyaFormFieldDefinition { TKey = "Name", FieldKey = "Name", Hideable = false }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyNotes", FieldKey = "Notes" }); + l.Add(new AyaFormFieldDefinition { TKey = "Active", FieldKey = "Active", Hideable = false }); + l.Add(new AyaFormFieldDefinition { TKey = "Tags", FieldKey = "Tags" }); + l.Add(new AyaFormFieldDefinition { TKey = "Wiki", FieldKey = "Wiki" }); + l.Add(new AyaFormFieldDefinition { TKey = "Attachments", FieldKey = "Attachments" }); + + l.Add(new AyaFormFieldDefinition { TKey = "PartList", FieldKey = "PartList", Hideable = false }); + + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom1", FieldKey = "PartAssemblyCustom1", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom2", FieldKey = "PartAssemblyCustom2", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom3", FieldKey = "PartAssemblyCustom3", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom4", FieldKey = "PartAssemblyCustom4", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom5", FieldKey = "PartAssemblyCustom5", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom6", FieldKey = "PartAssemblyCustom6", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom7", FieldKey = "PartAssemblyCustom7", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom8", FieldKey = "PartAssemblyCustom8", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom9", FieldKey = "PartAssemblyCustom9", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom10", FieldKey = "PartAssemblyCustom10", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom11", FieldKey = "PartAssemblyCustom11", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom12", FieldKey = "PartAssemblyCustom12", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom13", FieldKey = "PartAssemblyCustom13", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom14", FieldKey = "PartAssemblyCustom14", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom15", FieldKey = "PartAssemblyCustom15", IsCustomField = true }); + l.Add(new AyaFormFieldDefinition { TKey = "PartAssemblyCustom16", FieldKey = "PartAssemblyCustom16", IsCustomField = true }); + _ayaFormFields.Add(AyaType.PartAssembly.ToString(), l); + } #endregion