public static void SetLineTypeList <LineTypeField>(PXCache cache, object row, bool includeIN, bool includeTemplate, bool includePickup) where LineTypeField : class, IBqlField { CustomListAttribute dropDownList = GetDropDownList(includeIN, includeTemplate, includePickup); PXStringListAttribute.SetList <LineTypeField>(cache, row, dropDownList.AllowedValues, dropDownList.AllowedLabels); }
public static void SetLineTypeList <TypeField>(PXCache cache, object row, string action) where TypeField : class, IBqlField { CustomListAttribute dropDownList = GetDropDownList(action); PXStringListAttribute.SetList <TypeField>(cache, row, dropDownList.AllowedValues, dropDownList.AllowedLabels); }
public static void SetLineTypeList <LineTypeField>(PXCache cache, object row, bool showSOInvoice = false, bool showNone = false, bool showProjects = false, bool showAPAR = false) where LineTypeField : class, IBqlField { CustomListAttribute dropDownList = GetDropDownList(showSOInvoice, showNone, showProjects, showAPAR); PXStringListAttribute.SetList <LineTypeField>(cache, row, dropDownList.AllowedValues, dropDownList.AllowedLabels); }