ProductGroup Class |
Namespace: Aloe.EnterpriseOne.Model.General.Products
The ProductGroup type exposes the following members.
Name | Description | |
---|---|---|
![]() | ProductGroup | Initializes a new instance of the ProductGroup class with specific ObjectTransaction |
Name | Description | |
---|---|---|
![]() | Active | True if the product group is active, false - not to list in combo boxes for choosing in new documents. [Required] [Default(true)] [Filter(eq)] |
![]() | AsHierarchyNode |
Gets the hierarchy node, which provides hierarchy node manipulation functions.
|
![]() | ChangingAttributes |
Gets the attributes that are currently changing. Can be used in attribute change event handler to prevent stack overflow.
(Inherited from EditableDomainObject.) |
![]() | Code | The unique code of the ProductGroup. [Required] [Filter(eq;like)] [ORD] |
![]() | ConfiguratorCreatesRecipe | Whether the product configurator should create one default recipe. true=yes;false=no. [Required] [Default(false)] |
![]() | ConfiguratorStatus | Usage of product configurator for new products. 0=Product configurator cannot be used to create products in this group;1=The configurator can be used;2=The configurator should be used and products cannot be created directly. [Required] [Default(0)] |
![]() | CustomProperties |
Gets the custom properties of the object.
(Inherited from EnterpriseOneEntityObject.) |
![]() | DefaultMeasurementUnit | When not null, specifies default measurement unit, which should be assigned to new products in the group. [Filter(multi eq)] |
![]() | DefaultProductType | When not null, specifies default product type, which should be assigned to new products in the group. [Filter(multi eq)] |
![]() | EnterpriseCompany | When not null, specifies that the product group, its sub-groups and products are specific to a given enterprise company and may be used only in documents from this enterprise company. [Filter(multi eq)] |
![]() | ExtendedProperties |
Extended properties contain temporary (not persisted) values in the object instance.
(Inherited from EntityObject.) |
![]() | FullPath | Full tree path in the form /parent/.../leaf/. Contains the group names. [Required] [Default("")] [Filter(eq;like)] [ORD] |
![]() | Id |
The unique Id of the entity object
(Inherited from EntityObject.) |
![]() | IsGhost |
Returns true when the object is a ghost object
(Inherited from EntityObject.) |
![]() | IsLoaded | Gets a value indicating whether the associated data for this domain object is loaded. (Overrides EntityObjectIsLoaded.) |
![]() | ItemString |
Gets or sets the value of a data attribute
(Inherited from DomainObject.) |
![]() | ItemIDataAttribute |
Gets or sets the value of a data attribute
(Inherited from DomainObject.) |
![]() | Name | Group name should be unique among the other groups within the same parent. [Required] [Filter(eq;like)] |
![]() | NextPartNumber | Contains the next part number to be auto-assigned to parts, created in the group or sub-groups. |
![]() | NextSerialNumber | When not null, specifies the next serial number, that should be assigned to new produced items. [Filter(eq;like)] |
![]() | NoEvents |
Turns on "No events" mode and returns a class, that will turn it off when Disposed. See remarks for more info.
(Inherited from DomainObject.) |
![]() | Notes | User notes for the item group. |
![]() | ObjectState | Gets the state of the domain object. (Overrides EditableDomainObjectObjectState.) |
![]() | Parent | Full tree path of the parent group in the form /parent/.../leaf/. Contains the group names. [Required] [Default("/")] [Filter(eq)] [ORD] |
![]() | Picture | The picture of the product group. |
![]() | PictureLastUpdateTime | Last update time of the Picture. [Filter(ge;le)] [ReadOnly] |
![]() | PricingModel | When not null, specifies the pricing model, for the products in this product group. The model is by default valid also for sub-groups, unless they have other models. [Filter(multi eq)] |
![]() | PrincipalRecipes | List of PrincipalRecipe child objects, based on the Production.Technologies.PrincipalRecipe.ProductGroup back reference |
![]() | ProductDescriptionMask | When not null specifies mask for new product descriptions for this group and its sub-groups. The mask substitutes {0}..{n} with the appropriate custom attributes. |
![]() | ProductNameMask | When not null specifies mask for new product names for this group and its sub-groups. The mask substitutes {0}..{n} with the appropriate custom attributes. |
![]() | Products | List of products in this product group |
![]() | RangeProperties | List of ProductGroupRangeProperty child objects, based on the General.Products.ProductGroupRangeProperty.ProductGroup back reference |
![]() | Repository | Provides access to ProductGroupsRepository repository methods |
![]() | RequiredProperties | List of ProductGroupRequiredProperty child objects, based on the General.Products.ProductGroupRequiredProperty.ProductGroup back reference |
![]() | Transaction |
The EnterpriseOne transaction to which this object is attached.
(Inherited from EnterpriseOneEntityObject.) |
![]() | UseLots | Specifies whether for the products from this group and its sub-groups the use of lots in store documents is required or is unallowed or is allowed while not required. |
Name | Description | |
---|---|---|
![]() | Delete | Deletes the domain object. (Overrides EntityObjectDelete.) |
![]() | DuplicateObject |
Creates a copy of the object.
(Inherited from EntityObject.) |
![]() | Equals(Object) |
Determines whether the specified Object, is equal to this instance.
(Inherited from EntityObject.) |
![]() | Equals(EntityObject) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from EntityObject.) |
![]() | ExecuteBusinessRules |
Executes all business rules for the object for the specified BusinessEvent.
The validation fails are saved in the event.
(Inherited from EditableDomainObject.) |
![]() | GetAggregateParent |
Gets the aggregate parent of this entity object. If this is the aggregate root the return value is null.
(Inherited from EntityObject.) |
![]() | GetAggregateRoot |
Gets the aggregate root entity object.
If the entity does not have aggregate parent reference aggregate root is this entity object.
(Inherited from EntityObject.) |
![]() | GetDefaultProductTypeForNewProduct |
Gets the default product type for new product. First checks if there is a Default Product Type of the product group and its parent groups. Then
if there is not, return the first Product Type that has 'Is Default' set to 'true' from Product Types table.
|
![]() | GetHashCode |
Returns a hash code for this instance.
(Inherited from EntityObject.) |
![]() | GetRelatedObjectsForValidation |
Gets the related objects which would need validation upon validation of this object.
(Inherited from EntityObject.) |
![]() | IsParentOf |
Determines whether the this group is parent of the specified group.
|
![]() | IssueWarning(String) |
Issues a warning with the specified message.
(Inherited from EditableDomainObject.) |
![]() | IssueWarning(ExpressionFuncString, Object) |
Issues a warning with the specified message. The message can contain standard string placeholders.
(Inherited from EditableDomainObject.) |
![]() | MatchesFilter(DataAccessFilter) |
Returns true if this entity object matches the specified filter.
(Inherited from EnterpriseOneEntityObject.) |
![]() | MatchesFilter(DataAccessFilter, IBufferRow) |
Matches the filter against the specified row and returns the result of the match.
(Inherited from EnterpriseOneEntityObject.) |
![]() | Refresh |
Refreshes this instance with data from data source.
Only objects with ObjectState equal to Unchanged are refreshed.
(Inherited from EntityObject.) |
![]() | ToString |
Returns a String that represents this instance.
(Inherited from EntityObject.) |
![]() | ToString(String) |
Returns a String that represents this instance.
(Inherited from EntityObject.) |
![]() | TryGet |
Tries to get the specified attribute and returns it or null, when it is not found.
(Inherited from DomainObject.) |
Name | Description | |
---|---|---|
![]() | FillAggregateMissingDefaults |
Recalculates the default values for all objects in the aggregate.
(Defined by EntityObjectExtensions.) |
![]() | FillMissingDefaults |
Executes the late default expression defined in each attribute (if any) if the current value is null or equal to a constant default.
(Defined by EntityObjectExtensions.) |
![]() | FormatString |
Converts the object to string based on the format specified.
(Defined by FormatStringExtensions.) |
![]() | GetExtensibleDataObject |
Gets the extensible data object related to the entity object.
Can return null if such ExtensibleDataObject doesn't exist.
(Defined by ExtensibleDataObjectExtensions.) |
![]() | GetOrCreateExtensibleDataObject |
Returns an ExtensibleDataObject related to the entity object.
If such object doesn't exist the object is created in the same transaction.
(Defined by ExtensibleDataObjectExtensions.) |
![]() | GetParentNodeProductGroup |
Gets the parent node.
(Defined by IHierarchyNodeProviderExtensions.) |
![]() | GetSubNodesProductGroup |
Gets the sub nodes.
(Defined by IHierarchyNodeProviderExtensions.) |
![]() | RecalculateMasterAttributes |
Recalculates the values of a master attributes in a master-detail relationship.
(Defined by EntityObjectExtensions.) |
![]() | RecalculateMissingValues |
Recalculates the missing values using the first reactive expression of the attributes.
(Defined by EntityObjectExtensions.) |