public class ProductGroup extends Entity<ProductGroup>
Modifier and Type | Class and Description |
---|---|
static class |
ProductGroup.ProductGroupBuilder |
Modifier and Type | Field and Description |
---|---|
static EntityField<ProductGroup,String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static EntityField<ProductGroup,String> |
MATERIAL_GROUP
Use with available fluent helpers to apply the MaterialGroup field to query operations.
|
Constructor and Description |
---|
ProductGroup() |
ProductGroup(String materialGroup,
String authorizationGroup,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static ProductGroup.ProductGroupBuilder |
builder() |
boolean |
equals(Object o) |
List<ProductGroupText> |
fetchText()
Fetches the ProductGroupText entities (one to many) associated with this entity.
|
static <T> EntityField<ProductGroup,T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getMaterialGroup()
(Key Field) Constraints: Not nullable, Maximum length: 9
|
Class<ProductGroup> |
getType() |
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setMaterialGroup(String materialGroup)
(Key Field) Constraints: Not nullable, Maximum length: 9
|
String |
toString() |
public static final EntityField<ProductGroup,String> MATERIAL_GROUP
public static final EntityField<ProductGroup,String> AUTHORIZATION_GROUP
@Generated(value="lombok") public ProductGroup()
@ConstructorProperties(value={"materialGroup","authorizationGroup","erpConfigContext"}) @Generated(value="lombok") public ProductGroup(@Nullable String materialGroup, @Nullable String authorizationGroup, ErpConfigContext erpConfigContext)
public Class<ProductGroup> getType()
getType
in class Entity<ProductGroup>
public static <T> EntityField<ProductGroup,T> field(String fieldName, Class<T> fieldType)
fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.public List<ProductGroupText> fetchText() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
@Generated(value="lombok") public static ProductGroup.ProductGroupBuilder builder()
@Nullable @Generated(value="lombok") public String getMaterialGroup()
You can use material groups to: Restrict the scope of analyses Search specifically for product master records via search helps If you have not defined a material group hierarchy using the classification system, you maintain product groups in Customizing for the Material Master in Define material groups. If you have defined a product group hierarchy, which is normally the case in retail, you maintain product groups in Customizing for Material Groups or from the initial Retailing screen by choosing Master data -> Material group.
@Nullable @Generated(value="lombok") public String getAuthorizationGroup()
In order to carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
@Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setMaterialGroup(@Nullable String materialGroup)
You can use material groups to: Restrict the scope of analyses Search specifically for product master records via search helps If you have not defined a material group hierarchy using the classification system, you maintain product groups in Customizing for the Material Master in Define material groups. If you have defined a product group hierarchy, which is normally the case in retail, you maintain product groups in Customizing for Material Groups or from the initial Retailing screen by choosing Master data -> Material group.
materialGroup
- @Generated(value="lombok") public void setAuthorizationGroup(@Nullable String authorizationGroup)
In order to carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
authorizationGroup
- @Generated(value="lombok") public void setErpConfigContext(ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class Entity<ProductGroup>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class Entity<ProductGroup>
@Generated(value="lombok") public int hashCode()
hashCode
in class Entity<ProductGroup>
Copyright © 2017 SAP SE. All rights reserved.