This commit is contained in:
2021-01-19 23:25:48 +00:00
parent 26ca0872a1
commit ac52aaa5ad
14 changed files with 896 additions and 3 deletions

View File

@@ -499,6 +499,39 @@ namespace AyaNova.Biz
}
#endregion
#region PartWarehouse
{
List<AyaFormFieldDefinition> l = new List<AyaFormFieldDefinition>();
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseName", FieldKey = "PartWarehouseName", Hideable = false });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseNotes", FieldKey = "PartWarehouseNotes" });
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 = "PartWarehouseCustom1", FieldKey = "PartWarehouseCustom1", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom2", FieldKey = "PartWarehouseCustom2", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom3", FieldKey = "PartWarehouseCustom3", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom4", FieldKey = "PartWarehouseCustom4", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom5", FieldKey = "PartWarehouseCustom5", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom6", FieldKey = "PartWarehouseCustom6", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom7", FieldKey = "PartWarehouseCustom7", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom8", FieldKey = "PartWarehouseCustom8", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom9", FieldKey = "PartWarehouseCustom9", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom10", FieldKey = "PartWarehouseCustom10", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom11", FieldKey = "PartWarehouseCustom11", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom12", FieldKey = "PartWarehouseCustom12", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom13", FieldKey = "PartWarehouseCustom13", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom14", FieldKey = "PartWarehouseCustom14", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom15", FieldKey = "PartWarehouseCustom15", IsCustomField = true });
l.Add(new AyaFormFieldDefinition { TKey = "PartWarehouseCustom16", FieldKey = "PartWarehouseCustom16", IsCustomField = true });
_ayaFormFields.Add(AyaType.PartWarehouse.ToString(), l);
}
#endregion
#region PartAssembly
{