/// <summary> /// </summary> public DSOStoreReportType() { PcId = new FOptPersonIDs(); ResourceId = new FOptResourceIDs(); Name = new FOptName(); IsAddExcludeCondition = false; KeyField = "КодТипаОтчётаПоСкладам"; NameField = "ТипОтчётаПоСкладам"; }
/// <summary> /// Конструктор класса /// </summary> public DSODocument() { KeyField = "КодДокумента"; NameField = "НазваниеДокумента"; IDs = new FOptIDs(); Name = new FOptName(); PersonIDs = new FOptPersonIDs(); Type = new FOptDocType(); Number = new FOptDocNumber(); Date = new FOptDate(); Description = new FOptDescription(); LinkedDoc = new FOptLinkedDoc(); AtWork = new FOptAtWork(); ChangeBy = new FOptChangeBy(); NextType = new FOptNextDocType(); HasForm = new FOptHasForm(); }
/// <summary> /// Конструктор класса /// </summary> public DSOResource() { var tableName = "Ресурсы"; KeyField = "КодРесурса"; NameField = "РесурсРус"; IDs = new FOptIDs(); Name = new FOptName(); Text = Name; CurrencyIDs = new FOptCurrencyIDs(); AllChildrenWithParentIDs = new FOptParentsIDs(TreeQueryType.AllChildrenWithParent, tableName, KeyField, NameField); AllChildrenWithoutParentIDs = new FOptParentsIDs(TreeQueryType.AllChildrenWithoutParent, tableName, KeyField, NameField); ChildrenWithParentIDs = new FOptParentsIDs(TreeQueryType.ChildrenWithParent, tableName, KeyField); ChildrenWithoutParentIDs = new FOptParentsIDs(TreeQueryType.ChildrenWithoutParent, tableName, KeyField); PersonIDs = new FOptPersonIDs(); }